/* =====================================================================
   DGTIL Consulting — v2 — "Rise": warm black, ivory and gold; Cormorant Garamond + Geist
   Built from the microchip: circuit-board black, gold pins, cyan traces,
   brushed metal, chamfered parts and schematic callouts.
   ===================================================================== */
:root {
  --bg: #0B0A08;
  --bg-2: #0F0D0A;
  --panel: #14110D;
  --panel-2: #1A1611;
  --line: #2A241A;
  --line-2: #3A3122;
  --mask: #2A2216;
  --text: #F3EDE0;
  --text-2: #CBC1AC;
  --muted: #9A907C;
  --gold: #CFA75A;
  --gold-hi: #EED596;
  --gold-lo: #8C6A2C;
  --cyan: #E9E1CC;   /* ivory accent (v2 is gold + ivory) */
  --blue: #CFA75A;
  --green: #3BF08E;
  --amber: #FFB547;
  --red: #FF5A6A;
  --wa: #0B7A3E;
  --display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, Consolas, monospace;
  --gutter: clamp(16px, 4vw, 40px);
  --metal: linear-gradient(180deg, #F6E3A6 0%, #D9B25A 45%, #B08532 70%, #E9CC7E 100%);
  color-scheme: dark;
}
:root[lang="ar"] {
  --display: "Amiri", "IBM Plex Sans Arabic", serif;
  --sans: "IBM Plex Sans Arabic", "Geist", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; interpolate-size: allow-keywords; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; color: var(--text); background: var(--bg); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; }
p { margin: 0; }
::selection { background: var(--gold); color: #1A1206; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1220px; margin: 0 auto; padding-inline: var(--gutter); }
.skip { position: absolute; inset-inline-start: 8px; top: 8px; transform: translateY(-300%); background: var(--gold); color: #1A1206; padding: 8px 14px; z-index: 100; font-weight: 600; }
.skip:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* gold metallic text, like the pins */
.grad, .grad .w > span, .grad.w > span {
  background-image: linear-gradient(100deg, #B08532 0%, #F3DD9A 30%, #D4A94E 50%, #F6E7B5 70%, #B08532 100%);
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 8s ease-in-out infinite alternate;
}
@keyframes shimmer { from { background-position: 0% 0; } to { background-position: 100% 0; } }

/* schematic label */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
:root[lang="ar"] .eyebrow { font-family: var(--sans); letter-spacing: 0; font-size: 14px; font-weight: 600; text-transform: none; }
.eyebrow::before { content: ""; width: 7px; height: 7px; background: var(--gold); box-shadow: 0 0 10px rgba(212,169,78,.7); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); flex: none; }
.eyebrow::after { content: ""; height: 1px; width: 0; background: linear-gradient(90deg, var(--gold), transparent); transition: width .9s cubic-bezier(.2,.8,.2,1) .2s; }
:root[dir="rtl"] .eyebrow::after { background: linear-gradient(270deg, var(--gold), transparent); }
.seen .eyebrow::after, .seen.eyebrow::after, .chip-copy .eyebrow::after, .logo-field__title .eyebrow::after { width: 40px; }

/* ---------- buttons: gold pins with cut corners ---------- */
.btn {
  --cut: 10px; position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 50px; padding: 0 26px;
  border: 0; color: var(--text); font: 600 15px/1.2 var(--sans); text-decoration: none; cursor: pointer; text-align: center; background: transparent;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  transition: transform .2s ease, background-color .2s, color .2s, filter .2s, box-shadow .2s;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s ease; }
.btn:hover::before { transform: translateX(120%); }
.btn--primary, .btn--sm { box-shadow: inset 0 1px 0 rgba(255,248,220,.6), inset 0 -1px 0 rgba(90,60,10,.4); }
.btn--primary::before, .btn--sm::before { background: linear-gradient(110deg, transparent 30%, rgba(255,250,230,.55) 48%, rgba(255,255,255,.75) 50%, rgba(255,250,230,.55) 52%, transparent 70%); animation: moltenIdle 6s ease-in-out infinite; }
.btn--primary:nth-of-type(2n)::before { animation-delay: 1.4s; }
.btn--primary:hover::before, .btn--sm:hover::before { animation: moltenSweep .8s cubic-bezier(.3,.6,.2,1) forwards; }
@keyframes moltenIdle { 0%, 72% { transform: translateX(-120%); } 88%, 100% { transform: translateX(120%); } }
@keyframes moltenSweep { from { transform: translateX(-120%); } to { transform: translateX(120%); } }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--metal); color: #1A1206; }
.btn--primary:hover { filter: brightness(1.07); }
.btn--ghost { background: var(--panel); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--gold); color: var(--gold-hi); }
.btn--sm { --cut: 8px; min-height: 40px; padding: 0 18px; font-size: 14px; background: var(--metal); color: #1A1206; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #096A35; }
.btn--wa svg { width: 20px; height: 20px; fill: currentColor; }
.arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(4px); }
:root[dir="rtl"] .arr { transform: scaleX(-1); }
:root[dir="rtl"] .btn:hover .arr { transform: scaleX(-1) translateX(4px); }
.btn.magnetic { transition: transform .25s cubic-bezier(.2,.8,.2,1), filter .2s, color .2s, box-shadow .2s; }
.btn.magnetic:hover { transform: translate(var(--tx, 0), var(--ty, 0)); }
.hero__ctas .btn--primary { animation: pinGlow 2.8s ease-in-out infinite; }
@keyframes pinGlow { 50% { filter: brightness(1.14) saturate(1.1); } }   /* drop-shadow would be clipped by the cut corners */

.chip-btn {
  height: 40px; min-width: 44px; border: 1px solid var(--line-2); background: transparent; color: var(--text); cursor: pointer; padding: 0 14px;
  font: 600 14px/1 system-ui, "Segoe UI", "Geeza Pro", Tahoma, sans-serif; transition: border-color .2s, color .2s;
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
}
/* English visitors use the device's own Arabic font for "عربي"; the Arabic web font only loads in Arabic mode */
:root[lang="ar"] .chip-btn { font-family: "Geist", sans-serif; }
.chip-btn:hover { border-color: var(--gold); color: var(--gold-hi); }
/* cut-corner shapes clip normal outlines, so draw the keyboard focus ring inside the shape */
.btn:focus-visible, .chip-btn:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--cyan), inset 0 0 0 4px rgba(11,10,8,.85); }
.btn--ghost:focus-visible { box-shadow: inset 0 0 0 2px var(--cyan); }

