/* =============================================================
   MVVGT — Endless Limits, Beyond The Borders
   Design system: The Line motif | Sharp confident sans
   Mobile-first. No blur filters. No particles. Performance-first.
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600;700&family=Inter+Tight:wght@500;600;700;800;900&family=Space+Mono:wght@400;700&family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&display=swap');

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  /* Colors */
  --c-red:        #EF3340;
  --c-red-deep:   #c1262f;
  --c-red-glow:   rgba(239, 51, 64, .55);
  --c-white:      #FFFFFF;
  --c-paper:      #F4F2EE;
  --c-grey:       #A3A3A3;
  --c-grey-mid:   #6B6B6B;
  --c-grey-line:  rgba(255, 255, 255, .08);
  --c-bg:         #050505;
  --c-bg-soft:    #0B0B0B;
  --c-bg-panel:   #131313;
  --c-bg-paper:   #F4F2EE;

  /* Spacing — 4-tier scale */
  --space-1:        8px;
  --space-2:        16px;
  --space-3:        24px;
  --space-4:        32px;
  --space-5:        48px;
  --space-6:        64px;
  --space-7:        96px;
  --space-8:        140px;
  --space-9:        200px;

  /* Semantic spacing (mobile defaults) — TIGHTENED 2026-05-19 */
  --pad-intimate:   var(--space-3);   /* tight gaps within content */
  --pad-section:    var(--space-4);   /* between blocks in a section */
  --pad-chapter:    56px;             /* between major sections */
  --pad-breakout:   80px;             /* hero pre-content + footer top */

  /* Container */
  --container-max:  1440px;
  --container-pad:  20px;

  /* Typography */
  --ff-display:     'Cinzel', Georgia, 'Times New Roman', serif;        /* MVVGT brand face — uppercase only */
  --ff-sans-display:'Inter Tight', 'Inter', system-ui, sans-serif;       /* secondary headlines (mixed-case content) */
  --ff-body:        'Inter', system-ui, -apple-system, sans-serif;
  --ff-mono:        'Space Mono', 'JetBrains Mono', ui-monospace, monospace;
  --ff-arabic:      'IBM Plex Sans Arabic', 'Cairo', system-ui, sans-serif;

  /* Type scale — sized for Cinzel uppercase (caps read ~15% larger than lowercase at same px) */
  --fs-mono:        11px;
  --fs-eyebrow:     10px;
  --fs-body:        16px;
  --fs-lead:        18px;
  --fs-h3:          22px;
  --fs-h2:          clamp(30px, 5.5vw, 60px);
  --fs-h1:          clamp(40px, 8vw, 104px);
  --fs-hero:        clamp(48px, 11.5vw, 168px);

  /* Motion */
  --t-line:         cubic-bezier(.77, 0, .18, 1);
  --t-soft:         cubic-bezier(.2, .7, .2, 1);
  --t-snap:         cubic-bezier(.22, 1, .36, 1);

  /* Lines */
  --line-h:         1px;
  --line-color:     var(--c-red);
}

@media (min-width: 720px) {
  :root {
    --pad-section:  var(--space-5);
    --pad-chapter:  80px;
    --pad-breakout: 100px;
    --container-pad: 40px;
    --fs-body:      17px;
    --fs-lead:      20px;
  }
}
@media (min-width: 1200px) {
  :root {
    --pad-chapter:  100px;
    --pad-breakout: 140px;
    --container-pad: 64px;
  }
}

/* ============================================================
   BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; max-width: 100vw; }
/* Mobile horizontal-overflow safety net — clamps every common section so
   nothing can escape the viewport. */
@media (max-width: 720px) {
  html, body { max-width: 100vw; overflow-x: hidden; }
  body > main, body > header, body > footer { max-width: 100vw; overflow-x: hidden; }
  .aw-page, .aw-home { max-width: 100vw; overflow-x: hidden; }
  .aw-stack, .aw-stack__panel, .aw-inner__hero, .aw-detail-hero {
    max-width: 100vw; overflow-x: clip;
  }
  body > *, main > *, section > * { max-width: 100vw; }
}

html, body { margin: 0; padding: 0; }
body {
  background: var(--c-bg);
  color: var(--c-white);
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  font-feature-settings: 'ss01' on, 'cv11' on;
}
body.lang-ar { font-family: var(--ff-arabic); }
img, svg, video, canvas { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--c-red); outline-offset: 3px; }

/* Skip link: hidden using clip technique (no off-screen positioning).
   The previous `left: -9999px` extends document scroll on mobile in RTL
   contexts, causing horizontal overflow on Arabic pages.
   On :focus, the link unhides and snaps into the viewport corner. */
.skip-link {
  position: absolute; top: 0;
  inset-inline-start: 0;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0); clip-path: inset(50%);
  white-space: nowrap;
  background: var(--c-red); color: #fff; padding: 8px 14px;
  z-index: 200;
}
.skip-link:focus {
  width: auto; height: auto;
  inset-inline-start: 16px; top: 16px;
  overflow: visible;
  clip: auto; clip-path: none;
  white-space: normal;
}

/* Visually hide but keep accessible to screen readers + crawlers */
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ============================================================
   TYPOGRAPHY — Cinzel (brand display, uppercase) + Inter
   ============================================================ */
.display, h1, h2 {
  font-family: var(--ff-display);   /* Cinzel */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.0;
  margin: 0;
}
h1, .display-xl   { font-size: var(--fs-h1);   font-weight: 700; }
h2, .display-l    { font-size: var(--fs-h2);   font-weight: 600; line-height: 1.04; }
.display-hero     { font-size: var(--fs-hero); font-weight: 800; line-height: 0.95; letter-spacing: 0.012em; }

/* Mid-tier headings — Inter Tight, mixed case, easier to read at smaller sizes */
h3, h4, .display-m {
  font-family: var(--ff-sans-display);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 0;
}
h3, .display-m { font-size: var(--fs-h3); }
h4 { font-size: 16px; }

p { margin: 0; }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: rgba(255,255,255,.78); max-width: 60ch; }
.body { font-size: var(--fs-body); color: rgba(255,255,255,.78); }

.mono, .eyebrow {
  font-family: var(--ff-mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-grey);
  line-height: 1;
}
.eyebrow--red { color: var(--c-red); }

/* Arabic: Cinzel has no Arabic glyphs — fall back to IBM Plex Sans Arabic and undo uppercase */
body.lang-ar .display,
body.lang-ar h1, body.lang-ar h2, body.lang-ar h3, body.lang-ar h4,
body.lang-ar .display-xl, body.lang-ar .display-l, body.lang-ar .display-hero, body.lang-ar .display-m {
  font-family: var(--ff-arabic); font-weight: 700; letter-spacing: 0; line-height: 1.15;
  text-transform: none;
}
body.lang-ar .lead, body.lang-ar p, body.lang-ar .body { font-family: var(--ff-arabic); }


/* ============================================================
   AWWWARDS HOME (2026-05-21) — typographic pivot, home page only
   Massive type, asymmetric layouts, custom cursor, magnetic hover.
   Scoped under .aw-home; doesn't touch atelier/inner-page system.
   ============================================================ */
