/* ============================================================
   ARDAVOR — v4 "Brand Guardian"
   Dark luxury-consulting theme. Static, no build step.
   Display: Playfair Display · Body: Lora · UI/Data: Archivo
   Logical properties throughout → RTL-ready with [dir="rtl"].
   ============================================================ */

/* ---------- fonts (self-hosted, OFL) ---------- */
@font-face { font-family: "Playfair Display"; src: url("../fonts/playfair-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("../fonts/playfair-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("../fonts/playfair-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("../fonts/playfair-600-italic.woff2") format("woff2"); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Lora"; src: url("../fonts/lora-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Lora"; src: url("../fonts/lora-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Lora"; src: url("../fonts/lora-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url("../fonts/plex-arabic-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url("../fonts/plex-arabic-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

/* ---------- tokens ---------- */
:root {
  --bg0: #060E1C;          /* deepest */
  --bg1: #081527;          /* page base */
  --midnight: #0B1F3A;     /* brand midnight blue */
  --panel: #0D2138;
  --panel-2: #10294a;
  --line: rgba(160, 178, 200, 0.16);
  --line-gold: rgba(201, 162, 39, 0.35);
  --gold: #C9A227;
  --gold-soft: #E3C766;
  --gold-deep: #9A7B1E;
  --gold-grad: linear-gradient(105deg, #9A7B1E 0%, #C9A227 30%, #F3DF9A 50%, #C9A227 70%, #9A7B1E 100%);
  --emerald: #0E7C66;
  --silver: #C7CFDA;
  --txt: #C9D2DF;
  --txt-strong: #F2F5F9;
  --txt-mute: #8DA0B8;
  --bone: #F1EDE4;
  --paper: #FAF7F1;
  --ink: #1B2942;
  --ink-soft: #43536B;
  --hairline: #DCD5C6;
  --f-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --f-body: "Lora", Georgia, serif;
  --f-ui: "Archivo", Arial, sans-serif;
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--txt);
  background:
    radial-gradient(1200px 800px at 85% -10%, rgba(16, 41, 74, 0.55), transparent 60%),
    linear-gradient(180deg, var(--midnight) 0%, var(--bg1) 30%, var(--bg0) 100%) fixed,
    var(--bg0);
  opacity: 0;
  transition: opacity 0.45s ease;
}
body.loaded { opacity: 1; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold); color: var(--midnight); }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--bg0); }
::-webkit-scrollbar-thumb { background: #22354F; border: 3px solid var(--bg0); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-deep); }

.skip-link {
  position: absolute; inset-inline-start: -999px; top: 0;
  background: var(--gold); color: var(--midnight); padding: 0.5rem 1rem; z-index: 200;
  font-family: var(--f-ui);
}
.skip-link:focus { inset-inline-start: 0; }
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--f-display); font-weight: 600; line-height: 1.16; margin: 0 0 1.1rem; color: var(--txt-strong); }
h1 { font-size: clamp(2.1rem, 4.8vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h2.xl { font-size: clamp(1.9rem, 3.8vw, 2.8rem); max-width: 24em; }
h3 { font-size: 1.24rem; }
/* Gold accent words. Solid gold everywhere as the safe base; the gradient
   shimmer is layered on only where background-clip:text is supported.
   For split headlines (.headline .w spans) the gradient is painted on each
   word span — clipping through child elements is unreliable in WebKit. */
h1 em, h2 em, .st-line em, .quote em {
  font-style: italic; font-weight: 600; color: var(--gold-soft);
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  h2 em, .st-line em, .quote em,
  h1:not(.headline) em, .headline em .w {
    background: var(--gold-grad); background-size: 200% auto;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    animation: shimmer 6s linear infinite;
  }
}
@keyframes shimmer { to { background-position: 200% center; } }
p { margin: 0 0 1.1rem; }
.eyebrow {
  font-family: var(--f-ui); font-weight: 600; font-size: 0.76rem;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 1.3rem;
  display: flex; align-items: center; gap: 0.85rem;
}
.eyebrow::before { content: ""; width: 30px; height: 1px; background: var(--gold); flex: none; }
.lead { font-size: 1.2rem; line-height: 1.74; color: var(--txt-mute); max-width: 46em; }
.measure { max-width: 40em; }
.small { font-size: 0.92rem; color: var(--txt-mute); }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .lead { margin-inline: auto; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: 0.08s; } .d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; } .d4 { transition-delay: 0.32s; }
.headline .w { display: inline-block; opacity: 0; transform: translateY(0.55em) rotate(1.5deg); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.headline.in .w { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .headline .w { opacity: 1 !important; transform: none !important; transition: none !important; }
  * { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; }
}

/* ---------- header ---------- */
.site-header {
  background: rgba(6, 14, 28, 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-gold);
  position: sticky; top: 0; z-index: 100;
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: 0 12px 40px rgba(3, 8, 18, 0.7); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; min-height: 80px; transition: min-height 0.3s ease; }
.site-header.scrolled .wrap { min-height: 64px; }
.brand-link img { height: 36px; width: auto; transition: height 0.3s ease; }
.site-header.scrolled .brand-link img { height: 30px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(0.7rem, 1.6vw, 1.5rem); }
.site-nav a {
  font-family: var(--f-ui); font-weight: 500; font-size: 0.72rem;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: #AFBDCE; text-decoration: none; padding-block: 0.4rem; position: relative;
  white-space: nowrap;
}
.site-nav a::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: 0 50%;
  transition: transform 0.4s var(--ease);
}
.site-nav a:hover { color: var(--txt-strong); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { color: var(--gold-soft); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line-gold);
  color: var(--gold-soft); padding: 0.55rem 0.85rem; cursor: pointer;
  font-family: var(--f-ui); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
}
@media (max-width: 1020px) {
  .brand-link img, .site-header.scrolled .brand-link img { height: 28px; }
  .nav-toggle { display: block; }
  .site-nav {
    display: grid; grid-template-rows: 0fr; overflow: hidden;
    position: absolute; inset-inline: 0; top: 100%;
    background: var(--bg0); border-bottom: 1px solid var(--line-gold);
    transition: grid-template-rows 0.4s var(--ease);
  }
  .site-nav > ul { min-height: 0; }
  .site-nav.open { grid-template-rows: 1fr; }
  .site-nav ul { flex-direction: column; gap: 0; padding-block: 0.4rem; }
  .site-nav a { display: block; padding: 0.95rem clamp(1.25rem, 4vw, 2.5rem); }
  .site-nav a::after { display: none; }
  .site-nav a[aria-current="page"] { border-inline-start: 2px solid var(--gold); }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-rings { position: absolute; left: 82%; top: 40%; width: 0; height: 0; pointer-events: none; }
.hero-rings i, .hero-rings i::before {
  content: ""; position: absolute; border-radius: 50%;
  border: 1px dashed rgba(201, 162, 39, 0.3);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.hero-rings i { width: 260px; height: 260px; animation: orbit 80s linear infinite; }
.hero-rings i::before { width: 420px; height: 420px; border-color: rgba(201, 162, 39, 0.14); animation: orbit-r 130s linear infinite; }
@keyframes orbit { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes orbit-r { to { transform: translate(-50%, -50%) rotate(-360deg); } }
@media (max-width: 880px) { .hero-rings { display: none; } }
.hero-inner { position: relative; z-index: 2; padding-block: clamp(6rem, 14vw, 11rem) clamp(5rem, 11vw, 8.5rem); }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); line-height: 1.1; max-width: 17em; margin-bottom: 1.6rem; }
.hero-rule { width: 72px; height: 2px; background: var(--gold); margin-block: 2rem; position: relative; overflow: hidden; }
.hero-rule::after { content: ""; position: absolute; inset: 0; background: #fff; transform: translateX(-101%); animation: rule-sweep 2.6s var(--ease) 1.1s; }
@keyframes rule-sweep { 40% { transform: translateX(0); } 100% { transform: translateX(101%); } }
.scroll-hint {
  position: absolute; z-index: 3; left: 50%; bottom: 4.6rem; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  font-family: var(--f-ui); font-size: 0.62rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: rgba(175, 189, 206, 0.5);
}
.scroll-hint::after {
  content: ""; width: 1px; height: 44px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: drip 2.2s var(--ease) infinite; transform-origin: 50% 0;
}
@keyframes drip { 0% { transform: scaleY(0); } 55% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 880px) { .scroll-hint { display: none; } }
.hero-foot { position: relative; z-index: 2; border-top: 1px solid var(--line-gold); }
.hero-foot .wrap {
  display: flex; flex-wrap: wrap; gap: 0.4rem 2.6rem; padding-block: 1.15rem;
  font-family: var(--f-ui); font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--txt-mute);
}
.hero-foot .brass { color: var(--gold-soft); }

/* ---------- statement ---------- */
.statement {
  background: radial-gradient(700px 320px at 50% 130%, rgba(154, 123, 30, 0.18), transparent 65%);
  border-block: 1px solid var(--line);
  text-align: center; padding-block: clamp(3.4rem, 7vw, 5.6rem);
  position: relative; overflow: hidden;
}
.statement .st-ar { font-family: "IBM Plex Sans Arabic", var(--f-body); color: rgba(201, 162, 39, 0.7); font-size: 1.25rem; margin-bottom: 1rem; }
.statement .st-line { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.7rem, 4vw, 3rem); line-height: 1.2; color: var(--txt-strong); margin: 0 auto 0.9rem; max-width: 22em; }
.statement .st-sub { font-style: italic; color: var(--txt-mute); font-size: 1.08rem; margin: 0; }
.statement .st-orn { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.6rem; }
.statement .st-orn::before, .statement .st-orn::after { content: ""; width: 72px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.statement .st-orn::after { background: linear-gradient(90deg, var(--gold), transparent); }
.statement .st-orn svg { width: 12px; height: 12px; fill: var(--gold); transform: rotate(45deg); }

/* ---------- buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  font-family: var(--f-ui); font-weight: 600; font-size: 0.8rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 1.05rem 1.9rem; border: 1px solid transparent;
  position: relative; overflow: hidden; z-index: 1;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s ease;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: translateX(-101%); transition: transform 0.45s var(--ease); }
.btn:hover::before { transform: translateX(0); }
.btn--solid { background: var(--gold); color: var(--midnight); }
.btn--solid::before { background: var(--gold-grad); background-size: 200% auto; }
.btn--solid:hover { box-shadow: 0 10px 30px rgba(201, 162, 39, 0.35); }
.btn--gold { border-color: var(--gold); color: var(--gold-soft); background: transparent; }
.btn--gold::before { background: var(--gold-grad); background-size: 200% auto; }
.btn--gold:hover { color: var(--midnight); box-shadow: 0 8px 26px rgba(201, 162, 39, 0.3); }
.btn--ghost { border-color: var(--line); color: var(--silver); }
.btn--ghost::before { background: var(--silver); }
.btn--ghost:hover { color: var(--midnight); border-color: var(--silver); }
.btn--navy { background: var(--midnight); color: #fff; border-color: var(--line); }
.btn--navy::before { background: var(--gold-grad); background-size: 200% auto; }
.btn--navy:hover { color: var(--midnight); }

/* ---------- sections ---------- */
.section { padding-block: clamp(4rem, 9.5vw, 7rem); position: relative; }
.section--deep { background: var(--bg0); border-block: 1px solid var(--line); }
.section--panelband { background: linear-gradient(180deg, var(--panel) 0%, var(--bg1) 100%); border-block: 1px solid var(--line); }
.section--light { background: var(--bone); }
.section--light h1, .section--light h2, .section--light h3 { color: var(--ink); }
.section--light p, .section--light .lead { color: var(--ink-soft); }
.section--light .eyebrow { color: var(--gold-deep); }

/* frame ticks */
.frame { position: relative; }
.frame::before, .frame::after, .frame > .tick::before, .frame > .tick::after {
  content: ""; position: absolute; width: 16px; height: 16px; pointer-events: none;
  border: 0 solid var(--gold);
}
.frame::before { top: 0; inset-inline-start: 0; border-top-width: 1.5px; border-inline-start-width: 1.5px; }
.frame::after { top: 0; inset-inline-end: 0; border-top-width: 1.5px; border-inline-end-width: 1.5px; }
.frame > .tick::before { bottom: 0; inset-inline-start: 0; border-bottom-width: 1.5px; border-inline-start-width: 1.5px; }
.frame > .tick::after { bottom: 0; inset-inline-end: 0; border-bottom-width: 1.5px; border-inline-end-width: 1.5px; }

/* watermark seal (parallax via --wmY) */
.wm { position: relative; overflow: hidden; }
.wm::before {
  content: ""; position: absolute; inset-inline-end: -6%; top: 50%;
  width: min(46vw, 560px); aspect-ratio: 1;
  background: url("../img/ardavor-seal--white.svg") no-repeat center / contain;
  opacity: 0.035; transform: translateY(calc(-50% + var(--wmY, 0px)));
  pointer-events: none; transition: transform 0.15s linear;
}
.section--light.wm::before { background-image: url("../img/ardavor-seal--navy.svg"); opacity: 0.05; }

/* ---------- cards / pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.4vw, 2rem); margin-top: 2.8rem; }
.pillar {
  background: rgba(255, 255, 255, 0.028); border: 1px solid var(--line);
  padding: 2.1rem 1.9rem 2.2rem; position: relative; overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s ease, background 0.4s ease;
}
.pillar::before {
  content: ""; position: absolute; top: 0; inset-inline: 0; height: 2px;
  background: var(--gold-grad); background-size: 200% auto;
  transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.55s var(--ease);
}
.pillar:hover { transform: translateY(-7px); border-color: var(--line-gold); background: rgba(201, 162, 39, 0.05); box-shadow: 0 26px 52px rgba(3, 8, 18, 0.55); }
.pillar:hover::before { transform: scaleX(1); }
.pillar .num { font-family: var(--f-display); font-style: italic; font-weight: 600; color: var(--gold); font-size: 1.5rem; }
.pillar h3 { margin: 0.5rem 0 0.8rem; }
.pillar p { color: var(--txt-mute); font-size: 1rem; margin: 0; }
@media (max-width: 780px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- service / generic grid cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.6rem); margin-top: 2.8rem; }
.svc-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .svc-grid, .svc-grid--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .svc-grid, .svc-grid--3 { grid-template-columns: 1fr; } }
.svc-card {
  display: block; text-decoration: none;
  background: rgba(255, 255, 255, 0.028); border: 1px solid var(--line);
  padding: 1.8rem 1.6rem; position: relative;
  transition: background 0.4s ease, border-color 0.4s ease, transform 0.5s var(--ease), box-shadow 0.5s ease;
}
.svc-card:hover { background: rgba(201, 162, 39, 0.07); border-color: var(--gold); transform: translateY(-6px); box-shadow: 0 22px 44px rgba(3, 8, 18, 0.6); }
.svc-card .ico { margin-bottom: 1.2rem; }
.svc-card .ico svg { width: 40px; height: 40px; stroke: var(--gold-soft); fill: none; stroke-width: 1.4; }
.svc-card h3 { font-size: 1.16rem; margin-bottom: 0.55rem; }
.svc-card p { color: var(--txt-mute); font-size: 0.95rem; margin: 0; }
.svc-card .more {
  display: inline-block; margin-top: 1.1rem;
  font-family: var(--f-ui); font-weight: 600; font-size: 0.7rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-soft);
  transition: transform 0.35s var(--ease);
}
.svc-card:hover .more { transform: translateX(6px); }

/* ---------- flow / methodology ---------- */
.flow-wrap { margin-top: 3.2rem; position: relative; }
.flow-line { position: absolute; top: 24px; inset-inline: 0; height: 1px; background: var(--line); }
.flow-line i { position: absolute; inset-block: 0; inset-inline-start: 0; width: 0; background: var(--gold); transition: width 1.8s var(--ease); }
.flow-wrap.in .flow-line i { width: 100%; }
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.2rem, 2.5vw, 2.2rem); position: relative; }
.flow--3 { grid-template-columns: repeat(3, 1fr); }
.flow + .flow { margin-top: 2.6rem; }
.flow-step .badge {
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--midnight); color: var(--gold-soft); border: 1px solid var(--gold);
  font-family: var(--f-display); font-style: italic; font-weight: 600; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem;
  position: relative; z-index: 1;
  transition: background 0.4s ease, color 0.4s ease, transform 0.45s var(--ease), box-shadow 0.4s ease;
}
.flow-step:hover .badge { background: var(--gold); color: var(--midnight); transform: scale(1.1); box-shadow: 0 8px 24px rgba(201, 162, 39, 0.4); }
.flow-step h3 { font-size: 1.16rem; margin-bottom: 0.6rem; }
.flow-step p { color: var(--txt-mute); font-size: 0.95rem; margin: 0; }
@media (max-width: 860px) { .flow, .flow--3 { grid-template-columns: 1fr 1fr; } .flow-line { display: none; } }
@media (max-width: 520px) { .flow, .flow--3 { grid-template-columns: 1fr; } }

/* ---------- model comparison ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.4rem, 3vw, 2.6rem); margin-top: 2.8rem; align-items: start; }
@media (max-width: 840px) { .compare { grid-template-columns: 1fr; } }
.model-col { border: 1px solid var(--line); padding: 2rem 1.8rem 2.2rem; background: rgba(255, 255, 255, 0.02); }
.model-col.gold { border-color: var(--line-gold); background: linear-gradient(180deg, rgba(201, 162, 39, 0.07), rgba(201, 162, 39, 0.015)); }
.model-col .mc-title {
  font-family: var(--f-ui); font-weight: 600; font-size: 0.74rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--txt-mute);
  margin-bottom: 1.6rem; display: flex; align-items: center; gap: 0.7rem;
}
.model-col.gold .mc-title { color: var(--gold-soft); }
.mc-title::before { content: ""; width: 8px; height: 8px; background: currentColor; transform: rotate(45deg); }
.node {
  border: 1px solid var(--line); background: var(--panel);
  padding: 0.85rem 1.1rem; text-align: center;
  font-family: var(--f-ui); font-weight: 500; font-size: 0.86rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--silver);
  position: relative;
}
.model-col.gold .node { border-color: var(--line-gold); }
.node.hub { background: var(--gold); color: var(--midnight); font-weight: 600; border-color: var(--gold); }
.node + .node, .node + .node-multi, .node-multi + .node { margin-top: 2rem; }
.node + .node::before, .node + .node-multi::before, .node-multi + .node::before {
  content: ""; position: absolute; top: -2rem; left: 50%; width: 1px; height: 2rem;
  background: linear-gradient(180deg, transparent, var(--gold));
}
.model-col:not(.gold) .node + .node::before { background: linear-gradient(180deg, transparent, var(--txt-mute)); }
.node-multi { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.5rem; position: relative; }
.node-multi .node { margin: 0; font-size: 0.7rem; padding: 0.6rem 0.4rem; }
.mc-result { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.mc-result span {
  font-family: var(--f-ui); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  border: 1px solid var(--line); color: var(--txt-mute); padding: 0.35rem 0.7rem;
}
.model-col.gold .mc-result span { border-color: var(--line-gold); color: var(--gold-soft); }

/* ---------- chip cloud (channels / industries) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 2.4rem; }
.chip {
  font-family: var(--f-ui); font-weight: 500; font-size: 0.8rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid var(--line); color: var(--silver);
  padding: 0.6rem 1.1rem; background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease, transform 0.35s var(--ease);
}
.chip:hover { border-color: var(--gold); color: var(--gold-soft); background: rgba(201, 162, 39, 0.06); transform: translateY(-3px); }

/* industries grid */
.ind-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 0.9rem; margin-top: 2.8rem; }
.ind {
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025);
  padding: 1.3rem 1.2rem; font-family: var(--f-ui); font-weight: 500;
  font-size: 0.85rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--silver);
  position: relative; overflow: hidden;
  transition: border-color 0.3s ease, color 0.3s ease, transform 0.4s var(--ease), background 0.3s ease;
}
.ind::before { content: ""; position: absolute; inset-inline-start: 0; top: 0; bottom: 0; width: 2px; background: var(--gold-grad); transform: scaleY(0); transform-origin: 50% 0; transition: transform 0.4s var(--ease); }
.ind:hover { border-color: var(--line-gold); color: var(--gold-soft); transform: translateY(-4px); background: rgba(201, 162, 39, 0.05); }
.ind:hover::before { transform: scaleY(1); }

