/* Layout: night-blueprint sheet. A pinned 3D hero that draws then builds a house,
   followed by plan-sheet sections ruled with faint drafting grid. Single dark look by design. */
:root {
  --ink: #0B1118;        /* blueprint night */
  --ink-2: #0F1721;      /* alternate band */
  --panel: #131D29;      /* cards */
  --rule: rgba(120, 176, 214, .14);
  --blue: #7DB9E3;       /* drafting line */
  --orange: #F26A1B;     /* brand orange from the logo */
  --orange-hi: #FF8C42;
  --paper: #EEEBE6;      /* warm off-white, matches the light logo */
  --muted: #93A0AD;
  --danger: #FF7A6B;
  --ok: #6FD39B;

  --f-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --f-body: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --f-ar: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;

  --gut: max(20px, env(safe-area-inset-left, 0px));
  --gut-r: max(20px, env(safe-area-inset-right, 0px));
  --maxw: 1240px;
  --nav-h: 76px;
  --ease: cubic-bezier(.2, .7, .1, 1);

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font: 400 17px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
html[lang="ar"] body { font-family: var(--f-ar); }
html[lang="ar"] .h2, html[lang="ar"] .hero__title, html[lang="ar"] .card h3,
html[lang="ar"] .step h3, html[lang="ar"] .plan h3, html[lang="ar"] .facts b,
html[lang="ar"] .ticker, html[lang="ar"] .area__list { font-family: var(--f-ar); letter-spacing: 0; text-transform: none; }

body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--ink);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--orange); color: var(--ink); }
:focus-visible { outline: 2px solid var(--orange-hi); outline-offset: 3px; border-radius: 4px; }

.wrap {
  width: 100%; max-width: calc(var(--maxw) + 40px); margin-inline: auto;
  padding-left: var(--gut); padding-right: var(--gut);
}

.skip {
  position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 14px;
  background: var(--orange); color: var(--ink); font-weight: 700; border-radius: 6px;
  transform: translateY(-160%); transition: transform .2s;
}
.skip:focus { transform: none; }

/* ---------- type ---------- */
.eyebrow {
  margin: 0 0 18px; font: 500 12.5px/1.3 var(--f-mono); letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue);
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
html[lang="ar"] .eyebrow { font-family: var(--f-ar); letter-spacing: 0; font-size: 14px; }

.h2 {
  margin: 0; font: 800 clamp(40px, 6vw, 76px)/.95 var(--f-display);
  text-transform: uppercase; letter-spacing: .005em; text-wrap: balance;
}
html[lang="ar"] .h2 { font-weight: 700; font-size: clamp(32px, 4.6vw, 56px); line-height: 1.25; }

/* ---------- buttons ---------- */
.btn {
  --bg: transparent; --fg: var(--paper); --bd: rgba(238, 235, 230, .28);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 3px;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
  font: 700 15px/1 var(--f-body); letter-spacing: .02em; text-decoration: none; cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .25s var(--ease), border-color .25s, color .25s;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--orange-hi);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.btn:hover::after { transform: scaleX(1); transform-origin: left; }
