/* ═══════════════════════════════════════════════════════════
   Ordery — landing. RTL-native (the whole site is Arabic).
   01 Tokens  02 Reset  03 Overlays  04 Cursor  05 Loader
   06 Nav  07 Hero  08 Marquee  09 Manifesto  10 Stack
   11 Stats  12 Platform  13 Roadmap  14 Contact  15 Footer
   16 Responsive
   ═══════════════════════════════════════════════════════════ */

/* ───────── 01 · TOKENS ───────── */
:root {
  --bg: #04070d; /* navy-cast near-black — Ordery's night */
  --bg-2: #060a14;
  --panel: #0a101c;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);

  --ink: #f2f5f8;
  --ink-2: rgba(242, 245, 248, 0.62);
  --ink-3: rgba(242, 245, 248, 0.34);

  /* Brand blue → violet partner. Raw triplets: everything downstream
     writes rgb(var(--acc-rgb) / .x) and follows a palette change. */
  --acc-rgb: 59 130 246; /* #3b82f6 — Ordery blue */
  --acc-2-rgb: 124 92 255; /* #7c5cff */
  --acc: rgb(var(--acc-rgb));
  --acc-2: rgb(var(--acc-2-rgb));
  --status: #b6ff3d;

  --sans: 'Poppins', system-ui, sans-serif; /* Latin accents */
  --mono: 'IBM Plex Mono', monospace; /* system labels */
  --ar: 'IBM Plex Sans Arabic', system-ui, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);

  --pad: clamp(20px, 5vw, 90px);
  --maxw: 1500px;
}

/* ───────── 02 · RESET ───────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: auto;
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ar);
  font-size: 15px;
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-loading {
  overflow: hidden;
  height: 100vh;
}
img,
svg,
canvas {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
ul {
  list-style: none;
}
::selection {
  background: var(--acc);
  color: #03060a;
}

/* ───────── 03 · OVERLAYS ───────── */
.grain {
  position: fixed;
  inset: -120%;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 7s steps(7) infinite;
}
@keyframes grainShift {
  0% {
    transform: translate(0, 0);
  }
  14% {
    transform: translate(-6%, -4%);
  }
  28% {
    transform: translate(4%, -7%);
  }
  42% {
    transform: translate(-3%, 6%);
  }
  57% {
    transform: translate(-7%, 2%);
  }
  71% {
    transform: translate(6%, 4%);
  }
  85% {
    transform: translate(-2%, -6%);
  }
  100% {
    transform: translate(0, 0);
  }
}
.vignette {
  position: fixed;
  inset: 0;
  z-index: 9997;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 45%, transparent 40%, rgba(0, 0, 0, 0.55) 100%);
}
.scanlines {
  position: fixed;
  inset: 0;
  z-index: 9996;
  pointer-events: none;
  opacity: 0.35;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.014) 0 1px,
    transparent 1px 3px
  );
}

/* ───────── SHARED ───────── */
/* Arabic labels: no tracking (cursive joins) — only the numeric chip is mono */
.sec-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ar);
  font-size: 12px;
  letter-spacing: 0;
  color: var(--ink-3);
  margin-bottom: 26px;
}
.sec-tag i {
  font-style: normal;
  color: var(--acc);
  padding: 4px 9px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  border: 1px solid rgb(var(--acc-rgb) / 0.28);
  border-radius: 4px;
  background: rgb(var(--acc-rgb) / 0.06);
  box-shadow: inset 0 0 22px rgb(var(--acc-rgb) / 0.18);
}
/* Arabic display: tracking must stay 0 (cursive joins), looser leading */
.sec-title {
  font-size: clamp(2.2rem, 5.6vw, 4.8rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0;
}
.grad {
  background: linear-gradient(100deg, #fff 0%, var(--acc) 42%, var(--acc-2) 88%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.sw {
  display: inline-block;
  overflow: hidden;
  padding: 0.14em 0.02em 0.18em;
  margin: -0.14em -0.02em -0.18em;
}
.si {
  display: inline-block;
}
.line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
}
.w {
  display: inline-block;
  will-change: transform;
}

/* buttons — fill rises from below */
.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 34px;
  border: 1px solid var(--line-2);
  border-radius: 99px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: border-color 0.5s var(--ease);
}
.btn__fill {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(120deg, var(--acc), var(--acc-2));
  transform: translateY(101%);
  transition: transform 0.6s var(--ease);
}
.btn:hover .btn__fill {
  transform: translateY(0);
}
.btn:hover {
  border-color: transparent;
}
.btn__label,
.btn__arrow {
  position: relative;
  z-index: 2;
}
.btn__arrow {
  transition: transform 0.5s var(--ease);
}
.btn:hover .btn__arrow {
  transform: translateX(-6px);
} /* RTL: forward = left */
.btn--ghost {
  border-color: var(--line);
  color: var(--ink-2);
}
.btn--ghost:hover {
  color: var(--ink);
  border-color: var(--line-2);
}
.btn--sm {
  padding: 10px 22px;
  font-size: 0.85rem;
}
.btn--lg {
  padding: 20px 44px;
  font-size: 1.1rem;
}