/* ---------- dashboard ---------- */
.dash-note { font-style: italic; font-size: 0.9rem; color: var(--txt-mute); margin-top: 1.4rem; }
.dash-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2.8rem; }
@media (max-width: 980px) { .dash-grid { grid-template-columns: 1fr 1fr; } }
.kpi {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line); padding: 1.5rem 1.4rem 1.3rem;
  position: relative; overflow: hidden;
}
.kpi::after { content: ""; position: absolute; top: 0; inset-inline: 0; height: 2px; background: var(--gold-grad); background-size: 200% auto; animation: shimmer 8s linear infinite; }
.kpi .label { font-family: var(--f-ui); font-weight: 500; font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--txt-mute); margin-bottom: 0.7rem; }
.kpi .val { font-family: var(--f-ui); font-weight: 600; font-size: clamp(1.9rem, 3vw, 2.5rem); color: var(--txt-strong); line-height: 1; }
.kpi .val .unit { font-size: 0.55em; color: var(--gold-soft); }
.kpi .sub { font-size: 0.82rem; color: var(--emerald); font-family: var(--f-ui); margin-top: 0.55rem; }
.kpi .sub.dim { color: var(--txt-mute); }
.dash-charts { display: grid; grid-template-columns: 3fr 2fr; gap: 1rem; margin-top: 1rem; }
@media (max-width: 980px) { .dash-charts { grid-template-columns: 1fr; } }
.chart-panel { background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); padding: 1.4rem; }
.chart-panel .label { font-family: var(--f-ui); font-weight: 500; font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--txt-mute); margin-bottom: 1rem; display: flex; justify-content: space-between; }
.chart-panel .label .tag { color: var(--gold-soft); }
.chart-panel canvas { width: 100%; height: 220px; }