/* ---------- progress bar ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 70; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi), var(--cyan)); box-shadow: 0 0 10px rgba(212,169,78,.7); }
:root[dir="rtl"] .progress span { transform-origin: 100% 50%; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(11,10,8,.55); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); border-bottom: 1px solid transparent; transition: border-color .3s, background-color .3s; }
.nav.is-scrolled { border-bottom-color: var(--line); background: rgba(11,10,8,.86); }
.nav__inner { display: flex; align-items: center; gap: 28px; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand__mark { width: 30px; height: auto; filter: drop-shadow(0 0 10px rgba(207,167,90,.45)); }
.brand__word { font: 700 18px/1 "Geist", sans-serif; letter-spacing: .14em; display: inline-flex; align-items: baseline; }
.brand__sub { font: 400 11.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-inline-start: 8px; }
:root[lang="ar"] .brand__sub { font-family: "IBM Plex Sans Arabic", sans-serif; letter-spacing: 0; font-size: 14px; text-transform: none; }
.nav__links { display: flex; gap: 26px; margin-inline-start: auto; position: relative; }
.nav__links a { text-decoration: none; font-size: 14.5px; font-weight: 500; color: var(--text-2); padding: 7px 0; transition: color .25s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--text); }
.nav__ind { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; opacity: 0; background: var(--metal); box-shadow: 0 0 10px rgba(212,169,78,.6); transform: translateX(var(--ix, 0)); transition: transform .45s cubic-bezier(.2,.8,.2,1), width .45s cubic-bezier(.2,.8,.2,1), opacity .3s; }
.nav__ind.on { opacity: 1; }
.nav__tools { display: flex; align-items: center; gap: 10px; }
@media (max-width: 900px) { .nav__links { display: none; } .nav__tools { margin-inline-start: auto; } }
@media (max-width: 400px) { .brand__sub { display: none; } }

/* =====================================================================
   SHARED SECTION PARTS
   ===================================================================== */