/* ───────── 04 · CURSOR ───────── */
.cursor {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  mix-blend-mode: difference;
}
.cursor__dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
}
.cursor__ring {
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.65);
  transition:
    width 0.35s var(--ease),
    height 0.35s var(--ease);
}
.cursor.is-hover .cursor__ring {
  width: 56px;
  height: 56px;
}
@media (hover: none), (pointer: coarse) {
  .cursor {
    display: none;
  }
}

/* ───────── 05 · LOADER ───────── */
.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
}
.loader__curtain {
  position: absolute;
  inset: 0;
  background: var(--bg-2);
}
.loader__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.loader__mark .lc--prog {
  stroke: url(#ldg);
  stroke-dasharray: 653;
  stroke-dashoffset: 653;
  transform: rotate(-90deg);
  transform-origin: center;
}
.loader__brand {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.55em;
  text-indent: 0.55em;
  color: var(--ink-2);
}
.loader__num {
  font-family: var(--mono);
  font-size: 38px;
  font-weight: 300;
  color: var(--ink);
  direction: ltr;
}
.loader__num i {
  font-style: normal;
  font-size: 16px;
  color: var(--ink-3);
}
.loader__bartrack {
  width: 180px;
  height: 1px;
  background: var(--line);
  overflow: hidden;
}
.loader__bar {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--acc), var(--acc-2));
}

/* ───────── 06 · NAV ───────── */
.nav {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 34px;
  padding: 18px var(--pad);
  translate: 0 0; /* CSS moves `translate`, GSAP owns `transform` */
  transition:
    translate 0.55s var(--ease),
    background 0.45s,
    border-color 0.45s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgb(4 7 13 / 0.72);
  backdrop-filter: blur(14px);
  border-color: var(--line);
}
.nav.is-hidden {
  translate: 0 -105%;
}
/* One inline SVG — the wordmark's O is the mark, so there is no separate
   text node to align against any more. */
.nav__logo {
  display: flex;
  align-items: center;
}
.nav__links {
  display: flex;
  gap: 28px;
  margin-inline-start: auto;
}
.nav__links a {
  position: relative;
  font-size: 0.92rem;
  color: var(--ink-2);
  padding: 4px 0;
  transition: color 0.4s var(--ease);
}
.nav__links a:hover,
.nav__links a.is-active {
  color: var(--ink);
}
.nav__links a::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1px;
  background: var(--acc);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.nav__links a:hover::after,
.nav__links a.is-active::after {
  transform: scaleX(1);
  transform-origin: right;
}
.nav__rail {
  position: absolute;
  bottom: -1px;
  inset-inline: 0;
  height: 2px;
}
.nav__railfill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--acc), var(--acc-2));
}

