/* ==========================================================================
   BUAD — company website
   Brand: espresso #3d2d24 · mocha #6e5342 · tan #b99979 · sand #edd8ba · Tajawal
   Layout uses logical properties so the page mirrors between Arabic (rtl) and English (ltr).
   ========================================================================== */
:root {
  --espresso: #2b1f19;
  --brown: #3d2d24;
  --mocha: #6e5342;
  --tan: #b99979;
  --sand: #edd8ba;
  --cream: #f6eee2;
  --cream-text: #efe1ca;   /* light text on dark grounds: a light cream, never white (user, 2026-10-18) */
  --ivory: #fbf8f3;
  --ink: #2e231d;
  --muted: #7d6b5f;
  --line: rgba(61, 45, 36, .14);
  --line-light: rgba(237, 216, 186, .18);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --wrap: min(1240px, 100% - 2 * clamp(20px, 5vw, 64px));
  --r: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: 'Tajawal', system-ui, sans-serif; font-size: 17px; line-height: 1.8;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
html[lang="en"] body { line-height: 1.7; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: var(--tan); color: var(--cream-text); }
body.is-loading { overflow: hidden; }

.wrap { width: var(--wrap); margin-inline: auto; }
section { position: relative; }

/* ---------------------------------------------------------------- type */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 14px; font-weight: 500; letter-spacing: .08em; color: var(--tan); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
html[lang="en"] .eyebrow { letter-spacing: .22em; text-transform: uppercase; font-size: 12.5px; }
.h2 { font-size: clamp(30px, 4.2vw, 54px); font-weight: 300; line-height: 1.25; letter-spacing: -.01em; }
.h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 400; }
.display { font-size: clamp(40px, 7vw, 96px); font-weight: 200; line-height: 1.08; letter-spacing: -.02em; }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); font-weight: 300; }
.head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.head .lead { margin-top: 18px; }
.head--light .h2 { color: var(--cream-text); }
.head--light .lead { color: rgba(239, 225, 202, .66); }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding-inline: 30px; border-radius: 999px; font: inherit; font-size: 15.5px; font-weight: 500;
  cursor: pointer; border: 1px solid transparent; transition: background .4s var(--ease), color .4s var(--ease), border-color .4s, transform .4s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--light { background: var(--sand); color: var(--brown); }
.btn--light:hover { background: #fff; }
.btn--ghost { border-color: rgba(246, 238, 226, .45); color: var(--cream-text); backdrop-filter: blur(6px); background: transparent; }
.btn--ghost:hover { background: rgba(246, 238, 226, .12); }
.btn--dark { background: var(--brown); color: var(--cream-text); }
.btn--dark:hover { background: var(--mocha); }

/* ---------------------------------------------------------------- loader */
.loader {
  position: fixed; inset: 0; z-index: 100; background: var(--espresso);
  display: grid; place-items: center; transition: clip-path 1.1s var(--ease);
  clip-path: inset(0 0 0 0);
}
.loader.is-done { clip-path: inset(0 0 100% 0); }
.loader__inner { display: grid; justify-items: center; gap: 28px; }
.loader__mark { width: 74px; opacity: 0; transform: scale(.8) rotate(-45deg); animation: markIn 1.1s var(--ease) .15s forwards; }
.loader__line { width: 150px; height: 1px; background: var(--line-light); overflow: hidden; }
.loader__line i { display: block; height: 100%; width: 0; background: var(--sand); transition: width .5s var(--ease); }
@keyframes markIn { to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- header */
.nav {
  position: fixed; inset-inline: 0; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  padding: 22px clamp(20px, 5vw, 64px);
  transition: background .5s var(--ease), padding .5s var(--ease), box-shadow .5s;
}
.nav__logo { position: relative; height: 34px; width: 182px; flex: none; }
.nav__logo img { position: absolute; inset: 0; height: 100%; width: auto; object-fit: contain; object-position: center; transition: opacity .4s; }
html[dir="rtl"] .nav__logo img { inset-inline-start: 0; }
.logo-dark { opacity: 0; }
.nav__links { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); margin-inline-start: auto; }
.nav__links a { color: var(--cream-text); font-size: 15px; font-weight: 400; position: relative; padding-block: 6px; transition: color .3s; }
.nav__links a:not(.nav__cta)::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transition: transform .45s var(--ease);
}
.nav__links a:not(.nav__cta):hover::after { transform: scaleX(1); }
.nav__cta { border: 1px solid rgba(246, 238, 226, .5); border-radius: 999px; padding: 8px 20px !important; }
.lang {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(246, 238, 226, .45);
  background: none; color: var(--cream-text); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; letter-spacing: .05em;
  transition: all .3s;
}
.lang:hover { background: var(--sand); color: var(--brown); border-color: var(--sand); }
.burger { display: none; }
.nav.is-scrolled {
  background: rgba(251, 248, 243, .86); backdrop-filter: blur(14px) saturate(1.2);
  padding-block: 14px; box-shadow: 0 1px 0 var(--line);
}
.nav.is-scrolled .logo-light { opacity: 0; }
.nav.is-scrolled .logo-dark { opacity: 1; }
.nav.is-scrolled .nav__links a { color: var(--brown); }
.nav.is-scrolled .nav__cta { border-color: var(--brown); }
.nav.is-scrolled .lang { color: var(--brown); border-color: var(--line); }
.nav.is-scrolled .burger span { background: var(--brown); }