.aw-home, .aw-page { background: #000; color: var(--c-white); position: relative; }
.aw-home a, .aw-page a { color: inherit; }
/* Note: overflow-x: clip removed from .aw-home and sections — it breaks sticky positioning.
   Body already has overflow-x: hidden in BASE styles, which keeps horizontal scroll out. */

/* ---------- STACKING SCROLL (sticky panels — each layer slides over the previous) ---------- */
.aw-stack {
  position: relative;
  /* No overflow set — sticky needs a clean scrollport */
}
/* Higher specificity (.aw-stack > .aw-stack__panel) so this WINS against
   .aw-pillar / .aw-closer which set their own position: relative. */
.aw-stack > .aw-stack__panel {
  position: sticky !important;
  top: 0;
  min-height: 100vh;
  background: #060606;
  border-top: 1px solid rgba(255,255,255,.06);
  /* Soft shadow on the top edge of each layer — visible because the previous layer sits behind */
  box-shadow: 0 -22px 40px -22px rgba(0,0,0,.85);
}
/* Alternate panel backgrounds so layer arrival reads visually */
.aw-stack > .aw-stack__panel:nth-child(odd)  { background: #050505; }
.aw-stack > .aw-stack__panel:nth-child(even) { background: #0c0c0c; }
.aw-stack > .aw-stack__panel:first-child { box-shadow: none; }

/* On mobile, sticky stacking can feel claustrophobic — fall back to normal scroll */
@media (max-width: 720px) {
  .aw-stack > .aw-stack__panel { position: relative !important; top: auto; min-height: auto; box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) {
  .aw-stack > .aw-stack__panel { position: relative !important; top: auto; box-shadow: none; }
}

/* Hide system cursor on Awwwards pages (desktop) */
@media (hover: hover) and (pointer: fine) {
  .aw-home, .aw-home *, .aw-page, .aw-page * { cursor: none; }
}

/* ---------- Custom cursor ---------- */
.aw-cursor {
  position: fixed; top: 0; left: 0;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--c-red);
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  will-change: transform;
  opacity: 0;
  transition: opacity .35s var(--t-line);
}
.aw-home ~ .aw-cursor, .aw-page ~ .aw-cursor,
body:has(.aw-home) .aw-cursor, body:has(.aw-page) .aw-cursor { opacity: 1; }
.aw-cursor.is-hover {
  background: var(--c-white);
  mix-blend-mode: difference;
}
@media (hover: none), (pointer: coarse) { .aw-cursor { display: none; } }

/* ---------- 1A. HOME SKYLINE (Three.js Dubai skyline replaces MVVGT type) ---------- */
.aw-skyline {
  position: absolute; inset: 0;
  z-index: 1;
  pointer-events: none;
}
.aw-skyline canvas {
  width: 100% !important; height: 100% !important;
  display: block;
}

/* ---------- 1B. PILLAR / HERO SYMBOLS ---------- */
.aw-pillar__symbol,
.aw-inner__hero-symbol {
  display: flex; align-items: center; justify-content: center;
  width: 100%;
}
.aw-pillar__symbol svg,
.aw-inner__hero-symbol svg {
  width: 100%; max-width: clamp(180px, 60vw, 380px); height: auto;
}
.aw-inner__hero-symbol {
  margin: 0 auto 28px;
  max-width: clamp(180px, 60vw, 320px);
}
.aw-inner__hero-symbol svg .aw-flow,
.aw-inner__hero-symbol svg .aw-pulse {
  transform-origin: center;
  animation: aw-sym-pulse 2.6s ease-in-out 1500ms 3;
}
@keyframes aw-sym-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: .4; }
}

/* Entrance — hero symbol DRAWS itself in: every stroked element traces from
   stroke-dashoffset=full to 0 over ~1.6s. Filled elements (red dots, text monograms)
   fade in after the lines complete. */
.aw-inner__hero-symbol svg {
  opacity: 1;
}
/* All stroked wireframe elements draw in via stroke-dasharray. */
.aw-inner__hero-symbol svg line,
.aw-inner__hero-symbol svg path,
.aw-inner__hero-symbol svg polyline,
.aw-inner__hero-symbol svg rect,
.aw-inner__hero-symbol svg circle,
.aw-inner__hero-symbol svg ellipse {
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: aw-hero-draw 1.6s cubic-bezier(.6, 0, .2, 1) 250ms forwards;
}
/* Solid filled elements (red accent dots, M monograms, brand patches) fade in
   AFTER the line drawing completes. Override the dasharray so they don't try
   to "draw" — they have no stroke, so dasharray would just hide them. */
.aw-inner__hero-symbol svg [fill="#EF3340"],
.aw-inner__hero-symbol svg text {
  stroke-dasharray: 0;
  stroke-dashoffset: 0;
  opacity: 0;
  animation: aw-hero-fill-in 600ms ease 1600ms forwards;
}
@keyframes aw-hero-draw    { to { stroke-dashoffset: 0; } }
@keyframes aw-hero-fill-in { to { opacity: 1; } }

/* Red strokes (.aw-pulse) draw in with the other strokes, then pulse 3 times after. */
.aw-inner__hero-symbol svg .aw-pulse {
  animation:
    aw-hero-draw 1.6s cubic-bezier(.6, 0, .2, 1) 250ms forwards,
    aw-sym-pulse 2.6s ease-in-out 2100ms 3;
}

@media (prefers-reduced-motion: reduce) {
  .aw-inner__hero-symbol svg,
  .aw-inner__hero-symbol svg *,
  .aw-inner__hero-symbol svg .aw-pulse {
    stroke-dashoffset: 0 !important;
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

/* ---------- DETAIL HERO LOGO (brand-detail / saas-detail) ---------- */
.aw-detail-logo {
  display: flex; align-items: center; justify-content: center;
  max-width: 480px; max-height: 200px;
  margin: 0 auto 28px;
}
.aw-detail-logo img {
  max-width: 100%; max-height: 200px;
  width: auto; height: auto;
  display: block;
  object-fit: contain;
}

/* ---------- 1. HERO ---------- */
.aw-hero {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  overflow: hidden;
  padding: 100px 0 40px;
}

/* Top marquee strip */
.aw-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 12px 0;
}
.aw-marquee--top { position: absolute; top: 80px; left: 0; right: 0; }
.aw-marquee__track {
  display: inline-flex; align-items: center; gap: clamp(24px, 4vw, 60px);
  white-space: nowrap;
  animation: aw-marquee-run 38s linear infinite;
  will-change: transform;
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: .35em;
  text-transform: uppercase; color: rgba(255, 255, 255, .55);
}
.aw-marquee__track > * { flex: 0 0 auto; }
@keyframes aw-marquee-run {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
body.lang-ar .aw-marquee__track { animation-direction: reverse; }

/* ============================================================
   TAGLINE MARQUEE — big Cinzel scroll with 3D perspective tilt.
   Used on home between pillar 3 and the manifesto.
   ============================================================ */
.aw-tagline {
  position: relative;
  padding: clamp(56px, 10vh, 120px) 0;
  overflow: hidden;
  background: var(--c-bg);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  perspective: 1000px;
}
.aw-tagline__stage {
  transform-style: preserve-3d;
  transform: rotateX(-14deg) translateZ(-40px);
  transform-origin: center 60%;
  display: inline-flex;
  white-space: nowrap;
  width: 100%;
}
.aw-tagline__track {
  display: inline-flex; align-items: center;
  gap: clamp(24px, 3.6vw, 56px);
  white-space: nowrap;
  font-family: var(--ff-display); font-weight: 800;
  font-size: clamp(40px, 6.5vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.018em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .92);
  animation: aw-tagline-scroll 36s linear infinite;
  will-change: transform;
}
.aw-tagline__track > * { flex: 0 0 auto; }
.aw-tagline__word {
  /* faux 3D depth via text-shadow stack */
  text-shadow:
    0 1px 0 rgba(255,255,255,.06),
    0 2px 0 rgba(255,255,255,.04),
    0 3px 0 rgba(255,255,255,.03),
    0 5px 12px rgba(0,0,0,.6);
}
.aw-tagline__word--alt {
  color: transparent;
  -webkit-text-stroke: 1.4px rgba(255, 255, 255, .85);
  text-shadow: none;
}
.aw-tagline__sep {
  font-size: .7em;
  color: var(--c-red);
  filter: drop-shadow(0 0 8px rgba(239, 51, 64, .5));
}
@keyframes aw-tagline-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
body.lang-ar .aw-tagline__track { animation-direction: reverse; }
body.lang-ar .aw-tagline { /* keep Arabic body font for tagline */ }
body.lang-ar .aw-tagline__track { font-family: var(--ff-arabic); letter-spacing: 0; }
@media (max-width: 720px) {
  .aw-tagline { padding: clamp(40px, 7vh, 80px) 0; }
  .aw-tagline__stage { transform: rotateX(-10deg); }
}

/* Hero brand — massive Cinzel "MVVGT" */
.aw-hero__brand-wrap {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: clamp(40px, 8vh, 120px);
}
.aw-hero__brand {
  font-family: var(--ff-display); font-weight: 700;
  font-size: clamp(64px, 21vw, 360px);
  line-height: 0.86;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0;
  color: var(--c-white);
  text-align: center;
  max-width: 100%;
}
body.lang-ar .aw-hero__brand { font-family: var(--ff-arabic); letter-spacing: 0; }
.aw-anchor {
  position: absolute; right: -28px; top: 18%;
  width: 14px; height: 14px;
  background: var(--c-red);
  border-radius: 50%;
  box-shadow: 0 0 24px var(--c-red-glow);
  animation: aw-pulse 2.4s ease-in-out infinite;
}
@keyframes aw-pulse {
  0%, 100% { transform: scale(1);   opacity: 1; }
  50%      { transform: scale(.75); opacity: .55; }
}

.aw-hero__spec {
  position: absolute; bottom: 80px; left: clamp(24px, 5vw, 64px);
  display: inline-flex; gap: 10px;
  font-family: var(--ff-mono); font-size: 10px; letter-spacing: .32em;
  text-transform: uppercase; color: rgba(255,255,255,.65);
}
.aw-hero__spec > span + span::before {
  content: '·'; margin-inline-end: 10px; color: rgba(255,255,255,.25);
}

.aw-hero__hint {
  position: absolute; bottom: 80px; right: clamp(24px, 5vw, 64px);
  display: inline-block; width: 1px; height: 36px;
  /* Just the thin animated line — no "Scroll" text. */
}
.aw-hero__hint::after {
  content: ''; display: inline-block;
  width: 1px; height: 36px;
  background: linear-gradient(180deg, rgba(255,255,255,.7), transparent);
  animation: aw-hint-bob 2s ease-in-out infinite;
}
@keyframes aw-hint-bob {
  0%,100% { transform: translateY(0); opacity: .8; }
  50%     { transform: translateY(8px); opacity: .3; }
}

/* ---------- 2. PILLARS (giant numeral + asymmetric copy) ---------- */
.aw-pillar {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  padding: clamp(80px, 14vh, 140px) clamp(24px, 5vw, 80px);
  gap: clamp(40px, 8vh, 80px);
  border-top: 1px solid rgba(255,255,255,.06);
}
@media (min-width: 960px) {
  .aw-pillar { grid-template-columns: 1.1fr 1fr; gap: clamp(60px, 6vw, 140px); }
  .aw-pillar:nth-child(even) .aw-pillar__num { order: 2; text-align: right; }
}

.aw-pillar__num {
  font-family: var(--ff-display); font-weight: 700;
  font-size: clamp(72px, 14vw, 160px);
  line-height: 0.85;
  letter-spacing: -0.02em;
  color: var(--c-white);
  text-transform: uppercase;
  word-break: keep-all;
}

.aw-pillar__body { max-width: 540px; }
.aw-pillar__eyebrow {
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: .35em;
  text-transform: uppercase; color: rgba(255,255,255,.65);
  margin-bottom: clamp(24px, 4vh, 36px);
  display: inline-block;
}
.aw-pillar__title {
  font-family: var(--ff-display); font-weight: 700;
  font-size: clamp(30px, 5.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  margin: 0;
  text-wrap: balance;
}
body.lang-ar .aw-pillar__title,
body.lang-ar .aw-pillar__num { font-family: var(--ff-arabic); letter-spacing: 0; }
.aw-pillar__lead {
  margin: clamp(24px, 4vh, 36px) 0 0;
  font-size: clamp(15px, 1.3vw, 19px);
  line-height: 1.55;
  color: rgba(255,255,255,.72);
  max-width: 42ch;
}
.aw-pillar__link {
  display: inline-flex; align-items: center; gap: 16px;
  margin-top: clamp(36px, 5vh, 56px);
  font-family: var(--ff-mono); font-size: 12px; letter-spacing: .32em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,.4);
  padding-bottom: 8px;
  transition: border-color .25s var(--t-line), color .25s var(--t-line);
}
.aw-pillar__link:hover { border-color: var(--c-red); color: var(--c-red); }
.aw-pillar__link-arrow { transition: transform .25s var(--t-snap); }
.aw-pillar__link:hover .aw-pillar__link-arrow { transform: translateX(6px); }

/* Word-reveal animation for [data-aw-words] — fast so content lands as the
   user scrolls, not after they've already passed it. */
.aw-word { display: inline-block; overflow: hidden; vertical-align: top; }
.aw-word__inner {
  display: inline-block;
  transform: translateY(70%);
  opacity: 0;
  transition: transform .45s var(--t-line), opacity .45s var(--t-line);
}
.aw-word.is-visible .aw-word__inner { transform: translateY(0); opacity: 1; }

/* Block-reveal animation for [data-aw-reveal] (entire panels / cards / sections).
   Short transition + small offset so reveal completes while the section is still
   entering the viewport, not after the user has scrolled past it. */
.aw-home [data-aw-reveal], .aw-page [data-aw-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .45s var(--t-line), transform .45s var(--t-line);
}
.aw-home [data-aw-reveal].is-visible, .aw-page [data-aw-reveal].is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .aw-home [data-aw-reveal], .aw-page [data-aw-reveal],
  .aw-word__inner { opacity: 1; transform: none; transition: none; }
}

/* Magnetic hover smooth release (when mouse leaves, transform resets — animate it back) */
.aw-magnetic { transition: transform .35s var(--t-line); }

/* ---------- 4. CLOSER ---------- */
.aw-closer {
  position: relative;
  min-height: 100vh;
  padding: clamp(80px, 14vh, 140px) clamp(24px, 5vw, 80px);
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  border-top: 1px solid rgba(255,255,255,.06);
  gap: clamp(40px, 6vh, 64px);
}
.aw-closer__begin {
  font-family: var(--ff-display); font-weight: 700;
  font-size: clamp(64px, 15vw, 220px);
  line-height: 0.86;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--c-white);
  display: inline-flex; align-items: center; gap: clamp(20px, 3vw, 60px);
  transition: color .35s var(--t-line);
  max-width: 100%;
}
.aw-closer__begin:hover { color: var(--c-red); }
.aw-closer__arrow { display: inline-block; transition: transform .35s var(--t-snap); }
.aw-closer__begin:hover .aw-closer__arrow { transform: translateX(.18em); }
body.lang-ar .aw-closer__arrow { transform: scaleX(-1); }
body.lang-ar .aw-closer__begin:hover .aw-closer__arrow { transform: scaleX(-1) translateX(.18em); }

.aw-closer__lines {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 14px;
  font-family: var(--ff-mono); font-size: 12px; letter-spacing: .28em;
  text-transform: uppercase; color: rgba(255,255,255,.6);
}
.aw-closer__lines a {
  border-bottom: 1px solid transparent;
  transition: color .25s var(--t-line), border-color .25s var(--t-line);
}
.aw-closer__lines a:hover { color: var(--c-white); border-bottom-color: rgba(255,255,255,.4); }

/* Lines-only closer — no giant Begin anchor. Used since S3 swapped that anchor
   for the aw_gallery panel. Keep the secondary links visible without taking
   the full viewport height the original closer reserved. */
.aw-closer--lines-only {
  min-height: auto;
  padding-block: clamp(48px, 8vh, 96px);
  justify-content: flex-start;
}
.aw-stack > .aw-stack__panel.aw-closer--lines-only {
  position: relative !important;
  top: auto !important;
  min-height: auto !important;
}

/* ---------- AW GALLERY — closer slot replacement (S3 skeleton) ---------- */
/* Render as a full sticky-stack panel. Cards live in a responsive grid: 1-col
   on phones, 2-col tablet, 3-col desktop. Frame uses the same engineering-
   spec-sheet aesthetic as the packaging hero — corner ticks + mono caption. */
.aw-stack > .aw-stack__panel.aw-gallery {
  position: relative !important;
  top: auto !important;
  min-height: auto !important;
}
.aw-gallery {
  padding: clamp(64px, 12vh, 140px) clamp(24px, 5vw, 80px);
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex; flex-direction: column;
  gap: clamp(40px, 6vh, 72px);
}
.aw-gallery__header {
  display: flex; flex-direction: column; gap: 16px;
  max-width: 720px;
}
.aw-gallery__eyebrow {
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: .35em;
  text-transform: uppercase; color: rgba(255,255,255,.65);
}
.aw-gallery__title {
  font-family: var(--ff-display); font-weight: 700;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 0.96;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--c-white);
  margin: 0;
  text-wrap: balance;
}
body.lang-ar .aw-gallery__title { font-family: var(--ff-arabic); letter-spacing: 0; }