/* ───────── 07 · HERO ───────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.hero__field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.aur {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.aur--1 {
  width: 52vw;
  height: 52vw;
  top: -12%;
  inset-inline-start: -8%;
  background: radial-gradient(circle, rgb(var(--acc-rgb) / 0.34), transparent 68%);
  filter: blur(90px);
  animation: drift1 22s ease-in-out infinite;
}
.aur--2 {
  width: 44vw;
  height: 44vw;
  bottom: -18%;
  inset-inline-end: -10%;
  background: radial-gradient(circle, rgb(var(--acc-2-rgb) / 0.26), transparent 68%);
  filter: blur(90px);
  animation: drift2 27s ease-in-out infinite;
}
@keyframes drift1 {
  50% {
    transform: translate(10vw, 8vh) scale(1.16);
  }
}
@keyframes drift2 {
  50% {
    transform: translate(-8vw, -7vh) scale(1.12);
  }
}

.hud {
  position: absolute;
  z-index: 5;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--ink-3);
  direction: ltr;
}
.hud--tl {
  top: 86px;
  left: var(--pad);
}
.hud--tr {
  top: 86px;
  right: var(--pad);
}
.hud--bl {
  bottom: 34px;
  left: var(--pad);
}
.hud--br {
  bottom: 34px;
  right: var(--pad);
}
.hud__dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--status);
  margin: 0 4px;
  box-shadow: 0 0 12px 2px rgb(182 255 61 / 0.55);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  50% {
    opacity: 0.35;
  }
}

.hero__inner {
  position: relative;
  z-index: 6;
  text-align: center;
  padding: 0 var(--pad);
  max-width: 1100px;
}
.hero__eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.34em;
  color: var(--ink-3);
  margin-bottom: 30px;
  direction: ltr;
}
.hero__title {
  font-size: clamp(2.9rem, 9vw, 7.6rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: 0;
}
.hero__sub {
  max-width: 640px;
  margin: 30px auto 0;
  color: var(--ink-2);
  font-size: clamp(0.98rem, 1.35vw, 1.15rem);
  line-height: 2;
}
.hero__cta {
  display: flex;
  gap: 18px;
  justify-content: center;
  margin-top: 44px;
  flex-wrap: wrap;
}
.hero__scroll {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--ink-3);
}
.hero__scroll i {
  width: 1px;
  height: 44px;
  background: var(--line-2);
  position: relative;
  overflow: hidden;
}
.hero__scroll i::after {
  content: '';
  position: absolute;
  top: -40%;
  left: 0;
  width: 100%;
  height: 40%;
  background: var(--acc);
  animation: scrollcue 2s var(--ease-io) infinite;
}
@keyframes scrollcue {
  to {
    top: 110%;
  }
}

/* ───────── 08 · MARQUEE ───────── */
.marquee-wrap {
  padding: 64px 0;
  border-block: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
}
.marquee {
  overflow: hidden;
  direction: ltr;
} /* track math stays LTR */
.marquee + .marquee {
  margin-top: 26px;
}
.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 34px;
  white-space: nowrap;
  will-change: transform;
}
.marquee__track span {
  flex: none;
}
.marquee__track b {
  color: var(--acc);
  font-weight: 400;
  flex: none;
}
.marquee__track--ar {
  font-size: clamp(1.3rem, 2.6vw, 2.1rem);
  font-weight: 600;
  color: var(--ink-2);
}
.marquee__track--en {
  font-family: var(--mono);
  font-size: clamp(0.8rem, 1.3vw, 1rem);
  letter-spacing: 0.3em;
  color: var(--ink-3);
}

/* ───────── 09 · MANIFESTO ───────── */
.manifesto {
  height: 240vh;
}
.manifesto__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 var(--pad);
  max-width: 1150px;
  margin: 0 auto;
}
.manifesto__text {
  font-size: clamp(1.55rem, 3.6vw, 3.1rem);
  font-weight: 600;
  line-height: 1.75;
}
.wd {
  display: inline-block;
  color: rgba(242, 245, 248, 0.09);
  transition: color 0.1s linear;
}
.wd.on {
  color: var(--ink);
}
.wd.hl.on {
  color: var(--acc);
  text-shadow: 0 0 28px rgb(var(--acc-rgb) / 0.5);
}