/* ---------- quote ---------- */
.quote-sec { text-align: center; }
.quote {
  font-family: var(--f-display); font-style: italic; font-weight: 500;
  font-size: clamp(1.4rem, 3vw, 2.1rem); line-height: 1.45;
  color: var(--txt-strong); max-width: 30em; margin: 0 auto;
  position: relative; padding-top: 3rem;
}
.quote::before {
  content: "\201C"; position: absolute; top: -0.6rem; left: 50%; transform: translateX(-50%);
  font-size: 5.5rem; line-height: 1; color: var(--gold); opacity: 0.65; font-style: normal;
}
.quote-attr { margin-top: 1.8rem; font-family: var(--f-ui); font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--txt-mute); }

/* ---------- vision ---------- */
.vision { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.5vw, 2.4rem); margin-top: 2.8rem; position: relative; }
@media (max-width: 780px) { .vision { grid-template-columns: 1fr; } }
.vis-step { border-top: 1px solid var(--line); padding-top: 1.5rem; position: relative; }
.vis-step::before { content: ""; position: absolute; top: -1px; inset-inline-start: 0; width: 56px; height: 1px; background: var(--gold); }
.vis-step .when { font-family: var(--f-ui); font-weight: 600; font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 0.7rem; }
.vis-step h3 { font-size: 1.5rem; }
.vis-step p { color: var(--txt-mute); font-size: 0.98rem; }