.aw-gallery__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 2.4vw, 28px);
}
@media (min-width: 720px)  { .aw-gallery__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .aw-gallery__grid { grid-template-columns: repeat(3, 1fr); } }

.aw-gallery__card {
  display: flex; flex-direction: column;
  gap: 14px;
  margin: 0;
}
.aw-gallery__frame {
  position: relative;
  aspect-ratio: 4 / 3;
  background: rgba(255,255,255,.015);
  border: 1px solid rgba(255,255,255,.10);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.aw-gallery__media {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.6s var(--t-line);
}
.aw-gallery__card:hover .aw-gallery__media { transform: scale(1.04); }

/* Spec-sheet corner ticks */
.aw-gallery__tick {
  position: absolute;
  width: 14px; height: 14px;
  border-color: rgba(255,255,255,.45);
  border-style: solid;
  border-width: 0;
}
.aw-gallery__tick--tl { top: 8px;    left: 8px;    border-top-width: 1px;    border-left-width: 1px; }
.aw-gallery__tick--tr { top: 8px;    right: 8px;   border-top-width: 1px;    border-right-width: 1px; }
.aw-gallery__tick--bl { bottom: 8px; left: 8px;    border-bottom-width: 1px; border-left-width: 1px; }
.aw-gallery__tick--br { bottom: 8px; right: 8px;   border-bottom-width: 1px; border-right-width: 1px; }

/* Skeleton state — placeholder figure number centered, dashed frame, subtle */
.aw-gallery__card--skeleton .aw-gallery__frame {
  border-style: dashed;
  border-color: rgba(255,255,255,.14);
}
.aw-gallery__placeholder {
  font-family: var(--ff-mono); font-size: clamp(14px, 1.6vw, 18px);
  letter-spacing: .35em;
  color: rgba(255,255,255,.28);
  text-transform: uppercase;
}

.aw-gallery__caption {
  display: flex; flex-direction: column; gap: 6px;
}
.aw-gallery__meta {
  font-family: var(--ff-mono); font-size: 10px; letter-spacing: .35em;
  text-transform: uppercase; color: rgba(255,255,255,.45);
}
.aw-gallery__text {
  font-family: var(--ff-sans); font-size: 14px;
  color: rgba(255,255,255,.78);
  line-height: 1.5;
}

/* ---------- INNER PAGES (B2B / Brands / SaaS / About / Contact) ---------- */

/* Inner-page hero: smaller than home hero. Massive section title (B2B, BRANDS, SAAS, ABOUT, CONTACT). */
.aw-inner__hero {
  position: relative;
  min-height: 88vh;
  padding: clamp(110px, 14vh, 150px) 0 clamp(40px, 6vh, 80px);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  overflow: hidden;
}
/* --symbol: heroes that lead with an SVG symbol instead of giant text — get a little more top breathing room */
.aw-inner__hero--symbol {
  padding-top: clamp(150px, 18vh, 200px);
}
.aw-inner__hero-content {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  gap: clamp(16px, 3vh, 28px);
  max-width: 100%;
  padding: 0 24px;
  text-align: center;
}
.aw-inner__eyebrow {
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: .35em;
  text-transform: uppercase; color: rgba(255,255,255,.65);
}
.aw-inner__title {
  font-family: var(--ff-display); font-weight: 700;
  font-size: clamp(72px, 22vw, 360px);
  line-height: 0.86;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0;
  color: var(--c-white);
  max-width: 100%;
}
body.lang-ar .aw-inner__title { font-family: var(--ff-arabic); letter-spacing: 0; }

/* Title size utilities — replace inline style="font-size:clamp(...)" everywhere */
.aw-inner__title--xs      { font-size: clamp(36px, 6vw, 88px) !important; }
.aw-inner__title--article { font-size: clamp(34px, 7vw, 110px) !important; }
.aw-inner__title--sm      { font-size: clamp(40px, 7vw, 110px) !important; }
.aw-inner__title--md      { font-size: clamp(40px, 7vw, 96px) !important; }
.aw-inner__title--detail  { font-size: clamp(40px, 8vw, 120px) !important; }
.aw-inner__title--lg      { font-size: clamp(40px, 8vw, 140px) !important; }
.aw-inner__title--xl      { font-size: clamp(56px, 14vw, 220px) !important; }
.aw-inner__title--xxl     { font-size: clamp(56px, 15vw, 260px) !important; }
.aw-inner__title--balance { text-wrap: balance; }

/* About hero — legal company name promoted to h1 (red MVVGT line removed per Ali
   2026-05-22). Sits as the page anchor, balanced spacing under the eyebrow and
   above the lead. */
.aw-about__legal {
  margin: 18px auto 8px;
  max-width: 30ch;
  font-family: var(--ff-display); font-weight: 500;
  font-size: clamp(14px, 1.6vw, 20px);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.78);
  line-height: 1.35;
  text-wrap: balance;
}
.aw-about__legal--hero {
  margin: 24px auto 18px;
  max-width: 22ch;
  font-weight: 600;
  font-size: clamp(22px, 3.4vw, 44px);
  letter-spacing: .08em;
  color: var(--c-white);
  line-height: 1.18;
}
body.lang-ar .aw-about__legal { font-family: var(--ff-arabic); letter-spacing: 0; }

/* About chapter panels (S4.4) — 2D SVG illustration + prose, alternating.
   Mobile: stacked (art on top, body below). Desktop ≥960px: 2-col grid. */
.aw-stack > .aw-stack__panel.aw-about__chapter {
  position: relative !important;
  top: auto !important;
  min-height: auto !important;
}
.aw-about__chapter {
  padding: clamp(64px, 12vh, 140px) clamp(24px, 5vw, 80px);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  border-top: 1px solid rgba(255,255,255,.06);
}
@media (min-width: 960px) {
  .aw-about__chapter { grid-template-columns: 1fr 1fr; gap: clamp(60px, 8vw, 140px); }
  .aw-about__chapter--reverse .aw-about__chapter-art  { order: 2; }
  .aw-about__chapter--reverse .aw-about__chapter-body { order: 1; }
}
.aw-about__chapter-art {
  display: flex; align-items: center; justify-content: center;
  padding: clamp(16px, 2vw, 28px);
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.015);
}
.aw-about__chapter-art svg { width: 100%; max-width: 480px; height: auto; display: block; }
.aw-about__chapter-body { max-width: 540px; }
.aw-about__chapter-body > * + * { margin-top: 22px; }
.aw-about__chapter-head {
  font-family: var(--ff-display); font-weight: 700;
  font-size: clamp(32px, 4.4vw, 60px);
  line-height: 1.02; letter-spacing: -0.005em;
  text-transform: uppercase;
  margin: 0;
  text-wrap: balance;
}
body.lang-ar .aw-about__chapter-head { font-family: var(--ff-arabic); letter-spacing: 0; }
.aw-about__chapter-prose p {
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.65;
  color: rgba(255,255,255,.78);
  margin: 0;
}
.aw-about__chapter-prose p + p { margin-top: 16px; }
.aw-about__chapter-prose strong { color: var(--c-white); font-weight: 600; }

/* Pillar icon variant for the three-lines recap (S4.5) — bigger slot than
   the default catalog-row icon, fits the section symbol comfortably. */
.aw-catalog-row__icon--pillar {
  width: clamp(64px, 9vw, 120px);
  height: clamp(48px, 7vw, 90px);
}
.aw-catalog-row__icon--pillar svg {
  width: 100%; height: 100%; display: block;
}

.aw-inner__lead {
  margin: 8px auto 0;
  max-width: 52ch;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.55;
  color: rgba(255,255,255,.72);
}

/* Inner intent stack panel — asymmetric two-column on desktop */
/* V6 — release the lighter content panels from the inherited sticky-stack
   100vh so they don't reserve empty viewport real estate. The sticky-stack
   effect stays on the heavier moments: home pillars, detail-page heroes,
   inner-page line items. */
.aw-stack > .aw-stack__panel.aw-inner__intent,
.aw-stack > .aw-stack__panel.aw-story {
  position: relative !important;
  top: auto !important;
  min-height: auto !important;
}