/* ───────── 10 · STACK (horizontal features) ───────── */
.stack__pin {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 90px 0 60px;
}
.stack__head {
  padding: 0 var(--pad);
  margin-bottom: 48px;
}
.stack__progress {
  width: min(320px, 40vw);
  height: 1px;
  background: var(--line);
  margin-top: 26px;
}
.stack__bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--acc), var(--acc-2));
}
.stack__track {
  display: flex;
  gap: 22px;
  padding: 0 var(--pad);
  will-change: transform;
}
.cap {
  flex: none;
  width: min(420px, 82vw);
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008));
  padding: 200px 30px 34px;
  transition:
    border-color 0.55s var(--ease),
    transform 0.55s var(--ease);
}
.cap:hover {
  border-color: rgb(var(--acc-rgb) / 0.4);
  transform: translateY(-8px);
}
.cap__visual {
  position: absolute;
  inset: 0 0 auto;
  height: 170px;
  z-index: -1;
  filter: saturate(1.1);
  overflow: hidden;
}
.cap__visual::before {
  content: '';
  position: absolute;
  inset: -40%;
  filter: blur(46px);
  opacity: 0.8;
}
.cap__visual--1::before {
  background:
    radial-gradient(circle at 30% 40%, rgb(var(--acc-rgb) / 0.55), transparent 55%),
    radial-gradient(circle at 75% 70%, rgb(var(--acc-2-rgb) / 0.4), transparent 55%);
}
.cap__visual--2::before {
  background:
    radial-gradient(circle at 70% 30%, rgb(var(--acc-rgb) / 0.5), transparent 55%),
    radial-gradient(circle at 25% 75%, rgb(255 107 53 / 0.3), transparent 55%);
}
.cap__visual--3::before {
  background:
    radial-gradient(circle at 45% 60%, rgb(var(--acc-2-rgb) / 0.5), transparent 55%),
    radial-gradient(circle at 80% 25%, rgb(var(--acc-rgb) / 0.4), transparent 55%);
}
.cap__visual--4::before {
  background:
    radial-gradient(circle at 25% 30%, rgb(0 229 190 / 0.35), transparent 55%),
    radial-gradient(circle at 75% 75%, rgb(var(--acc-rgb) / 0.45), transparent 55%);
}
.cap__visual--5::before {
  background:
    radial-gradient(circle at 65% 40%, rgb(255 45 149 / 0.32), transparent 55%),
    radial-gradient(circle at 20% 70%, rgb(var(--acc-2-rgb) / 0.45), transparent 55%);
}
.cap__visual--6::before {
  background:
    radial-gradient(circle at 40% 30%, rgb(var(--acc-rgb) / 0.5), transparent 55%),
    radial-gradient(circle at 80% 80%, rgb(182 255 61 / 0.22), transparent 55%);
}
.cap__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg) 4%, transparent 60%);
}
.cap__idx {
  position: absolute;
  top: 22px;
  inset-inline-start: 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--ink-2);
  padding: 4px 10px;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  background: rgb(4 7 13 / 0.5);
  backdrop-filter: blur(6px);
}
.cap h3 {
  font-size: 1.42rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.cap h3 em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.75em;
  color: var(--acc);
  letter-spacing: 0.12em;
}
.cap p {
  color: var(--ink-2);
  font-size: 0.95rem;
}

/* ───────── 11 · STATS ───────── */
.stats {
  padding: 130px 0;
}
.stats__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.stat {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  padding: 46px 30px;
}
.stat__num {
  font-family: var(--mono);
  font-size: clamp(2.6rem, 4.6vw, 4rem);
  font-weight: 600;
  color: var(--acc);
  direction: ltr;
  text-align: start;
  line-height: 1;
}
.stat__label {
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 0.95rem;
}
.stat__glow {
  position: absolute;
  inset: auto -30% -70% -30%;
  height: 130%;
  background: radial-gradient(ellipse, rgb(var(--acc-rgb) / 0.22), transparent 68%);
  opacity: 0;
  transition: opacity 0.55s var(--ease);
  pointer-events: none;
}
.stat:hover .stat__glow {
  opacity: 1;
}