.btn:active { transform: translateY(1px); }
.btn--primary { --bg: var(--orange); --fg: #140A03; --bd: var(--orange); }
.btn--ghost:hover { --fg: #140A03; border-color: var(--orange-hi); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
html[dir="rtl"] .btn svg { transform: scaleX(-1); }
html[dir="rtl"] .btn:hover svg { transform: scaleX(-1) translateX(4px); }
html[lang="ar"] .btn { font-family: var(--f-ar); letter-spacing: 0; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 50;
  transition: background .35s, border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.nav.is-solid {
  background: rgba(11, 17, 24, .78); backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom-color: var(--rule);
}
.nav__inner {
  max-width: calc(var(--maxw) + 40px); margin-inline: auto; height: var(--nav-h);
  padding-left: var(--gut); padding-right: var(--gut);
  display: flex; align-items: center; gap: 28px;
}
.nav__brand img { height: 46px; width: auto; }
.nav__links { display: flex; gap: 30px; margin-inline-start: auto; }
.nav__links a {
  text-decoration: none; font-size: 14.5px; font-weight: 500; color: rgba(238, 235, 230, .78);
  position: relative; padding: 6px 0; transition: color .2s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--orange);
  transform: scaleX(0); transition: transform .3s var(--ease);
}
.nav__links a:hover, .nav__links a.is-current { color: var(--paper); }
.nav__links a:hover::after, .nav__links a.is-current::after { transform: scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: 14px; }

.lang {
  display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 14px;
  background: transparent; border: 1px solid var(--rule); border-radius: 3px; color: var(--muted);
  font: 500 13px/1 var(--f-mono); cursor: pointer; transition: border-color .2s;
}
.lang:hover { border-color: var(--blue); }
.lang__opt[data-l="ar"] { font-family: var(--f-ar); font-size: 15px; }
.lang__opt.is-on { color: var(--orange-hi); }
.lang__sep { opacity: .4; }

.burger { display: none; width: 44px; height: 42px; border: 1px solid var(--rule); background: transparent; border-radius: 3px; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--paper); transition: transform .3s var(--ease), top .3s; }
.burger span:first-child { top: 15px; }
.burger span:last-child { top: 24px; }
.burger[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

.mobile-menu {
  display: grid; gap: 4px; padding: 12px var(--gut-r) 24px var(--gut);
  background: rgba(11, 17, 24, .96); border-bottom: 1px solid var(--rule);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: 14px 0; border-bottom: 1px solid var(--rule); text-decoration: none; font: 800 28px/1 var(--f-display); text-transform: uppercase; }
html[lang="ar"] .mobile-menu a { font-family: var(--f-ar); font-size: 22px; font-weight: 600; }

/* ---------- hero ---------- */
.hero { position: relative; height: 320vh; }
.hero__stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  background:
    radial-gradient(1200px 700px at 72% 60%, rgba(242, 106, 27, .10), transparent 60%),
    radial-gradient(900px 600px at 20% 10%, rgba(125, 185, 227, .10), transparent 60%),
    var(--ink);
}
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero__grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(var(--rule) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
}
.hero__sheet {
  position: absolute; right: var(--gut-r); bottom: 28px; z-index: 2;
  display: flex; gap: 0; border: 1px solid var(--rule); font: 400 11px/1 var(--f-mono);
  color: var(--blue); letter-spacing: .1em; text-transform: uppercase;
}
.hero__sheet span { padding: 10px 12px; border-inline-end: 1px solid var(--rule); }
.hero__sheet span:last-child { border: 0; }
html[dir="rtl"] .hero__sheet { right: auto; left: var(--gut); }

.hero__content {
  position: relative; z-index: 3; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: var(--nav-h); pointer-events: none;
}
.hero__content > * { pointer-events: auto; max-width: 640px; }
.hero__title {
  margin: 0 0 26px; font: 900 clamp(54px, 9vw, 128px)/.86 var(--f-display);
  text-transform: uppercase; letter-spacing: -.005em;
}
.hero__line { display: block; }
.hero__line--accent {
  color: transparent; -webkit-text-stroke: 1.5px var(--orange-hi);
  background: linear-gradient(90deg, var(--orange) 0 var(--fill, 0%), transparent var(--fill, 0%));
  -webkit-background-clip: text; background-clip: text;
}
html[lang="ar"] .hero__title { font-weight: 700; font-size: clamp(44px, 6.6vw, 92px); line-height: 1.12; }
html[lang="ar"] .hero__line--accent { -webkit-text-stroke-width: 1px; }
.hero__lead { margin: 0 0 34px; font-size: clamp(17px, 1.4vw, 19px); color: rgba(238, 235, 230, .8); max-width: 34em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__steps {
  position: absolute; z-index: 3; right: var(--gut-r); bottom: 84px;
  list-style: none; margin: 0; padding: 0; display: flex; gap: 22px;
}
html[dir="rtl"] .hero__steps { right: auto; left: var(--gut); }
.hero__steps li {
  display: flex; align-items: center; gap: 10px;
  font: 500 12px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase;
  color: rgba(238, 235, 230, .35); transition: color .4s;
}
.hero__steps li b { font-weight: 500; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; transition: background .4s, color .4s, border-color .4s; }
.hero__steps li.is-active { color: var(--paper); }
.hero__steps li.is-active b { background: var(--orange); border-color: var(--orange); color: #140A03; }
.hero__steps li.is-done { color: var(--blue); }
html[lang="ar"] .hero__steps li span { font-family: var(--f-ar); letter-spacing: 0; font-size: 14px; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); z-index: 3;
  display: grid; justify-items: center; gap: 10px;
  font: 500 11px/1 var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
  transition: opacity .4s;
}
.hero__scroll i { width: 1px; height: 46px; background: linear-gradient(var(--orange), transparent); animation: drip 1.8s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
html[lang="ar"] .hero__scroll { font-family: var(--f-ar); letter-spacing: 0; font-size: 13px; }

/* ---------- interior finishing ---------- */
.interior { position: relative; height: 300vh; }
.interior__stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  background:
    radial-gradient(1000px 700px at 68% 55%, rgba(255, 170, 100, calc(var(--warm, 0) * .16)), transparent 65%),
    linear-gradient(180deg, #10151B, #0C1015);
}
#interiorCanvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.interior__stage::before {
  content: ""; position: absolute; z-index: 1; inset-block: 0; inset-inline-start: 0; width: min(560px, 55%); pointer-events: none;
  background: linear-gradient(90deg, rgba(13, 18, 24, .92) 30%, rgba(13, 18, 24, 0));
}
html[dir="rtl"] .interior__stage::before { background: linear-gradient(270deg, rgba(13, 18, 24, .92) 30%, rgba(13, 18, 24, 0)); }
.interior__panel {
  position: absolute; z-index: 2; top: calc(var(--nav-h) + 28px); inset-inline-start: var(--gut);
  width: min(380px, 40vw); display: grid; gap: 18px;
}
.interior__title { margin: 0; font: 800 clamp(36px, 4.4vw, 60px)/.95 var(--f-display); text-transform: uppercase; text-wrap: balance; }
html[lang="ar"] .interior__title { font-family: var(--f-ar); font-weight: 700; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.25; }
.istages { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 2px; }
.istages li {
  display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 12px;
  padding: 8px 0; border-bottom: 1px solid var(--rule);
  color: rgba(238, 235, 230, .34); transition: color .35s;
}
.istages b { font: 500 12px/1 var(--f-mono); }
.istages span { font-weight: 600; font-size: 15.5px; }
.istages em { font: 400 11px/1 var(--f-mono); font-style: normal; letter-spacing: .1em; text-transform: uppercase; opacity: 0; transform: translateX(-6px); transition: opacity .35s, transform .35s; color: var(--orange-hi); }
html[lang="ar"] .istages em { font-family: var(--f-ar); letter-spacing: 0; font-size: 12.5px; }
.istages li.is-done { color: rgba(238, 235, 230, .62); }
.istages li.is-done b { color: var(--blue); }
.istages li.is-active { color: var(--paper); }
.istages li.is-active b { color: var(--orange-hi); }
.istages li.is-active em { opacity: 1; transform: none; }
.interior__bar { height: 2px; background: var(--rule); position: relative; overflow: hidden; }
.interior__bar i { position: absolute; inset: 0; background: var(--orange); transform: scaleX(var(--p, 0)); transform-origin: left; }
html[dir="rtl"] .interior__bar i { transform-origin: right; }

.interior__skip {
  position: absolute; z-index: 3; bottom: 28px; inset-inline-start: var(--gut);
  background: transparent; border: 1px solid var(--rule); color: var(--muted); border-radius: 3px;
  padding: 10px 14px; font: 500 12px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; cursor: pointer;
  transition: color .2s, border-color .2s, opacity .4s;
}
.interior__skip:hover { color: var(--paper); border-color: var(--blue); }
html[lang="ar"] .interior__skip { font-family: var(--f-ar); letter-spacing: 0; font-size: 13.5px; }
.interior.is-finished .interior__skip { opacity: 0; pointer-events: none; }

.finish {
  position: absolute; z-index: 3; bottom: 28px; inset-inline-end: var(--gut-r);
  width: min(360px, calc(100% - 40px)); display: grid; gap: 14px; padding: 20px;
  background: rgba(15, 21, 29, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--rule); border-top: 2px solid var(--orange);
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.interior.is-finished .finish { opacity: 1; transform: none; pointer-events: auto; }
.finish__title { margin: 0; font: 800 24px/1 var(--f-display); text-transform: uppercase; }
html[lang="ar"] .finish__title { font-family: var(--f-ar); font-weight: 700; font-size: 19px; }
.finish__group { display: grid; gap: 8px; }
.finish__label { font: 500 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
html[lang="ar"] .finish__label { font-family: var(--f-ar); letter-spacing: 0; font-size: 12.5px; }
.finish__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px 7px 7px; min-height: 34px;
  background: var(--ink); border: 1px solid rgba(125, 185, 227, .18); border-radius: 999px; color: var(--muted);
  font: 500 13px/1 var(--f-body); cursor: pointer; transition: border-color .2s, color .2s;
}
html[dir="rtl"] .chip { padding: 7px 7px 7px 10px; }
html[lang="ar"] .chip { font-family: var(--f-ar); }
.chip i { width: 18px; height: 18px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); flex: none; }
.chip:hover { color: var(--paper); }
.chip.is-on { border-color: var(--orange); color: var(--paper); }
.finish .btn { min-height: 46px; margin-top: 4px; }

/* ---------- ticker ---------- */
.ticker { background: var(--orange); color: #140A03; overflow: hidden; border-block: 1px solid #000; position: relative; z-index: 2; }
.ticker__track {
  display: flex; align-items: center; gap: 34px; width: max-content; padding-block: 18px;
  font: 800 30px/1 var(--f-display); text-transform: uppercase; white-space: nowrap;
  animation: tick 38s linear infinite;
}
.ticker__track i { font-style: normal; font-size: 18px; }
html[lang="ar"] .ticker__track { font-size: 24px; font-weight: 700; }
@keyframes tick { to { transform: translateX(-50%); } }
html[dir="rtl"] .ticker__track { animation-name: tick-rtl; }
@keyframes tick-rtl { to { transform: translateX(50%); } }

/* ---------- sections ---------- */
section[id] { scroll-margin-top: calc(var(--nav-h) - 1px); }
.section { position: relative; padding-block: clamp(90px, 12vw, 160px); }
.section--alt {
  background:
    linear-gradient(var(--rule) 1px, transparent 1px) 0 0 / 100% 64px,
    var(--ink-2);
  border-block: 1px solid var(--rule);
}
.section__head { display: grid; gap: 20px; margin-bottom: clamp(48px, 6vw, 80px); max-width: 860px; }
.section__head--row { max-width: none; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 40px; }
.section__lead { margin: 0; color: var(--muted); font-size: 18px; max-width: 36em; }

/* services */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.card {
  position: relative; overflow: hidden; background: var(--ink);
  padding: 38px 34px 34px; display: flex; flex-direction: column; gap: 14px; min-height: 340px;
  transform-style: preserve-3d; transition: transform .5s var(--ease), background .4s;
}
.card:hover { background: var(--panel); }
.card__glow {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(242, 106, 27, .16), transparent 60%);
}
.card:hover .card__glow { opacity: 1; }
.card__icon { width: 58px; height: 58px; fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; margin-bottom: 18px; transition: stroke .4s; }
.card__icon path { stroke-dasharray: 400; stroke-dashoffset: 0; }
.card:hover .card__icon { stroke: var(--orange-hi); }
.card:hover .card__icon path { animation: redraw 1.2s var(--ease); }
@keyframes redraw { from { stroke-dashoffset: 400; } to { stroke-dashoffset: 0; } }
.card h3 { margin: 0; font: 800 30px/1 var(--f-display); text-transform: uppercase; letter-spacing: .01em; }
html[lang="ar"] .card h3 { font-size: 24px; font-weight: 700; line-height: 1.3; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.card__spec { margin-top: auto; padding-top: 18px; border-top: 1px dashed var(--rule); font: 400 12px/1.4 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
html[lang="ar"] .card__spec { font-family: var(--f-ar); letter-spacing: 0; font-size: 13.5px; }

/* process */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; position: relative; }
.process__line { position: absolute; left: 0; right: 0; top: 27px; height: 1px; background: var(--rule); }
.process__line i { position: absolute; inset: 0; background: var(--orange); transform: scaleX(var(--p, 0)); transform-origin: left; }
html[dir="rtl"] .process__line i { transform-origin: right; }
.step { position: relative; display: grid; gap: 14px; align-content: start; }
.step__num {
  width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%;
  background: var(--ink-2); border: 1px solid var(--rule); font: 500 15px/1 var(--f-mono); color: var(--blue);
  transition: background .5s, color .5s, border-color .5s;
}
.step.is-lit .step__num { background: var(--orange); border-color: var(--orange); color: #140A03; }
.step h3 { margin: 10px 0 0; font: 800 28px/1 var(--f-display); text-transform: uppercase; }
html[lang="ar"] .step h3 { font-size: 22px; font-weight: 700; line-height: 1.35; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }

/* work / plans */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.plan { margin: 0; display: grid; gap: 22px; }
.plan__sheet {
  position: relative; aspect-ratio: 16 / 11; max-width: 100%; overflow: hidden;
  background:
    linear-gradient(rgba(125, 185, 227, .09) 1px, transparent 1px) 0 0 / 16px 16px,
    linear-gradient(90deg, rgba(125, 185, 227, .09) 1px, transparent 1px) 0 0 / 16px 16px,
    #102135;
  border: 1px solid rgba(125, 185, 227, .3);
  transition: transform .6s var(--ease), box-shadow .6s;
}
.plan:hover .plan__sheet { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8), 0 0 0 1px var(--orange); }
.plan svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--blue); stroke-width: 1.6; }
.plan svg * { stroke-dasharray: 900; stroke-dashoffset: 0; }
.plan svg .dim { stroke: var(--orange-hi); stroke-width: 1; }
.plan:hover svg * { animation: redraw-plan 1.6s var(--ease); }
@keyframes redraw-plan { from { stroke-dashoffset: 900; } to { stroke-dashoffset: 0; } }
.plan__dim { position: absolute; right: 12px; bottom: 10px; font: 400 11px/1 var(--f-mono); color: var(--orange-hi); letter-spacing: .08em; }
.plan__dim--top { bottom: auto; top: 10px; }
.plan figcaption { display: grid; gap: 8px; }
.plan__tag { font: 500 11.5px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--orange-hi); }
html[lang="ar"] .plan__tag { font-family: var(--f-ar); letter-spacing: 0; font-size: 13.5px; }
.plan h3 { margin: 0; font: 800 26px/1.05 var(--f-display); text-transform: uppercase; }
html[lang="ar"] .plan h3 { font-size: 21px; font-weight: 700; line-height: 1.35; }
.plan p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* about */
.about { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.about__text { display: grid; gap: 22px; }
.about__text p { margin: 0; color: rgba(238, 235, 230, .78); max-width: 36em; }
.about__text .h2 { margin-bottom: 8px; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--rule); }
.facts li { display: grid; gap: 6px; padding: 24px 0; border-bottom: 1px solid var(--rule); }
.facts b { font: 800 26px/1 var(--f-display); text-transform: uppercase; color: var(--paper); display: flex; align-items: center; gap: 12px; }
.facts b::before { content: ""; width: 10px; height: 10px; background: var(--orange); transform: rotate(45deg); flex: none; }
html[lang="ar"] .facts b { font-size: 21px; font-weight: 700; line-height: 1.3; }
.facts span { color: var(--muted); font-size: 15.5px; padding-inline-start: 22px; }