.aw-inner__intent {
  padding: clamp(64px, 10vh, 110px) clamp(24px, 5vw, 80px);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vh, 64px);
  align-items: start;
}
@media (min-width: 960px) {
  .aw-inner__intent { grid-template-columns: 1fr 1fr; gap: clamp(60px, 6vw, 120px); align-items: center; }
}
.aw-inner__intent-head {
  font-family: var(--ff-display); font-weight: 600;
  font-size: clamp(34px, 5.4vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  margin: 0;
  text-wrap: balance;
}
body.lang-ar .aw-inner__intent-head { font-family: var(--ff-arabic); letter-spacing: 0; }
.aw-inner__intent-body { max-width: 52ch; }
.aw-inner__intent-body > * + * { margin-top: 28px; }
.aw-inner__intent-body p {
  font-size: clamp(15px, 1.3vw, 19px); line-height: 1.55;
  color: rgba(255,255,255,.78); margin: 0;
}
.aw-inner__spec {
  display: inline-flex; gap: 10px; flex-wrap: wrap;
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: .3em;
  text-transform: uppercase; color: rgba(255,255,255,.65);
  padding: 14px 0; max-width: 580px;
}
.aw-inner__spec > span + span::before {
  content: '·'; margin-inline-end: 10px; color: rgba(255,255,255,.25);
}

/* Red leading em-dash on every eyebrow label — single source of truth.
   Strings in PHP no longer include the dash; CSS renders it consistently. */
.aw-inner__eyebrow::before,
.aw-pillar__eyebrow::before,
.aw-story__eye::before,
.aw-inner__quiet-eyebrow::before,
.aw-form-panel__aside-head::before {
  content: '— ';
  color: var(--c-red);
  margin-inline-end: 2px;
}

/* Inner item stack panel — giant numeral + body (line in portfolio) */
.aw-inner__item {
  padding: clamp(80px, 14vh, 140px) clamp(24px, 5vw, 80px);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vh, 80px);
  align-items: center;
}
@media (min-width: 960px) {
  .aw-inner__item { grid-template-columns: 1.1fr 1fr; gap: clamp(60px, 6vw, 140px); }
  .aw-inner__item--reverse > .aw-inner__item-num { order: 2; text-align: right; }
}
.aw-inner__item-num {
  font-family: var(--ff-display); font-weight: 700;
  font-size: min(26vw, 320px);
  line-height: 0.85;
  letter-spacing: -0.02em;
  color: var(--c-white);
  text-transform: uppercase;
}
.aw-inner__item-body { max-width: 540px; }
.aw-inner__item-body > * + * { margin-top: 28px; }
.aw-inner__item-eyebrow {
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: .35em;
  text-transform: uppercase; color: rgba(255,255,255,.65);
  display: inline-block;
}
.aw-inner__item-name {
  font-family: var(--ff-display); font-weight: 700;
  font-size: clamp(36px, 5.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  margin: 0;
  text-wrap: balance;
}
body.lang-ar .aw-inner__item-name,
body.lang-ar .aw-inner__item-num { font-family: var(--ff-arabic); letter-spacing: 0; }
.aw-inner__item-desc {
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.55;
  color: rgba(255,255,255,.72);
  margin: 0;
  max-width: 44ch;
}
.aw-inner__item-cta { display: inline-flex; gap: 16px; flex-wrap: wrap; }
.aw-inner__item-link {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--ff-mono); font-size: 12px; letter-spacing: .32em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,.4);
  padding-bottom: 8px;
  transition: border-color .25s var(--t-line), color .25s var(--t-line);
}
.aw-inner__item-link:hover { border-color: var(--c-red); color: var(--c-red); }
.aw-inner__item-link-arrow { transition: transform .25s var(--t-snap); }
.aw-inner__item-link:hover .aw-inner__item-link-arrow { transform: translateX(6px); }

/* Packaging variant — SVG spec sheet on the left instead of giant numeral. */
.aw-inner__item--packaging .aw-inner__item-art {
  width: 100%;
  max-width: 560px;
  padding: clamp(16px, 2vw, 24px);
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.015);
  border-radius: 2px;
}
.aw-inner__item--packaging .aw-inner__item-art svg {
  width: 100%; height: auto; display: block;
}
@media (min-width: 960px) {
  .aw-inner__item--packaging { grid-template-columns: 1.25fr 1fr; }
}

/* ---------- AW CATALOG (used by /b2b/packaging — 20-item grid of cards) ---------- */
/* Override the sticky-stack default: this panel is too tall (grid of 20 cards) to be
   sticky, the closer would rise over its bottom cards. Let it scroll naturally. */
.aw-stack > .aw-stack__panel.aw-catalog-panel {
  position: relative !important;
  top: auto !important;
  min-height: auto !important;
}
.aw-catalog-panel {
  padding: clamp(80px, 14vh, 140px) clamp(24px, 5vw, 80px);
}
.aw-catalog-panel__head {
  max-width: 1180px; margin: 0 auto clamp(48px, 8vh, 80px);
  display: flex; flex-direction: column; gap: 18px;
}
.aw-catalog-panel__head h2 {
  font-family: var(--ff-display); font-weight: 700;
  font-size: clamp(40px, 7vw, 100px);
  line-height: 0.95; letter-spacing: -0.01em;
  text-transform: uppercase; margin: 0;
}
body.lang-ar .aw-catalog-panel__head h2 { font-family: var(--ff-arabic); letter-spacing: 0; }
.aw-catalog-panel__head p {
  font-size: clamp(15px, 1.3vw, 18px); line-height: 1.55;
  color: rgba(255,255,255,.7); margin: 0; max-width: 56ch;
}

.aw-catalog-list {
  max-width: 1180px; margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,.08);
}
.aw-catalog-row {
  display: grid;
  grid-template-columns: 64px 88px 1fr auto;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  padding: clamp(18px, 2.4vh, 28px) clamp(8px, 1.6vw, 20px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: var(--c-white);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: background .35s var(--t-line);
}
.aw-catalog-row::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--c-red);
  transform: scaleY(0); transform-origin: top;
  transition: transform .45s var(--t-line);
}
.aw-catalog-row:hover { background: rgba(255,255,255,.02); }
.aw-catalog-row:hover::before { transform: scaleY(1); }
.aw-catalog-row__fig {
  font-family: var(--ff-mono); font-size: 10px; letter-spacing: .3em;
  color: rgba(255,255,255,.4); text-transform: uppercase;
}
.aw-catalog-row__icon {
  width: 88px; height: 64px;
  display: flex; align-items: center; justify-content: center;
}
.aw-catalog-row__icon img { width: 100%; height: 100%; object-fit: contain; opacity: .92; }
.aw-catalog-row__name {
  font-family: var(--ff-display); font-weight: 700;
  font-size: clamp(22px, 3vw, 44px);
  line-height: 1.0; letter-spacing: -0.005em;
  text-transform: uppercase; margin: 0;
  transition: color .25s var(--t-line);
}
body.lang-ar .aw-catalog-row__name { font-family: var(--ff-arabic); text-transform: none; letter-spacing: 0; }
.aw-catalog-row:hover .aw-catalog-row__name { color: var(--c-red); }
.aw-catalog-row__meta {
  margin-top: 8px;
  font-family: var(--ff-mono); font-size: 10px; letter-spacing: .28em;
  color: rgba(255,255,255,.65); text-transform: uppercase;
}
.aw-catalog-row__arrow {
  font-size: 24px; color: rgba(255,255,255,.4);
  transition: color .25s var(--t-line), transform .25s var(--t-snap);
}
.aw-catalog-row:hover .aw-catalog-row__arrow { color: var(--c-red); transform: translateX(6px); }
body.lang-ar .aw-catalog-row__arrow { transform: scaleX(-1); }
body.lang-ar .aw-catalog-row:hover .aw-catalog-row__arrow { transform: scaleX(-1) translateX(6px); }

@media (max-width: 720px) {
  .aw-catalog-row {
    grid-template-columns: 56px 64px 1fr;
    grid-template-areas: "fig icon body" "fig icon meta";
    padding: 16px 8px;
  }
  .aw-catalog-row__icon { width: 64px; height: 48px; }
  .aw-catalog-row__name { font-size: 19px; }
  .aw-catalog-row__arrow { display: none; }
}

/* ---------- AW CATALOG GRID (b2b/packaging) — 3-per-row rectangle cards ---------- */
.aw-catalog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 2vw, 28px);
}
@media (min-width: 720px)  { .aw-catalog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .aw-catalog-grid { grid-template-columns: repeat(3, 1fr); } }

.aw-catalog-card {
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: clamp(14px, 1.5vw, 22px);
  padding: clamp(22px, 2.6vw, 32px);
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .015);
  color: var(--c-white);
  min-height: clamp(260px, 32vh, 320px);
  transition: border-color .25s ease, background .25s ease, transform .35s cubic-bezier(.6, .2, .2, 1);
}
.aw-catalog-card:hover {
  border-color: var(--c-red);
  background: rgba(239, 51, 64, .04);
  transform: translateY(-2px);
}

.aw-catalog-card__head {
  display: flex; align-items: center; justify-content: space-between;
}
.aw-catalog-card__fig {
  font-family: var(--ff-mono); font-size: 11px;
  letter-spacing: .25em; text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
}
.aw-catalog-card__arrow {
  font-family: var(--ff-mono); font-size: 18px; line-height: 1;
  color: rgba(255, 255, 255, .4);
  transition: color .25s ease, transform .25s cubic-bezier(.6, .2, .2, 1);
}
.aw-catalog-card:hover .aw-catalog-card__arrow {
  color: var(--c-red); transform: translateX(6px);
}
[dir="rtl"] .aw-catalog-card__arrow { transform: scaleX(-1); }
[dir="rtl"] .aw-catalog-card:hover .aw-catalog-card__arrow { transform: scaleX(-1) translateX(6px); }

.aw-catalog-card__icon {
  display: flex; align-items: center; justify-content: center;
  height: clamp(160px, 22vh, 220px);
  /* No filter — let the illustration SVGs render in their native white + red MVVGT colors */
}
.aw-catalog-card__icon img {
  width: 100%; height: 100%;
  max-width: 100%;
  display: block;
  object-fit: contain;
}

.aw-catalog-card__name {
  font-family: var(--ff-display); font-weight: 700;
  font-size: clamp(19px, 1.5vw, 24px);
  letter-spacing: -.005em;
  line-height: 1.15;
  text-transform: uppercase;
  margin: 0;
  text-wrap: balance;
  transition: color .25s ease;
}
.aw-catalog-card:hover .aw-catalog-card__name { color: var(--c-red); }
body.lang-ar .aw-catalog-card__name { font-family: var(--ff-arabic); text-transform: none; letter-spacing: 0; }

.aw-catalog-card__meta {
  font-family: var(--ff-mono); font-size: 10.5px;
  letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
  line-height: 1.5;
}

/* ---------- AW BRAND/SAAS DETAIL HERO (photo + body split) ---------- */
.aw-detail-hero {
  min-height: 100vh;             /* lock to full viewport so the next sticky panel doesn't cover it */
  padding: clamp(80px, 14vh, 140px) clamp(24px, 5vw, 80px);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vh, 64px);
  align-items: center;
}
@media (min-width: 960px) {
  .aw-detail-hero { grid-template-columns: 1fr 1fr; gap: clamp(56px, 6vw, 120px); }
}
.aw-detail-hero__media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--c-bg-panel);
  border: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
}
.aw-detail-hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.aw-detail-hero__media figcaption {
  display: none;
  position: absolute; left: 0; right: 0; bottom: 28px;
  text-align: center;
  font-family: var(--ff-mono); font-size: 10px; letter-spacing: .32em;
  text-transform: uppercase; color: rgba(255,255,255,.65);
}
.aw-detail-hero__media.is-empty img { display: none; }
.aw-detail-hero__media.is-empty figcaption { display: block; }
.aw-detail-hero__media.is-empty::after {
  content: ''; position: absolute; left: 14px; right: 14px; top: 14px; bottom: 14px;
  border: 1px dashed rgba(255,255,255,.06);
}
.aw-detail-hero__mono {
  position: absolute; top: 24px; right: 24px;
  font-family: var(--ff-display); font-weight: 700;
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: .04em; color: rgba(255,255,255,.18);
  pointer-events: none;
}
.aw-detail-hero__body { max-width: 540px; }
.aw-detail-hero__body > * + * { margin-top: 28px; }

/* ============================================================
   INTRO — geometric SVG wireframe diamond drawing itself, ~2.6s.
   Plays once per session. Skip/ESC supported.
   ============================================================ */
.aw-intro {
  position: fixed; inset: 0; z-index: 9000;
  background: #000;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  clip-path: inset(0 0 0 0);
  transition: clip-path .7s cubic-bezier(.77, 0, .18, 1);
}
.aw-intro.is-leaving { clip-path: inset(100% 0 0 0); pointer-events: none; }