/* ───────── 12 · PLATFORM ───────── */
.plat {
  padding: 130px 0 60px;
}
.plat__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.proj {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
  margin-top: 100px;
}
.proj:nth-child(odd) {
  direction: ltr;
} /* alternate media side (base dir is rtl) */
.proj:nth-child(odd) > * {
  direction: rtl;
}
.proj__media {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  transform-style: preserve-3d;
  will-change: transform;
}
.proj__visual {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--panel);
}
.proj__visual::before {
  content: '';
  position: absolute;
  inset: -30%;
  filter: blur(52px);
  opacity: 0.75;
}
.proj__visual--tenants::before {
  background:
    radial-gradient(circle at 25% 30%, rgb(var(--acc-rgb) / 0.4), transparent 55%),
    radial-gradient(circle at 80% 70%, rgb(var(--acc-2-rgb) / 0.35), transparent 55%);
}
.proj__visual--brand::before {
  background:
    radial-gradient(circle at 70% 30%, rgb(var(--acc-2-rgb) / 0.38), transparent 55%),
    radial-gradient(circle at 25% 75%, rgb(var(--acc-rgb) / 0.42), transparent 55%);
}
.tn {
  position: absolute;
  inset-inline-start: 50%;
  width: 56%;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: rgb(10 16 28 / 0.82);
  backdrop-filter: blur(8px);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 24px 60px rgb(0 0 0 / 0.4);
}
.tn i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--acc);
  box-shadow: 0 0 14px 2px rgb(var(--acc-rgb) / 0.6);
}
.tn--1 {
  top: 16%;
  transform: translateX(60%);
}
.tn--2 {
  top: 40%;
  transform: translateX(44%);
}
.tn--2 i {
  background: var(--acc-2);
  box-shadow: 0 0 14px 2px rgb(var(--acc-2-rgb) / 0.6);
}
.tn--3 {
  top: 64%;
  transform: translateX(66%);
}
.tn--3 i {
  background: #ff6b9d;
  box-shadow: 0 0 14px 2px rgb(255 107 157 / 0.6);
}
.chip {
  position: absolute;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  border: 1px solid var(--line-2);
}
.chip--1 {
  top: 16%;
  inset-inline-start: 14%;
  background: linear-gradient(135deg, #3b82f6, #1e3a8a);
}
.chip--2 {
  top: 18%;
  inset-inline-start: 34%;
  background: linear-gradient(135deg, #7c5cff, #3d2b8f);
}
.chip--3 {
  top: 60%;
  inset-inline-start: 12%;
  background: linear-gradient(135deg, #0f172a, #020617);
}
.chip--4 {
  top: 63%;
  inset-inline-start: 32%;
  background: linear-gradient(135deg, #f8fafc, #94a3b8);
}
.brandmark {
  position: absolute;
  width: 34%;
  top: 50%;
  inset-inline-end: 12%;
  transform: translateY(-50%);
  opacity: 0.9;
  filter: drop-shadow(0 12px 40px rgb(var(--acc-rgb) / 0.35));
}
.proj__body h3 {
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  font-weight: 700;
  margin: 14px 0;
}
.proj__body p {
  color: var(--ink-2);
  max-width: 46ch;
}
.proj__num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--acc);
  letter-spacing: 0.3em;
}
.proj__meta {
  display: inline-block;
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.26em;
  color: var(--ink-3);
  direction: ltr;
}

/* ───────── 13 · ROADMAP ───────── */
.process {
  padding: 150px 0;
}
.process__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: start;
}
.process__side {
  position: sticky;
  top: 120px;
}
.process__lead {
  margin-top: 22px;
  color: var(--ink-2);
  max-width: 42ch;
}
.process__wrap {
  position: relative;
  padding-inline-start: 60px;
  display: flex;
  flex-direction: column;
  gap: 64px;
}
.process__line {
  position: absolute;
  inset-block: 8px;
  inset-inline-start: 0;
  width: 4px;
  height: calc(100% - 16px);
}
.pl-track {
  stroke: var(--line-2);
  stroke-width: 2;
}
.pl-fill {
  stroke: var(--acc);
  stroke-width: 2;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  filter: drop-shadow(0 0 6px rgb(var(--acc-rgb) / 0.9));
}
.step {
  position: relative;
  opacity: 0.35;
  transform: translateY(10px);
  transition:
    opacity 0.6s var(--ease),
    transform 0.6s var(--ease);
}
.step.is-on {
  opacity: 1;
  transform: none;
}
.step__dot {
  position: absolute;
  top: 6px;
  inset-inline-start: -66px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--line-2);
  transition: all 0.5s var(--ease);
}
.step.is-on .step__dot {
  background: var(--acc);
  border-color: var(--acc);
  box-shadow: 0 0 18px 3px rgb(var(--acc-rgb) / 0.6);
}
.step__phase {
  font-family: var(--ar);
  font-size: 12px;
  letter-spacing: 0;
  color: var(--ink-3);
}
.step.is-on .step__phase {
  color: var(--acc);
}
.step h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 10px 0 8px;
}
.step p {
  color: var(--ink-2);
  max-width: 52ch;
  font-size: 0.95rem;
}