/* area */
.area { padding-block: 56px; border-bottom: 1px solid var(--rule); }
.area__inner { display: grid; gap: 22px; }
.area__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 34px; font: 800 clamp(28px, 4vw, 48px)/1.1 var(--f-display); text-transform: uppercase; color: rgba(238, 235, 230, .28); }
.area__list li { transition: color .3s; cursor: default; }
.area__list li:first-child, .area__list li:hover { color: var(--paper); }
html[lang="ar"] .area__list { font-size: clamp(22px, 3vw, 34px); font-weight: 700; }

/* contact */
.contact { background: radial-gradient(900px 500px at 85% 20%, rgba(242, 106, 27, .12), transparent 60%), var(--ink); }
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.contact__intro { display: grid; gap: 22px; }
.contact__intro > p { margin: 0; color: rgba(238, 235, 230, .78); max-width: 32em; }
.contact__mail { display: grid; gap: 8px; margin-top: 18px; padding-top: 26px; border-top: 1px solid var(--rule); }
.contact__mail p { margin: 0 0 6px; }
.label { font: 500 11.5px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-top: 10px; }
html[lang="ar"] .label { font-family: var(--f-ar); letter-spacing: 0; font-size: 13px; }
.mailrow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.mailrow a { font: 600 clamp(18px, 2vw, 22px)/1.3 var(--f-body); text-decoration: none; border-bottom: 1px solid var(--orange); overflow-wrap: anywhere; }
.copy { background: transparent; border: 1px solid var(--rule); color: var(--muted); border-radius: 3px; padding: 6px 12px; font: 500 12px/1 var(--f-mono); cursor: pointer; }
.copy:hover { color: var(--paper); border-color: var(--blue); }