.section { padding-block: clamp(84px, 11vw, 140px); position: relative; }
section[id], #main { scroll-margin-top: 70px; }
.sec-head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 56px); max-width: 760px; }
.sec-head--split { max-width: none; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(20px, 5vw, 72px); align-items: end; }
.sec-head--split > div { display: grid; gap: 16px; }
.sec-head__side { justify-items: start; }
@media (max-width: 860px) { .sec-head--split { grid-template-columns: 1fr; } }
h2 { font: 600 clamp(34px, 4.6vw, 58px)/1.04 var(--display); letter-spacing: -.04em; }
:root[lang="ar"] h2 { line-height: 1.35; letter-spacing: 0; }
.sec-head__lede { color: var(--text-2); max-width: 56ch; font-size: 17.5px; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.foot { padding-block: 0 36px; overflow: hidden; border-top: 1px solid var(--line); background: var(--bg); }
.foot__cta { padding-block: clamp(70px, 10vw, 120px) 20px; display: grid; gap: 18px; }
.foot__big-link { display: inline-flex; align-items: center; gap: .3em; width: fit-content; text-decoration: none; font: 600 clamp(36px, 6.2vw, 90px)/1.05 var(--display); letter-spacing: -.045em;
  background: linear-gradient(92deg, var(--text) 0%, var(--text) 50%, var(--gold-hi) 50%, var(--gold) 100%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; transition: background-position .6s cubic-bezier(.2,.8,.2,1); }
:root[lang="ar"] .foot__big-link { letter-spacing: 0; line-height: 1.4; }
.foot__big-link:hover { background-position: -100% 0; }
.foot__big-link svg { width: .8em; height: .8em; flex: none; fill: none; stroke: var(--gold); stroke-width: 2.2; transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.foot__big-link:hover svg { transform: translate(6px, -6px); }
:root[dir="rtl"] .foot__big-link svg { transform: scaleX(-1); }
:root[dir="rtl"] .foot__big-link:hover svg { transform: scaleX(-1) translate(6px, -6px); }
.foot__word { direction: ltr; display: flex; justify-content: center; font: 700 clamp(90px, 27vw, 400px)/.8 "Geist", sans-serif; letter-spacing: -.06em; margin: clamp(10px, 3vw, 40px) 0 clamp(20px, 3vw, 36px); user-select: none; }
.foot__word span { display: inline-block; color: transparent; -webkit-text-stroke: 1px #4A3D22; background: linear-gradient(180deg, rgba(212,169,78,.22), transparent 85%); -webkit-background-clip: text; background-clip: text; transform: translateY(40%); opacity: 0; transition: transform 1.1s cubic-bezier(.16,1,.3,1), opacity 1.1s; }
.foot__word.is-in span { transform: none; opacity: 1; }
.foot__word span:nth-child(2) { transition-delay: .07s; } .foot__word span:nth-child(3) { transition-delay: .14s; }
.foot__word span:nth-child(4) { transition-delay: .21s; } .foot__word span:nth-child(5) { transition-delay: .28s; }
.foot__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; border-top: 1px solid var(--line); padding-top: 28px; }
.foot__ar { font-family: system-ui, "Segoe UI", "Geeza Pro", Tahoma, sans-serif; color: var(--muted); font-size: 15px; }
:root[lang="ar"] .foot__ar { font-family: "IBM Plex Sans Arabic", sans-serif; }
.foot__copy { margin-inline-start: auto; color: var(--muted); font-size: 13px; font-family: var(--mono); }
@media (max-width: 600px) { .foot__copy { margin-inline-start: 0; } }

/* =====================================================================
   FLOATING / GLOBAL EFFECTS
   ===================================================================== */
.wa-float { position: fixed; inset-inline-end: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 60; width: 54px; height: 54px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(0,0,0,.6); transition: transform .25s, opacity .3s; }
.wa-float svg { width: 28px; height: 28px; fill: currentColor; }
.wa-float:hover { transform: scale(1.08); }
.wa-float.is-hidden { opacity: 0; pointer-events: none; transform: scale(.8); }


[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
[data-split] .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s cubic-bezier(.16,1,.3,1); transition-delay: calc(var(--i) * 70ms + 150ms); }
[data-split].is-in .w > span { transform: none; }
.eyebrow.scrambling { color: var(--cyan); }

body::after { content: ""; position: fixed; inset: -50%; z-index: 85; pointer-events: none; opacity: .04;
  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%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(4) infinite; }
@keyframes grain { 0%, 100% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } }

.cursor { position: fixed; inset: 0; z-index: 90; pointer-events: none; transition: opacity .3s; }
.cursor__ink { position: absolute; inset: 0; width: 100%; height: 100%; }
.cursor__spark { position: absolute; left: 0; top: 0; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; will-change: transform; }
.cursor__spark::before { content: ""; position: absolute; inset: 0; background: var(--gold-hi); transform: rotate(45deg); box-shadow: 0 0 8px rgba(238,213,150,.95), 0 0 20px rgba(207,167,90,.55); transition: transform .35s cubic-bezier(.2,.8,.2,1), background-color .3s, box-shadow .3s; }
.cursor.is-hover .cursor__spark::before { transform: rotate(225deg) scale(3.4); background: rgba(207,167,90,.08); box-shadow: inset 0 0 0 .45px var(--gold-hi), 0 0 14px rgba(207,167,90,.35); }
.cursor.is-down .cursor__spark::before { transform: rotate(45deg) scale(.55); }
.cursor.is-hidden { opacity: 0; }

.boot { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: var(--bg); transition: clip-path .9s cubic-bezier(.76,0,.24,1); clip-path: inset(0 0 0 0); cursor: pointer; }
.boot.is-done { clip-path: inset(0 0 100% 0); }
.boot__box { display: grid; justify-items: center; gap: 22px; padding: 24px; }
.boot__mark { width: 60px; filter: drop-shadow(0 0 22px rgba(207,167,90,.7)); animation: bootPulse 1.2s ease-in-out infinite; }
@keyframes bootPulse { 50% { filter: drop-shadow(0 0 8px rgba(207,167,90,.4)); } }
.boot__lines { list-style: none; margin: 0; padding: 0; font: 500 12.5px/1.9 var(--mono); color: var(--muted); min-width: 290px; direction: ltr; }
.boot__lines li { opacity: 0; transform: translateY(4px); transition: opacity .25s, transform .25s; }
.boot__lines li.on { opacity: 1; transform: none; }
.boot__lines b { color: var(--green); font-weight: 500; }
.boot__bar { width: 290px; height: 2px; background: var(--line-2); overflow: hidden; }
.boot__bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--cyan)); transition: width 1.3s cubic-bezier(.4,0,.2,1); }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; }

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  [data-split] .w > span { transform: none; transition: none; }
  .foot__word span { transform: none; opacity: 1; }
  .pulse, .hero__glow { display: none; }
  *, *::before, *::after { animation: none !important; }
}