/* Stage — Three.js canvas mounts inside. SAME size rule on mobile + desktop so the
   diamond reads consistently across devices. min(95vw, 480px) → on a small phone
   it occupies almost the full screen; on desktop it caps at 480px (centered). */
.aw-intro__stage {
  width: min(95vw, 480px);
  height: min(95vw, 480px);
}
.aw-intro__stage canvas {
  display: block; width: 100% !important; height: 100% !important;
}

/* Counter — top-right, climbs 000 → 100 */
.aw-intro__counter {
  position: absolute; top: clamp(28px, 4vh, 56px); right: clamp(20px, 4vw, 56px);
  font-family: var(--ff-mono); font-size: 12px; letter-spacing: .3em;
  color: rgba(255, 255, 255, .85);
}

/* Skip button */
.aw-intro__skip {
  position: absolute; bottom: clamp(24px, 3vh, 40px); right: clamp(20px, 4vw, 56px);
  background: transparent; border: 0; padding: 8px 0; cursor: pointer;
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: .3em;
  text-transform: uppercase; color: rgba(255, 255, 255, .5);
  transition: color .2s var(--t-line);
}
.aw-intro__skip:hover { color: var(--c-red); }

@media (max-width: 720px) {
  .aw-intro__stage   { width: clamp(220px, 70vw, 320px); height: clamp(220px, 70vw, 320px); }
  .aw-intro__counter { top: 24px; font-size: 10px; }
  .aw-intro__skip    { bottom: 22px; font-size: 10px; }
}

/* While intro is playing, hide page chrome (.intro-pending is on <html>) */
html.intro-pending body > *:not(#mvvgtIntro) { visibility: hidden; }
html.intro-pending { overflow: hidden; }

/* ---------- AW INSIGHTS — filter chips ---------- */
.aw-insights-filter {
  display: inline-flex; flex-wrap: wrap; gap: 8px;
  margin-top: 20px;
}
.aw-insights-filter .insights-filter__btn {
  font-family: var(--ff-mono); font-size: 10px; letter-spacing: .3em;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,.18);
  background: transparent;
  color: rgba(255,255,255,.7);
  cursor: pointer;
  transition: border-color .2s var(--t-line), color .2s var(--t-line);
}
@media (pointer: coarse) {
  .aw-insights-filter .insights-filter__btn { padding: 12px 16px; min-height: 44px; }
}
.aw-insights-filter .insights-filter__btn:hover,
.aw-insights-filter .insights-filter__btn.is-active {
  border-color: var(--c-red);
  color: var(--c-red);
}
.aw-page [data-category].is-filtered-out { display: none; }

/* ============================================================
   INSIGHTS — SEO content hub (S5)
   Red-heavy treatment + larger readable type. The page is the
   top-of-funnel for organic traffic; visual hierarchy is tuned
   for scan-then-read, not portfolio admiration.
   ============================================================ */

/* Red eyebrow variant — used across the SEO hero + FAQ block to
   carry the heavier-red aesthetic the rest of the site doesn't. */
.aw-inner__eyebrow--red {
  color: var(--c-red) !important;
}

/* Bigger, easier-to-read lead for the SEO hero. */
.aw-inner__lead--xl {
  font-size: clamp(17px, 1.6vw, 22px) !important;
  line-height: 1.55 !important;
  max-width: 64ch !important;
}

/* SEO hero — heavy red treatment. Min-height cut so the page doesn't reserve
   88vh of empty space before the FAQ panel starts. Background pushed
   redder; title red, lead more prominent. */
.aw-inner__hero--seo .aw-inner__title { color: var(--c-red); text-wrap: balance; }
.aw-inner__hero--seo {
  min-height: auto;
  padding-top: clamp(110px, 14vh, 160px);
  padding-bottom: clamp(36px, 5vh, 64px);
  background:
    radial-gradient(ellipse at 50% 35%, rgba(239, 51, 64, .22) 0%, transparent 60%),
    linear-gradient(180deg, transparent 0%, rgba(239, 51, 64, .06) 100%),
    var(--c-black, #000);
}
.aw-inner__hero--seo .aw-hero__spec { color: rgba(239, 51, 64, .65); }
.aw-inner__hero--seo .aw-hero__spec span { border-color: rgba(239, 51, 64, .35); }

/* FAQ panel — the SEO heart. Override sticky-stack default so the
   long FAQ doesn't get covered by the closer rising up. */
.aw-stack > .aw-stack__panel.aw-insights-faq {
  position: relative !important;
  top: auto !important;
  min-height: auto !important;
}
.aw-stack > .aw-stack__panel.aw-insights-faq,
.aw-insights-faq {
  padding: clamp(48px, 9vh, 96px) clamp(24px, 5vw, 80px) clamp(48px, 8vh, 96px);
  border-top: 2px solid var(--c-red);
  background:
    linear-gradient(180deg, rgba(239, 51, 64, .18) 0%, rgba(239, 51, 64, .08) 50%, #0a0a0a 100%) !important;
}
.aw-insights-faq__head {
  max-width: 920px;
  margin-bottom: clamp(32px, 5vh, 56px);
}
.aw-insights-faq__head > * + * { margin-top: 18px; }
.aw-insights-faq__title {
  font-family: var(--ff-display); font-weight: 700;
  font-size: clamp(36px, 5.6vw, 80px);
  line-height: 1.0; letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--c-white);
  margin: 0;
  text-wrap: balance;
}
body.lang-ar .aw-insights-faq__title { font-family: var(--ff-arabic); letter-spacing: 0; }
.aw-insights-faq__lead {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
  color: rgba(255,255,255,.75);
  max-width: 64ch;
  margin: 0;
}

/* Topic chips */
.aw-insights-faq__chips {
  display: inline-flex; flex-wrap: wrap; gap: 8px;
  margin-top: 28px;
}
.aw-chip {
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: .3em;
  text-transform: uppercase;
  padding: 10px 18px;
  min-height: 44px;
  display: inline-flex; align-items: center;
  border: 1px solid rgba(255,255,255,.2);
  background: transparent;
  color: rgba(255,255,255,.7);
  cursor: pointer;
  transition: border-color .2s var(--t-line), color .2s var(--t-line), background .2s var(--t-line);
}
.aw-chip:hover { border-color: var(--c-red); color: var(--c-red); }
.aw-chip.is-active {
  border-color: var(--c-red);
  background: var(--c-red);
  color: var(--c-white);
}

/* FAQ list — tighter density, red separators between Q&As. */
.aw-insights-faq__list {
  display: flex; flex-direction: column;
  gap: clamp(24px, 4vh, 40px);
  max-width: 880px;
}
.aw-qa {
  padding-bottom: clamp(24px, 3.5vh, 40px);
  border-bottom: 1px solid rgba(239, 51, 64, .25);
}
.aw-qa:last-child { border-bottom: none; }
.aw-qa.is-hidden { display: none; }
.aw-qa__head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 14px;
}
.aw-qa__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  background: var(--c-red);
  color: var(--c-white);
  font-family: var(--ff-mono); font-size: 11px; font-weight: 600; letter-spacing: .08em;
}
.aw-qa__chip {
  font-family: var(--ff-mono); font-size: 10px; letter-spacing: .25em;
  text-transform: uppercase;
  padding: 4px 10px;
  background: var(--c-red);
  color: var(--c-white);
}
.aw-qa__chip--brands { background: rgba(255,255,255,.85); color: var(--c-black, #000); }
.aw-qa__chip--saas   { background: rgba(94, 233, 255, .85); color: var(--c-black, #000); }
.aw-qa__q {
  font-family: var(--ff-display); font-weight: 700;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.18;
  letter-spacing: -0.005em;
  color: var(--c-red);
  margin: 0 0 20px;
  text-wrap: pretty;
}
body.lang-ar .aw-qa__q { font-family: var(--ff-arabic); letter-spacing: 0; }
.aw-qa__a {
  max-width: 68ch;
}
.aw-qa__a p {
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.7;
  color: rgba(255,255,255,.84);
  margin: 0;
}
.aw-qa__a p + p { margin-top: 16px; }
.aw-qa__a strong { color: var(--c-white); font-weight: 600; }
.aw-qa__a a {
  color: var(--c-red);
  border-bottom: 1px solid rgba(239, 51, 64, .4);
  padding-bottom: 1px;
  transition: border-color .2s var(--t-line), background .2s var(--t-line);
}
.aw-qa__a a:hover {
  border-bottom-color: var(--c-red);
  background: rgba(239, 51, 64, .08);
}

/* ---------- Insights article catalog (upgraded card hierarchy) ---------- */
.aw-stack > .aw-stack__panel.aw-insights-catalog {
  position: relative !important;
  top: auto !important;
  min-height: auto !important;
}
.aw-insights-catalog {
  padding: clamp(48px, 8vh, 96px) clamp(24px, 5vw, 80px);
  border-top: 1px solid rgba(239, 51, 64, .2);
}
.aw-insights-empty {
  text-align: center;
  font-family: var(--ff-mono); font-size: 12px; letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  padding: 64px 0;
}
.aw-insights-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 2.4vw, 32px);
  margin-top: clamp(32px, 5vh, 56px);
}
@media (min-width: 720px)  { .aw-insights-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .aw-insights-cards { grid-template-columns: repeat(3, 1fr); } }

.aw-insights-card {
  display: flex; flex-direction: column;
  gap: 14px;
  padding: clamp(22px, 2.4vw, 28px);
  border: 1px solid rgba(239, 51, 64, .15);
  background: rgba(239, 51, 64, .025);
  transition: border-color .25s var(--t-line), background .25s var(--t-line), transform .25s var(--t-snap);
  text-decoration: none;
  color: inherit;
}
.aw-insights-card:hover {
  border-color: var(--c-red);
  background: rgba(239, 51, 64, .04);
  transform: translateY(-2px);
}
.aw-insights-card__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
}
.aw-insights-card__chip {
  font-family: var(--ff-mono); font-size: 10px; letter-spacing: .28em;
  text-transform: uppercase;
  padding: 4px 10px;
  background: var(--c-red);
  color: var(--c-white);
}
.aw-insights-card__date {
  font-family: var(--ff-mono); font-size: 10px; letter-spacing: .3em;
  color: rgba(255,255,255,.45);
}
.aw-insights-card__title {
  font-family: var(--ff-display); font-weight: 700;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.18; letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--c-white);
  margin: 0;
  text-wrap: balance;
  transition: color .2s var(--t-line);
}
.aw-insights-card:hover .aw-insights-card__title { color: var(--c-red); }
body.lang-ar .aw-insights-card__title { font-family: var(--ff-arabic); letter-spacing: 0; }
.aw-insights-card__excerpt {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,.7);
  margin: 0;
}
.aw-insights-card__foot {
  margin-top: auto;
  padding-top: 8px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  font-family: var(--ff-mono); font-size: 10px; letter-spacing: .3em;
  text-transform: uppercase;
}
.aw-insights-card__author { color: rgba(255,255,255,.65); }
.aw-insights-card__cta { color: var(--c-red); }

/* AW article body — meta strip + title + excerpt */
.aw-article-meta {
  display: inline-flex; gap: 14px; align-items: center; flex-wrap: wrap;
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: .3em;
  text-transform: uppercase; color: rgba(255,255,255,.55);
  margin-bottom: 28px;
}
.aw-article-meta__cat { color: var(--c-red); }