.form { display: grid; gap: 18px; padding: clamp(24px, 4vw, 44px); background: var(--panel); border: 1px solid var(--rule); position: relative; }
.form::before { content: ""; position: absolute; top: -1px; left: -1px; width: 64px; height: 3px; background: var(--orange); }
html[dir="rtl"] .form::before { left: auto; right: -1px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field label { font: 500 12px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
html[lang="ar"] .field label { font-family: var(--f-ar); letter-spacing: 0; font-size: 14px; }
.field input, .field select, .field textarea {
  width: 100%; min-width: 0; background: var(--ink); color: var(--paper);
  border: 1px solid rgba(125, 185, 227, .2); border-radius: 3px; padding: 14px 16px;
  font: 400 16px/1.4 inherit; font-family: inherit; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(242, 106, 27, .2); }
.field input::placeholder, .field textarea::placeholder { color: rgba(147, 160, 173, .6); }
.field.is-error input, .field.is-error textarea { border-color: var(--danger); }
.hp { position: absolute; top: 0; inset-inline-start: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.form__status { margin: 0; min-height: 1.4em; font-size: 15px; }
.form__status.is-ok { color: var(--ok); }
.form__status.is-err { color: var(--danger); }
.btn.is-loading { pointer-events: none; opacity: .7; }

/* footer */
.footer { border-top: 1px solid var(--rule); padding-block: 56px calc(40px + env(safe-area-inset-bottom, 0px)); background: #080D13; }
.footer__inner { display: grid; grid-template-columns: auto 1fr; gap: 24px 40px; align-items: center; }
.footer__logo { height: 54px; width: auto; }
.footer__links { display: flex; flex-wrap: wrap; gap: 26px; justify-content: flex-end; }
.footer__links a { text-decoration: none; color: var(--muted); font-size: 15px; }
.footer__links a:hover { color: var(--paper); }
.footer__meta { grid-column: 1 / -1; margin: 0; padding-top: 24px; border-top: 1px solid var(--rule); color: var(--muted); font-size: 14px; }
.footer__meta a { text-decoration: none; }

/* reveal (only applied to elements below the fold at load) */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .nav__links, .nav__cta { display: none; }
  .burger { display: inline-block; }
  .nav__actions { margin-inline-start: auto; }
  .services, .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .process__line { display: none; }
  .section__head--row, .about, .contact__grid { grid-template-columns: 1fr; }
  .hero__steps { display: none; }
  .interior__panel { width: min(340px, 46vw); }
}
@media (max-width: 640px) {
  :root { --nav-h: 66px; }
  body { font-size: 16px; }
  .nav__brand img { height: 38px; }
  .services, .plans, .process { grid-template-columns: 1fr; }
  .card { min-height: 0; padding: 30px 24px; }
  .form__row { grid-template-columns: 1fr; }
  .hero__content { justify-content: flex-end; padding-bottom: 110px; }
  .hero__sheet { display: none; }
  .hero__lead { font-size: 16px; margin-bottom: 26px; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__links { justify-content: flex-start; }
  .interior { height: 280vh; }
  .interior__panel { top: calc(var(--nav-h) + 14px); width: auto; inset-inline-end: var(--gut-r); gap: 10px; }
  .interior__title { font-size: 34px; }
  html[lang="ar"] .interior__title { font-size: 26px; }
  .istages { display: block; }
  .istages li { display: none; border: 0; padding: 0; grid-template-columns: 30px auto auto; justify-content: start; }
  .istages li.is-active { display: grid; }
  .finish { inset-inline: var(--gut) var(--gut-r); width: auto; bottom: 16px; padding: 14px; gap: 10px; }
  .finish__title { font-size: 20px; }
  .chip { min-height: 30px; padding-block: 5px; font-size: 12px; }
  .interior__skip { bottom: 16px; }
  .interior__stage::before { width: 100%; height: 230px; inset-block: 0 auto; background: linear-gradient(180deg, rgba(13, 18, 24, .95) 55%, rgba(13, 18, 24, 0)); }
  html[dir="rtl"] .interior__stage::before { background: linear-gradient(180deg, rgba(13, 18, 24, .95) 55%, rgba(13, 18, 24, 0)); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker__track, .hero__scroll i { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card:hover .card__icon path, .plan:hover svg * { animation: none; }
}