/* ---------- checklist ---------- */
.checklist { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.5rem; }
.checklist--2col { grid-template-columns: 1fr 1fr; gap: 1.5rem 3rem; }
@media (max-width: 780px) { .checklist--2col { grid-template-columns: 1fr; } }
.checklist li { padding-inline-start: 1.8rem; position: relative; color: var(--txt-mute); }
.checklist li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 0.5em;
  width: 0.7rem; height: 0.7rem; background: var(--gold);
  transform: rotate(45deg); transition: transform 0.4s var(--ease);
}
.checklist li:hover::before { transform: rotate(225deg); }
.checklist strong { display: block; color: var(--txt-strong); font-family: var(--f-display); font-weight: 600; font-size: 1.14rem; margin-bottom: 0.3rem; }

/* fail list (problem section) */
.fail-list { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem 2.6rem; }
@media (max-width: 700px) { .fail-list { grid-template-columns: 1fr; } }
.fail-list li { position: relative; padding-inline-start: 1.7rem; color: var(--txt-mute); font-size: 1rem; border-bottom: 1px solid var(--line); padding-bottom: 0.9rem; }
.fail-list li::before, .fail-list li::after {
  content: ""; position: absolute; inset-inline-start: 0.15rem; top: 0.72em;
  width: 0.85rem; height: 1.5px; background: #A5586A;
}
.fail-list li::before { transform: rotate(45deg); }
.fail-list li::after { transform: rotate(-45deg); }