/* ---------------------------------------------------------------- hero */
.hero { height: 100svh; min-height: 620px; overflow: hidden; background: var(--espresso); color: var(--cream-text); isolation: isolate; }
.hero__stage { position: absolute; inset: 0; overflow: hidden; }
.hero__kb { position: absolute; inset: 0; }
.hero__poster, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; user-select: none; }
.hero__video { opacity: 0; transition: opacity 1.2s var(--ease); }
.hero__video.is-on { opacity: 1; }
.hero__shade {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to bottom, rgba(20, 14, 10, .55), rgba(20, 14, 10, 0) 26%),
    linear-gradient(to top, rgba(20, 14, 10, .85), rgba(20, 14, 10, .2) 55%, rgba(20, 14, 10, 0) 78%);
}
.hero__shade::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to left, rgba(20, 14, 10, .55), rgba(20, 14, 10, 0) 60%); }
html[dir="ltr"] .hero__shade::after { background: linear-gradient(to right, rgba(20, 14, 10, .55), rgba(20, 14, 10, 0) 60%); }
.hero__grain {
  position: absolute; inset: 0; z-index: 1; opacity: .07; pointer-events: none; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__content {
  position: absolute; z-index: 2; inset-inline: clamp(20px, 5vw, 64px); bottom: clamp(110px, 16vh, 170px);
  max-width: 1150px;
}
.hero__kicker { font-size: clamp(14px, 1.3vw, 16px); color: var(--sand); letter-spacing: .04em; margin-bottom: 14px; }
html[lang="en"] .hero__kicker { letter-spacing: .18em; text-transform: uppercase; font-size: 13px; }
.hero__title { font-size: clamp(58px, 9.2vw, 150px); font-weight: 200; line-height: 1.18; letter-spacing: -.01em; display: flex; flex-wrap: wrap; gap: 0 .24em; text-shadow: 0 10px 50px rgba(20, 14, 10, .35); }
.hero__title .accent { font-weight: 700; color: var(--sand); }
html[lang="en"] .hero__title { font-size: clamp(52px, 8.4vw, 136px); line-height: 1.02; letter-spacing: -.025em; }
.hero__en { margin-top: 14px; font-size: clamp(13px, 1.2vw, 15px); letter-spacing: .5em; color: rgba(239, 225, 202, .7); }
html[lang="en"] .hero__en { display: none; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.reveal-hero { opacity: 0; transform: translateY(40px); transition: opacity 1.3s var(--ease), transform 1.3s var(--ease); }
.is-ready .reveal-hero { opacity: 1; transform: none; }
.is-ready .reveal-hero:nth-child(2), .is-ready .hero__title .reveal-hero:nth-child(1) { transition-delay: .12s; }
.is-ready .hero__title .reveal-hero:nth-child(2) { transition-delay: .24s; }
.is-ready .hero__en { transition-delay: .36s; }
.is-ready .hero__actions { transition-delay: .48s; }
.is-ready .daybar {
  position: absolute; z-index: 3; left: clamp(20px, 5vw, 64px); bottom: clamp(34px, 6vh, 56px);
  direction: ltr; color: var(--cream-text); padding: 14px 20px 16px; border-radius: 20px;
  background: rgba(28, 20, 15, .32); backdrop-filter: blur(12px); border: 1px solid rgba(246, 238, 226, .14);
}
html[dir="ltr"] .daybar { left: auto; right: clamp(20px, 5vw, 64px); }
.daybar__hint { font-size: 12px; color: rgba(239, 225, 202, .7); margin-bottom: 8px; letter-spacing: .04em; text-align: center; direction: rtl; }
html[lang="en"] html[dir="ltr"] .daybar { left: auto; right: clamp(20px, 5vw, 64px); }
.daybar__hint { direction: ltr; letter-spacing: .14em; text-transform: uppercase; font-size: 10.5px; }
.daybar__row { display: flex; align-items: center; gap: 14px; }
.daybar__track {
  position: relative; width: clamp(190px, 22vw, 300px); height: 30px; cursor: grab; touch-action: none; outline: none;
}
.daybar__track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 3px;
  background: linear-gradient(90deg, #f4d9a6, #e9a86a 45%, #b0607a 62%, #3b4a7c 78%, #151b35); opacity: .75; }
.daybar__track.is-drag { cursor: grabbing; }
.daybar__fill { display: none; }
.daybar__dot {
  position: absolute; top: 50%; left: 0; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%;
  background: var(--sand); box-shadow: 0 0 0 6px rgba(237, 216, 186, .2), 0 4px 14px rgba(0, 0, 0, .35);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.daybar__track:hover .daybar__dot, .daybar__track.is-drag .daybar__dot, .daybar__track:focus-visible .daybar__dot {
  transform: scale(1.18); box-shadow: 0 0 0 10px rgba(237, 216, 186, .22), 0 4px 18px rgba(0, 0, 0, .4);
}
.daybar__icon { width: 16px; height: 16px; opacity: .9; flex: none; }
.daybar__icon.sun { border-radius: 50%; background: #f4d9a6; box-shadow: 0 0 10px rgba(244, 217, 166, .8); }
.daybar__icon.moon { border-radius: 50%; box-shadow: inset -5px -2px 0 0 var(--sand); transform: rotate(-20deg); }
.daybar__clock { display: grid; line-height: 1.2; min-width: 86px; }
.daybar__clock b { font-size: 21px; font-weight: 300; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.daybar__clock em { font-style: normal; font-size: 12px; color: var(--sand); letter-spacing: .08em; }
.hero__scroll { position: absolute; z-index: 2; left: 50%; bottom: 24px; width: 26px; height: 42px; margin-left: -13px; border: 1px solid rgba(246, 238, 226, .5); border-radius: 20px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--sand); animation: wheel 2s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------------------------------------------------------------- reveals */
.reveal { opacity: 0; transform: translateY(46px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.split .w { display: inline-block; opacity: 0; transform: translateY(.6em); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.split.in .w { opacity: 1; transform: none; }
.parallax { overflow: hidden; height: 100%; }
.parallax img { width: 100%; height: 118%; object-fit: cover; will-change: transform; }

/* ---------------------------------------------------------------- intro */
.intro { padding-block: clamp(110px, 16vw, 200px); text-align: center; background: var(--cream); }
.intro .eyebrow::before { display: none; }
.intro__title { font-size: clamp(34px, 5.6vw, 76px); font-weight: 200; line-height: 1.2; max-width: 16ch; margin-inline: auto; color: var(--brown); }
.intro__text { max-width: 760px; margin: 38px auto 0; font-size: clamp(18px, 1.7vw, 22px); font-weight: 300; color: var(--muted); }
.intro__tag { margin-top: 44px; font-size: 20px; color: var(--tan); font-weight: 500; letter-spacing: .02em; }

/* ---------------------------------------------------------------- about */
.about { padding-block: 0 clamp(90px, 12vw, 150px); background: var(--cream); }
.about__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about__media { position: relative; height: clamp(420px, 52vw, 680px); border-radius: var(--r); overflow: hidden; }
.about__badge {
  position: absolute; inset-inline-start: 22px; bottom: 22px; display: flex; align-items: center; gap: 12px;
  background: rgba(43, 31, 25, .72); backdrop-filter: blur(10px); color: var(--cream-text); padding: 12px 20px 12px 18px; border-radius: 999px; font-size: 14px;
}
.about__badge img { width: 22px; }
.about__text .lead { margin-top: 22px; }
.story { margin-top: 42px; display: grid; gap: 4px; }
.story__item { display: grid; grid-template-columns: 58px 1fr; column-gap: 18px; padding-block: 22px; border-top: 1px solid var(--line); }
.story__n { grid-row: span 2; font-size: 14px; color: var(--tan); padding-top: 6px; font-weight: 500; }
.story__item h3 { font-size: 21px; font-weight: 500; color: var(--brown); }
.story__item p { color: var(--muted); font-size: 16px; }
.stats { margin-top: clamp(70px, 9vw, 120px); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 34px 0 0; display: grid; gap: 8px; }
.stat + .stat { border-inline-start: 1px solid var(--line); padding-inline-start: clamp(18px, 3vw, 40px); }
.stat b { font-size: clamp(46px, 6vw, 84px); font-weight: 200; line-height: 1; color: var(--brown); font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: 15px; }

/* ---------------------------------------------------------------- dimensions */
.dims { padding-block: clamp(100px, 13vw, 170px); background: var(--espresso); color: var(--cream-text); overflow: hidden; }
.dims::before {
  content: ""; position: absolute; width: 900px; height: 900px; inset-inline-end: -300px; top: -200px;
  background: url("../img/logo-mark-sand.png") center / contain no-repeat; opacity: .035; pointer-events: none;
}
.dims__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.dims__list li {
  display: flex; align-items: baseline; gap: 22px; padding-block: 20px; border-bottom: 1px solid var(--line-light);
  cursor: pointer; color: rgba(239, 225, 202, .45); transition: color .4s, padding .5s var(--ease);
}
.dims__list li:first-child { border-top: 1px solid var(--line-light); }
.dims__list span { font-size: 13px; color: var(--tan); width: 26px; flex: none; }
.dims__list b { font-size: clamp(20px, 2.1vw, 28px); font-weight: 300; }
.dims__list li:hover, .dims__list li.is-active { color: var(--cream-text); }
.dims__list li.is-active { padding-inline-start: 14px; }
.dims__list li.is-active b { font-weight: 500; }
.dims__panels { position: relative; min-height: 480px; }
.dim {
  position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: translateY(22px);
  transition: opacity .6s var(--ease), transform .7s var(--ease), visibility 0s .6s;
  padding: clamp(28px, 3.4vw, 48px); border-radius: var(--r);
  background: linear-gradient(160deg, rgba(110, 83, 66, .38), rgba(61, 45, 36, .2)); border: 1px solid var(--line-light);
}
.dim.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.dim__tag { font-size: clamp(22px, 2.4vw, 31px); font-weight: 300; color: var(--sand); line-height: 1.4; }
.dim__desc { margin-top: 18px; color: rgba(239, 225, 202, .72); }
.dim__svc { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.dim__svc li { position: relative; padding-inline-start: 20px; font-size: 15.5px; }
.dim__svc li::before { content: ""; position: absolute; inset-inline-start: 0; top: .72em; width: 7px; height: 7px; background: var(--tan); transform: rotate(45deg); }
.dim__for { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line-light); font-size: 14.5px; color: rgba(239, 225, 202, .6); }
.dim__for b { color: var(--sand); font-weight: 500; }
.dims__motto { margin-top: clamp(50px, 7vw, 90px); text-align: center; font-size: clamp(18px, 2vw, 24px); font-weight: 300; color: var(--sand); letter-spacing: .02em; }

/* ---------------------------------------------------------------- al jumum */
.jumum { background: var(--cream); padding-bottom: clamp(90px, 12vw, 150px); }
.jumum__hero { position: relative; height: 96vh; min-height: 560px; color: var(--cream-text); overflow: hidden; display: flex; align-items: flex-end; }
.jumum__hero .parallax { position: absolute; inset: 0; }
.jumum__hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(28, 20, 15, .85), rgba(28, 20, 15, 0) 60%); }
.jumum__hero-text { position: relative; z-index: 1; padding-bottom: clamp(60px, 9vw, 110px); }
.jumum__hero-text .eyebrow { color: var(--sand); }
.jumum__hero-text p:last-child { margin-top: 16px; font-size: clamp(17px, 1.6vw, 21px); font-weight: 300; color: rgba(239, 225, 202, .8); }
.jumum__body { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 7vw, 100px); padding-top: clamp(70px, 9vw, 120px); }
.jumum__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.jumum__tags span { font-size: 13.5px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--mocha); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-content: start; border-top: 1px solid var(--line); }
.fact { padding: 26px 0; border-bottom: 1px solid var(--line); }
.fact:nth-child(odd) { padding-inline-end: 20px; }
.fact:nth-child(even) { padding-inline-start: 20px; border-inline-start: 1px solid var(--line); }
.fact dt { font-size: 14px; color: var(--muted); }
.fact dd { margin-top: 6px; color: var(--brown); }
.fact dd b { font-size: clamp(32px, 3.6vw, 48px); font-weight: 300; font-variant-numeric: tabular-nums; }
.fact dd small { font-size: 15px; color: var(--tan); }

.distances { margin-top: clamp(60px, 8vw, 100px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.distance { padding: 28px 24px; border-radius: var(--r); background: var(--brown); color: var(--cream-text); display: grid; gap: 6px; }
.distance b { font-size: clamp(40px, 4.6vw, 64px); font-weight: 200; line-height: 1; color: var(--sand); }
.distance span { font-size: 15px; color: rgba(239, 225, 202, .78); }
.distances__note { grid-column: 1 / -1; margin-top: 10px; font-size: 15px; color: var(--muted); text-align: center; }

.gallery { margin-top: clamp(80px, 10vw, 130px); }
.gallery__head { display: flex; align-items: end; justify-content: space-between; margin-bottom: 30px; }
.gallery__nav { display: flex; gap: 10px; }
.gbtn {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: none; cursor: pointer; position: relative; transition: all .3s;
}
.gbtn::before { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; border-top: 1.5px solid var(--brown); border-right: 1.5px solid var(--brown); transform: translate(-65%, -50%) rotate(45deg); }
.gbtn[data-dir="-1"]::before { transform: translate(-35%, -50%) rotate(-135deg); }
html[dir="rtl"] .gbtn::before { transform: translate(-35%, -50%) rotate(-135deg); }
html[dir="rtl"] .gbtn[data-dir="-1"]::before { transform: translate(-65%, -50%) rotate(45deg); }
.gbtn:hover { background: var(--brown); border-color: var(--brown); }
.gbtn:hover::before { border-color: var(--sand); }
.gallery__track {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-inline: max(clamp(20px, 5vw, 64px), (100% - 1240px) / 2); cursor: grab;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track.is-drag { cursor: grabbing; scroll-snap-type: none; }
.card-img { position: relative; flex: none; background: var(--cream); width: clamp(240px, 26vw, 360px); height: clamp(320px, 34vw, 470px); border-radius: var(--r); overflow: hidden; scroll-snap-align: start; }
.card-img.w2 { width: clamp(320px, 44vw, 620px); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); pointer-events: none; }
.card-img:hover img { transform: scale(1.06); }
.card-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(28, 20, 15, .7), transparent 45%); }
.card-img figcaption { position: absolute; z-index: 1; inset-inline-start: 24px; bottom: 20px; color: var(--cream-text); font-size: 18px; font-weight: 500; }


/* ---------------------------------------------------------------- projects */
.projects { padding-block: clamp(90px, 12vw, 150px); background: var(--cream); }
.projects__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.project { background: var(--ivory); border-radius: var(--r); overflow: hidden; padding-bottom: 28px; border: 1px solid var(--line); transition: transform .6s var(--ease), box-shadow .6s; }
.project:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -30px rgba(43, 31, 25, .35); }
.project__img { height: 240px; overflow: hidden; }
.project__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.project:hover .project__img img { transform: scale(1.06); }
.project__dim { margin: 22px 26px 0; font-size: 13px; color: var(--tan); font-weight: 500; }
.project h3 { margin: 6px 26px 10px; font-size: 23px; font-weight: 500; color: var(--brown); }
.project p:last-child { margin-inline: 26px; font-size: 15.5px; color: var(--muted); }

/* ---------------------------------------------------------------- how we work */
.how { padding-block: clamp(100px, 13vw, 170px); background: var(--brown); color: var(--cream-text); }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.steps::before { content: ""; position: absolute; inset-inline: 0; top: 27px; height: 1px; background: var(--line-light); }
.steps li { position: relative; padding-inline-end: 22px; }
.steps span {
  position: relative; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  background: var(--brown); border: 1px solid var(--tan); color: var(--sand); font-size: 18px; margin-bottom: 26px;
}
.steps h3 { font-size: 20px; font-weight: 500; }
.steps p { margin-top: 8px; font-size: 15px; color: rgba(239, 225, 202, .66); }
.models { margin-top: clamp(70px, 9vw, 110px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.model { padding: 34px 30px; border-radius: var(--r); border: 1px solid var(--line-light); transition: background .5s; }
.model:hover { background: rgba(237, 216, 186, .06); }
.model h3 { font-size: 22px; font-weight: 500; color: var(--sand); }
.model p { margin-top: 12px; font-size: 15.5px; color: rgba(239, 225, 202, .72); }

.clients { margin-top: clamp(80px, 10vw, 120px); padding-block: 60px 80px; border-top: 1px solid var(--line); }
.clients__title { text-align: center; font-size: 15px; color: var(--tan); letter-spacing: .1em; margin-bottom: 40px; }
.marquee { overflow: hidden; direction: ltr; mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent); }
.marquee__row { display: flex; align-items: center; gap: clamp(46px, 6vw, 80px); width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee__row { animation-play-state: paused; }
.marquee img { height: 72px; width: auto; filter: grayscale(1) contrast(.9); opacity: .6; transition: filter .4s, opacity .4s; }
.marquee img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- cta */
.cta { padding-block: clamp(110px, 14vw, 190px); color: var(--cream-text); overflow: hidden; text-align: center; }
.cta__bg { position: absolute; inset: 0; }
.cta__bg::after { content: ""; position: absolute; inset: 0; background: rgba(28, 20, 15, .66); }
.cta .wrap { position: relative; }
.cta .lead { color: rgba(239, 225, 202, .8); max-width: 680px; margin: 22px auto 0; }
.cta__grid { margin-top: clamp(50px, 7vw, 80px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: start; }
.cta__grid article { padding: 30px 28px; border-radius: var(--r); background: rgba(43, 31, 25, .5); backdrop-filter: blur(14px); border: 1px solid var(--line-light); }
.cta__grid h3 { font-size: 21px; font-weight: 500; color: var(--sand); }
.cta__grid p { margin-top: 10px; font-size: 15.5px; color: rgba(239, 225, 202, .78); }

/* ---------------------------------------------------------------- footer */
.footer { background: var(--espresso); color: rgba(239, 225, 202, .6); padding-block: 70px 40px; }
.footer__inner { display: grid; justify-items: center; gap: 18px; text-align: center; }
.footer__logo { height: 42px; width: auto; }
.footer__motto { font-size: 22px; font-weight: 300; color: var(--sand); }
.footer__copy { font-size: 13.5px; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .values__row { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
}
@media (max-width: 900px) {
  body { font-size: 16px; }
  .nav__links {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 26px;
    background: var(--espresso); opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s .5s;
  }
  .nav__links a { font-size: 24px; color: var(--cream-text) !important; }
  .nav__cta { border-color: var(--sand) !important; }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; transition-delay: 0s; }
  .nav.is-open .logo-light { opacity: 1 !important; } .nav.is-open .logo-dark { opacity: 0 !important; }
  .nav.is-open { background: transparent !important; box-shadow: none !important; backdrop-filter: none !important; }
  .nav.is-open .lang { color: var(--cream-text); border-color: rgba(246, 238, 226, .45); }
  .lang { margin-inline-start: auto; }
  .burger { display: grid; gap: 7px; width: 44px; height: 44px; place-content: center; background: none; border: 0; cursor: pointer; }
  .burger span { display: block; width: 26px; height: 1.5px; background: var(--cream); transition: transform .4s var(--ease); }
  .nav.is-open .burger span { background: var(--cream) !important; }
  .nav.is-open .burger span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .nav.is-open .burger span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  .nav__logo { width: 150px; height: 28px; }
  .about__grid, .jumum__body, .dims__grid, .mv__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .projects__grid, .models, .cta__grid { grid-template-columns: 1fr; }
  .distances { grid-template-columns: 1fr 1fr; }
  .phases__list { grid-template-columns: 1fr 1fr; }
  .dims__panels { min-height: 0; }
  .dim { position: relative; display: none; }
  .dim.is-active { display: block; }
  .dim__svc { grid-template-columns: 1fr; }
  .daybar, html[dir="ltr"] .daybar { left: 16px; right: 16px; bottom: 22px; padding: 12px 16px 14px; }
  .daybar__track { flex: 1; width: auto; }
  .hero__scroll { display: none; }
  .hero__content { bottom: 172px; }
  .form { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 34px 18px; }
  .steps li { padding-inline-end: 0; }
  .steps span { margin-bottom: 16px; width: 46px; height: 46px; font-size: 16px; }
  .stat b { font-size: 52px; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .steps li { display: grid; grid-template-columns: 46px 1fr; column-gap: 16px; }
  .steps span { grid-row: span 2; margin: 0; }
  .hero__actions .btn { flex: 1; padding-inline: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* ---------------------------------------------------------------- brand hero (looping logo film) */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero--brand .hero__poster, .hero--brand .hero__video { object-position: 50% 50%; }
.hero__shade--brand { background: linear-gradient(to top, rgba(18, 12, 9, .78), rgba(18, 12, 9, 0) 38%),
                                  linear-gradient(to bottom, rgba(18, 12, 9, .45), rgba(18, 12, 9, 0) 22%); }
.hero__shade--brand::after { display: none; }
.hero__brand { position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(70px, 11vh, 120px); text-align: center; padding-inline: 20px; }
.hero__tagline { font-size: clamp(24px, 3vw, 40px); font-weight: 300; color: var(--sand); letter-spacing: .01em; }
.hero__sub { margin-top: 6px; font-size: clamp(14px, 1.3vw, 17px); color: rgba(239, 225, 202, .72); letter-spacing: .04em; }
html[lang="en"] .hero__sub { letter-spacing: .14em; text-transform: uppercase; font-size: 12.5px; }
.hero__brand .hero__actions { justify-content: center; margin-top: 26px; }
.is-ready .hero__brand .reveal-hero:nth-child(2) { transition-delay: .15s; }
.is-ready .hero__brand .reveal-hero:nth-child(3) { transition-delay: .3s; }

/* ---------------------------------------------------------------- al jumum film (moved from the hero) */
.jumum__film { background: var(--espresso); }
.jumum__film .hero__stage { position: absolute; inset: 0; overflow: hidden; }
.jumum__film::after { background: linear-gradient(to top, rgba(28, 20, 15, .82), rgba(28, 20, 15, 0) 55%),
                                  linear-gradient(to left, rgba(28, 20, 15, .45), rgba(28, 20, 15, 0) 55%); z-index: 1; pointer-events: none; }
html[dir="ltr"] .jumum__film::after { background: linear-gradient(to top, rgba(28, 20, 15, .82), rgba(28, 20, 15, 0) 55%),
                                  linear-gradient(to right, rgba(28, 20, 15, .45), rgba(28, 20, 15, 0) 55%); }
.jumum__film .jumum__hero-text { z-index: 2; }
.jumum__film .daybar { z-index: 3; }
@media (max-width: 900px) {
  .jumum__film { align-items: flex-start; }
  .jumum__film .jumum__hero-text { padding-top: 110px; }
}

/* portrait phones: the full logo film is shown at its own width in the middle; the cover layer behind it
   (same film, blurred) fills the screen so the wall continues seamlessly */
.hero__fit { display: none; }
@media (orientation: portrait) and (max-width: 820px) {
  .hero--brand .hero__video { filter: blur(14px) brightness(.8); transform: scale(1.15); }
  .hero__fit { display: block; position: absolute; left: 50%; top: 42%; width: 158vw; transform: translate(-50%, -50%);
    -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%);
            mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%); }
  .hero__fit video { display: block; width: 100%; height: auto; }
  .hero--brand .hero__poster { filter: blur(14px) brightness(.8); }
  .jumum__film::before { content: ""; position: absolute; inset: 0 0 auto; height: 45%; z-index: 1; pointer-events: none;
    background: linear-gradient(to bottom, rgba(28, 20, 15, .8), rgba(28, 20, 15, 0)); }
}

/* ==========================================================================
   Premium pass (redesign-existing-projects + high-end-visual-design skills)
   ========================================================================== */
:root { --spring: cubic-bezier(.32, .72, 0, 1); --bezel: rgba(61, 45, 36, .028); --bezel-line: rgba(61, 45, 36, .07); }

/* typography polish */
h1, h2, h3, .display, .h2, .intro__title, .hero__tagline { text-wrap: balance; }
p, .lead { text-wrap: pretty; }
.stat b, .fact dd b, .distance b, .daybar__clock b { font-variant-numeric: tabular-nums; }

/* film grain over the whole page (fixed, never scrolls, never catches the pointer) */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 70; pointer-events: none; opacity: .045; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* skip link + visible focus */
.skip { position: fixed; top: 10px; inset-inline-start: 10px; z-index: 120; padding: 10px 18px; border-radius: 999px;
  background: var(--sand); color: var(--brown); font-weight: 700; transform: translateY(-160%); transition: transform .4s var(--spring); }
.skip:focus { transform: none; }
:focus-visible { outline: 2px solid var(--tan); outline-offset: 3px; border-radius: 6px; }

/* floating glass "island" navigation instead of an edge-to-edge bar */
@media (min-width: 901px) {
  .nav { top: 14px; inset-inline: 0; margin-inline: auto; width: min(1240px, calc(100% - 40px)); padding: 10px 14px 10px 22px;
    border-radius: 999px; transition: background .6s var(--spring), box-shadow .6s var(--spring), top .6s var(--spring); }
  html[dir="rtl"] .nav { padding: 10px 22px 10px 14px; }
  .nav.is-scrolled { top: 10px; padding-block: 10px; background: rgba(251, 248, 243, .78);
    box-shadow: 0 0 0 1px var(--bezel-line), 0 18px 40px -22px rgba(61, 45, 36, .35); }
  .nav__links a.is-active { color: var(--tan) !important; }
  .nav__links a.is-active::after { transform: scaleX(1) !important; }
}

/* buttons: spring easing, press feedback, button-in-button arrow */
.btn { transition: background .5s var(--spring), color .5s var(--spring), border-color .5s, transform .5s var(--spring); }
.btn:active { transform: scale(.97); }
.btn--ico { padding-inline-end: 8px; gap: 14px; }
.btn__ico { position: relative; width: 38px; height: 38px; border-radius: 50%; flex: none; transition: transform .5s var(--spring); }
.btn--light .btn__ico { background: rgba(61, 45, 36, .1); }
.btn--dark .btn__ico { background: rgba(246, 238, 226, .14); }
.btn__ico::before { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-top: 1.6px solid currentColor;
  border-right: 1.6px solid currentColor; transform: translate(-65%, -50%) rotate(45deg); }
html[dir="rtl"] .btn__ico::before { transform: translate(-35%, -50%) rotate(-135deg); }
.btn--ico:hover .btn__ico { transform: translateX(3px) scale(1.06); }
html[dir="rtl"] .btn--ico:hover .btn__ico { transform: translateX(-3px) scale(1.06); }

/* "double bezel": cards sit in a hairline tray like machined hardware */
.value, .cred, .project, .phases__list li, .form { box-shadow: 0 0 0 5px var(--bezel), 0 0 0 6px var(--bezel-line); }
.model, .cta__grid article, .mv__card, .dim { box-shadow: 0 0 0 6px rgba(237, 216, 186, .05), 0 0 0 7px rgba(237, 216, 186, .12),
  inset 0 1px 0 rgba(255, 255, 255, .08); }
.value, .cred, .project, .model { border-color: transparent; }
.values__row, .creds__grid, .models, .cta__grid { gap: 22px; }
.value:hover, .cred:hover, .project:hover { transition-timing-function: var(--spring); }

/* projects: bento (one feature card + two horizontal cards) */
@media (min-width: 901px) {
  .projects__grid--bento { grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr; gap: 22px; }
  .project--feature { grid-row: span 2; display: flex; flex-direction: column; }
  .project--feature .project__img { height: auto; flex: 1; min-height: 320px; }
  .project--row { display: grid; grid-template-columns: 44% 1fr; align-content: center; padding-bottom: 0; }
  .project--row .project__img { grid-row: span 3; height: 100%; min-height: 230px; }
  .project--row .project__dim { margin-top: 26px; }
  .project--row p:last-child { margin-bottom: 26px; }
}

/* form states */
.form__msg { min-height: 1.2em; font-size: 14px; color: var(--mocha); margin-top: -4px; }
.form__msg.is-err { color: #a33a2c; }
.form .is-invalid { border-color: #c4553f !important; box-shadow: 0 0 0 4px rgba(196, 85, 63, .14) !important; }

/* full-height sections without the iOS viewport jump */
.jumum__hero { height: auto; min-height: 100dvh; }
@media (prefers-reduced-motion: reduce) { body::after { display: none; } }
.btn { white-space: nowrap; }
@media (max-width: 560px) {
  .hero__actions .btn__ico { display: none; }
  .hero__actions .btn--ico { padding-inline-end: 18px; }
}

/* ==========================================================================
   Motion pass: opening sequence, scroll-linked details, tactile hovers
   ========================================================================== */
/* ---- opening: the mark turns, the wordmark settles, a line draws, then everything dissolves into the film */
.loader { clip-path: none; transition: opacity 1s var(--spring), visibility 0s 1s;
  background: radial-gradient(ellipse at 50% 45%, #3a2a21 0%, #2b1f19 50%, #1d150f 100%); }
.loader.is-done { clip-path: none; opacity: 0; visibility: hidden; }
.loader.is-done .loader__inner { transform: scale(1.06); filter: blur(4px); }
.loader__inner { display: grid; justify-items: center; gap: 22px; perspective: 900px;
  transition: transform 1.1s var(--spring), filter 1.1s var(--spring); }
.loader__mark { width: 96px; height: 96px; display: grid; place-items: center; opacity: 0;
  animation: markTurn 1.5s var(--spring) .1s forwards; }
.loader__mark img { width: 100%; filter: drop-shadow(0 6px 22px rgba(237, 216, 186, .25)); }
@keyframes markTurn {
  0% { opacity: 0; transform: rotateY(-180deg) rotate(-45deg) scale(.6); }
  60% { opacity: 1; }
  100% { opacity: 1; transform: rotateY(0) rotate(0) scale(1); }
}
.loader__word { height: 34px; width: auto; opacity: 0; transform: translateY(12px); filter: blur(6px);
  animation: wordIn 1s var(--spring) .95s forwards; }
@keyframes wordIn { to { opacity: .95; transform: none; filter: blur(0); } }
.loader__line { width: 190px; height: 1px; background: none; overflow: visible; position: relative; }
.loader__line::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, var(--sand), transparent);
  transform: scaleX(0); animation: lineDraw 1.1s var(--spring) 1.35s forwards; }
.loader__line i { display: none; }
@keyframes lineDraw { to { transform: scaleX(1); } }
.loader__tag { font-size: 13px; letter-spacing: .08em; color: rgba(237, 216, 186, .7); opacity: 0;
  animation: wordIn .9s var(--spring) 1.75s forwards; }
html.intro-seen .loader__mark, html.intro-seen .loader__word, html.intro-seen .loader__line::before,
html.intro-seen .loader__tag { animation-duration: .5s; animation-delay: 0s; }

/* ---- reading progress */
.progress { position: fixed; z-index: 80; top: 0; left: 0; right: 0; height: 2px; pointer-events: none; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--tan), var(--sand));
  transform-origin: 0 50%; transform: scaleX(0); }
html[dir="rtl"] .progress i { transform-origin: 100% 50%; }

/* ---- sections let the decorations drift without creating a horizontal scrollbar */
main > section { overflow-x: clip; }
.deco { position: absolute; z-index: 0; width: 120px; height: 120px; border: 1px solid rgba(185, 153, 121, .35);
  transform: rotate(45deg); pointer-events: none; will-change: transform; border-radius: 6px; }
.deco::after { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(185, 153, 121, .2); border-radius: 4px; }
.deco--lg { width: 210px; height: 210px; }
.deco--sm { width: 46px; height: 46px; }
.deco--fill { background: rgba(185, 153, 121, .12); border-color: transparent; }
.deco--fill::after { display: none; }
.dims .deco, .how .deco { border-color: rgba(237, 216, 186, .15); }
main > section > .wrap, main > section > .head { position: relative; z-index: 1; }

/* ---- images uncover with a soft mask, then settle */
.reveal-img { clip-path: inset(10% 8% 10% 8% round 18px); transition: clip-path 1.4s var(--spring); }
.reveal-img img { transform: scale(1.18); transition: transform 1.8s var(--spring); }
.reveal-img.in, .in .reveal-img { clip-path: inset(0 0 0 0 round 18px); }
.reveal-img.in img, .in .reveal-img img { transform: scale(1); }
.project__img.reveal-img { clip-path: inset(0 0 100% 0); }
.project.in .project__img.reveal-img { clip-path: inset(0 0 0 0); }
.parallax.reveal-img img, .reveal-img .parallax img { transition: none; }

/* ---- cards: a warm light follows the cursor */
.value, .cred, .project, .model, .cta__grid article, .phases__list li { position: relative; isolation: isolate; }
.value::before, .cred::before, .project::before, .model::before, .cta__grid article::before, .phases__list li::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none; opacity: 0;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(185, 153, 121, .22), transparent 70%);
  transition: opacity .5s var(--spring); }
.value:hover::before, .cred:hover::before, .project:hover::before, .model:hover::before,
.cta__grid article:hover::before, .phases__list li:hover::before { opacity: 1; }
.project { z-index: 0; }

/* ---- magnetic buttons (JS sets --tx/--ty) */
.btn { translate: var(--tx, 0) var(--ty, 0); transition: background .5s var(--spring), color .5s var(--spring), border-color .5s,
  transform .5s var(--spring), translate .6s var(--spring); }

/* ---- hero copy drifts and fades as the film scrolls away */
#heroBrand { will-change: transform, opacity; }

@media (prefers-reduced-motion: reduce) {
  .deco { transform: none !important; }
  .reveal-img, .reveal-img img { clip-path: none !important; transform: none !important; }
}
@media (max-width: 900px) {
  .deco--lg { width: 130px; height: 130px; }
  .deco { opacity: .7; }
}

/* ---- profile downloads (home contact section + Al Jumum page) */
/* download buttons (shared with the home page) */
.dl { margin-top: clamp(50px, 6vw, 80px); }
.dl__label { font-size: 14px; letter-spacing: .06em; color: var(--tan); }
.dl__row { margin-top: 16px; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.dl__btn { display: inline-flex; align-items: center; gap: 14px; padding: 12px 22px 12px 14px; border-radius: 18px; text-align: start;
  border: 1px solid var(--line-light); background: rgba(246, 238, 226, .05); transition: background .4s var(--spring), border-color .4s, transform .5s var(--spring); }
html[dir="rtl"] .dl__btn { padding: 12px 14px 12px 22px; }
.dl__btn:hover { background: rgba(246, 238, 226, .1); border-color: rgba(237, 216, 186, .45); transform: translateY(-3px); }
.dl__btn b { display: block; font-size: 15.5px; font-weight: 500; color: var(--cream-text); }
.dl__btn small { display: block; font-size: 12.5px; color: rgba(239, 225, 202, .55); direction: ltr; text-align: inherit; }
html[dir="rtl"] .dl__btn small { text-align: right; }
.dl__ico { position: relative; width: 44px; height: 44px; border-radius: 12px; background: var(--sand); flex: none; }
.dl__ico::before { content: ""; position: absolute; left: 50%; top: 11px; width: 1.6px; height: 15px; margin-left: -.8px; background: var(--brown); }
.dl__ico::after { content: ""; position: absolute; left: 50%; top: 18px; width: 8px; height: 8px; margin-left: -4px;
  border-right: 1.6px solid var(--brown); border-bottom: 1.6px solid var(--brown); transform: rotate(45deg); transition: transform .4s var(--spring); }
.dl__btn:hover .dl__ico::after { transform: translateY(3px) rotate(45deg); }
/* light-background variant (home page contact section) */
.dl--light .dl__btn { border-color: var(--line); background: var(--cream); }
.dl--light .dl__btn:hover { background: #fff; border-color: var(--tan); }
.dl--light .dl__btn b { color: var(--brown); }
.dl--light .dl__btn small { color: var(--muted); }
.dl--light .dl__ico { background: var(--brown); }
.dl--light .dl__ico::before { background: var(--sand); }
.dl--light .dl__ico::after { border-color: var(--sand); }
.dl--light .dl__row { justify-content: flex-start; }

@media (max-width: 560px) { .dl__btn { width: 100%; } }

/* ---- signed numbers (+30, 20+) keep the column alignment */
.stat b { justify-self: start; }
.jumum__more { margin-top: 30px; }
.dl--light { margin-top: 40px; }

/* ---------------------------------------------------------------- six dimensions: six vertical strips, one opens at a time
   The section is tall; the row of strips stays on screen while scrolling opens one strip after another (main.js). */
.dstrips { padding-block: clamp(90px, 11vw, 140px); height: auto; background: var(--cream); color: var(--ink); overflow: visible; }
.dstrips::before { display: none; }
.dstrips__pin { display: flex; flex-direction: column; gap: clamp(22px, 3vw, 40px); }
.dstrips__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 60px; flex-wrap: wrap; }
.dstrips__head .eyebrow { margin-bottom: 10px; }
.dstrips__head .h2 { font-size: clamp(28px, 3.4vw, 46px); color: var(--brown); }
.dstrips__head .lead { max-width: 500px; font-size: 16px; margin: 0; }
.dstrips__row { display: flex; gap: 10px; height: clamp(480px, 62vh, 580px); }
.dstrips__motto { text-align: center; font-size: clamp(16px, 1.5vw, 20px); font-weight: 300; color: var(--mocha); }

.strip { --c: #2b1f19; --t: #f6eee2; position: relative; flex: 1 1 0; min-width: 0; border-radius: 22px; overflow: hidden; cursor: pointer;
  background: var(--c); color: var(--t); padding: 24px 22px; display: flex; flex-direction: column; outline: none;
  opacity: 0; transform: translateY(50px);
  transition: flex-grow .95s var(--spring), opacity .9s var(--spring), transform 1.1s var(--spring), box-shadow .6s; }
.strip:nth-child(2) { --c: #3d2d24; }
.strip:nth-child(3) { --c: #574033; }
.strip:nth-child(4) { --c: #7d604c; }
.strip:nth-child(5) { --c: #b99979; --t: #2b1f19; }
.strip:nth-child(6) { --c: #e6d0b0; --t: #2b1f19; }
.dstrips.is-in .strip { opacity: 1; transform: none; }
.dstrips.is-in .strip:nth-child(2) { transition-delay: 0s, .08s, .08s, 0s; }
.dstrips.is-in .strip:nth-child(3) { transition-delay: 0s, .16s, .16s, 0s; }
.dstrips.is-in .strip:nth-child(4) { transition-delay: 0s, .24s, .24s, 0s; }
.dstrips.is-in .strip:nth-child(5) { transition-delay: 0s, .32s, .32s, 0s; }
.dstrips.is-in .strip:nth-child(6) { transition-delay: 0s, .4s, .4s, 0s; }
.strip.is-active { flex-grow: 5.4; cursor: default; box-shadow: 0 30px 60px -30px rgba(43, 31, 25, .45); }
.strip:not(.is-active):hover { flex-grow: 1.25; }
.strip:focus-visible { box-shadow: 0 0 0 3px var(--tan); }

.strip__no { font-size: 14px; font-weight: 500; letter-spacing: .1em; opacity: .7; transition: opacity .5s; }
/* closed: the name runs down the strip */
.strip__title { margin-top: auto; writing-mode: vertical-rl; font-size: clamp(17px, 1.5vw, 21px); font-weight: 400; white-space: nowrap;
  line-height: 1.3; transition: opacity .35s var(--spring); }
html[dir="rtl"] .strip__title { align-self: flex-end; }
.strip.is-active .strip__title { opacity: 0; transition-duration: .2s; }
/* open: the full dimension */
.strip__body { position: absolute; inset-inline: clamp(24px, 3vw, 44px); top: clamp(110px, 16vh, 150px); bottom: clamp(24px, 4vh, 40px);
  width: min(560px, calc(100% - 2 * clamp(24px, 3vw, 44px))); display: flex; flex-direction: column; justify-content: flex-end;
  opacity: 0; transform: translateY(18px); pointer-events: none; transition: opacity .35s var(--spring), transform .6s var(--spring); }
.strip.is-active .strip__body { opacity: 1; transform: none; pointer-events: auto; transition-delay: .38s; transition-duration: .7s, .9s; }
.strip__big { font-size: clamp(30px, 3.2vw, 52px); font-weight: 300; line-height: 1.15; letter-spacing: -.01em; }
.strip .dim__tag { margin-top: 12px; font-size: clamp(17px, 1.4vw, 20px); color: inherit; opacity: .85; }
.strip .dim__desc { margin-top: 12px; font-size: 15.5px; line-height: 1.8; color: inherit; opacity: .72; }
.strip .dim__svc { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 7px; }
.strip .dim__svc li { padding: 6px 13px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--t) 28%, transparent); font-size: 13px; }
.strip .dim__svc li::before { display: none; }
.strip .dim__for { margin-top: 16px; padding-top: 12px; border-top: 1px solid color-mix(in srgb, var(--t) 22%, transparent); font-size: 13.5px; opacity: .72; color: inherit; }
.strip .dim__for b { color: inherit; }
.strip__ghost { position: absolute; top: clamp(20px, 4vh, 36px); inset-inline-end: clamp(20px, 3vw, 40px); direction: ltr; pointer-events: none;
  font-size: clamp(64px, 7vw, 110px); font-weight: 100; line-height: .8; color: transparent;
  -webkit-text-stroke: 1px color-mix(in srgb, var(--t) 30%, transparent); opacity: 0; transform: translateY(20px);
  transition: opacity .6s var(--spring), transform 1s var(--spring); }
.strip.is-active .strip__ghost { opacity: 1; transform: none; transition-delay: .3s; }
.strip__ghost { inset-inline-end: clamp(20px, 3vw, 40px) !important; inset-inline-start: auto; }
.strip__body { inset-inline-end: auto; }
.strip.is-active .strip__no { opacity: 0; }
.strip__bar { position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: color-mix(in srgb, var(--t) 45%, transparent);
  transform-origin: 100% 50%; transform: scaleX(0); }
.strip.is-active.is-timing .strip__bar { transform: scaleX(1); transition: transform var(--dur, 6s) linear; }
.dstrips.is-paused .strip__bar { transition: none !important; }
html[dir="ltr"] .strip__bar { transform-origin: 0 50%; }

@media (max-width: 900px) {
  .dstrips__pin { gap: 16px; }
  .dstrips__head .lead { display: none; }
  .dstrips__row { flex-direction: column; height: 600px; gap: 6px; }
  .strip { padding: 12px 16px; flex-direction: row; align-items: center; gap: 12px; border-radius: 16px; }
  .strip.is-active { flex-grow: 9; }
  .strip:not(.is-active):hover { flex-grow: 1; }
  .strip__title { writing-mode: horizontal-tb; margin-top: 0; font-size: 15px; }
  html[dir="rtl"] .strip__title { align-self: center; }
  .strip__body { inset-inline: 18px; top: 16px; bottom: 14px; width: auto; justify-content: flex-start; }
  .strip__big { font-size: 26px; }
  .strip .dim__for { display: none; }
  .strip .dim__desc { display: none; }
  .strip .dim__svc li { font-size: 12px; padding: 4px 10px; }
  .strip__ghost { display: none; }
  .dstrips__motto { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .dstrips { height: auto; padding-block: 90px; }
  .dstrips__pin { position: relative; height: auto; }
  .dstrips__row { flex-direction: column; height: auto; }
  .strip { opacity: 1; transform: none; flex-grow: 1 !important; min-height: 0; }
  .strip__title { display: none; }
  .strip__body { position: relative; inset: auto; width: auto; opacity: 1; transform: none; }
  .strip__ghost, .strip__bar { display: none; }
}

/* ---------------------------------------------------------------- six dimensions: an orbit (default; strips via ?dims=strips) */
.dorbit { background: var(--espresso); color: var(--cream-text); overflow: hidden; }
.dorbit .dstrips__row { display: none; }
.dorbit .dstrips__head { flex-direction: column; align-items: center; text-align: center; gap: 0; }
.dorbit .dstrips__head .eyebrow { justify-content: center; }
.dorbit .dstrips__head .h2 { color: var(--cream-text); font-weight: 200; font-size: clamp(32px, 4vw, 54px); }
.dorbit .dstrips__head .lead { color: rgba(239, 225, 202, .62); max-width: 640px; margin-top: 14px; }
.dorbit .dstrips__motto { color: var(--sand); }

.orb { --D: min(540px, 60vh); display: grid; justify-items: center; gap: clamp(22px, 3vw, 34px); padding-top: 76px; }
.orb__stage { --R: calc(var(--D) / 2); position: relative; width: var(--D); height: var(--D);
  opacity: 0; transform: scale(.92) rotate(-12deg); transition: opacity 1.2s var(--spring), transform 1.6s var(--spring); }
.dorbit.is-in .orb__stage { opacity: 1; transform: none; }
.orb__track { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orb__track circle { fill: none; stroke: rgba(237, 216, 186, .22); stroke-width: .18; stroke-dasharray: .6 1.2; vector-effect: non-scaling-stroke; }
.orb__track circle:first-child { stroke-dasharray: none; stroke: rgba(237, 216, 186, .16); }
.orb__track .orb__inner { fill: rgba(246, 238, 226, .025); stroke: rgba(237, 216, 186, .12); stroke-dasharray: none; }
/* a hairline from the centre to the lit dimension */
.orb__arm { position: absolute; left: 50%; top: 50%; width: 1px; height: var(--R); margin-left: -.5px; transform-origin: 50% 0;
  translate: 0 0; background: linear-gradient(to bottom, transparent 73%, rgba(237, 216, 186, .55)); opacity: 0; transition: opacity .6s;
  rotate: 180deg; }
.orb.has-active .orb__arm { opacity: 1; }

/* the nodes ride the ring; their labels stay upright */
.orb__node { position: absolute; left: 50%; top: 50%; width: 0; height: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer;
  transform: rotate(calc(var(--a) + var(--spin, 0deg))) translateY(calc(-1 * var(--R))) rotate(calc(-1 * (var(--a) + var(--spin, 0deg)))); }
.orb__dot { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 3px; transform: rotate(45deg);
  background: var(--espresso); border: 1px solid rgba(237, 216, 186, .6); transition: transform .6s var(--spring), background .5s, box-shadow .6s; }
.orb__node:hover .orb__dot { background: rgba(237, 216, 186, .3); }
.orb__node.is-active .orb__dot { background: var(--sand); border-color: var(--sand); transform: rotate(45deg) scale(1.45);
  box-shadow: 0 0 0 7px rgba(237, 216, 186, .12), 0 0 26px rgba(246, 220, 180, .55); }
.orb__label { position: absolute; left: 50%; top: 18px; transform: translateX(-50%); width: 168px; text-align: center; display: grid; gap: 2px;
  color: rgba(239, 225, 202, .62); transition: color .5s; }
.orb__node.is-top .orb__label { top: auto; bottom: 18px; }
.orb__node.is-top .orb__label b { order: 2; }
.orb__label b { font-size: 12px; font-weight: 500; letter-spacing: .14em; color: var(--tan); }
.orb__name { font-size: 15px; line-height: 1.35; }
.orb__node:hover .orb__label, .orb__node.is-active .orb__label { color: var(--cream-text); }
.orb__node.is-active .orb__name { font-weight: 500; }
.orb__node:focus-visible { outline: none; }
.orb__node:focus-visible .orb__dot { box-shadow: 0 0 0 4px var(--tan); }

/* the centre: the mark, or the lit dimension */
.orb__core { position: absolute; left: 50%; top: 50%; width: calc(var(--D) * .62); height: calc(var(--D) * .62); transform: translate(-50%, -50%);
  display: grid; place-items: center; text-align: center; }
.orb__panel { grid-area: 1 / 1; display: grid; justify-items: center; gap: 8px; max-width: 86%; opacity: 0; transform: translateY(14px); filter: blur(6px);
  transition: opacity .45s var(--spring), transform .7s var(--spring), filter .5s; pointer-events: none; }
.orb__panel.is-on { opacity: 1; transform: none; filter: none; transition-delay: .12s; pointer-events: auto; }
.orb__panel--mark img { width: calc(var(--D) * .2); opacity: .9; }
.orb__no { font-size: 13px; letter-spacing: .16em; color: var(--tan); }
.orb__title { font-size: clamp(24px, 2.6vw, 34px); font-weight: 300; line-height: 1.2; color: var(--cream-text); }
.orb__panel .dim__tag { font-size: 16px; color: var(--sand); }
.orb__panel .dim__desc { font-size: 14px; line-height: 1.75; color: rgba(239, 225, 202, .66); }

/* services under the ring */
.orb__more { display: grid; width: min(820px, 100%); min-height: 96px; margin-top: 56px; }
.orb__extra { grid-area: 1 / 1; display: grid; justify-items: center; gap: 12px; opacity: 0; transform: translateY(10px);
  transition: opacity .4s var(--spring), transform .6s var(--spring); pointer-events: none; }
.orb__extra.is-on { opacity: 1; transform: none; transition-delay: .2s; pointer-events: auto; }
.orb__extra .dim__svc { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.orb__extra .dim__svc li { padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(237, 216, 186, .22); font-size: 13.5px; color: rgba(239, 225, 202, .82); }
.orb__extra .dim__svc li::before { display: none; }
.orb__extra .dim__for { font-size: 13.5px; color: rgba(239, 225, 202, .55); text-align: center; border: 0; padding: 0; margin: 0; }
.orb__extra .dim__for b { color: var(--sand); }

@media (max-width: 900px) {
  .orb { --D: min(86vw, 360px); }
  .orb__label { width: 40px; top: 14px; }
  .orb__name { display: none; }
  .orb__panel .dim__desc { display: none; }
  .orb__title { font-size: 22px; }
  .orb__panel .dim__tag { font-size: 13.5px; }
  .orb__panel--mark img { width: 70px; }
  .orb__extra .dim__svc li { font-size: 12.5px; padding: 5px 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .orb__stage { opacity: 1; transform: none; }
}

/* ==========================================================================
   Sections redesign (Oct 2026): vision & mission, values, Al Jumum phases, why Buad, credentials, contact
   ========================================================================== */
:root { --gold: #e6c48d; --night: #221913; }

/* ---------------------------------------------------------------- vision & mission
   The two statements stand either side of a diamond window (the BUAD mark's shape) that opens onto a horizon. */
.vm { position: relative; overflow: hidden; color: var(--cream-text); padding-block: clamp(100px, 12vw, 170px);
  background: radial-gradient(42% 60% at 50% 50%, rgba(185, 153, 121, .2), transparent 70%), var(--night); }
.vm__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: clamp(30px, 4vw, 70px); align-items: center; }
.vm__col--v { align-self: start; }
.vm__col--m { align-self: end; }
.vm__label { display: flex; align-items: center; gap: 14px; font-size: 14px; font-weight: 500; letter-spacing: .08em; color: var(--sand); }
.vm__label b { font-size: 12px; font-weight: 500; letter-spacing: .14em; color: var(--tan); padding: 5px 11px; border: 1px solid rgba(185, 153, 121, .38); border-radius: 999px; }
html[lang="en"] .vm__label span { letter-spacing: .2em; text-transform: uppercase; font-size: 12px; }
.vm__vision { margin-top: 24px; font-size: clamp(24px, 2.3vw, 37px); font-weight: 300; line-height: 1.5; text-wrap: pretty; }
.vm__vision .w { color: rgba(239, 225, 202, .2); transition: color .5s var(--spring); }
.vm__vision .w.on { color: var(--cream-text); }
.vm__vision .w.key.on { background: linear-gradient(180deg, #fbecc9, #e6c48d 55%, #b98a52); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vm__mission { margin-top: 24px; font-size: clamp(17px, 1.3vw, 20px); font-weight: 300; line-height: 1.9; color: rgba(239, 225, 202, .78); }
.vm__pillars { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(237, 216, 186, .14); display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.vm__pillars { gap: 10px 0; }
.vm__pillars li + li::before { content: ""; width: 1px; height: 22px; margin-inline: 22px; background: linear-gradient(transparent, var(--gold), transparent); }   /* إدارة | تطوير | تشغيل */
.vm__pillars li + li::after { content: ""; position: absolute; }
.vm__pillars li { display: inline-flex; align-items: center; gap: 12px; font-size: clamp(17px, 1.45vw, 22px); color: var(--sand); }
.vm__pillars i { width: 8px; height: 8px; transform: rotate(45deg); border: 1px solid var(--gold); }
.vm__pillars li:nth-child(2) i { background: rgba(230, 196, 141, .45); }
.vm__pillars li:nth-child(3) i { background: var(--gold); }

.vm__gem { --s: clamp(250px, 27vw, 420px); position: relative; width: var(--s); height: var(--s); margin: 0 calc(var(--s) * .06); }
.vm__ring { position: absolute; border: 1px solid rgba(230, 196, 141, .5); border-radius: 16px; pointer-events: none;
  transform: rotate(calc(45deg + var(--vmr, 0deg))); transition: opacity 1.2s var(--spring) .5s; opacity: 0; }
.vm__ring--a { inset: 7%; }
.vm__ring--b { inset: 1%; border-color: rgba(230, 196, 141, .16); transform: rotate(calc(45deg - var(--vmr, 0deg))); }
.vm__window { position: absolute; inset: 15%; transform: rotate(45deg); overflow: hidden; border-radius: 12px;
  clip-path: inset(50% 50% 50% 50% round 12px); transition: clip-path 1.7s var(--spring); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .7); }
.vm__window img { position: absolute; left: -21%; top: -21%; width: 142%; height: 142%; max-width: none; object-fit: cover; object-position: 69% 50%;   /* the sculpture sits at 59% of the photo: centred in the diamond (user, 2026-10-18) */
  transform: rotate(-45deg) scale(1.3); transition: transform 2.6s var(--spring); filter: saturate(.92) contrast(1.04); }
.vm__window::after { content: ""; position: absolute; inset: 0; background: radial-gradient(closest-side, transparent 55%, rgba(34, 25, 19, .5)); }
.vm__seal { position: absolute; left: 50%; bottom: 0; width: 62px; height: 62px; translate: -50% 18%; border-radius: 50%; background: var(--night);
  display: grid; place-items: center; box-shadow: 0 0 0 1px rgba(230, 196, 141, .55), 0 0 0 8px var(--night), 0 0 0 9px rgba(230, 196, 141, .16);
  opacity: 0; scale: .6; transition: opacity .8s var(--spring) .9s, scale 1s var(--spring) .9s; }
.vm__seal img { width: 28px; }
.vm__gem.in .vm__window { clip-path: inset(0 0 0 0 round 12px); }
.vm__gem.in .vm__window img { transform: rotate(-45deg) scale(1.03); }
.vm__gem.in .vm__ring, .vm__gem.in .vm__seal { opacity: 1; scale: 1; }

/* ---------------------------------------------------------------- values: five arched niches (Hijazi arch + mashrabiya lattice), one lit at a time */
.vals { padding-block: clamp(90px, 12vw, 150px); background: var(--cream); overflow: hidden; }
.head--center { margin-inline: auto; text-align: center; }
.head--center .eyebrow::before { display: none; }
.arches { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); align-items: end; }
.arch { --lit: 0; position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; text-align: center;
  min-height: clamp(380px, 34vw, 470px); padding: 0 clamp(16px, 1.6vw, 26px) clamp(26px, 2.4vw, 34px); border-radius: 999px 999px 22px 22px;
  background: var(--ivory); box-shadow: 0 0 0 1px rgba(185, 153, 121, .38), 0 30px 60px -40px rgba(61, 45, 36, .35);
  cursor: default; outline: none; transition: transform .9s var(--spring), box-shadow .9s var(--spring); }
/* the lit state: dusk light rises inside the niche */
.arch::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: 0;
  background: radial-gradient(120% 70% at 50% 0%, rgba(230, 196, 141, .42), transparent 60%), linear-gradient(to top, #1d1510, #2d2119 70%, #3a2a1f);
  transition: opacity .9s var(--spring); }
/* mashrabiya lattice in the head of the arch */
.arch::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: repeating-linear-gradient(45deg, rgba(185, 153, 121, .22) 0 1px, transparent 1px 14px),
              repeating-linear-gradient(-45deg, rgba(185, 153, 121, .22) 0 1px, transparent 1px 14px);
  -webkit-mask-image: linear-gradient(to bottom, #000 0, rgba(0, 0, 0, .55) 22%, transparent 46%); mask-image: linear-gradient(to bottom, #000 0, rgba(0, 0, 0, .55) 22%, transparent 46%);
  transition: opacity .9s var(--spring); }
.arch__frame { position: absolute; inset: 9px; border-radius: inherit; border: 1px solid rgba(185, 153, 121, .3); pointer-events: none; transition: border-color .9s; }
.arch__ico { width: 54px; height: 54px; margin-top: clamp(58px, 6vw, 84px); padding: 13px; border-radius: 50%; background: var(--cream); fill: none; stroke: var(--mocha);
  stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; box-shadow: 0 0 0 1px rgba(185, 153, 121, .4), 0 0 0 7px var(--ivory), 0 0 0 8px rgba(185, 153, 121, .18);
  transition: background .9s var(--spring), stroke .9s, box-shadow .9s var(--spring), transform 1s var(--spring); }
.arch__no { margin-top: auto; font-size: 12.5px; font-weight: 500; letter-spacing: .16em; color: var(--tan); direction: ltr; }
.arch h3 { margin-top: 8px; font-size: clamp(19px, 1.6vw, 24px); font-weight: 500; line-height: 1.35; color: var(--brown); transition: color .9s; }
.arch p { margin-top: 10px; font-size: 15px; line-height: 1.75; color: var(--muted); max-width: 22ch; transition: color .9s; }
.arch.is-lit { transform: translateY(-14px); box-shadow: 0 0 0 1px rgba(230, 196, 141, .5), 0 40px 70px -34px rgba(43, 31, 25, .7); }
.arch.is-lit::before { opacity: 1; }
.arch.is-lit::after { opacity: .7; }
.arch.is-lit .arch__frame { border-color: rgba(230, 196, 141, .4); }
.arch.is-lit .arch__ico { background: rgba(230, 196, 141, .12); stroke: var(--gold); transform: translateY(-4px);
  box-shadow: 0 0 0 1px rgba(230, 196, 141, .55), 0 0 0 7px rgba(29, 21, 16, 0), 0 0 30px 6px rgba(230, 196, 141, .18); }
.arch.is-lit h3 { color: var(--sand); }
.arch.is-lit p { color: rgba(239, 225, 202, .74); }
.arch:focus-visible { outline: 2px solid var(--tan); outline-offset: 5px; }

/* ---------------------------------------------------------------- why buad: bento */
.why { padding-block: clamp(90px, 12vw, 150px); background: var(--cream); }
.why__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 20px 60px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.why__head .head { margin: 0; }
.why__bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.wcard { position: relative; grid-column: span 4; display: flex; flex-direction: column; min-height: 270px; padding: clamp(26px, 2.6vw, 36px);
  border-radius: 24px; background: var(--ivory); overflow: hidden; isolation: isolate;
  box-shadow: 0 0 0 5px var(--bezel), 0 0 0 6px var(--bezel-line); transition: transform .7s var(--spring); }
.wcard:hover { transform: translateY(-5px); }
.wcard__no { font-size: 12.5px; font-weight: 500; letter-spacing: .14em; color: var(--tan); }
.wcard h3 { margin-top: 8px; font-size: clamp(20px, 1.65vw, 24px); font-weight: 500; line-height: 1.4; color: var(--brown); }
.wcard p { margin-top: 8px; font-size: 15.5px; color: var(--muted); }
.wico { width: 50px; height: 50px; padding: 12px; margin-bottom: auto; border-radius: 15px; background: var(--ivory); fill: none; stroke: var(--mocha);
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; box-shadow: 0 0 0 1px var(--line);
  transition: background .5s var(--spring), stroke .5s, transform .7s var(--spring); }
.wcard:hover .wico { background: var(--brown); stroke: var(--sand); transform: rotate(-8deg) scale(1.04); }
.wico + .wcard__no { margin-top: 42px; }
.wcard--hub, .wcard--photo { min-height: 460px; }
.wcard--hub { grid-column: span 7; color: var(--cream-text);
  background: radial-gradient(70% 80% at 50% 35%, rgba(185, 153, 121, .2), transparent 65%), var(--night); }
.wcard--hub h3, .wcard--photo h3 { color: var(--sand); font-size: clamp(22px, 2vw, 28px); font-weight: 400; }
.wcard--hub p, .wcard--photo p { color: rgba(239, 225, 202, .74); max-width: 48ch; }
.wcard--hub .wcard__text, .wcard--photo .wcard__text { margin-top: auto; }
.wcard--photo { grid-column: span 5; padding: 0; justify-content: flex-end; }
.wcard__img { position: absolute; inset: 0; z-index: -2; }
.wcard__img img { transition: scale 1.4s var(--spring); }
.wcard--photo:hover .wcard__img img { scale: 1.04; }
.wcard--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(24, 17, 13, .9), rgba(24, 17, 13, .05) 62%); }
.wcard--photo .wcard__text { padding: clamp(26px, 2.6vw, 36px); }

.hub__switch { align-self: flex-start; display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(246, 238, 226, .06);
  box-shadow: inset 0 0 0 1px rgba(237, 216, 186, .14); }
.hub__switch button { font: inherit; font-size: 13.5px; color: rgba(239, 225, 202, .62); background: none; border: 0; padding: 7px 16px; border-radius: 999px;
  cursor: pointer; transition: background .45s var(--spring), color .45s; }
.hub__switch button:hover { color: var(--cream-text); }
.hub__switch button.is-on { background: var(--sand); color: var(--brown); }
.hub { display: block; width: 100%; height: auto; margin-top: 14px; overflow: visible; }
html[dir="rtl"] .hub { transform: scaleX(-1); }
.hub path { fill: none; stroke-linecap: round; }
.hub__before { transition: opacity .7s var(--spring); }
.hub__before path { stroke: rgba(237, 216, 186, .38); stroke-width: 1.2; stroke-dasharray: 3 6; animation: hubBuzz 1.6s linear infinite; }
.hub__after path { stroke: var(--gold); stroke-width: 1.4; stroke-dasharray: 420; stroke-dashoffset: 420; transition: stroke-dashoffset 1.3s var(--spring); }
.hub__after .hub__trunk { stroke-width: 3.2; transition-delay: .25s; }
.hub__dots circle { fill: var(--night); stroke: rgba(237, 216, 186, .6); stroke-width: 1.4; transition: stroke .6s; }
.hub__client { fill: var(--sand); }
.hub__core { transform-origin: 290px 130px; transform: scale(0) rotate(-90deg); transition: transform .9s var(--spring); }
.hub__core rect { fill: var(--night); stroke: var(--gold); stroke-width: 1.6; }
.hub__core .hub__inner { fill: var(--gold); stroke: none; }
.wcard--hub.is-one .hub__before { opacity: .08; }
.wcard--hub.is-one .hub__after path { stroke-dashoffset: 0; }
.wcard--hub.is-one .hub__core { transform: none; }
.wcard--hub.is-one .hub__dots circle { stroke: var(--gold); }
.hub__legend { display: flex; justify-content: space-between; gap: 20px; margin: 8px 0 26px; font-size: 12.5px; color: rgba(239, 225, 202, .5); }
@keyframes hubBuzz { to { stroke-dashoffset: -18; } }

/* ---------------------------------------------------------------- credentials: ISO seals + a register of licences */
.creds { padding-block: clamp(90px, 12vw, 150px) 0; background: var(--cream); overflow: hidden; }
.creds__top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 60px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.creds__top .head { margin: 0; }
.creds__count { display: grid; justify-items: end; text-align: end; }
.creds__count b { font-size: clamp(80px, 9vw, 140px); font-weight: 200; line-height: .9; color: var(--brown); font-variant-numeric: tabular-nums; }
.creds__count span { margin-top: 10px; font-size: 15px; color: var(--muted); }
.seals { position: relative; border-radius: 30px; padding: clamp(34px, 4vw, 58px) clamp(22px, 4vw, 58px); color: var(--cream-text); overflow: hidden;
  background: radial-gradient(60% 120% at 50% 0%, rgba(185, 153, 121, .24), transparent 62%), var(--night); }
.seals__title { position: relative; z-index: 1; text-align: center; font-size: 14px; letter-spacing: .1em; color: var(--tan); margin-bottom: clamp(26px, 3vw, 42px); }
.seals__row { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 3vw, 46px); }
.seal { margin: 0; display: grid; justify-items: center; align-content: start; gap: 18px; text-align: center; }
.seal__disc { position: relative; width: min(100%, 196px); aspect-ratio: 1; transition: transform .8s var(--spring); }
.seal:hover .seal__disc { transform: scale(1.04); }
.seal__disc svg { display: block; width: 100%; height: 100%; overflow: visible; direction: ltr; }
.seal__o { fill: none; stroke: rgba(230, 196, 141, .55); stroke-width: 1; }
.seal__i { fill: rgba(230, 196, 141, .05); stroke: rgba(230, 196, 141, .32); stroke-width: 1; transition: fill .6s; }
.seal:hover .seal__i { fill: rgba(230, 196, 141, .12); }
.seal text { font-family: Tajawal, sans-serif; font-size: 10.5px; font-weight: 500; fill: rgba(237, 216, 186, .78); }
.seal__spin { transform-origin: 100px 100px; animation: sealSpin 70s linear infinite; }
.seal__core { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; direction: ltr; }
.seal__core small { font-size: 12px; font-weight: 500; letter-spacing: .32em; padding-left: .32em; color: var(--tan); }
.seal__core b { font-size: clamp(28px, 2.6vw, 38px); font-weight: 300; line-height: 1.05; }
.seal figcaption { font-size: 14.5px; line-height: 1.6; color: rgba(239, 225, 202, .72); max-width: 22ch; }
@keyframes sealSpin { to { transform: rotate(360deg); } }

.lic { margin-top: clamp(36px, 4vw, 56px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(30px, 5vw, 80px); }
.lic__row { position: relative; isolation: isolate; display: grid; grid-template-columns: 92px minmax(0, 1fr) 12px; align-items: center; gap: 18px;
  padding: 20px 10px; border-top: 1px solid var(--line); }
.lic__row:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
.lic__row::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 12px; background: var(--ivory); opacity: 0; transform: scaleY(.6);
  transition: opacity .5s var(--spring), transform .6s var(--spring); }
.lic__row:hover::before { opacity: 1; transform: none; }
.lic__tag { justify-self: start; font-size: 12.5px; padding: 4px 12px; border-radius: 999px; color: var(--mocha); box-shadow: inset 0 0 0 1px rgba(185, 153, 121, .55); }
.lic__row b { display: block; font-size: 17px; font-weight: 500; color: var(--brown); line-height: 1.5; }
.lic__row div span { display: block; margin-top: 2px; font-size: 14px; color: var(--muted); line-height: 1.6; }
.lic__mark { width: 9px; height: 9px; transform: rotate(45deg) scale(.4); border: 1px solid var(--tan); opacity: 0; transition: opacity .5s, transform .6s var(--spring), background .5s; }
.lic__row:hover .lic__mark { opacity: 1; transform: rotate(45deg); background: var(--tan); }

/* ---------------------------------------------------------------- contact: a dark concierge panel + a light form */
.contact { padding-block: clamp(90px, 12vw, 150px); background: var(--cream); }

.fl { position: relative; display: block; }
.fl input, .fl textarea { display: block; width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--ivory); border: 1px solid var(--line);
  border-radius: 14px; padding: 25px 16px 9px; outline: none; transition: border-color .3s, box-shadow .3s; }
.fl textarea { resize: vertical; min-height: 140px; line-height: 1.7; }
.fl > span { position: absolute; top: 17px; inset-inline-start: 17px; font-size: 15.5px; color: var(--muted); pointer-events: none;
  transform-origin: 100% 0; transition: transform .35s var(--spring), color .3s; }
html[dir="ltr"] .fl > span { transform-origin: 0 0; }
.fl input:focus + span, .fl input:not(:placeholder-shown) + span, .fl textarea:focus + span, .fl textarea:not(:placeholder-shown) + span {
  transform: translateY(-10px) scale(.76); color: var(--tan); }
.fl input:focus, .fl textarea:focus { border-color: var(--tan); box-shadow: 0 0 0 4px rgba(185, 153, 121, .18); }
.needs { min-width: 0; margin: 6px 0 2px; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.needs legend { padding: 0; margin-bottom: 10px; font-size: 14px; color: var(--muted); }
.need { position: relative; cursor: pointer; }
.need input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.need span { display: inline-block; padding: 8px 15px; border-radius: 999px; font-size: 14px; color: var(--ink); background: var(--ivory);
  box-shadow: inset 0 0 0 1px var(--line); transition: background .4s var(--spring), color .4s, box-shadow .4s; }
.need:hover span { box-shadow: inset 0 0 0 1px var(--tan); }
.need input:checked + span { background: var(--brown); color: var(--cream-text); box-shadow: none; }
.need input:focus-visible + span { outline: 2px solid var(--tan); outline-offset: 2px; }

/* ---------------------------------------------------------------- redesign: tablets & phones */
@media (max-width: 1100px) {
  .wcard--hub { grid-column: span 12; }
  .wcard--photo { grid-column: span 12; min-height: 380px; }
  .seals__row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
}
@media (max-width: 900px) {
  .vm__grid { grid-template-columns: 1fr; gap: 44px; }
  .vm__gem { --s: min(66vw, 340px); order: -1; justify-self: center; margin-bottom: 10px; }
  .vm__col--v, .vm__col--m { align-self: auto; }
  .vals .wrap { width: 100%; }
  .vals .head { width: var(--wrap); }
  .arches { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 26px max(20px, 5vw) 10px; scrollbar-width: none; }
  .arches::-webkit-scrollbar { display: none; }
  .arch { flex: 0 0 min(64vw, 280px); scroll-snap-align: center; min-height: 400px; }
  .why__head, .creds__top { grid-template-columns: 1fr; }
  .creds__count { justify-items: start; text-align: start; }
  .wcard { grid-column: span 6; }
  .lic { grid-template-columns: 1fr; }
  .lic__row:nth-last-child(2) { border-bottom: 0; }
}
@media (max-width: 600px) {
  .wcard { grid-column: span 12; min-height: 0; }
  .wcard--hub { min-height: 0; }
  .wcard--photo { min-height: 360px; }
  .wico + .wcard__no { margin-top: 28px; }
  .seals__row { gap: 30px 16px; }
  .seal figcaption { font-size: 13px; }
  .lic__row { grid-template-columns: minmax(0, 1fr) 12px; gap: 6px 14px; padding-inline: 4px; }
  .lic__tag { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  .vm__vision .w { color: var(--cream-text); }
  .vm__window { clip-path: none; }
  .vm__window img { transform: rotate(-45deg) scale(1.03); }
  .arch { transition: none; }
  .vm__ring, .vm__seal { opacity: 1; scale: 1; }
  .seal__spin, .hub__before path { animation: none; }
}

/* ---------------------------------------------------------------- about: a band over the headquarters + the story as three chapters */
.about2 { background: var(--cream); padding-bottom: clamp(90px, 12vw, 150px); }
.about2__hero { position: relative; isolation: isolate; overflow: hidden; min-height: min(100svh, 940px); display: flex; flex-direction: column;
  justify-content: space-between; gap: 60px; padding-block: clamp(40px, 5vw, 64px); color: var(--cream-text); }
.about2__media { position: absolute; inset: 0; z-index: -2; }
.about2__media img { filter: saturate(.9); }
.about2__shade { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(18, 12, 9, .94) 6%, rgba(18, 12, 9, .5) 52%, rgba(18, 12, 9, .5)),
              linear-gradient(to left, rgba(18, 12, 9, .5), rgba(18, 12, 9, 0) 65%); }
html[dir="ltr"] .about2__shade { background: linear-gradient(to top, rgba(18, 12, 9, .94) 6%, rgba(18, 12, 9, .5) 52%, rgba(18, 12, 9, .5)),
              linear-gradient(to right, rgba(18, 12, 9, .5), rgba(18, 12, 9, 0) 65%); }
.about2__top { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.about2__logo { height: clamp(30px, 3vw, 42px); width: auto; }
.about2__badge { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; font-size: 14px; color: var(--sand);
  background: rgba(24, 17, 13, .35); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(237, 216, 186, .22); }
.about2__badge i { width: 7px; height: 7px; transform: rotate(45deg); background: var(--gold); }
.about2__content .eyebrow { color: var(--gold); }
.about2__title { max-width: 15ch; font-size: clamp(40px, 5.6vw, 88px); font-weight: 200; line-height: 1.15; letter-spacing: -.015em; }
.about2__content .lead { max-width: 60ch; margin-top: 22px; color: rgba(239, 225, 202, .8); }
.about2__stats { margin-top: clamp(36px, 4vw, 56px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.about2__stat { display: grid; gap: 8px; padding: 20px 22px; border-radius: 18px; background: rgba(246, 238, 226, .06); backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px rgba(237, 216, 186, .16); }
.about2__stat b { justify-self: start; font-size: clamp(36px, 3.6vw, 58px); font-weight: 200; line-height: 1; color: var(--sand); font-variant-numeric: tabular-nums; }
.about2__stat span { font-size: 14.5px; color: rgba(239, 225, 202, .72); }

@media (max-width: 900px) {
  .about2__hero { min-height: 0; padding-top: 34px; }
  .about2__stats { grid-template-columns: 1fr 1fr; }
}


/* ---------------------------------------------------------------- contact: one concierge board */
.board { position: relative; overflow: hidden; isolation: isolate; border-radius: 36px; padding: clamp(28px, 4.6vw, 72px); color: var(--cream-text);
  background: radial-gradient(70% 60% at 100% 0%, rgba(185, 153, 121, .22), transparent 60%), radial-gradient(60% 50% at 0% 100%, rgba(185, 153, 121, .12), transparent 60%), var(--night); }
.board__mark { position: absolute; z-index: -1; width: 480px; height: 480px; inset-inline-start: -200px; bottom: -220px; border: 1px solid rgba(237, 216, 186, .09);
  border-radius: 40px; transform: rotate(45deg); }
.board__mark::before, .board__mark::after { content: ""; position: absolute; border: 1px solid rgba(237, 216, 186, .06); border-radius: 28px; }
.board__mark::before { inset: 14%; } .board__mark::after { inset: 30%; }
.board__head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: end; gap: 20px 60px; }
.board__head .eyebrow { color: var(--tan); }
.board__title { font-size: clamp(38px, 5vw, 78px); font-weight: 200; line-height: 1.15; letter-spacing: -.01em; }
.board__lead { font-size: 17px; line-height: 1.8; color: rgba(239, 225, 202, .64); }
.tiles { margin-top: clamp(30px, 4vw, 52px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tile { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; align-items: center; gap: 4px 16px; padding: 22px;
  border-radius: 24px; background: rgba(246, 238, 226, .05); box-shadow: inset 0 0 0 1px rgba(237, 216, 186, .14);
  transition: transform .6s var(--spring), background .5s, box-shadow .5s; }
.tile:hover { transform: translateY(-4px); background: rgba(246, 238, 226, .09); box-shadow: inset 0 0 0 1px rgba(237, 216, 186, .32); }
.tile__ico { grid-row: span 2; width: 56px; height: 56px; padding: 15px; border-radius: 18px; fill: none; stroke: var(--sand); stroke-width: 1.5; stroke-linecap: round;
  stroke-linejoin: round; background: rgba(237, 216, 186, .1); }
.tile__k { align-self: end; font-size: 13.5px; color: rgba(239, 225, 202, .6); }
.tile__v { align-self: start; font-size: 18px; font-weight: 500; color: var(--cream-text); white-space: nowrap; }
html[dir="rtl"] .tile__v { text-align: right; }
.tile__go { position: absolute; top: 16px; inset-inline-end: 16px; width: 30px; height: 30px; border-radius: 50%; background: rgba(246, 238, 226, .08);
  transition: transform .5s var(--spring), background .4s; }
.tile__go::before { content: ""; position: absolute; inset: 0; margin: auto; width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor;
  transform: translate(-1px, 1px); }
html[dir="rtl"] .tile__go::before { border-right: 0; border-left: 1.5px solid currentColor; transform: translate(1px, 1px); }
.tile:hover .tile__go { transform: translate(-3px, -3px); }
html[dir="rtl"] .tile:hover .tile__go { transform: translate(3px, -3px); }
.tile--wa { background: linear-gradient(135deg, #ecd3a6, #c99a63); box-shadow: 0 24px 50px -28px rgba(201, 154, 99, .8); color: var(--brown); }
.tile--wa:hover { background: linear-gradient(135deg, #f3dcb2, #d3a56f); box-shadow: 0 30px 60px -28px rgba(201, 154, 99, .9); }
.tile--wa .tile__ico { stroke: var(--brown); background: rgba(43, 31, 25, .1); }
.tile--wa .tile__k { color: rgba(43, 31, 25, .65); }
.tile--wa .tile__v { color: var(--brown); }
.tile--wa .tile__go { background: rgba(43, 31, 25, .12); }
.board__body { margin-top: clamp(16px, 2vw, 22px); display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 14px; }
.c2form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-content: start; padding: clamp(24px, 3vw, 40px); border-radius: 26px;
  background: var(--ivory); color: var(--ink); box-shadow: none; }
.c2form .full, .c2form .needs { grid-column: 1 / -1; }
.c2form__title { grid-column: 1 / -1; font-size: clamp(22px, 2vw, 28px); font-weight: 400; color: var(--brown); }
.c2form .fl input, .c2form .fl textarea, .c2form .need span { background: #fff; }
#needBox[hidden] { display: none; }
.c2form__send { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.c2form__send .btn--dark { flex: 1 1 220px; }
.btn--line { border-color: var(--line); color: var(--brown); background: transparent; }
.btn--line:hover { background: var(--cream); border-color: var(--tan); }
.c2info { display: flex; flex-direction: column; gap: 26px; padding: clamp(24px, 3vw, 36px); border-radius: 26px; background: rgba(246, 238, 226, .04);
  box-shadow: inset 0 0 0 1px rgba(237, 216, 186, .12); }
.c2info__list div { padding-block: 14px; border-bottom: 1px solid rgba(237, 216, 186, .1); }
.c2info__list div:first-child { padding-top: 0; }
.c2info__list dt { font-size: 12.5px; color: rgba(239, 225, 202, .5); }
.c2info__list dd { margin-top: 3px; font-size: 15.5px; color: var(--sand); }
.c2info__list a:hover { color: var(--cream-text); }
.c2info .dl { margin-top: 0; }
.c2info .dl__row { justify-content: flex-start; flex-direction: column; align-items: stretch; }
.c2info__logo { margin-top: auto; align-self: flex-start; height: 26px; width: auto; opacity: .7; }

@media (max-width: 1100px) {
  .tiles { grid-template-columns: 1fr; }
  .board__body { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .board__head { grid-template-columns: 1fr; }
  .c2form { grid-template-columns: 1fr; }
  .board { border-radius: 28px; }
}
@media (max-width: 560px) {
  .tile__v { font-size: 16px; }
}

/* ---------------------------------------------------------------- how we work: a staircase */
.how2 { position: relative; overflow: hidden; color: var(--cream-text); padding-block: clamp(100px, 13vw, 170px);
  background: radial-gradient(60% 60% at 0% 100%, rgba(185, 153, 121, .16), transparent 60%), var(--brown); }
.how2__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); align-items: end; gap: 20px 60px; margin-bottom: clamp(40px, 5vw, 70px); }
.how2__head .head { margin: 0; }
.how2__head .lead { color: rgba(239, 225, 202, .66); }
.stairs { position: relative; }
.stairs__line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.stairs__line path { fill: none; stroke: #e6c48d; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: var(--len, 2000); stroke-dashoffset: calc(var(--len, 2000) * (1 - var(--sp, 0))); filter: drop-shadow(0 0 6px rgba(230, 196, 141, .45)); }
.stairs__list { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end; gap: 14px; }
.stair { position: relative; margin-bottom: calc(var(--n) * 46px); padding: 22px 20px 24px; border-radius: 22px; background: rgba(246, 238, 226, .05);
  box-shadow: inset 0 0 0 1px rgba(237, 216, 186, .14); transition: background .6s, box-shadow .6s, transform .7s var(--spring); }
.stair.reveal { transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), background .6s, box-shadow .6s; }
.stair:hover { background: rgba(246, 238, 226, .09); box-shadow: inset 0 0 0 1px rgba(230, 196, 141, .45); }
.stair.is-lit { box-shadow: inset 0 0 0 1px rgba(230, 196, 141, .55), 0 24px 50px -30px rgba(230, 196, 141, .45); }
.stair__no { position: absolute; top: 18px; inset-inline-end: 18px; font-size: 13px; letter-spacing: .14em; color: rgba(230, 196, 141, .8); }
.stair__ico { width: 48px; height: 48px; padding: 12px; border-radius: 14px; fill: none; stroke: var(--sand); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  background: rgba(237, 216, 186, .1); transition: background .5s, stroke .5s; }
.stair.is-lit .stair__ico { background: #e6c48d; stroke: var(--brown); }
.stair h3 { margin-top: 18px; font-size: clamp(18px, 1.5vw, 21px); font-weight: 500; line-height: 1.35; color: var(--cream-text); }
.stair p { margin-top: 8px; font-size: 14.5px; line-height: 1.75; color: rgba(239, 225, 202, .64); }
.models2 { margin-top: clamp(70px, 9vw, 110px); }
.models2__label { display: flex; align-items: center; gap: 14px; font-size: 14px; letter-spacing: .08em; color: var(--tan); margin-bottom: 20px; }
.models2__label::after { content: ""; flex: 1; height: 1px; background: rgba(237, 216, 186, .16); }
.models2__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.model2 { position: relative; display: flex; flex-direction: column; padding: clamp(24px, 2.6vw, 34px); border-radius: 24px; overflow: hidden; isolation: isolate;
  background: linear-gradient(160deg, rgba(246, 238, 226, .08), rgba(246, 238, 226, .02)); box-shadow: inset 0 0 0 1px rgba(237, 216, 186, .14);
  transition: transform .7s var(--spring), box-shadow .5s; }
.model2:hover { transform: translateY(-5px); box-shadow: inset 0 0 0 1px rgba(230, 196, 141, .45); }
.model2::after { content: ""; position: absolute; z-index: -1; width: 180px; height: 180px; inset-inline-end: -60px; top: -60px; border: 1px solid rgba(237, 216, 186, .1);
  border-radius: 26px; transform: rotate(45deg); transition: transform 1.2s var(--spring); }
.model2:hover::after { transform: rotate(90deg); }
.model2__ico { width: 54px; height: 54px; padding: 13px; border-radius: 16px; fill: none; stroke: var(--brown); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  background: linear-gradient(135deg, #ecd3a6, #c99a63); }
.model2__no { margin-top: 26px; font-size: 12.5px; letter-spacing: .14em; color: var(--tan); }
.model2 h3 { margin-top: 6px; font-size: clamp(21px, 1.8vw, 25px); font-weight: 400; color: var(--sand); }
.model2 p { margin-top: 10px; font-size: 15.5px; line-height: 1.8; color: rgba(239, 225, 202, .7); }

/* ---------------------------------------------------------------- why buad: the hub diagram, full width */
.why__bento { display: block; }
.why__bento .wcard--hub { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-rows: auto 1fr auto; column-gap: clamp(30px, 4vw, 70px);
  min-height: 0; padding: clamp(28px, 3.6vw, 56px); }
.wcard--hub .hub__switch { grid-column: 2; grid-row: 1; justify-self: start; }
.wcard--hub .hub { grid-column: 1; grid-row: 1 / span 3; align-self: center; margin: 0; }
.wcard--hub .hub__legend { display: none; }
.wcard--hub .wcard__text { grid-column: 2; grid-row: 3; margin-top: 30px; }
.wcard--hub .wcard__text h3 { font-size: clamp(26px, 2.6vw, 38px); font-weight: 300; }
.wcard--hub .wcard__text p { font-size: 16.5px; line-height: 1.85; }
/* the four other reasons, each with a small moving drawing */
.whygrid { margin-top: 18px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.wfx { position: relative; display: flex; flex-direction: column; padding: 14px 14px 26px; border-radius: 24px; background: var(--ivory);
  box-shadow: 0 0 0 5px var(--bezel), 0 0 0 6px var(--bezel-line); transition: transform .7s var(--spring); }
.wfx:hover { transform: translateY(-5px); }
.wfx__art { border-radius: 16px; background: radial-gradient(80% 90% at 50% 30%, #fffaf2, #f1e6d6); box-shadow: inset 0 0 0 1px rgba(61, 45, 36, .06); }
.wfx__art svg { display: block; width: 100%; height: auto; overflow: visible; }
.wfx__no { margin: 22px 12px 0; font-size: 12.5px; letter-spacing: .14em; color: var(--tan); }
.wfx h3 { margin: 6px 12px 0; font-size: clamp(19px, 1.5vw, 22px); font-weight: 500; line-height: 1.4; color: var(--brown); }
.wfx p { margin: 8px 12px 0; font-size: 15px; line-height: 1.75; color: var(--muted); }
.wfx svg * { vector-effect: non-scaling-stroke; }
/* field experience: floors go up, the crane lifts the next one */
.fx-ground { stroke: #b99979; stroke-width: 1.5; }
.fx-floor { fill: #fffaf2; stroke: #6e5342; stroke-width: 1.3; opacity: 0; transform: translateY(8px); transform-box: fill-box; }
.in .fx-floor { animation: fxFloor 6s var(--spring) infinite; animation-delay: calc(var(--k) * .5s); }
.fx-floor--new { fill: #e6c48d; }
@keyframes fxFloor { 0% { opacity: 0; transform: translateY(8px); } 12%, 80% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: none; } }
.fx-crane { fill: none; stroke: #b98a52; stroke-width: 1.6; stroke-linecap: round; }
.fx-load { fill: #b98a52; }
.in .fx-load { animation: fxLoad 6s ease-in-out infinite; }
@keyframes fxLoad { 0%, 20% { transform: translateY(0); } 50%, 70% { transform: translateY(-6px); } 100% { transform: translateY(0); } }
/* local market: a pin over Makkah, rings reach the other cities */
.fx-ring { fill: none; stroke: #b99979; stroke-width: 1.2; transform-origin: 100px 62px; opacity: 0; }
.in .fx-ring { animation: fxRing 3.6s ease-out infinite; animation-delay: calc(var(--k) * 1.2s); }
@keyframes fxRing { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(3.6); opacity: 0; } }
.fx-route { fill: none; stroke: rgba(110, 83, 66, .35); stroke-width: 1; stroke-dasharray: 3 4; }
.in .fx-route { animation: hubBuzz 1.6s linear infinite; }
.fx-city { fill: #6e5342; }
.fx-pin { fill: #3d2d24; }
.fx-pin-dot { fill: #e6c48d; }
/* licensed partners: links flow into the approved centre */
.fx-link { fill: none; stroke: #b99979; stroke-width: 1.3; stroke-dasharray: 4 5; }
.in .fx-link { animation: hubBuzz 1.2s linear infinite reverse; }
.fx-node { fill: #fffaf2; stroke: #6e5342; stroke-width: 1.3; }
.in .fx-node { animation: fxNode 3s ease-in-out infinite; }
.fx-node:nth-of-type(2) { animation-delay: .4s; } .fx-node:nth-of-type(3) { animation-delay: .8s; } .fx-node:nth-of-type(4) { animation-delay: 1.2s; } .fx-node:nth-of-type(5) { animation-delay: 1.6s; }
@keyframes fxNode { 0%, 100% { fill: #fffaf2; } 50% { fill: #e6c48d; } }
.fx-core { fill: #3d2d24; }
.fx-check { fill: none; stroke: #e6c48d; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
/* organisational flexibility: the blocks rearrange themselves */
.fx-frame { fill: none; stroke: rgba(110, 83, 66, .3); stroke-width: 1.2; stroke-dasharray: 4 4; }
.fx-block { fill: #fffaf2; stroke: #6e5342; stroke-width: 1.3; transform-box: view-box; }
.fx-b1 { fill: #e6c48d; }
.in .fx-b1 { animation: fxB1 6s var(--spring) infinite; } .in .fx-b2 { animation: fxB2 6s var(--spring) infinite; }
.in .fx-b3 { animation: fxB3 6s var(--spring) infinite; } .in .fx-b4 { animation: fxB4 6s var(--spring) infinite; }
@keyframes fxB1 { 0%, 20% { transform: none; } 30%, 45% { transform: translateX(38px); } 55%, 70% { transform: translate(38px, 38px); } 80%, 100% { transform: none; } }
@keyframes fxB2 { 0%, 20% { transform: none; } 30%, 45% { transform: translateY(38px); } 55%, 70% { transform: translate(-38px, 38px); } 80%, 100% { transform: none; } }
@keyframes fxB3 { 0%, 20% { transform: none; } 30%, 45% { transform: translateY(-38px); } 55%, 70% { transform: translate(38px, -38px); } 80%, 100% { transform: none; } }
@keyframes fxB4 { 0%, 20% { transform: none; } 30%, 45% { transform: translateX(-38px); } 55%, 70% { transform: translate(-38px, -38px); } 80%, 100% { transform: none; } }

@media (max-width: 1100px) {
  .stairs__list { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 14px; }
  .stair { margin-bottom: 0; }
  .stairs__line { display: none; }
  .whygrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why__bento .wcard--hub { grid-template-columns: 1fr; grid-template-rows: none; }
  .wcard--hub .hub__switch, .wcard--hub .hub, .wcard--hub .wcard__text { grid-column: 1; grid-row: auto; }
  .wcard--hub .hub { margin-top: 18px; }
}
@media (max-width: 900px) {
  .how2__head { grid-template-columns: 1fr; }
  .stairs__list { grid-template-columns: 1fr; }
  .models2__row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .whygrid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .fx-floor { opacity: 1; transform: none; }
  .in .fx-floor, .in .fx-load, .in .fx-ring, .in .fx-route, .in .fx-link, .in .fx-node, .in .fx-block { animation: none !important; }
}

/* ---------------------------------------------------------------- story: three dark cards with moving line drawings — chaos → lifecycle → ecosystem */
.about2__story { position: relative; padding-top: clamp(80px, 10vw, 130px); }
.tale__title { font-size: clamp(30px, 3.6vw, 52px); font-weight: 300; line-height: 1.25; color: var(--brown); text-wrap: balance; }
.story3__head { margin-bottom: clamp(30px, 4vw, 54px); }
.story3 { display: grid; grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr) 44px minmax(0, 1fr); align-items: stretch; }
.tale3 { display: flex; flex-direction: column; border-radius: 28px; overflow: hidden; isolation: isolate; color: var(--cream-text);
  background: radial-gradient(80% 60% at 50% 25%, rgba(185, 153, 121, .2), transparent 65%), var(--night); box-shadow: 0 40px 80px -50px rgba(43, 31, 25, .7);
  transition: transform .8s var(--spring); }
.tale3:hover { transform: translateY(-6px); }
.tale3__art { position: relative; padding: 22px 18px 6px; }
.tale3__art svg { display: block; width: 100%; height: auto; overflow: visible; }
.tale3__text { padding: 8px clamp(22px, 2.4vw, 32px) clamp(26px, 2.8vw, 36px); }
.tale3__no { font-size: 12.5px; letter-spacing: .16em; color: #e6c48d; }
.tale3 h4 { margin: 6px 0 0; font-size: clamp(26px, 2.4vw, 34px); font-weight: 300; color: var(--cream-text); }
.tale3 p { margin-top: 10px; font-size: 15.5px; line-height: 1.85; color: rgba(239, 225, 202, .72); }
.story3__arrow { display: grid; place-items: center; }
.story3__arrow i { position: relative; width: 34px; height: 34px; border-radius: 50%; background: var(--ivory); box-shadow: inset 0 0 0 1px rgba(185, 153, 121, .5); }
.story3__arrow i::before { content: ""; position: absolute; inset: 0; margin: auto; width: 8px; height: 8px; border-top: 1.6px solid var(--mocha); border-right: 1.6px solid var(--mocha);
  transform: translateX(-1px) rotate(45deg); }
html[dir="rtl"] .story3__arrow i::before { transform: translateX(1px) rotate(-135deg); }

/* 01: tangled, restless lines */
.tl1 path { fill: none; stroke-linecap: round; }
.tl1__lines path { stroke: rgba(237, 216, 186, .42); stroke-width: 1.1; stroke-dasharray: 3 5; }
.tl1__cross path { stroke: rgba(237, 216, 186, .18); stroke-width: 1; stroke-dasharray: 2 6; }
.in .tl1__lines path, .in .tl1__cross path { animation: hubBuzz 1.4s linear infinite; }
.tl1__dots circle { fill: var(--night); stroke: rgba(237, 216, 186, .7); stroke-width: 1.3; transform-box: fill-box; transform-origin: center; }
.in .tl1__dots circle { animation: tl1Float 3.2s ease-in-out infinite; animation-delay: calc(var(--k) * -.27s); }
@keyframes tl1Float { 0%, 100% { transform: translate(0, 0); } 25% { transform: translate(2px, -3px); } 50% { transform: translate(-2px, 2px); } 75% { transform: translate(3px, 1px); } }
.tl1__core { fill: var(--sand); }
.in .tl1__core { animation: tl1Shake 2.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes tl1Shake { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-6deg); } 40% { transform: rotate(5deg); } 60% { transform: rotate(-3deg); } }

/* 02: the lifecycle wave, a light runs along it */
html[dir="rtl"] .tl2 { transform: scaleX(-1); }
.tl2__track { fill: none; stroke: rgba(237, 216, 186, .14); stroke-width: 6; stroke-linecap: round; }
.tl2__path { fill: none; stroke: #e6c48d; stroke-width: 1.8; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s var(--spring) .2s; }
.in .tl2__path { stroke-dashoffset: 0; }
.tl2__spark { fill: #fff4dc; filter: drop-shadow(0 0 6px rgba(255, 230, 180, .9)); opacity: 0; transition: opacity .6s 1.8s; }
.in .tl2__spark { opacity: 1; }
.tl2__nodes rect { fill: var(--night); stroke: #e6c48d; stroke-width: 1.6; opacity: 0; transition: opacity .5s; transition-delay: calc(.4s + var(--k) * .45s); }
.in .tl2__nodes rect { opacity: 1; }
.tl2__nodes rect:last-child { fill: #e6c48d; }
.tl2__labels { display: flex; justify-content: space-between; margin: -2px 2% 0; padding: 0; }
.tl2__labels li { width: 20%; text-align: center; font-size: 13px; color: rgba(239, 225, 202, .78); }
.tl2__labels li:last-child { color: #e6c48d; font-weight: 500; }
html[lang="en"] .tl2__labels li { font-size: 10.5px; letter-spacing: -.01em; }

/* 03: the mark draws itself, the six dimensions turn around it */
.tl3__orbit { fill: none; stroke: rgba(237, 216, 186, .16); stroke-width: 1; stroke-dasharray: 2 5; }
.tl3__sats { transform-origin: 150px 100px; }
.in .tl3__sats { animation: tl3Turn 24s linear infinite; }
@keyframes tl3Turn { to { transform: rotate(360deg); } }
.tl3__sats line { stroke: rgba(230, 196, 141, .35); stroke-width: 1; }
.tl3__sats rect { fill: var(--night); stroke: #e6c48d; stroke-width: 1.4; }
.tl3__mark { fill: none; stroke: #e6c48d; stroke-width: 4; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.6s var(--spring) .3s; }
.in .tl3__mark { stroke-dashoffset: 0; }
.tl3__fill { fill: #e6c48d; fill-rule: evenodd; opacity: 0; transition: opacity 1.2s 2.2s; }
.in .tl3__fill { opacity: 1; }

@media (max-width: 1100px) {
  .story3 { grid-template-columns: 1fr; gap: 0; }
  .story3__arrow { height: 52px; }
  .story3__arrow i { transform: rotate(90deg); }
  html[dir="rtl"] .story3__arrow i { transform: rotate(-90deg); }
  .tale3 { max-width: 560px; width: 100%; margin-inline: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .tl2__path, .tl3__mark { stroke-dashoffset: 0; } .tl3__fill, .tl2__nodes rect, .tl2__spark { opacity: 1; }
  .in .tl1__lines path, .in .tl1__cross path, .in .tl1__dots circle, .in .tl1__core, .in .tl3__sats { animation: none; }
}

/* ---------------------------------------------------------------- the BUAD mark at the centre of the "one party" diagram */
.hub__disc { fill: var(--night); stroke: #e6c48d; stroke-width: 1.4; }
.hub .hub__logo { fill: #e6c48d; fill-rule: evenodd; stroke: none; }
.hub__flip { transform-box: view-box; transform-origin: 290px 130px; }
html[dir="rtl"] .hub__flip { transform: scaleX(-1); }
.wcard--hub.is-one .hub__disc { filter: drop-shadow(0 0 10px rgba(230, 196, 141, .45)); }

/* ---------------------------------------------------------------- intro statement: gold type on night, the mark drawn behind */
.intro2 { position: relative; overflow: hidden; isolation: isolate; text-align: center; color: var(--cream-text);
  padding-block: clamp(120px, 15vw, 210px) clamp(130px, 16vw, 220px);
  background: radial-gradient(55% 60% at 50% 45%, rgba(185, 153, 121, .2), transparent 70%), radial-gradient(120% 80% at 50% 120%, #2d2119, transparent 60%), #17110d; }
.intro2::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.intro2__mark { position: absolute; z-index: -1; left: 50%; top: 50%; width: min(92vw, 900px); height: auto; translate: -50% -50%; overflow: visible; pointer-events: none; }
.intro2__mark path { fill: none; stroke: rgba(230, 196, 141, .16); stroke-width: .35; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 4.5s cubic-bezier(.4, 0, .2, 1); }
.intro2.is-in .intro2__mark path { stroke-dashoffset: 0; }
.intro2__corner { position: absolute; width: clamp(40px, 5vw, 70px); height: clamp(40px, 5vw, 70px); border: 1px solid rgba(230, 196, 141, .5); pointer-events: none; }
.intro2__corner--a { top: clamp(20px, 3vw, 40px); left: clamp(16px, 3vw, 40px); border-right: 0; border-bottom: 0; }
.intro2__corner--b { top: clamp(20px, 3vw, 40px); right: clamp(16px, 3vw, 40px); border-left: 0; border-bottom: 0; }
.intro2__corner--c { bottom: clamp(20px, 3vw, 40px); left: clamp(16px, 3vw, 40px); border-right: 0; border-top: 0; }
.intro2__corner--d { bottom: clamp(20px, 3vw, 40px); right: clamp(16px, 3vw, 40px); border-left: 0; border-top: 0; }
.intro2__inner.reveal { transform: none; transition: opacity 1.6s var(--ease); }
.intro2__eyebrow { display: inline-flex; align-items: center; gap: 16px; font-size: 15px; font-weight: 500; letter-spacing: .2em; color: #e6c48d; }
.intro2__eyebrow i { width: 46px; height: 1px; background: linear-gradient(90deg, transparent, #e6c48d); }
.intro2__eyebrow i:last-child { background: linear-gradient(90deg, #e6c48d, transparent); }
.intro2__title { max-width: 14ch; margin: clamp(22px, 2.6vw, 34px) auto 0; font-size: clamp(44px, 7.6vw, 124px); font-weight: 300; line-height: 1.12; letter-spacing: -.015em;
  text-wrap: balance; color: transparent; -webkit-background-clip: text; background-clip: text;
  background-image: linear-gradient(100deg, #b98a52 0%, #e9cd9c 22%, #fff7e6 34%, #e6c48d 46%, #c49460 64%, #f3dcb2 82%, #b98a52 100%);
  background-size: 260% 100%; animation: introShine 9s ease-in-out infinite; }
@keyframes introShine { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0% 0; } }
.intro2__rule { display: flex; align-items: center; justify-content: center; gap: 18px; margin: clamp(30px, 3.6vw, 48px) auto 0; width: min(360px, 70%); }
.intro2__rule i { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(230, 196, 141, .7)); }
.intro2__rule i:last-child { background: linear-gradient(90deg, rgba(230, 196, 141, .7), transparent); }
.intro2__rule b { width: 11px; height: 11px; transform: rotate(45deg); border: 1px solid #e6c48d; box-shadow: 0 0 14px rgba(230, 196, 141, .5); }
.intro2__text { max-width: 62ch; margin: clamp(26px, 3vw, 40px) auto 0; font-size: clamp(17px, 1.5vw, 21px); font-weight: 300; line-height: 2; color: rgba(239, 225, 202, .78); }
.intro2__tag { margin-top: clamp(26px, 3vw, 40px); font-size: clamp(18px, 1.6vw, 22px); font-weight: 500; letter-spacing: .04em; color: #e6c48d; }
@media (max-width: 600px) {
  .intro2__title { font-size: 42px; }
  .intro2__text { font-size: 16.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .intro2__title { animation: none; background-position: 50% 0; }
  .intro2__mark path { stroke-dashoffset: 0; transition: none; }
}
.vm__pillars i { display: none; }

/* ---------------------------------------------------------------- 2026-10-18: story in four chapters */
.story3 { grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1fr) 36px minmax(0, 1fr) 36px minmax(0, 1fr); }
.tale3 h4 { font-size: clamp(22px, 2vw, 30px); }
.tale3 p { font-size: 14.5px; }
.tl0__land { fill: rgba(237, 216, 186, .05); stroke: rgba(237, 216, 186, .22); stroke-width: 1; stroke-dasharray: 3 4; }
.tl0__links path { fill: none; stroke: rgba(230, 196, 141, .55); stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: 1; }
.in .tl0__links path { animation: tl0Draw 2.4s var(--ease) forwards; }
.tl0__links path:nth-child(2) { animation-delay: .25s !important; } .tl0__links path:nth-child(3) { animation-delay: .5s !important; } .tl0__links path:nth-child(4) { animation-delay: .75s !important; }
@keyframes tl0Draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.tl0__dots circle { fill: var(--night); stroke: #e6c48d; stroke-width: 1.5; }
.tl0__dots circle.o { stroke: rgba(230, 196, 141, .55); }
.tl0__hq { fill: #e6c48d; }
.tl0__pulse { fill: none; stroke: #e6c48d; stroke-width: 1.2; transform-box: fill-box; transform-origin: center; }
.in .tl0__pulse { animation: tl0Pulse 2.4s ease-out infinite; }
@keyframes tl0Pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(2.6); opacity: 0; } }
.tl0__lbl { font-family: Tajawal, sans-serif; font-size: 12px; fill: rgba(239, 225, 202, .7); text-anchor: middle; }
.tl0__lbl--hq { fill: #e6c48d; font-weight: 700; font-size: 13px; }
@media (max-width: 1100px) { .story3 { grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1fr); row-gap: 20px; } .story3__arrow:nth-child(4) { display: none; } }
@media (prefers-reduced-motion: reduce) { .tl0__links path { stroke-dashoffset: 0; animation: none !important; } .tl0__pulse { animation: none !important; } }

/* tagline in the about band */
.about2__tag { display: flex; align-items: center; gap: 18px; margin-top: clamp(30px, 4vw, 48px); font-size: clamp(20px, 2.2vw, 30px); font-weight: 300; color: #e6c48d; letter-spacing: .02em; }
.about2__tag i { flex: 0 0 auto; width: clamp(40px, 6vw, 90px); height: 1px; background: linear-gradient(90deg, transparent, #e6c48d); }
.about2__tag i:last-child { background: linear-gradient(90deg, #e6c48d, transparent); }

/* the dimensions motto, larger and framed */
.dstrips__motto, .dorbit .dstrips__motto { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: clamp(40px, 5vw, 70px);
  font-size: clamp(22px, 2.6vw, 38px); font-weight: 400; line-height: 1.4; color: #e6c48d; text-wrap: balance; }
.dstrips__motto::before, .dstrips__motto::after { content: ""; flex: 0 0 auto; width: 12px; height: 12px; transform: rotate(45deg); border: 1.5px solid #e6c48d; }
@media (max-width: 760px) { .dstrips__motto, .dorbit .dstrips__motto { font-size: 21px; gap: 12px; } }

/* ---------------------------------------------------------------- strategic goals: steps rising towards Vision 2030 */
.goals { padding-block: clamp(90px, 11vw, 150px); background: linear-gradient(180deg, var(--cream), #efe2cf); overflow: hidden; }
.goals__head { max-width: 640px; margin-bottom: clamp(40px, 5vw, 64px); }
.goals__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; align-items: end; }
.goal { position: relative; display: flex; flex-direction: column; gap: 12px; min-height: calc(250px + var(--i) * 46px); padding: 26px 22px 24px; border-radius: 26px 26px 6px 6px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .2)); box-shadow: inset 0 0 0 1px rgba(61, 45, 36, .12); transition: transform .6s var(--spring), box-shadow .4s; }
.goal:hover { transform: translateY(-8px); box-shadow: inset 0 0 0 1px rgba(185, 153, 121, .6), 0 30px 50px -34px rgba(61, 45, 36, .5); }
.goal__no { position: absolute; top: 22px; inset-inline-end: 22px; font-size: 13px; font-weight: 700; color: var(--tan); letter-spacing: .1em; }
.goal__ic { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: var(--espresso); color: #e6c48d; }
.goal__ic svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.goal h3 { margin-top: auto; font-size: clamp(18px, 1.5vw, 21px); font-weight: 700; color: var(--brown); line-height: 1.35; }
.goal p { font-size: 14.5px; line-height: 1.8; color: var(--muted); }
.goal:last-child { background: linear-gradient(160deg, #3a2a20, #1b130f); box-shadow: 0 30px 60px -34px rgba(27, 19, 15, .8); }
.goal:last-child h3 { color: #e6c48d; } .goal:last-child p { color: rgba(239, 225, 202, .75); } .goal:last-child .goal__no { color: #e6c48d; }
.goal:last-child .goal__ic { background: linear-gradient(135deg, #c49460, #e9cd9c); color: #1b130f; }
.goal:last-child::after { content: "2030"; position: absolute; top: 70px; inset-inline-end: 18px; font-size: 64px; font-weight: 200; line-height: 1; color: rgba(230, 196, 141, .14); letter-spacing: -.02em; }
.goals__base { height: 1px; margin-top: 0; background: linear-gradient(90deg, transparent, rgba(61, 45, 36, .3), transparent); }
@media (max-width: 1000px) { .goals__steps { grid-template-columns: 1fr 1fr; align-items: stretch; } .goal { min-height: 0; border-radius: 22px; } .goal h3 { margin-top: 8px; } .goal:last-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .goals__steps { grid-template-columns: 1fr; } }
.goal__no { inset-inline-end: auto; }
html[dir="rtl"] .goal__no { left: 22px; right: auto; } html[dir="ltr"] .goal__no { right: 22px; left: auto; }
.goal:last-child::after { top: auto; bottom: 150px; }
.goal:last-child::after { top: 92px; bottom: auto; }
/* phones: the four story chapters stack in one column (the 2-column tablet rule squeezed them and the
   «المنظومة» labels ran into each other) — 2026-10-19 */
@media (max-width: 700px) {
  .story3 { grid-template-columns: 1fr; row-gap: 0; }
  .story3__arrow, .story3__arrow:nth-child(4) { display: grid; height: 52px; }
}