/* ---------- AW STORY (prose panel) ---------- */
.aw-story {
  padding: clamp(56px, 9vh, 110px) clamp(24px, 5vw, 80px);
  display: flex; flex-direction: column; align-items: center;
}
.aw-story__inner {
  max-width: 720px;
  width: 100%;
}
.aw-story__eye {
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: .35em;
  text-transform: uppercase; color: rgba(255,255,255,.65);
  margin-bottom: 36px;
  text-align: center;
}
.aw-story__prose p {
  font-size: clamp(15px, 1.3vw, 18px); line-height: 1.7;
  color: rgba(255,255,255,.78); margin: 0 0 24px;
}
.aw-story__prose p:last-child { margin-bottom: 0; }
.aw-story__prose strong { color: var(--c-white); font-weight: 700; }

/* ---------- AW CONTACT FORM (form sits below hero; full functionality preserved) ---------- */
.aw-form-panel {
  padding: clamp(80px, 14vh, 140px) clamp(24px, 5vw, 80px);
}
.aw-form-panel__inner {
  max-width: 1180px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 8vh, 72px);
}
@media (min-width: 960px) {
  .aw-form-panel__inner { grid-template-columns: minmax(240px, 0.7fr) 1fr; gap: clamp(60px, 6vw, 120px); }
}
.aw-form-panel__aside {
  display: flex; flex-direction: column;
}
.aw-form-panel__aside-head {
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: .35em;
  text-transform: uppercase; color: var(--c-red);
  margin-bottom: 36px;
}
/* S6.3 — Stronger typographic hierarchy: Cinzel for the line TYPE,
   monospace for the actual VALUE, more breathing between lines. */
.aw-form-panel__line {
  padding: clamp(24px, 3vh, 32px) 0;
  border-top: 1px solid rgba(255,255,255,.10);
  display: flex; flex-direction: column; gap: 10px;
}
.aw-form-panel__line:last-of-type { border-bottom: 1px solid rgba(255,255,255,.10); }
.aw-form-panel__line-label {
  font-family: var(--ff-display); font-weight: 600;
  font-size: clamp(15px, 1.4vw, 19px);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-white);
}
body.lang-ar .aw-form-panel__line-label { font-family: var(--ff-arabic); letter-spacing: 0; }
.aw-form-panel__line-val {
  font-family: var(--ff-mono);
  font-size: 13px; letter-spacing: .08em;
  line-height: 1.5;
  color: rgba(255,255,255,.78);
  transition: color .2s var(--t-line);
}
a.aw-form-panel__line-val { border-bottom: 1px solid transparent; padding-bottom: 1px; }
a.aw-form-panel__line-val:hover {
  color: var(--c-red);
  border-bottom-color: rgba(239, 51, 64, .5);
}

/* Inner quiet stack panel — "more to come" / process notes */
.aw-inner__quiet {
  padding: clamp(80px, 14vh, 140px) clamp(24px, 5vw, 80px);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center;
}
.aw-inner__quiet > * + * { margin-top: 28px; }
.aw-inner__quiet-eyebrow {
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: .35em;
  text-transform: uppercase; color: rgba(255,255,255,.65);
}
.aw-inner__quiet-head {
  font-family: var(--ff-display); font-weight: 600;
  font-size: clamp(30px, 4.4vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  margin: 0;
  text-wrap: balance;
}
body.lang-ar .aw-inner__quiet-head { font-family: var(--ff-arabic); letter-spacing: 0; }
.aw-inner__quiet-body {
  max-width: 56ch;
  font-size: clamp(15px, 1.3vw, 18px); line-height: 1.6;
  color: rgba(255,255,255,.72);
  margin: 0;
}

/* ---------- Mobile adjustments ---------- */
@media (max-width: 720px) {
  .aw-marquee--top { top: 64px; padding: 8px 0; }
  .aw-marquee__track { font-size: 11px; letter-spacing: .3em; gap: 24px; }
  .aw-hero__spec, .aw-hero__hint { font-size: 9px; bottom: 28px; }
  .aw-hero__hint::after { height: 22px; }
  .aw-hero__brand { font-size: clamp(56px, 23vw, 180px); }
  .aw-pillar { grid-template-columns: 1fr; min-height: auto; padding: 80px 22px; gap: 32px; }
  .aw-pillar__num { font-size: min(38vw, 180px); }
  .aw-pillar__title { font-size: clamp(28px, 9vw, 56px); }
  .aw-anchor { right: -8px; width: 9px; height: 9px; top: 14%; }
  .aw-closer { padding: 80px 22px; min-height: auto; }
  .aw-closer__begin { font-size: clamp(54px, 18vw, 140px); }

  /* Catalog rows — keep the arrow visible on mobile as a tap affordance */
  .aw-catalog-row__arrow { display: inline-flex !important; }

  /* Marquee — give items more breathing room on small phones */
  .aw-marquee__track > span { padding-inline: 2px; }
}

/* ---------- Short-landscape phones (≤640w × ≤520h) — hide hero spec to avoid colliding with scroll hint ---------- */
@media (max-height: 520px) and (max-width: 900px) {
  .aw-hero__spec { display: none; }
}

/* ---------- 44×44 minimum tap targets on touch devices ---------- */
@media (pointer: coarse) {
  .lang-switch__btn,
  .menu-toggle,
  .aw-closer__lines a,
  .aw-footer__col a,
  .site-header a,
  .mobile-menu a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .whatsapp-fab { min-width: 48px; min-height: 48px; }
}

/* ============================================================
   LAYOUT — Container, grid, sections
   ============================================================ */
.container {
  width: 100%; max-width: var(--container-max);
  margin: 0 auto; padding-left: var(--container-pad); padding-right: var(--container-pad);
}

.grid { display: grid; gap: var(--space-3); }
.grid-12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--space-3); }
@media (min-width: 720px) { .grid-12 { gap: var(--space-4); } }

.col-12 { grid-column: span 12; }
.col-6  { grid-column: span 12; }
.col-5  { grid-column: span 12; }
.col-7  { grid-column: span 12; }
.col-4  { grid-column: span 12; }
.col-8  { grid-column: span 12; }
.col-3  { grid-column: span 12; }
.col-9  { grid-column: span 12; }
@media (min-width: 800px) {
  .col-6 { grid-column: span 6; }
  .col-5 { grid-column: span 5; }
  .col-7 { grid-column: span 7; }
  .col-4 { grid-column: span 4; }
  .col-8 { grid-column: span 8; }
  .col-3 { grid-column: span 3; }
  .col-9 { grid-column: span 9; }
}

.chapter-block {
  padding-top: var(--pad-chapter);
  padding-bottom: var(--pad-chapter);
  position: relative;
}
.chapter-block--quiet   { padding-top: var(--pad-section); padding-bottom: var(--pad-section); }
.chapter-block--breakout { padding-top: var(--pad-breakout); padding-bottom: var(--pad-breakout); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 12px; padding: 16px 22px;
  font-family: var(--ff-sans-display); font-weight: 600;
  font-size: 13px; letter-spacing: .04em;
  border: 1px solid transparent; border-radius: 0;
  transition: background .3s var(--t-soft), color .3s var(--t-soft), border-color .3s var(--t-soft), transform .15s var(--t-snap);
  cursor: pointer; text-decoration: none; white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--c-red); color: var(--c-white); }
.btn--primary:hover { background: var(--c-white); color: var(--c-bg); }
.btn--ghost   { background: transparent; color: var(--c-white); border-color: rgba(255,255,255,.2); }
.btn--ghost:hover { border-color: var(--c-red); color: var(--c-red); }
.btn--text    { padding: 6px 0; background: none; border: 0; color: var(--c-red); border-bottom: 1px solid currentColor; border-radius: 0; }
.btn--text:hover { color: var(--c-white); }
.btn--sm      { padding: 10px 14px; font-size: 11px; }
.btn--xl      { padding: 22px 32px; font-size: 14px; }
.btn__arrow   { transition: transform .35s var(--t-snap); display: inline-block; }
.btn:hover .btn__arrow { transform: translateX(4px); }
[dir="rtl"] .btn:hover .btn__arrow { transform: translateX(-4px); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-2); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  padding: var(--space-3) 0;
  transition: background .35s var(--t-soft), backdrop-filter .35s var(--t-soft),
              border-color .35s var(--t-soft), padding .25s var(--t-soft);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(5,5,5,.82); backdrop-filter: blur(12px);
  border-bottom-color: var(--c-grey-line);
  padding-top: 10px; padding-bottom: 10px;
}
.site-header.is-scrolled .brand__icon { width: 22px; height: 22px; flex-basis: 22px; transition: width .25s var(--t-soft), height .25s var(--t-soft); }
.site-header.is-scrolled .brand__mark { font-size: 13px; transition: font-size .25s var(--t-soft); }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  padding-left: clamp(20px, 5vw, 56px);
  padding-right: clamp(20px, 5vw, 56px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__icon { width: 26px; height: 26px; flex: 0 0 26px; }
.brand__mark { font-family: var(--ff-display); font-weight: 800; letter-spacing: .14em; font-size: 15px; color: var(--c-white); text-transform: uppercase; }
/* Mobile header polish: tighter padding + smaller mark */
@media (max-width: 720px) {
  .site-header { padding: 14px 0; }
  .site-header__inner { padding-left: 20px; padding-right: 20px; gap: 12px; }
  .brand__icon { width: 22px; height: 22px; flex-basis: 22px; }
  .brand__mark { font-size: 13px; letter-spacing: .16em; }
  .site-header__mobile-cta { padding: 9px 12px; font-size: 10px; min-height: 38px; letter-spacing: .15em; }
}
.brand__dot  { width: 6px; height: 6px; background: var(--c-red); border-radius: 50%; box-shadow: 0 0 0 3px rgba(239,51,64,.18); }

.primary-nav { display: none; }
@media (min-width: 1080px) {
  .primary-nav { display: block; }
  .primary-nav ul { display: flex; gap: var(--space-4); list-style: none; margin: 0; padding: 0; }
  .primary-nav a { font-size: 13px; color: rgba(255,255,255,.75); position: relative; padding: 4px 0; transition: color .25s var(--t-soft); }
  .primary-nav a:hover, .primary-nav a.is-active { color: var(--c-white); }
  .primary-nav a::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: var(--c-red);
    transform: scaleX(0); transform-origin: left center; transition: transform .35s var(--t-line);
  }
  .primary-nav a:hover::after, .primary-nav a.is-active::after { transform: scaleX(1); }
  [dir="rtl"] .primary-nav a::after { transform-origin: right center; }
}
.site-header__right { display: flex; align-items: center; gap: var(--space-3); }
@media (max-width: 1079px) {
  .site-header__right .btn--header,
  .site-header__right .lang-switch { display: none; }
}

/* Mobile actions cluster (search icon + small CTA + hamburger) */
.site-header__mobile-actions { display: none; align-items: center; gap: 10px; }
@media (max-width: 1079px) {
  .site-header__mobile-actions { display: inline-flex; }
}
.site-header__mobile-cta { padding: 10px 14px; font-size: 11px; min-height: 44px; }
@media (max-width: 420px) { .site-header__mobile-cta { display: none; } }