/* ───────── 14 · CONTACT ───────── */
.contact {
  position: relative;
  padding: 170px var(--pad);
  text-align: center;
  overflow: hidden;
}
.contact__aura {
  position: absolute;
  left: 50%;
  top: 55%;
  width: 70vw;
  height: 70vw;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgb(var(--acc-rgb) / 0.16), transparent 62%);
  filter: blur(70px);
  animation: breathe 7s ease-in-out infinite;
}
@keyframes breathe {
  50% {
    transform: translate(-50%, -50%) scale(1.18);
    opacity: 0.75;
  }
}
.contact .sec-tag {
  justify-content: center;
}
.contact__title {
  font-size: clamp(2.3rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
  position: relative;
  z-index: 2;
}
.contact__sub {
  color: var(--ink-2);
  margin: 24px auto 44px;
  max-width: 52ch;
  position: relative;
  z-index: 2;
}
.contact .btn {
  position: relative;
  z-index: 2;
}
.contact__meta {
  margin-top: 44px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.26em;
  color: var(--ink-3);
  direction: ltr;
  position: relative;
  z-index: 2;
}

/* ───────── 15 · FOOTER ───────── */
.footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  padding: 60px var(--pad) 40px;
}
.footer__word {
  font-family: var(--sans);
  font-weight: 700;
  text-align: center;
  font-size: clamp(4.5rem, 17vw, 15rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  direction: ltr;
  user-select: none;
  background: linear-gradient(to bottom, rgba(242, 245, 248, 0.16), rgba(242, 245, 248, 0) 82%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.footer__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 26px;
  color: var(--ink-3);
  font-size: 0.85rem;
}
.footer__row a {
  color: var(--ink-2);
  transition: color 0.4s;
}
.footer__row a:hover {
  color: var(--acc);
}

/* ───────── 16 · RESPONSIVE ───────── */
@media (max-width: 1080px) {
  .hud {
    display: none;
  }
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .proj {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 70px;
  }
  .proj:nth-child(odd),
  .proj:nth-child(odd) > * {
    direction: inherit;
  }
  .process__grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .process__side {
    position: static;
  }
}
@media (max-width: 860px) {
  .nav__links {
    display: none;
  }
  .stack__track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .stack__track .cap {
    scroll-snap-align: center;
  }
  .manifesto {
    height: 200vh;
  }
}
@media (max-width: 560px) {
  .hero__title {
    font-size: 11.5vw;
  }
  .stats__grid {
    grid-template-columns: 1fr;
  }
  .btn--lg {
    padding: 16px 26px;
    font-size: 0.9rem;
  }
  .footer__row {
    justify-content: center;
    text-align: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