/* ---------- accordion ---------- */
.accordion { margin-top: 2.6rem; border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); transition: background 0.3s ease; }
.acc-item.open { background: rgba(201, 162, 39, 0.045); }
.acc-head {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; gap: 1.4rem;
  padding: 1.6rem 0.6rem; text-align: start;
  font-family: var(--f-display); font-weight: 600; font-size: 1.26rem; color: var(--txt-strong);
  transition: color 0.3s ease, padding-inline-start 0.35s var(--ease);
}
.acc-head:hover { color: var(--gold-soft); padding-inline-start: 1rem; }
.acc-head .no { font-style: italic; color: var(--gold); font-size: 1.02rem; flex: none; }
.acc-head .plus { margin-inline-start: auto; flex: none; width: 22px; height: 22px; position: relative; transition: transform 0.4s var(--ease); }
.acc-head .plus::before, .acc-head .plus::after { content: ""; position: absolute; background: var(--gold); inset: 0; margin: auto; }
.acc-head .plus::before { width: 100%; height: 1.5px; }
.acc-head .plus::after { width: 1.5px; height: 100%; transition: transform 0.4s var(--ease); }
.acc-item.open .plus { transform: rotate(90deg); }
.acc-item.open .plus::after { transform: scaleY(0); }
.acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease); }
.acc-body > div { min-height: 0; overflow: hidden; padding-inline: 0.6rem; }
.acc-item.open .acc-body { grid-template-rows: 1fr; }
.acc-body p, .acc-body ul { color: var(--txt-mute); max-width: 52em; }
.acc-body > div > :first-child { margin-top: 0.2rem; }
.acc-body > div > :last-child { margin-bottom: 1.9rem; }
.acc-body ul { margin: 0 0 1rem; padding-inline-start: 1.2rem; }
.acc-body li { margin-bottom: 0.45rem; }
.acc-body li::marker { color: var(--gold); }