/* Mobile menu trigger */
.menu-toggle {
  display: inline-flex; flex-direction: column; gap: 5px; align-items: center; justify-content: center;
  width: 44px; height: 44px; background: transparent; border: 1px solid var(--c-grey-line); padding: 0;
}
@media (min-width: 1080px) { .menu-toggle { display: none; } }
.menu-toggle span { width: 18px; height: 1px; background: var(--c-white); display: block; transition: transform .35s var(--t-line), opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile menu panel */
.mobile-menu {
  position: fixed; inset: 0; z-index: 70;
  background: var(--c-bg);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(96px, 14vh, 140px) clamp(24px, 6vw, 48px) clamp(28px, 4vh, 48px);
  transform: translateY(-100%); transition: transform .6s cubic-bezier(.77, 0, .18, 1);
  overflow-y: auto;
}
.mobile-menu::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-red) 32%, var(--c-red) 68%, transparent);
  opacity: .55;
}
.mobile-menu.is-open { transform: translateY(0); }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li {
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  opacity: 0; transform: translateY(10px);
  /* Elegant easing — no bounce, slow drift, refined */
  transition: opacity .9s cubic-bezier(.25, .1, .25, 1),
              transform .9s cubic-bezier(.25, .1, .25, 1);
}
.mobile-menu.is-open li { opacity: 1; transform: none; }
.mobile-menu.is-open li:nth-child(1) { transition-delay: .14s; }
.mobile-menu.is-open li:nth-child(2) { transition-delay: .22s; }
.mobile-menu.is-open li:nth-child(3) { transition-delay: .30s; }
.mobile-menu.is-open li:nth-child(4) { transition-delay: .38s; }
.mobile-menu.is-open li:nth-child(5) { transition-delay: .46s; }
.mobile-menu.is-open li:nth-child(6) { transition-delay: .54s; }
.mobile-menu.is-open li:nth-child(7) { transition-delay: .62s; }
.mobile-menu li a {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: clamp(14px, 3vw, 22px);
  padding: clamp(16px, 2.6vh, 22px) 0;
  font-family: var(--ff-display); font-weight: 700;
  font-size: clamp(28px, 7vw, 44px);
  line-height: 1;
  letter-spacing: -0.005em;
  color: rgba(255, 255, 255, .92);
  text-transform: uppercase;
  position: relative;
  transition: color .25s ease, transform .35s cubic-bezier(.6, .2, .2, 1);
}
/* Puzzle icon — small wireframe glyph per item; same vocabulary as hero diamond.
   Elegant entrance: subtle fade + tiny drift + soft scale, no bounce. */
.mobile-menu__icon {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, .55);
  opacity: 0;
  transform: scale(.94) translateX(-6px);
  transition: opacity .9s cubic-bezier(.25, .1, .25, 1),
              transform .9s cubic-bezier(.25, .1, .25, 1),
              color .35s ease;
}
.mobile-menu__icon svg { width: 100%; height: 100%; display: block; }
.mobile-menu.is-open .mobile-menu__icon {
  opacity: .8;
  transform: scale(1) translateX(0);
}
.mobile-menu.is-open li:nth-child(1) .mobile-menu__icon { transition-delay: .28s; }
.mobile-menu.is-open li:nth-child(2) .mobile-menu__icon { transition-delay: .36s; }
.mobile-menu.is-open li:nth-child(3) .mobile-menu__icon { transition-delay: .44s; }
.mobile-menu.is-open li:nth-child(4) .mobile-menu__icon { transition-delay: .52s; }
.mobile-menu.is-open li:nth-child(5) .mobile-menu__icon { transition-delay: .60s; }
.mobile-menu.is-open li:nth-child(6) .mobile-menu__icon { transition-delay: .68s; }
.mobile-menu.is-open li:nth-child(7) .mobile-menu__icon { transition-delay: .76s; }

/* A thin hairline behind each menu item, drawn slowly when the menu opens */
.mobile-menu li {
  border-bottom-color: transparent;
  position: relative;
}
.mobile-menu li::after {
  content: ''; position: absolute; left: 0; bottom: -1px;
  width: 0; height: 1px;
  background: rgba(255, 255, 255, .08);
  transition: width 1s cubic-bezier(.25, .1, .25, 1);
}
.mobile-menu.is-open li::after { width: 100%; }
.mobile-menu.is-open li:nth-child(1)::after { transition-delay: .30s; }
.mobile-menu.is-open li:nth-child(2)::after { transition-delay: .40s; }
.mobile-menu.is-open li:nth-child(3)::after { transition-delay: .50s; }
.mobile-menu.is-open li:nth-child(4)::after { transition-delay: .60s; }
.mobile-menu.is-open li:nth-child(5)::after { transition-delay: .70s; }
.mobile-menu.is-open li:nth-child(6)::after { transition-delay: .80s; }
.mobile-menu.is-open li:nth-child(7)::after { transition-delay: .90s; }

.mobile-menu li a:hover,
.mobile-menu li a:active {
  color: var(--c-red);
}
.mobile-menu li a:hover .mobile-menu__icon,
.mobile-menu li a:active .mobile-menu__icon {
  color: var(--c-red);
  opacity: 1;
}
.mobile-menu li a .mono {
  color: rgba(255, 255, 255, .35);
  font-family: var(--ff-mono); font-weight: 400;
  font-size: 11px; letter-spacing: .25em;
  align-self: center;
}
.mobile-menu__bottom {
  display: flex; flex-direction: column; gap: var(--space-3);
  margin-top: var(--space-4); padding-top: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, .07);
}
.mobile-menu__bottom .lang-switch { align-self: flex-start; }

/* Language switcher */
.lang-switch { display: inline-flex; gap: 0; border: 1px solid var(--c-grey-line); }
.lang-switch__btn {
  padding: 14px 12px; min-height: 44px; min-width: 44px;
  font-size: 11px; letter-spacing: .15em; color: var(--c-grey);
  text-transform: uppercase; background: transparent; border: 0; transition: background .25s, color .25s;
  font-family: var(--ff-sans-display); font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center;
}
.lang-switch__btn.is-active { background: var(--c-white); color: var(--c-bg); }
.lang-switch__btn:hover:not(.is-active) { color: var(--c-white); }

/* ============================================================
   SECTIONS / BLOCKS
   ============================================================ */
.section { position: relative; }
.section--paper { background: var(--c-bg-paper); color: var(--c-bg); }
.section--paper .lead, .section--paper .body { color: rgba(0,0,0,.7); }
.section--paper .mono, .section--paper .eyebrow { color: var(--c-grey-mid); }
.section--soft { background: var(--c-bg-soft); }

.section__heading { margin-bottom: var(--space-3); }
.section__heading + .lead { margin-top: var(--space-3); }
.section__lead   { font-size: var(--fs-lead); color: rgba(255,255,255,.75); max-width: 60ch; margin: 0; }
.section--paper .section__lead { color: rgba(0,0,0,.7); }

.section__cta { margin-top: var(--space-5); }

/* Asymmetric block: 70/30 split */
.block-70-30 { display: grid; gap: var(--space-5); grid-template-columns: 1fr; }
@media (min-width: 900px) { .block-70-30 { grid-template-columns: 7fr 3fr; gap: var(--space-6); align-items: end; } }

.block-30-70 { display: grid; gap: var(--space-5); grid-template-columns: 1fr; }
@media (min-width: 900px) { .block-30-70 { grid-template-columns: 3fr 7fr; gap: var(--space-6); align-items: end; } }

.block-50-50 { display: grid; gap: var(--space-5); grid-template-columns: 1fr; }
@media (min-width: 900px) { .block-50-50 { grid-template-columns: 1fr 1fr; gap: var(--space-6); align-items: center; } }

/* ============================================================
   LISTS — trust, process, industries
   ============================================================ */
.spec-list { list-style: none; padding: 0; margin: 0; }
.spec-list li {
  display: flex; align-items: baseline; gap: var(--space-3);
  padding: var(--space-3) 0; border-top: 1px solid var(--c-grey-line);
  font-size: var(--fs-body); color: rgba(255,255,255,.85);
}
.spec-list li:first-child { border-top: 0; }
.spec-list__num { font-family: var(--ff-mono); font-size: 11px; letter-spacing: .2em; color: var(--c-red); min-width: 32px; }

.industry-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.industry-tag {
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: .15em; text-transform: uppercase;
  padding: 8px 14px; border: 1px solid var(--c-grey-line); color: var(--c-grey);
}

/* ============================================================
   FORMS
   ============================================================ */