/* =====================================================================
   V2 — "RISE" (premium sections)
   ===================================================================== */
/* serif display type: headings get a private-bank feel; gold words go italic */
h2 { font-weight: 500; letter-spacing: -.015em; line-height: 1.04; font-size: clamp(38px, 5vw, 64px); }
:root[lang="ar"] h2 { font-weight: 700; line-height: 1.45; font-size: clamp(32px, 4.2vw, 54px); }
.grad { font-style: italic; padding-inline-end: .06em; }
:root[lang="ar"] .grad { font-style: normal; }
.brand__word { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; font-size: 22px; letter-spacing: .2em; }
.brand__mark { filter: drop-shadow(0 0 10px rgba(207,167,90,.35)); }
.foot__word { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; letter-spacing: .02em; }
.foot__word span { -webkit-text-stroke-color: #5A4A2A; }
.foot__big-link { font-weight: 500; letter-spacing: -.02em; }
.btn { letter-spacing: .01em; }
.btn--sm { white-space: nowrap; }
@media (max-width: 420px) { .btn--sm { padding: 0 12px; font-size: 13px; } .brand__word { font-size: 19px; letter-spacing: .14em; } }

/* ---------- hero ---------- */
.hero { position: relative; margin-top: -70px; min-height: 100vh; min-height: 100svh; padding: calc(70px + clamp(56px, 8vw, 120px)) 0 0; overflow: hidden; isolation: isolate; display: flex; flex-direction: column;
  background: radial-gradient(ellipse 60% 55% at 75% 30%, rgba(207,167,90,.10), transparent 70%), radial-gradient(ellipse 50% 40% at 10% 20%, rgba(233,225,204,.04), transparent 70%); }
.hero__grid { position: absolute; inset: 0; z-index: -2; pointer-events: none; background-image: radial-gradient(rgba(207,167,90,.16) 1px, transparent 1.4px); background-size: 30px 30px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 10%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 10%, transparent 75%); }
.hero__glow { position: absolute; z-index: -1; width: 640px; height: 640px; left: 0; top: 0; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(207,167,90,.12), transparent 65%); transform: translate(var(--gx, -999px), var(--gy, -999px)) translate(-50%, -50%); }
.hero__inner { position: relative; z-index: 1; }
.status { display: inline-flex; align-items: center; gap: 10px; padding-block: 8px; padding-inline: 12px 14px; max-width: 100%; border: 1px solid var(--line-2); background: rgba(20,17,13,.75); font: 500 12px/1.3 var(--mono); letter-spacing: .04em; color: var(--text-2); margin-bottom: 30px; }
:root[lang="ar"] .status { font-family: var(--sans); font-size: 13.5px; letter-spacing: 0; }
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); flex: none; box-shadow: 0 0 8px var(--amber); }
.status__dot.is-open { background: var(--green); box-shadow: 0 0 8px var(--green); }
.hero__title { font: 500 clamp(56px, 9vw, 132px)/.92 var(--display); letter-spacing: -.025em; max-width: 12ch; }
:root[lang="ar"] .hero__title { font-weight: 700; line-height: 1.25; letter-spacing: 0; font-size: clamp(44px, 7vw, 104px); }
.hero__lede { margin-top: 28px; max-width: 54ch; font-size: clamp(17px, 1.45vw, 19.5px); color: var(--text-2); }
.pillar-tags { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pillar-tags li { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border: 1px solid rgba(207,167,90,.35); background: rgba(207,167,90,.05); font: 500 13px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-hi); }
:root[lang="ar"] .pillar-tags li { font-family: var(--sans); letter-spacing: 0; text-transform: none; font-size: 15px; }
.pillar-tags svg { width: 18px; height: 18px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hero__ctas { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__ctas .btn { padding-block: 12px; }

/* the gold line: rising chart, then the Kuwait City skyline */
.skyline { position: absolute; left: 0; right: 0; bottom: 0; z-index: 0; width: 100%; pointer-events: none; }
.hero { padding-bottom: clamp(140px, 16vw, 240px); }
@media (max-width: 700px) { .hero { padding-bottom: 120px; } }
.skyline svg { display: block; width: 100%; height: auto; max-height: 40vh; overflow: visible; }
.skyline__line { fill: none; stroke: url(#gLine); stroke-width: 1.8; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 6px rgba(207,167,90,.45)); animation: draw 3.4s cubic-bezier(.6,0,.2,1) .5s forwards; }
.skyline__base { stroke: rgba(207,167,90,.18); stroke-width: 1; }
.skyline__orb { fill: rgba(207,167,90,.08); stroke: var(--gold-hi); stroke-width: 1.8; opacity: 0; animation: fadeIn 1s ease 3.3s forwards; }
.skyline__spark { fill: var(--gold-hi); opacity: 0; filter: drop-shadow(0 0 8px var(--gold-hi)); animation: fadeIn .6s ease 1.6s forwards, sparkPulse 2.4s ease-in-out 2.2s infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes sparkPulse { 50% { opacity: .35; } }
.skyline__label { font: 500 11px var(--mono); letter-spacing: .2em; text-transform: uppercase; fill: var(--muted); opacity: 0; animation: fadeIn 1s ease 3.6s forwards; }
:root[lang="ar"] .skyline__label { font-family: var(--sans); letter-spacing: 0; font-size: 13px; }

/* ---------- RISE: the Kuwait Towers stage ---------- */
.towers { position: relative; height: 640vh; height: 640svh; background: #050404; border-block: 1px solid var(--line); }
.towers-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.towers-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.towers-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(5,4,4,.92) 0%, rgba(5,4,4,.7) 30%, rgba(5,4,4,0) 55%); }
:root[dir="rtl"] .towers-shade { background: linear-gradient(-90deg, rgba(5,4,4,.92) 0%, rgba(5,4,4,.7) 30%, rgba(5,4,4,0) 55%); }
.towers-layout { position: relative; z-index: 2; padding-top: 70px; }
.towers-copy { max-width: 460px; display: grid; gap: 14px; }
.towers-copy h2 { font-size: clamp(36px, 4vw, 58px); }
.towers-lede { color: var(--muted); font-size: 15px; }
.towers-steps { list-style: none; margin: 16px 0 0; padding: 0; display: grid; }
.towers-step { grid-area: 1 / 1; opacity: 0; transform: translateY(22px); filter: blur(6px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1), filter .6s; pointer-events: none; }
.towers-step.is-active { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.towers-step.is-past { transform: translateY(-22px); }
.towers-step__k { display: inline-flex; gap: 12px; align-items: center; font: 500 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
:root[lang="ar"] .towers-step__k { font-family: var(--sans); letter-spacing: 0; text-transform: none; font-size: 15px; }
.towers-step__k b { font: 600 16px/1 "Cormorant Garamond", serif; min-width: 32px; height: 30px; display: inline-grid; place-items: center; border: 1px solid rgba(207,167,90,.45); }
.towers-step h3 { font: 500 clamp(36px, 3.8vw, 54px)/1.04 var(--display); margin: 14px 0 12px; letter-spacing: -.01em; }
:root[lang="ar"] .towers-step h3 { font-weight: 700; line-height: 1.4; }
.towers-step p { color: var(--text-2); max-width: 42ch; }
.towers-cta { justify-self: start; margin-top: 4px; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .5s ease, transform .5s ease; }
.towers.is-final .towers-cta, .towers.is-static .towers-cta { opacity: 1; transform: none; pointer-events: auto; }
@media (max-height: 700px) and (min-width: 901px) { .towers-lede, .towers-rail { display: none; } .towers-step h3 { font-size: 34px; margin: 8px 0 8px; } .towers-copy h2 { font-size: 34px; } }
.towers-rail { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.towers-rail__bar { flex: 1; max-width: 240px; height: 1px; background: var(--line-2); overflow: hidden; }
.towers-rail__bar span { display: block; height: 100%; width: 0; background: var(--metal); }
.towers-rail__label { font: 500 11.5px/1 var(--mono); letter-spacing: .2em; color: var(--muted); white-space: nowrap; }
:root[lang="ar"] .towers-rail__label { font-family: var(--sans); letter-spacing: 0; font-size: 13px; }
/* cinematic: soft vignette and a giant outlined stage numeral behind the copy */
.towers-pin::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1; background: radial-gradient(ellipse 75% 70% at 60% 50%, transparent 55%, rgba(0,0,0,.55) 100%); }
.towers-layout, .towers-hud { z-index: 3; }
.towers-num { position: absolute; z-index: 2; top: 50%; inset-inline-start: calc(var(--gutter) - .06em); transform: translateY(-46%); font: 500 min(62vh, 520px)/.8 "Cormorant Garamond", serif; color: transparent; -webkit-text-stroke: 1.5px rgba(207,167,90,.3); background: linear-gradient(180deg, rgba(207,167,90,.10), transparent 70%); -webkit-background-clip: text; background-clip: text; pointer-events: none; user-select: none; }
.towers-num.pop { animation: numPop .9s cubic-bezier(.2,.8,.2,1); }
@keyframes numPop { from { opacity: 0; transform: translateY(-40%) scale(.94); } to { opacity: 1; transform: translateY(-46%); } }
@media (max-width: 900px) { .towers-num { display: none; } }
/* stage chips: light up as each pillar is built */
.towers-hud { position: absolute; z-index: 2; bottom: 28px; inset-inline-end: calc(var(--gutter) + 72px); list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }
.towers-hud li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--line-2); background: rgba(5,4,4,.7); font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); transition: color .4s, border-color .4s; }
:root[lang="ar"] .towers-hud li { font-family: var(--sans); letter-spacing: 0; text-transform: none; font-size: 13px; }
.towers-hud i { width: 7px; height: 7px; transform: rotate(45deg); background: var(--line-2); transition: background .4s, box-shadow .4s; }
.towers-hud li.on { color: var(--gold-hi); border-color: rgba(207,167,90,.55); }
.towers-hud li.on i { background: var(--gold); box-shadow: 0 0 10px var(--gold); }
@media (max-width: 900px) {
  .towers { height: 600vh; height: 600svh; }
  .towers-pin { align-items: flex-end; }
  .towers-shade, :root[dir="rtl"] .towers-shade { background: linear-gradient(180deg, rgba(5,4,4,0) 38%, rgba(5,4,4,.85) 58%, rgba(5,4,4,.97) 100%); }
  .towers-layout { padding-top: 0; padding-bottom: 22px; }
  .towers-copy { gap: 8px; max-width: none; }
  .towers-copy h2 { font-size: 28px; }
  .towers-copy .eyebrow, .towers-lede, .towers-rail { display: none; }
  .towers-step h3 { font-size: 30px; margin: 10px 0 6px; }
  .towers-step p { font-size: 15px; line-height: 1.5; }
  .towers-cta { min-height: 44px; }
  .towers-hud { top: 78px; bottom: auto; inset-inline: 0; justify-content: center; }
  .towers-hud li { padding: 6px 9px; font-size: 9.5px; letter-spacing: .08em; }
}
.towers.is-static { height: auto; }
.towers.is-static .towers-pin { position: relative; height: auto; min-height: 100vh; padding-block: 100px; }
.towers.is-static .towers-steps { gap: 24px; }
.towers.is-static .towers-step { grid-area: auto; opacity: 1; transform: none; filter: none; }
.towers.is-static .towers-rail { display: none; }

/* ---------- pillars ---------- */
.pillars { border-bottom: 1px solid var(--line); }
.pillar-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-2); }
.pillar { position: relative; padding: clamp(28px, 3.5vw, 44px) clamp(20px, 3vw, 40px) clamp(32px, 4vw, 48px); display: grid; gap: 14px; align-content: start; }
.pillar + .pillar { border-inline-start: 1px solid var(--line-2); }
.pillar::before { content: ""; position: absolute; top: -1px; inset-inline-start: 0; height: 2px; width: 0; background: var(--metal); transition: width .8s cubic-bezier(.2,.8,.2,1); }
.pillar:hover::before, .pillar.seen::before { width: 72px; }
.pillar__num { font: 500 56px/1 "Cormorant Garamond", serif; color: transparent; -webkit-text-stroke: 1px rgba(207,167,90,.55); }
.pillar__ico { width: 44px; height: 44px; fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.pillar h3 { font: 500 clamp(30px, 2.8vw, 40px)/1.05 var(--display); letter-spacing: -.01em; }
:root[lang="ar"] .pillar h3 { font-weight: 700; line-height: 1.45; }
.pillar > p { color: var(--text-2); }
.pillar ul { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--line); }
.pillar li { position: relative; padding: 12px 0; padding-inline-start: 22px; border-bottom: 1px solid var(--line); color: var(--text-2); font-size: 15.5px; }
.pillar li::before { content: ""; position: absolute; inset-inline-start: 2px; top: 20px; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
@media (max-width: 900px) { .pillar-grid { grid-template-columns: 1fr; } .pillar + .pillar { border-inline-start: 0; border-top: 1px solid var(--line-2); } .pillar { padding-inline: 0; } }

/* ---------- approach ---------- */
.approach { background: var(--bg-2); border-bottom: 1px solid var(--line); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.steps li { display: grid; gap: 10px; align-content: start; padding-top: 20px; border-top: 1px solid var(--line-2); }
.steps__n { font: 500 44px/1 "Cormorant Garamond", serif; background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps h3 { font: 500 26px/1.15 var(--display); }
:root[lang="ar"] .steps h3 { font-weight: 700; line-height: 1.5; font-size: 22px; }
.steps p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact-strip__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: end; }
.contact-strip__inner .sec-head { margin-bottom: 0; }
.direct { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line-2); }
.direct li > * { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-2); text-decoration: none; }
.direct a:hover .direct__v { color: var(--gold-hi); }
.direct__k { font: 500 11.5px/1.7 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
:root[lang="ar"] .direct__k { font-family: var(--sans); letter-spacing: 0; text-transform: none; font-size: 14px; }
.direct__v { font-weight: 600; transition: color .2s; overflow-wrap: anywhere; text-align: end; }
@media (max-width: 860px) { .contact-strip__inner { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .skyline__line { animation: none; stroke-dashoffset: 0; }
  .skyline__orb, .skyline__spark, .skyline__label { animation: none; opacity: 1; }
}

.foot__legal { flex-basis: 100%; font-size: 12.5px; color: var(--muted); max-width: 80ch; }

/* ================= Cinematic intro: the gold D draws itself, then the curtain lifts ================= */
.intro { display: none; }
html.intro-pending { overflow: hidden; }
html.intro-pending .intro, .intro.is-lifting {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: var(--bg); cursor: pointer;
  clip-path: inset(0 0 0 0); transition: clip-path 1s cubic-bezier(.76,0,.24,1);
  animation: introFailsafe 0s linear 6s forwards; }
.intro.is-lifting { clip-path: inset(0 0 100% 0); }
@keyframes introFailsafe { to { visibility: hidden; } }
.intro__inner { display: grid; justify-items: center; gap: 22px; }
.intro__box { position: relative; width: 120px; height: 120px; }
.intro__mark { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.intro__mark path { fill: none; stroke: var(--gold-hi); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1;
  filter: drop-shadow(0 0 6px rgba(238,213,150,.6)); animation: draw 1s cubic-bezier(.6,0,.2,1) .15s forwards, introOut .45s ease 1.45s forwards; }
.intro__mark .intro__arrow { animation-duration: .6s, .45s; animation-delay: .7s, 1.45s; }
.intro__mark .intro__head { animation-duration: .25s, .45s; animation-delay: 1.1s, 1.45s; }
.intro__logo { position: absolute; inset: 8px; width: calc(100% - 16px); height: auto; opacity: 0; transform: scale(.94);
  filter: drop-shadow(0 0 22px rgba(207,167,90,.55)); animation: introLogo .7s cubic-bezier(.2,.8,.2,1) 1.2s forwards; }
.intro__word { margin: 0; font: 600 26px var(--display); letter-spacing: .9em; padding-left: .42em; color: var(--text); opacity: 0; direction: ltr;
  animation: introWord .9s cubic-bezier(.2,.8,.2,1) 1.3s forwards; }
.intro__rule { width: 160px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-hi), transparent); transform: scaleX(0); animation: introRule .9s cubic-bezier(.2,.8,.2,1) 1.4s forwards; }
@keyframes introOut { to { opacity: 0; } }
@keyframes introLogo { to { opacity: 1; transform: none; } }
@keyframes introWord { to { opacity: 1; letter-spacing: .42em; } }
@keyframes introRule { to { transform: none; } }
/* hold the hero's own entrance until the curtain lifts */
html.intro-pending .hero *, html.intro-pending .hero *::before, html.intro-pending .hero *::after { animation-play-state: paused !important; }
html.intro-pending [data-split].is-in .w > span { transform: translateY(105%); }
html.intro-pending .hero .reveal.in { opacity: 0; transform: translateY(18px); }

/* ================= National Day (25-26 Feb, Kuwait time): flag ribbon + greeting ================= */
.nd-ribbon, .nd-greet { display: none; }
html.national-day .nd-ribbon { display: block; position: fixed; top: 0; left: 0; right: 0; height: 6px; z-index: 120; pointer-events: none;
  background: linear-gradient(#00a04c 0 33.34%, #f6f4ec 0 66.67%, #e0243a 0); }
html.national-day .nd-ribbon::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 34px; background: #000; clip-path: polygon(0 0, 100% 0, 72% 100%, 0 100%); }
html.national-day .nd-greet { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 16px; font: 500 12px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--text); }
html.national-day .nd-greet::before { content: ""; width: 24px; height: 14px; flex: none;
  background: linear-gradient(90deg, #000 0 6px, transparent 6px) , linear-gradient(#00a04c 0 33.34%, #f6f4ec 0 66.67%, #e0243a 0);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); box-shadow: 0 0 14px rgba(0,160,76,.35); }
html[lang="ar"].national-day .nd-greet { letter-spacing: 0; font: 600 15px/1.2 var(--sans, inherit); }

/* ================= Finale: tap the sky ================= */
.towers-hint { position: absolute; z-index: 3; top: 17%; left: 66%; transform: translate(-50%, 8px); margin: 0; display: inline-flex; align-items: center; gap: 10px;
  font: 500 11px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-hi); opacity: 0; pointer-events: none;
  transition: opacity .6s ease, transform .6s ease; white-space: nowrap; }
html[dir="rtl"] .towers-hint { left: 34%; letter-spacing: 0; font-size: 13px; }
.towers-hint i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-hi); box-shadow: 0 0 0 0 rgba(238,213,150,.6); animation: hintPing 1.8s ease-out infinite; }
@keyframes hintPing { to { box-shadow: 0 0 0 12px rgba(238,213,150,0); } }
.towers.is-final:not(.has-launched):not(.is-static) .towers-hint { opacity: .9; transform: translate(-50%, 0); transition-delay: 1.2s; }
.towers.is-final:not(.is-static) .towers-pin { cursor: crosshair; }
@media (max-width: 900px) { .towers-hint, html[dir="rtl"] .towers-hint { left: 50%; top: 17.5%; } }
.towers-canvas--3d { display: block; }