/* ---------- forms (light card on dark) ---------- */
.form-card { background: var(--paper); border: 1px solid var(--hairline); padding: clamp(1.7rem, 4vw, 2.7rem); color: var(--ink); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 1.4rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-family: var(--f-ui); font-weight: 600; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 0.5rem; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--f-body); font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid var(--hairline); padding: 0.8rem 0.95rem; border-radius: 0;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.22); }
.field textarea { min-height: 8.5rem; resize: vertical; }
.form-note { font-size: 0.9rem; color: var(--ink-soft); margin-top: 1.1rem; }
.form-note a { color: var(--gold-deep); }
.form-status { margin-top: 1rem; font-size: 0.98rem; font-style: italic; color: var(--gold-deep); display: none; }
.form-status.visible { display: block; }

/* ---------- contact details ---------- */
.detail-list { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.35rem; }
.detail-list .label { font-family: var(--f-ui); font-weight: 600; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-soft); display: block; margin-bottom: 0.25rem; }
.detail-list a { text-decoration: none; color: var(--txt); }
.detail-list a:hover { color: var(--gold-soft); text-decoration: underline; }

/* ---------- insights ---------- */
.insight-meta { font-family: var(--f-ui); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-soft); }

/* ---------- generic two-col ---------- */
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 840px) { .cols-2 { grid-template-columns: 1fr; } }