.form { width: 100%; }
.form__grid { display: grid; grid-template-columns: 1fr; gap: var(--space-3); }
@media (min-width: 720px) { .form__grid { grid-template-columns: 1fr 1fr; gap: var(--space-3) var(--space-3); } }
.form__field { display: flex; flex-direction: column; gap: 8px; }
.form__field--full { grid-column: 1 / -1; }
.form__label {
  font-family: var(--ff-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--c-grey);
}
.form input, .form select, .form textarea {
  width: 100%; padding: 14px 16px;
  background: rgba(255,255,255,.03); color: var(--c-white);
  border: 1px solid var(--c-grey-line); border-radius: 0;
  font-family: var(--ff-body); font-size: 15px;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--c-red);
  background: rgba(255,255,255,.05);
  box-shadow: 0 0 0 1px var(--c-red);
}
/* Keyboard-only outline — added per Audit 10. The :focus above gives a subtle
   1px box-shadow ring for all users; this adds a thicker offset outline that
   only appears on keyboard navigation, so mouse interactions stay clean. */
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible {
  outline: 2px solid var(--c-red);
  outline-offset: 2px;
}
.form textarea { min-height: 120px; resize: vertical; }
.form__submit { margin-top: var(--space-4); }
.form__alert { padding: 14px 18px; margin-bottom: var(--space-3); border-left: 3px solid var(--c-red); background: rgba(239,51,64,.07); font-size: 14px; }
.form__alert--ok { border-color: #22c55e; background: rgba(34,197,94,.07); }

/* ============================================================
   FOOTER — Awwwards anchor: massive wordmark + 3 compact columns
   ============================================================ */
.aw-footer {
  position: relative;
  background: var(--c-bg);
  color: #fff;
  padding: clamp(80px, 14vh, 160px) clamp(24px, 5vw, 80px) clamp(28px, 4vw, 48px);
  overflow: hidden;
}
.aw-footer__line {
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-red) 32%, var(--c-red) 68%, transparent);
  opacity: .6;
}
.aw-footer__anchor {
  position: relative;
  padding-bottom: clamp(48px, 7vw, 96px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.aw-footer__eyebrow {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: clamp(16px, 2.4vw, 28px);
}
.aw-footer__eyebrow::before {
  content: '— ';
  color: var(--c-red);
  margin-inline-end: 4px;
}
.aw-footer__wordmark {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: clamp(72px, 18vw, 320px);
  line-height: .82;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  background: linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.58) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
  display: block;
}
.aw-footer__tagline {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: clamp(18px, 2vw, 28px);
  letter-spacing: -.005em;
  line-height: 1.18;
  color: rgba(255,255,255,.78);
  margin: clamp(18px, 2.6vw, 32px) 0 0;
  max-width: 32ch;
}
.aw-footer__seal {
  position: absolute;
  top: clamp(8px, 2vw, 24px);
  inset-inline-end: clamp(4px, 1vw, 14px);
  width: clamp(56px, 7vw, 96px);
  height: clamp(56px, 7vw, 96px);
  display: grid; place-items: center;
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: clamp(28px, 3.4vw, 48px);
  color: #fff;
  background: var(--c-red);
  border-radius: 50%;
  letter-spacing: 0;
  box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 18px 40px -22px rgba(239,51,64,.7);
  user-select: none;
}
[dir="rtl"] .aw-footer__seal { letter-spacing: 0; }

.aw-footer__cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(36px, 4vw, 64px);
  padding: clamp(40px, 6vw, 72px) 0 clamp(40px, 5vw, 64px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
@media (min-width: 720px) {
  .aw-footer__cols { grid-template-columns: repeat(3, 1fr); }
}
.aw-footer__col-head {
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--c-red);
  margin: 0 0 clamp(14px, 1.6vw, 22px);
}
.aw-footer__col ul { list-style: none; padding: 0; margin: 0; }
.aw-footer__col li {
  padding: 7px 0;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: clamp(15px, 1.4vw, 18px);
  letter-spacing: .01em;
  text-transform: uppercase;
}
.aw-footer__col a {
  color: rgba(255,255,255,.82);
  transition: color .25s ease, transform .25s cubic-bezier(.6,.2,.2,1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.aw-footer__col a:hover { color: var(--c-red); transform: translateX(4px); }
[dir="rtl"] .aw-footer__col a:hover { transform: translateX(-4px); }

.aw-footer__base {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(12px, 2vw, 32px);
  justify-content: space-between;
  padding-top: clamp(24px, 3vw, 36px);
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
}
.aw-footer__base > span { white-space: nowrap; }
@media (max-width: 720px) {
  .aw-footer__base > span { white-space: normal; }
}

/* ============================================================
   WHATSAPP FAB — monochrome
   ============================================================ */
.whatsapp-fab {
  position: fixed; right: 18px; bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 60; width: 52px; height: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--c-bg-panel); color: var(--c-white);
  border: 1px solid var(--c-grey-line);
  border-radius: 50%;
  transition: transform .3s var(--t-snap), border-color .3s, color .3s;
}
.whatsapp-fab:hover { border-color: var(--c-red); color: var(--c-red); transform: translateY(-2px); }
[dir="rtl"] .whatsapp-fab { right: auto; left: 18px; }

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed; left: 18px; right: 86px; bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 70;
  background: var(--c-bg-panel); border: 1px solid var(--c-grey-line);
  padding: 14px 18px;
  display: none; align-items: center; gap: var(--space-3); justify-content: space-between; flex-wrap: wrap;
  transform: translateY(20px); opacity: 0; transition: transform .5s var(--t-line), opacity .5s var(--t-line);
}
.cookie-banner.is-visible { display: flex; transform: translateY(0); opacity: 1; }
.cookie-banner p { margin: 0; font-size: 13px; color: rgba(255,255,255,.78); flex: 1 1 220px; }
.cookie-banner .btn { min-height: 44px; padding: 12px 18px; }
@media (min-width: 720px) {
  .cookie-banner { left: auto; right: 18px; bottom: 90px; max-width: 460px; }
}
[dir="rtl"] .cookie-banner { left: 86px; right: 18px; }
[dir="rtl"] @media (min-width: 720px) {
  .cookie-banner { left: 18px; right: auto; }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; gap: var(--space-5); grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 4fr 8fr; gap: var(--space-7); align-items: start; } }
.contact-info__block { padding: var(--space-3) 0; border-top: 1px solid var(--c-grey-line); }
.contact-info__block:first-child { border-top: 0; padding-top: 0; }
.contact-info__label { display: block; font-family: var(--ff-mono); font-size: 10px; letter-spacing: .2em; color: var(--c-grey); text-transform: uppercase; margin-bottom: 6px; }
.contact-info__block a, .contact-info__block span { font-size: 17px; color: var(--c-white); }
.contact-info__block a:hover { color: var(--c-red); }

/* Inquiry type selector (mobile = dropdown, desktop = tabs) */
.contact-types { margin-bottom: var(--space-4); }
.contact-types__select { display: block; width: 100%; }
@media (min-width: 760px) {
  .contact-types__select { display: none; }
}
.contact-tabs { display: none; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid rgba(255,255,255,.10); margin-bottom: clamp(28px, 4vh, 44px); }
@media (min-width: 760px) { .contact-tabs { display: flex; } }
/* S6.2 — Elevated tabs: Cinzel labels, more padding, red active state with
   underline + subtle red wash + light slide-in transition. */
.contact-tabs__btn {
  padding: 14px 22px;
  background: transparent;
  border: 0;
  color: rgba(255,255,255,.55);
  font-family: var(--ff-display); font-weight: 500;
  font-size: clamp(12px, 1vw, 14px);
  letter-spacing: .18em;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  position: relative;
  transition: color .25s var(--t-line), border-color .25s var(--t-line), background .25s var(--t-line);
}
body.lang-ar .contact-tabs__btn { font-family: var(--ff-arabic); letter-spacing: 0; }
.contact-tabs__btn:hover { color: var(--c-white); }
.contact-tabs__btn.is-active {
  color: var(--c-red);
  border-color: var(--c-red);
  background: rgba(239, 51, 64, .04);
}
.contact-panel { display: none; }
.contact-panel.is-active { display: block; animation: contact-panel-in .4s var(--t-line); }
@keyframes contact-panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* S6.2 — Contact-scoped form input refinements. Bigger labels, red focus,
   cinematic submit. Scoped under .aw-form-panel so we don't touch the global
   .form styles other pages depend on. */
.aw-form-panel .form__field { margin-bottom: clamp(20px, 2.6vh, 28px); }
.aw-form-panel .form__label {
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: .32em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 10px;
  display: block;
}
.aw-form-panel .form__field input[type="text"],
.aw-form-panel .form__field input[type="email"],
.aw-form-panel .form__field input[type="tel"],
.aw-form-panel .form__field input[type="number"],
.aw-form-panel .form__field input[type="date"],
.aw-form-panel .form__field select,
.aw-form-panel .form__field textarea {
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--c-white);
  font-family: var(--ff-mono);
  font-size: 14px;
  letter-spacing: .04em;
  padding: 16px 18px;
  width: 100%;
  transition: border-color .25s var(--t-line), background .25s var(--t-line);
}
.aw-form-panel .form__field textarea { min-height: 140px; line-height: 1.5; resize: vertical; }
.aw-form-panel .form__field input:focus,
.aw-form-panel .form__field select:focus,
.aw-form-panel .form__field textarea:focus {
  outline: none;
  border-color: var(--c-red);
  background: rgba(239, 51, 64, .03);
}
/* Keyboard-only outline for the contact-page form (Audit 10). */
.aw-form-panel .form__field input:focus-visible,
.aw-form-panel .form__field select:focus-visible,
.aw-form-panel .form__field textarea:focus-visible {
  outline: 2px solid var(--c-red);
  outline-offset: 2px;
}
.aw-form-panel .form__submit,
.aw-form-panel button[type="submit"] {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 18px 32px;
  background: var(--c-red);
  color: var(--c-white);
  border: 1px solid var(--c-red);
  font-family: var(--ff-display); font-weight: 600;
  font-size: clamp(13px, 1.1vw, 15px);
  letter-spacing: .28em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .3s var(--t-line), color .3s var(--t-line), letter-spacing .3s var(--t-line), box-shadow .3s var(--t-line);
}
body.lang-ar .aw-form-panel button[type="submit"] { font-family: var(--ff-arabic); letter-spacing: 0; }
.aw-form-panel .form__submit:hover,
.aw-form-panel button[type="submit"]:hover {
  background: transparent;
  color: var(--c-red);
  letter-spacing: .34em;
  box-shadow: 0 0 32px rgba(239, 51, 64, .25);
}

/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 90; pointer-events: none; }
.scroll-progress__bar { height: 100%; width: 0; background: var(--c-red); transition: width .1s linear; box-shadow: 0 0 10px var(--c-red-glow); }

/* Skyline fallback (no WebGL) — typographic MVVGT wordmark backdrop */
.aw-skyline--fallback { display: grid; place-items: center; }
.aw-skyline__mark {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: clamp(80px, 18vw, 240px);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  background: linear-gradient(180deg, rgba(255,255,255,.85) 0%, rgba(255,255,255,.25) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  animation: aw-fallback-in 1.2s ease forwards;
}
@keyframes aw-fallback-in { to { opacity: 1; } }

/* Catalog empty state — mono micro-type, centered */
.aw-catalog-empty {
  text-align: center;
  color: rgba(255, 255, 255, .6);
  font-family: var(--ff-mono);
  letter-spacing: .2em;
  text-transform: uppercase;
  font-size: 12px;
  padding: clamp(40px, 8vh, 96px) 0;
  margin: 0;
}

/* ============================================================
   REVEAL — fast, snappy
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .5s var(--t-line), transform .5s var(--t-line); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-stagger] > * { opacity: 0; transform: translateY(14px); transition: opacity .45s var(--t-line), transform .45s var(--t-line); }
[data-reveal-stagger].is-visible > * { opacity: 1; transform: none; }
[data-reveal-stagger].is-visible > *:nth-child(1) { transition-delay: .03s; }
[data-reveal-stagger].is-visible > *:nth-child(2) { transition-delay: .08s; }
[data-reveal-stagger].is-visible > *:nth-child(3) { transition-delay: .13s; }
[data-reveal-stagger].is-visible > *:nth-child(4) { transition-delay: .18s; }
[data-reveal-stagger].is-visible > *:nth-child(5) { transition-delay: .23s; }
[data-reveal-stagger].is-visible > *:nth-child(6) { transition-delay: .28s; }
[data-reveal-stagger].is-visible > *:nth-child(7) { transition-delay: .33s; }
[data-reveal-stagger].is-visible > *:nth-child(n+8) { transition-delay: .38s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-reveal-stagger] > *,
  .hero__headline .word, .hero__scroll { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   PAGE TRANSITIONS — wireframe diamond draws itself in (transitions.js)
   Matches the hero + intro visual language. ~900ms total.
   ============================================================ */
.mvvgt-transition {
  position: fixed; inset: 0; z-index: 9000;
  background: #050505;
  pointer-events: none;
  clip-path: inset(100% 0 0 0);
  transition: clip-path .45s cubic-bezier(.77, 0, .18, 1);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.mvvgt-transition.is-active  { clip-path: inset(0 0 0 0); pointer-events: auto; }
.mvvgt-transition.is-leaving { clip-path: inset(0 0 100% 0); transition: clip-path .5s cubic-bezier(.77, 0, .18, 1); }

/* Stage holds the diamond — gets a subtle 3D perspective for depth */
/* Stage — Three.js canvas for the page transition. SAME size rule as the intro
   so both surfaces render an identically-sized diamond. */
.mvvgt-transition__stage {
  width: min(95vw, 480px);
  height: min(95vw, 480px);
}
.mvvgt-transition__stage canvas {
  display: block; width: 100% !important; height: 100% !important;
}


/* ============================================================
   GLOBAL REDUCED MOTION — kill everything that loops or sweeps.
   Applies on top of the per-component rules above.
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .aw-marquee__track,
  .aw-tagline__track { animation: none !important; transform: none !important; }
  .aw-pulse, .aw-flow,
  .aw-inner__hero-symbol svg .aw-pulse,
  .aw-inner__hero-symbol svg .aw-flow { animation: none !important; opacity: 1 !important; }
  .scroll-progress__bar { transition: none !important; }
  .aw-cursor { display: none !important; }
}