/* ---------- name/mark story ---------- */
.name-story {
  background: radial-gradient(500px 300px at 80% 110%, rgba(154, 123, 30, 0.2), transparent 60%), linear-gradient(160deg, var(--panel-2) 0%, var(--bg0) 100%);
  border: 1px solid var(--line);
  padding: clamp(2.4rem, 5vw, 3.8rem);
}
.name-story .word { font-family: var(--f-display); font-weight: 600; color: var(--txt-strong); font-size: clamp(2rem, 4vw, 2.9rem); letter-spacing: 0.04em; margin-bottom: 0.3rem; }
.name-story .ar { font-family: "IBM Plex Sans Arabic", var(--f-body); font-size: 1.6rem; color: var(--gold-soft); margin-bottom: 1.6rem; }
.name-story em { color: var(--gold-soft); }

/* ---------- cta band ---------- */
.cta-band { background: radial-gradient(900px 420px at 85% 0%, rgba(16, 41, 74, 0.6), transparent 60%), linear-gradient(180deg, var(--midnight) 0%, var(--bg0) 100%); border-top: 1px solid var(--line-gold); }
.cta-band h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); max-width: 22em; }
.cta-band .lead { color: var(--txt-mute); }

/* ---------- footer ---------- */
.site-footer { background: var(--bg0); color: var(--txt-mute); font-size: 0.98rem; border-top: 1px solid var(--line-gold); }
.site-footer .top { display: grid; grid-template-columns: minmax(180px, 240px) 1fr minmax(200px, 260px); gap: clamp(2rem, 5vw, 4rem); padding-block: clamp(3rem, 6vw, 4.5rem); }
@media (max-width: 900px) { .site-footer .top { grid-template-columns: 1fr; } }
.site-footer img { width: 130px; height: auto; }
.ft-tag { font-family: var(--f-ui); font-weight: 600; font-size: 0.62rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-soft); margin-top: 0.9rem; }
.site-footer h3 { color: var(--gold-soft); font-family: var(--f-ui); font-weight: 600; font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 1.1rem; }
.site-footer p { color: var(--txt-mute); font-size: 0.95rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.site-footer a { color: var(--silver); text-decoration: none; transition: color 0.25s ease; }
.site-footer a:hover { color: var(--gold-soft); }
.site-footer .legal { border-top: 1px solid var(--line); padding-block: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.6rem 2rem; justify-content: space-between; font-size: 0.85rem; color: #6E7F96; }
.site-footer .legal .ar-name { font-family: "IBM Plex Sans Arabic", var(--f-body); }

/* ---------- to top ---------- */
.to-top {
  position: fixed; inset-inline-end: 1.4rem; bottom: 1.4rem; z-index: 90;
  width: 48px; height: 48px; border: 1px solid var(--gold-deep); border-radius: 50%; cursor: pointer;
  background: var(--midnight); color: var(--gold-soft);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s var(--ease), background 0.3s ease, color 0.3s ease;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--gold); color: var(--midnight); }
.to-top svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2; fill: none; }

.mt-0 { margin-top: 0; }
