/* ==========================================================================
   Tareq Design — Liquid Glass Homepage (Exact 1:1 awmedia.marketing Replica)
   Palette: Deep Obsidian Navy (#05080f) + Tareq Teal (#2dd4bf / #0d9488)
            + Logo Amber Gold (#fbbf24) + Full Dark/Light & RTL/LTR Support
   ========================================================================== */

:root {
  --bg: #080a0d;
  --bg-2: #0f1318;
  --ink: #f3f1ec;
  --ink-2: rgba(243, 241, 236, 0.78);
  --ink-3: rgba(243, 241, 236, 0.64);
  --line: rgba(243, 241, 236, 0.10);
  --line-teal: rgba(35, 181, 164, 0.28);
  --brand: #23b5a4;
  --brand-bright: #4fd1c2;
  --brand-deep: #158074;
  --brand-ink: #041412;
  --gold: #dfb253;
  --maxw: 1280px;
  --gutter: clamp(20px, 4.6vw, 64px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --r-xl: 28px;
  --r-lg: 22px;
  --r-md: 18px;
  --nav-h: 60px;
  --font-en: 'Rethink Sans', 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-serif: 'Instrument Serif', 'Playfair Display', Georgia, serif;
  --font-ar: 'Cairo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --glass-bg: linear-gradient(180deg, rgba(22, 26, 32, 0.56) 0%, rgba(11, 14, 18, 0.48) 100%);
  --glass-bg-strong: linear-gradient(180deg, rgba(20, 24, 30, 0.90) 0%, rgba(10, 13, 17, 0.88) 100%);
  --glass-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(255, 255, 255, 0.03),
    0 1px 1px rgba(0, 0, 0, 0.32),
    0 20px 52px -20px rgba(0, 0, 0, 0.72);
  --glass-rim: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08) 30%, rgba(255, 255, 255, 0.03) 62%, rgba(35, 181, 164, 0.18) 100%);
  --sheen-color: rgba(243, 241, 236, 0.075);
}

/* Light Mode Tokens (Warm Paper Alabaster + Deep Ink + Architectural Teal) */
html.tt-light-style-on,
body.aw-home.tt-light-style-on {
  --bg: #f6f5f1;
  --bg-2: #eceae3;
  --ink: #12171d;
  --ink-2: rgba(18, 23, 29, 0.80);
  --ink-3: rgba(18, 23, 29, 0.66);
  --line: rgba(18, 23, 29, 0.12);
  --line-teal: rgba(15, 118, 110, 0.30);
  --brand: #0f766e;
  --brand-bright: #149187;
  --brand-deep: #115e59;
  --brand-ink: #ffffff;
  --gold: #b88424;
  --glass-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(247, 246, 242, 0.72) 100%);
  --glass-bg-strong: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(246, 245, 241, 0.93) 100%);
  --glass-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    inset 0 -1px 0 rgba(18, 23, 29, 0.05),
    0 1px 2px rgba(18, 23, 29, 0.05),
    0 20px 48px -22px rgba(18, 23, 29, 0.14);
  --glass-rim: linear-gradient(135deg, rgba(18, 23, 29, 0.14), rgba(18, 23, 29, 0.06) 30%, rgba(18, 23, 29, 0.03) 60%, rgba(15, 118, 110, 0.22) 100%);
  --sheen-color: rgba(15, 118, 110, 0.07);
}

/* Base Reset scoped cleanly to homepage */
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--ink);
  overflow-x: clip;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.aw-home {
  margin: 0;
  padding: 0 !important;
  background: var(--bg) !important;
  color: var(--ink) !important;
  font-family: var(--font-en);
  font-size: 17px;
  line-height: 1.5;
  overflow-x: clip;
  max-width: 100%;
  transition: background-color 0.45s var(--ease), color 0.45s var(--ease);
}

html[lang="ar"] body.aw-home,
html.rtl body.aw-home {
  font-family: var(--font-ar);
  letter-spacing: 0 !important;
}

:where(body.aw-home a) {
  color: inherit;
  text-decoration: none;
}

:where(body.aw-home img, body.aw-home video) {
  display: block;
  max-width: 100%;
}

:where(body.aw-home button) {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

body.aw-home :focus-visible {
  outline: 2px solid var(--brand-bright);
  outline-offset: 3px;
}

.aw-skip {
  position: fixed;
  top: 12px;
  inset-inline-start: 16px;
  z-index: 10050;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--brand-ink);
  font-weight: 700;
  font-size: 14px;
  transform: translateY(-200%);
  transition: transform 0.25s var(--ease);
}
.aw-skip:focus-visible {
  transform: translateY(0);
}

/* ==========================================================================
   1. Global Ambient Field (Drifting Blooms + Animated Noise Grain)
   ========================================================================== */
.aw-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.aw-bloom {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  will-change: transform;
}

.aw-bloom.b1 {
  width: 78vmax;
  height: 78vmax;
  top: -30vmax;
  left: -20vmax;
  background: radial-gradient(circle, rgba(35, 181, 164, 0.065) 0%, rgba(35, 181, 164, 0.015) 45%, transparent 72%);
  animation: aw-drift1 42s ease-in-out infinite alternate;
}

.aw-bloom.b2 {
  width: 68vmax;
  height: 68vmax;
  right: -22vmax;
  bottom: -26vmax;
  background: radial-gradient(circle, rgba(223, 178, 83, 0.042) 0%, rgba(35, 181, 164, 0.018) 46%, transparent 74%);
  animation: aw-drift2 48s ease-in-out infinite alternate;
}

.aw-bloom.b3 {
  width: 42vmax;
  height: 42vmax;
  top: 40%;
  left: 52%;
  background: radial-gradient(circle, rgba(243, 241, 236, 0.028) 0%, transparent 72%);
  animation: aw-drift3 34s ease-in-out infinite alternate;
}

body.tt-light-style-on .aw-bloom.b1 {
  background: radial-gradient(circle, rgba(45, 212, 191, 0.18) 0%, transparent 70%);
}
body.tt-light-style-on .aw-bloom.b2 {
  background: radial-gradient(circle, rgba(38, 150, 176, 0.14) 0%, transparent 70%);
}
body.tt-light-style-on .aw-bloom.b3 {
  background: radial-gradient(circle, rgba(251, 191, 36, 0.10) 0%, transparent 70%);
}

@keyframes aw-drift1 {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(14vw, 10vh, 0) scale(1.12); }
}
@keyframes aw-drift2 {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-16vw, -12vh, 0) scale(1.09); }
}
@keyframes aw-drift3 {
  0%   { transform: translate3d(-12vw, -6vh, 0) scale(0.95); }
  100% { transform: translate3d(10vw, 12vh, 0) scale(1.12); }
}

.aw-grain {
  position: fixed;
  inset: -10%;
  width: 120%;
  height: 120%;
  opacity: 0.048;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: aw-grain-shift 0.9s steps(5, end) infinite;
}

body.tt-light-style-on .aw-grain {
  opacity: 0.025;
}

@keyframes aw-grain-shift {
  0%   { transform: translate3d(0, 0, 0); }
  25%  { transform: translate3d(-1.5%, 1%, 0); }
  50%  { transform: translate3d(1.2%, -1.4%, 0); }
  75%  { transform: translate3d(-0.8%, -1%, 0); }
  100% { transform: translate3d(1.5%, 0.8%, 0); }
}

/* ==========================================================================
   2. Custom Glass Orb Cursor & Pointer Light
   ========================================================================== */
.aw-cursor-light,
.aw-cursor-dot,
.aw-cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  opacity: 0;
  will-change: transform, opacity;
}

.aw-cursor-light {
  width: 640px;
  height: 640px;
  margin-left: -320px;
  margin-top: -320px;
  border-radius: 50%;
  z-index: 1;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.085) 0%, rgba(45, 212, 191, 0.025) 34%, transparent 68%);
  transition: opacity 0.4s ease;
}

body.tt-light-style-on .aw-cursor-light {
  background: radial-gradient(circle, rgba(13, 148, 136, 0.08) 0%, transparent 66%);
}

.aw-cursor-dot {
  width: 7px;
  height: 7px;
  margin-left: -3.5px;
  margin-top: -3.5px;
  border-radius: 50%;
  z-index: 9999;
  background: var(--brand-bright);
  box-shadow: 0 0 12px rgba(45, 212, 191, 0.7);
  transition: width 0.25s var(--ease), height 0.25s var(--ease), margin 0.25s var(--ease), opacity 0.25s ease;
}

.aw-cursor-ring {
  width: 88px;
  height: 88px;
  margin-left: -44px;
  margin-top: -44px;
  border-radius: 50%;
  z-index: 9998;
  display: grid;
  place-items: center;
  backdrop-filter: brightness(1.16) contrast(1.08) saturate(150%);
  -webkit-backdrop-filter: brightness(1.16) contrast(1.08) saturate(150%);
  background: radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.03) 34%, transparent 62%, rgba(45, 212, 191, 0.14) 100%);
  box-shadow:
    inset 0 1.5px 1.5px rgba(255, 255, 255, 0.58),
    inset 0 -6px 14px rgba(45, 212, 191, 0.14),
    inset 0 0 0 1px rgba(255, 255, 255, 0.26),
    0 12px 32px -10px rgba(0, 0, 0, 0.55);
  transition: width 0.35s var(--ease), height 0.35s var(--ease), margin 0.35s var(--ease), opacity 0.3s ease, background 0.3s ease;
}

.aw-cursor-ring svg {
  width: 22px;
  height: 22px;
  stroke: #fff;
  opacity: 0;
  transform: scale(0.5) rotate(-25deg);
  transition: transform 0.4s var(--ease), opacity 0.3s ease;
}

html.has-pointer.has-cursor .aw-cursor-light,
html.has-pointer.has-cursor .aw-cursor-dot,
html.has-pointer.has-cursor .aw-cursor-ring {
  opacity: 1;
}

html.has-pointer.cursor-link .aw-cursor-dot {
  width: 0;
  height: 0;
  margin: 0;
}
html.has-pointer.cursor-link .aw-cursor-ring {
  width: 60px;
  height: 60px;
  margin-left: -30px;
  margin-top: -30px;
  border-color: rgba(45, 212, 191, 0.45);
}

html.has-pointer.cursor-media .aw-cursor-dot {
  width: 0;
  height: 0;
  margin: 0;
}
html.has-pointer.cursor-media .aw-cursor-ring {
  width: 96px;
  height: 96px;
  margin-left: -48px;
  margin-top: -48px;
  background: radial-gradient(circle at 30% 26%, rgba(94, 234, 212, 0.34), rgba(13, 148, 136, 0.24) 60%, rgba(5, 8, 15, 0.4) 100%);
}
html.has-pointer.cursor-media .aw-cursor-ring svg {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

@media (hover: none), (pointer: coarse) {
  .aw-cursor-light,
  .aw-cursor-dot,
  .aw-cursor-ring {
    display: none !important;
  }
}

/* ==========================================================================
   3. Layout Wrappers, Typography & Liquid Glass Primitives
   ========================================================================== */
.aw-main {
  position: relative;
  z-index: 2;
}

.aw-wrap {
  width: min(var(--maxw), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.aw-wrap-narrow {
  width: min(940px, calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.aw-display {
  margin: 0;
  font-size: clamp(38px, 6vw, 92px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: var(--ink);
}

html[lang="ar"] .aw-display {
  line-height: 1.16;
  letter-spacing: -0.01em;
  font-weight: 800;
}

.aw-chrome {
  background: linear-gradient(180deg, #f7f5f0 10%, #cfd8d5 56%, #7fb9b1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

html:not([lang="ar"]) .aw-serif-accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
}

body.tt-light-style-on .aw-chrome {
  background: linear-gradient(180deg, #12171d 12%, #1d5d57 68%, #0f766e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.aw-dot-static {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  flex-shrink: 0;
  display: inline-block;
}

.aw-studio-note {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: var(--ink-3);
}

.aw-studio-note strong {
  color: var(--ink);
  font-weight: 600;
}

.aw-lede {
  margin: 0;
  color: var(--ink-2);
  font-size: clamp(16.5px, 1.32vw, 20px);
  line-height: 1.62;
}

.aw-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink-3);
  margin: 0 0 18px;
}

html[lang="ar"] .aw-eyebrow {
  letter-spacing: 0.04em;
  font-size: 13px;
}

.aw-eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 12px rgba(45, 212, 191, 0.85);
  flex-shrink: 0;
}

/* Liquid Glass Primitive */
.aw-glass {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(22px) saturate(170%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  box-shadow: var(--glass-shadow);
  isolation: isolate;
}

.aw-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--glass-rim);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}

.aw-glass::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    var(--sheen-size, 280px) circle at var(--mx, 50%) var(--my, -40%),
    var(--sheen-color),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  pointer-events: none;
  z-index: 1;
}

.aw-glass:hover::after {
  opacity: 1;
}

/* Pill Chip */
.aw-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink-2);
}

html[lang="ar"] .aw-chip {
  letter-spacing: 0.03em;
  font-size: 13px;
}

.aw-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.7);
  animation: aw-pulse 2.2s infinite;
  flex-shrink: 0;
}

@keyframes aw-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.7); }
  70%  { box-shadow: 0 0 0 8px rgba(45, 212, 191, 0); }
  100% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0); }
}

/* Buttons */
.aw-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 16px 30px;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1;
  overflow: hidden;
  white-space: nowrap;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease), background 0.35s ease, color 0.3s ease;
}

.aw-btn:hover {
  transform: translateY(-2px);
}
.aw-btn:active {
  transform: translateY(0) scale(0.985);
}

.aw-btn-solid {
  color: var(--brand-ink) !important;
  background: linear-gradient(180deg, #32c4b3 0%, #20a797 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 8px 24px -10px rgba(0, 0, 0, 0.65);
}

body.tt-light-style-on .aw-btn-solid {
  color: #ffffff !important;
  background: linear-gradient(180deg, #12877d 0%, #0f766e 100%);
  box-shadow: 0 8px 22px -10px rgba(18, 23, 29, 0.35);
}

.aw-btn-solid::after {
  content: '';
  position: absolute;
  inset: -40% -20%;
  background: linear-gradient(110deg, transparent 36%, rgba(255, 255, 255, 0.34) 50%, transparent 64%);
  transform: translateX(-130%);
  transition: transform 0.85s var(--ease);
  pointer-events: none;
}

.aw-btn-solid:hover::after {
  transform: translateX(130%);
}

.aw-btn-solid:hover {
  background: linear-gradient(180deg, #3fd0bf 0%, #24b4a3 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 12px 28px -10px rgba(0, 0, 0, 0.72);
}

.aw-btn-glass {
  color: var(--ink) !important;
  background: linear-gradient(180deg, rgba(28, 42, 60, 0.58) 0%, rgba(12, 18, 30, 0.54) 100%);
}

body.tt-light-style-on .aw-btn-glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(235, 244, 242, 0.85) 100%);
}

.aw-btn-sm {
  padding: 11px 20px;
  font-size: 14px;
}

.aw-btn-lg {
  padding: 21px 38px;
  font-size: 17.5px;
}

.aw-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  transition: color 0.3s ease, gap 0.35s var(--ease);
}

.aw-inline-link:hover {
  color: var(--brand);
  gap: 13px;
}

.aw-inline-link .aw-arr {
  display: inline-block;
  transition: transform 0.35s var(--ease);
}

html[dir="rtl"] .aw-inline-link .aw-arr {
  transform: scaleX(-1);
}

/* Reveal Animations */
.aw-line {
  display: block;
  overflow: hidden;
}
.aw-line-in {
  display: block;
  will-change: transform;
}

/* ==========================================================================
   4. Floating Pill Header + Work/Services Mega-Menus + Mobile Sheet
   ========================================================================== */
.aw-nav-wrap {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 900;
  display: flex;
  justify-content: center;
  padding-inline: 14px;
  pointer-events: none;
  transition: transform 0.55s var(--ease);
}

.aw-nav-wrap.hide {
  transform: translateY(-150%);
}

.aw-nav {
  pointer-events: auto;
  position: relative;
  width: min(1180px, 100%);
  height: var(--nav-h);
  border-radius: 999px;
  padding: 0 8px 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(180deg, rgba(16, 26, 40, 0.72) 0%, rgba(7, 11, 18, 0.68) 100%);
}

html[dir="rtl"] .aw-nav {
  padding: 0 22px 0 8px;
}

body.tt-light-style-on .aw-nav {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(242, 248, 247, 0.84) 100%);
}

.aw-nav-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.aw-nav-logo img {
  height: 26px;
  width: auto;
  object-fit: contain;
}

body.aw-home:not(.tt-light-style-on) .aw-logo-dark { display: none; }
body.aw-home:not(.tt-light-style-on) .aw-logo-light { display: block; }
body.aw-home.tt-light-style-on .aw-logo-light { display: none; }
body.aw-home.tt-light-style-on .aw-logo-dark { display: block; }

.aw-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
}

.aw-nav-links > a,
.aw-nav-links > button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 13px;
  border-radius: 999px;
  transition: color 0.25s ease, background 0.25s ease;
}

.aw-nav-links > a:hover,
.aw-nav-links > button:hover,
.aw-nav-links > button[aria-expanded="true"] {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
}

body.tt-light-style-on .aw-nav-links > a:hover,
body.tt-light-style-on .aw-nav-links > button:hover,
body.tt-light-style-on .aw-nav-links > button[aria-expanded="true"] {
  background: rgba(13, 148, 136, 0.08);
}

.aw-caret {
  width: 11px;
  height: 11px;
  transition: transform 0.35s var(--ease);
}

.aw-nav-links > button[aria-expanded="true"] .aw-caret {
  transform: rotate(180deg);
}

.aw-nav-side {
  display: flex;
  align-items: center;
  gap: 8px;
}

.aw-nav-quiet {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-3);
  padding: 8px 10px;
  border-radius: 999px;
  transition: color 0.25s ease;
}

.aw-nav-quiet:hover {
  color: var(--ink);
}

.aw-nav-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-2);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.aw-nav-icon-btn:hover {
  color: var(--brand);
  border-color: var(--line-teal);
  background: rgba(45, 212, 191, 0.08);
}

.aw-nav-burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.aw-nav-burger span {
  display: block;
  width: 17px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.25s ease;
}

.aw-nav-burger[aria-expanded="true"] span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}
.aw-nav-burger[aria-expanded="true"] span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

/* Mega-Menu Dropdowns */
.aw-mega {
  position: fixed;
  top: calc(14px + var(--nav-h) + 12px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 890;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s var(--ease), visibility 0.28s var(--ease);
}

.aw-mega.open {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

.aw-mega-panel {
  border-radius: 28px;
  background: var(--glass-bg-strong);
  overflow: hidden;
  transform: translateY(10px) scale(0.985);
  transition: transform 0.45s var(--ease);
}

.aw-mega.open .aw-mega-panel {
  transform: translateY(0) scale(1);
}

.aw-mega-work {
  width: min(880px, calc(100vw - 28px));
}

.aw-mega-services {
  width: min(960px, calc(100vw - 28px));
}

.aw-mega-grid-work {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 24px 24px 20px;
}

.aw-mega-card {
  display: block;
}

.aw-mega-thumb {
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-2);
  margin-bottom: 11px;
  border: 1px solid var(--line);
}

.aw-mega-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(18%) contrast(1.03);
  transition: filter 0.45s var(--ease), transform 0.65s var(--ease);
}

.aw-mega-card:hover .aw-mega-thumb img {
  filter: grayscale(0%) contrast(1);
  transform: scale(1.05);
}

.aw-mega-card strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 3px;
}

.aw-mega-card span {
  display: block;
  font-size: 12.5px;
  color: var(--ink-3);
  line-height: 1.4;
}

.aw-mega-grid-services {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.2fr;
  gap: 22px;
  padding: 26px 26px 22px;
}

.aw-mega-col h4 {
  margin: 0 0 12px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--brand);
}

.aw-mega-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.aw-mega-col a {
  display: block;
  font-size: 14px;
  color: var(--ink-2);
  padding: 4px 0;
  transition: color 0.25s ease, transform 0.25s var(--ease);
}

.aw-mega-col a:hover {
  color: var(--ink);
  transform: translateX(4px);
}
html[dir="rtl"] .aw-mega-col a:hover {
  transform: translateX(-4px);
}

.aw-mega-feature {
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  background: linear-gradient(155deg, rgba(45, 212, 191, 0.14), rgba(10, 18, 30, 0.6));
  border: 1px solid var(--line-teal);
}

.aw-mega-feature small {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
}

.aw-mega-feature h5 {
  margin: 6px 0 6px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}

.aw-mega-feature p {
  margin: 0;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.5;
}

.aw-mega-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 24px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink-3);
}

/* Mobile Full-Screen Glass Sheet */
.aw-sheet {
  position: fixed;
  inset: 0;
  z-index: 880;
  background: rgba(3, 6, 12, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: calc(14px + var(--nav-h) + 14px) 14px 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}

.aw-sheet.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.aw-sheet-inner {
  width: min(520px, 100%);
  max-height: calc(100dvh - 104px);
  overflow-x: hidden;
  overflow-y: auto;
  border-radius: 30px;
  padding: 28px 24px 24px;
  background: var(--glass-bg-strong);
  transform: translateY(-14px) scale(0.97);
  transition: transform 0.45s var(--ease);
}

.aw-sheet.open .aw-sheet-inner {
  transform: translateY(0) scale(1);
}

.aw-sheet-links {
  display: grid;
  gap: 6px;
  margin-bottom: 22px;
}

.aw-sheet-links a {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.03em;
  padding: 8px 4px;
  color: var(--ink);
  transition: color 0.25s ease;
}

.aw-sheet-links a:hover {
  color: var(--brand);
}

.aw-sheet-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding: 16px 0 22px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-3);
}

.aw-sheet-cta {
  width: 100%;
}

/* ==========================================================================
   5. Section 1: #hero (Full-Bleed Cinematic Video + Chrome Headline)
   ========================================================================== */
.aw-hero {
  position: relative;
  min-height: 100svh;
  min-height: max(100svh, 660px);
  display: grid;
  place-items: center;
  padding: calc(var(--nav-h) + 46px) var(--gutter) 78px;
  overflow: hidden;
}

.aw-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  will-change: transform, opacity;
}

.aw-hero-media video,
.aw-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(85%) contrast(1.08) brightness(0.42);
  transform: scale(1.04);
}

body.tt-light-style-on .aw-hero-media video,
body.tt-light-style-on .aw-hero-media img {
  filter: grayscale(85%) contrast(0.95) brightness(1.08);
  opacity: 0.16;
}

.aw-hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 68% 58% at 50% 44%, rgba(45, 212, 191, 0.08) 0%, rgba(5, 8, 15, 0.62) 55%, var(--bg) 100%),
    linear-gradient(180deg, rgba(5, 8, 15, 0.55) 0%, transparent 24%, rgba(5, 8, 15, 0.72) 82%, var(--bg) 100%);
  pointer-events: none;
}

body.tt-light-style-on .aw-hero-shade {
  background:
    radial-gradient(ellipse 70% 60% at 50% 45%, rgba(45, 212, 191, 0.12) 0%, rgba(243, 247, 246, 0.72) 60%, var(--bg) 100%),
    linear-gradient(180deg, rgba(243, 247, 246, 0.7) 0%, transparent 30%, var(--bg) 100%);
}

.aw-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1080px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.aw-hero-title {
  margin: 26px 0 24px;
  font-size: clamp(48px, 10vw, 164px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.055em;
  color: var(--ink);
}

html[lang="ar"] .aw-hero-title {
  font-size: clamp(38px, 6.8vw, 106px);
  line-height: 1.14;
  letter-spacing: -0.015em;
  font-weight: 900;
}

.aw-hero-sub {
  margin: 0 0 34px;
  max-width: 650px;
  font-size: clamp(16.5px, 1.42vw, 20.5px);
  line-height: 1.58;
  color: var(--ink-2);
}

.aw-hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 42px;
}

.aw-hero-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 26px;
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink-3);
}

html[lang="ar"] .aw-hero-proof {
  letter-spacing: 0.04em;
  font-size: 13px;
}

.aw-hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.aw-hero-proof span::before {
  content: '';
  width: 4.5px;
  height: 4.5px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 8px rgba(45, 212, 191, 0.8);
}

.aw-scroll-cue {
  position: absolute;
  bottom: 28px;
  inset-inline-end: var(--gutter);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.aw-scroll-cue .aw-cue-line {
  width: 1px;
  height: 46px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}

.aw-scroll-cue .aw-cue-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent, var(--brand-bright), transparent);
  animation: aw-cue 2.1s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes aw-cue {
  0%   { transform: translateY(0); }
  100% { transform: translateY(200%); }
}

.aw-hero-video-controls {
  position: absolute;
  bottom: 24px;
  inset-inline-end: var(--gutter);
  z-index: 4;
  display: flex;
  gap: 8px;
}

.aw-hero-video-controls button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--brand);
  font-size: 12px;
}

/* ==========================================================================
   6. Section 2: #built (3D Perspective Browser Showcase)
   ========================================================================== */
.aw-built {
  padding: clamp(80px, 11vw, 150px) var(--gutter) clamp(70px, 9vw, 120px);
  text-align: center;
}

.aw-built-title {
  margin: 20px auto clamp(34px, 5vw, 56px);
  font-size: clamp(40px, 6.4vw, 96px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

html[lang="ar"] .aw-built-title {
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 800;
}

.aw-built-stage {
  perspective: 1800px;
  max-width: 1240px;
  margin-inline: auto;
}

.aw-device {
  border-radius: 30px;
  padding: 14px 14px 16px;
  transform-origin: center top;
  will-change: transform;
  display: block;
}

.aw-device-bar {
  display: grid;
  grid-template-columns: 112px 1fr 112px;
  align-items: center;
  padding: 4px 10px 14px;
  gap: 10px;
}

.aw-device-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.aw-device-nav-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink-2);
  display: grid;
  place-items: center;
  font-size: 11px;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease);
}

.aw-device-nav-btn:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--brand-ink);
  transform: scale(1.06);
}

.aw-device-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.aw-device-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: block;
}
.aw-device-dots i:first-child { background: rgba(45, 212, 191, 0.65); }
.aw-device-dots i:nth-child(2) { background: rgba(251, 191, 36, 0.55); }
.aw-device-dots i:nth-child(3) { background: rgba(255, 255, 255, 0.24); }

.aw-device-url {
  justify-self: center;
  min-width: 0;
  padding: 6px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  font-size: 12.5px;
  color: var(--ink-3);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.aw-device-screen {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 1440 / 880;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--line);
}

.aw-device-shot {
  width: 100%;
  height: 138%;
  object-fit: cover;
  object-position: top center;
  will-change: transform;
}

.aw-device-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(5, 8, 15, 0.84) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: clamp(18px, 3vw, 34px);
  text-align: start;
  gap: 16px;
}

.aw-device-meta small {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brand);
  margin-bottom: 6px;
}

.aw-device-meta strong {
  display: block;
  font-size: clamp(20px, 2.4vw, 32px);
  font-weight: 700;
  color: #fff;
}

.aw-built-cap {
  margin: 26px auto 0;
  max-width: 580px;
  font-size: 15.5px;
  color: var(--ink-3);
  line-height: 1.65;
}

/* Upgraded 3-Card Liquid Glass Project Switcher Dock */
.aw-built-tabs {
  position: relative;
  z-index: 6;
  width: min(980px, 100%);
  max-width: 100%;
  margin: 34px auto 0;
  padding: 8px;
  border-radius: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  overflow: hidden;
}

.aw-built-tab {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  padding: 12px 14px;
  border-radius: 17px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.02);
  text-align: start;
  color: var(--ink-2);
  transition:
    background 0.35s var(--ease),
    border-color 0.35s var(--ease),
    color 0.3s ease,
    transform 0.35s var(--ease),
    box-shadow 0.4s var(--ease);
}

.aw-built-tab:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.055);
  border-color: var(--line);
  transform: translateY(-1px);
}

.aw-built-tab.is-active {
  color: var(--ink);
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.16) 0%, rgba(13, 148, 136, 0.08) 100%);
  border-color: rgba(45, 212, 191, 0.48);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 12px 30px -12px rgba(45, 212, 191, 0.42);
}

body.tt-light-style-on .aw-built-tab {
  background: rgba(10, 22, 36, 0.025);
}

body.tt-light-style-on .aw-built-tab:hover {
  background: rgba(13, 148, 136, 0.07);
}

body.tt-light-style-on .aw-built-tab.is-active {
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.14) 0%, rgba(255, 255, 255, 0.92) 100%);
  border-color: rgba(13, 148, 136, 0.45);
  box-shadow: 0 10px 26px -12px rgba(13, 148, 136, 0.28);
}

.aw-built-tab-thumb {
  width: 52px;
  height: 38px;
  border-radius: 9px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--line);
  background: var(--bg-2);
}

.aw-built-tab-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(24%) contrast(1.03);
  transition: filter 0.35s ease, transform 0.45s var(--ease);
}

.aw-built-tab:hover .aw-built-tab-thumb img,
.aw-built-tab.is-active .aw-built-tab-thumb img {
  filter: grayscale(0%) contrast(1);
  transform: scale(1.06);
}

.aw-built-tab-info {
  min-width: 0;
  flex: 1;
}

.aw-built-tab-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.aw-built-tab.is-active .aw-built-tab-meta {
  color: var(--brand);
}

.aw-built-tab-title {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.aw-built-tab-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line);
  flex-shrink: 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s var(--ease);
}

.aw-built-tab.is-active .aw-built-tab-dot {
  background: var(--brand);
  box-shadow: 0 0 10px rgba(45, 212, 191, 0.85);
  transform: scale(1.15);
}

@media (max-width: 820px) {
  .aw-built-tabs {
    grid-template-columns: minmax(0, 1fr);
    border-radius: 20px;
    padding: 6px;
    gap: 6px;
    margin-top: 22px;
  }
  .aw-built-tab {
    padding: 10px 12px;
    gap: 10px;
  }
  .aw-built-tab-thumb {
    width: 44px;
    height: 34px;
  }
  .aw-device-bar {
    grid-template-columns: 52px minmax(0, 1fr) 64px;
    gap: 6px;
    padding: 2px 4px 10px;
  }
  .aw-device-url {
    padding: 5px 10px;
    font-size: 11px;
  }
}

.aw-device-shot {
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease);
}
.aw-device-shot.is-swapping {
  opacity: 0;
}

/* Client Logo Strip inside #trusted */
.aw-logo-marquee-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 224px;
  height: 118px;
  padding: 0;
  margin-inline: 12px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(20, 32, 48, 0.52) 0%, rgba(8, 13, 22, 0.38) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 14px 34px -18px rgba(0, 0, 0, 0.7);
  transition: border-color 0.35s ease, background 0.35s ease, transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

body.tt-light-style-on .aw-logo-marquee-item {
  border-color: rgba(10, 22, 36, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.90) 0%, rgba(242, 248, 247, 0.78) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 12px 28px -18px rgba(10, 22, 36, 0.18);
}

.aw-logo-marquee-item:hover {
  border-color: var(--line-teal);
  background: linear-gradient(180deg, rgba(45, 212, 191, 0.13) 0%, rgba(12, 22, 34, 0.58) 100%);
  box-shadow: inset 0 1px 0 rgba(94, 234, 212, 0.3), 0 18px 36px -14px rgba(45, 212, 191, 0.25);
  transform: translateY(-3px);
}

body.tt-light-style-on .aw-logo-marquee-item:hover {
  background: linear-gradient(180deg, rgba(13, 148, 136, 0.10) 0%, rgba(255, 255, 255, 0.95) 100%);
}

/* Client PNGs are 400x400 with generous outer padding; oversize cleanly inside overflow:hidden card */
.aw-logo-marquee-item img {
  width: 224px;
  height: 224px;
  max-width: none;
  object-fit: contain;
  opacity: 0.92;
  filter: brightness(1.08) contrast(1.06);
  transition: opacity 0.35s ease, transform 0.45s var(--ease);
}

body.tt-light-style-on .aw-logo-marquee-item img {
  opacity: 0.88;
  filter: contrast(1.08);
}

.aw-logo-marquee-item:hover img {
  opacity: 1;
  transform: scale(1.06);
}

@media (max-width: 760px) {
  .aw-logo-marquee-item {
    width: 176px;
    height: 96px;
    border-radius: 20px;
    margin-inline: 8px;
  }
  .aw-logo-marquee-item img {
    width: 176px;
    height: 176px;
  }
}

body.aw-home:not(.tt-light-style-on) .aw-client-dark { display: none; }
body.aw-home:not(.tt-light-style-on) .aw-client-light { display: block; }
body.aw-home.tt-light-style-on .aw-client-light { display: none; }
body.aw-home.tt-light-style-on .aw-client-dark { display: block; }

/* ==========================================================================
   7. Section 3: #trusted (Dual-Row Opposing Infinite Marquee)
   ========================================================================== */
.aw-trusted {
  padding: clamp(56px, 7vw, 100px) 0;
  overflow: hidden;
}

.aw-trusted-head {
  text-align: center;
  margin: 0 0 36px;
  font-size: clamp(19px, 2vw, 28px);
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: -0.02em;
}

.aw-marquee {
  display: grid;
  gap: 16px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.aw-marquee-row {
  display: flex;
  width: max-content;
  will-change: transform;
}

.aw-marquee-track {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.aw-marquee-item {
  display: inline-flex;
  align-items: center;
  font-size: clamp(26px, 4vw, 60px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: rgba(244, 248, 250, 0.20);
  white-space: nowrap;
  transition: color 0.35s ease;
  padding-inline: 18px;
}

body.tt-light-style-on .aw-marquee-item {
  color: rgba(10, 22, 36, 0.20);
}

.aw-marquee-item:hover {
  color: var(--ink);
}

.aw-marquee-sep {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand);
  opacity: 0.45;
  box-shadow: 0 0 14px rgba(45, 212, 191, 0.55);
  flex-shrink: 0;
}

.aw-marquee-row[data-dir="1"] {
  animation: aw-marquee-l 38s linear infinite;
}
.aw-marquee-row[data-dir="-1"] {
  animation: aw-marquee-r 42s linear infinite;
}
.aw-marquee-row:hover {
  animation-play-state: paused;
}

@keyframes aw-marquee-l {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}
@keyframes aw-marquee-r {
  0%   { transform: translate3d(-50%, 0, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

/* ==========================================================================
   8. Section 4: #intro (Word-Scrub Statement + 3x2 Hairline Glass Bento)
   ========================================================================== */
.aw-intro {
  padding: clamp(80px, 10vw, 140px) 0;
}

.aw-intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 4vw, 52px);
  margin-bottom: clamp(54px, 7vw, 84px);
}

.aw-statement {
  margin: 0;
  font-size: clamp(34px, 5.2vw, 82px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.042em;
  max-width: 22ch;
}

html[lang="ar"] .aw-statement {
  line-height: 1.24;
  letter-spacing: -0.01em;
  font-weight: 800;
  max-width: 24ch;
}

.aw-scrub-word {
  color: rgba(244, 248, 250, 0.17);
  transition: color 0.12s linear;
}

body.tt-light-style-on .aw-scrub-word {
  color: rgba(10, 22, 36, 0.17);
}

.aw-intro-side {
  max-width: 470px;
  margin-inline-start: auto;
}

.aw-intro-side p {
  margin: 0 0 22px;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink-2);
}

.aw-intro-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

/* 3x2 Hairline Glass Bento */
.aw-cells {
  border-radius: var(--r-xl);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
}

.aw-cell {
  position: relative;
  min-height: 235px;
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-inline-end: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.4s var(--ease);
  z-index: 2;
}

.aw-cell:nth-child(3n) {
  border-inline-end: 0;
}
.aw-cell:nth-last-child(-n+3) {
  border-bottom: 0;
}

.aw-cell:hover {
  background: rgba(45, 212, 191, 0.055);
}

.aw-cell-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.aw-cell-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  transition: color 0.3s ease;
}

.aw-cell:hover .aw-cell-tag {
  color: var(--brand);
}

.aw-cell-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--ink-2);
  transition: background 0.4s var(--ease), color 0.3s ease, border-color 0.3s ease, transform 0.45s var(--ease);
}

.aw-cell:hover .aw-cell-arrow {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--brand-ink);
  transform: rotate(45deg);
}

.aw-cell h3 {
  margin: 0 0 8px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.aw-cell p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-3);
  line-height: 1.5;
}

/* ==========================================================================
   9. Section 5: #pain (Word-Scrub Problem Statement + Animated Underline)
   ========================================================================== */
.aw-pain {
  padding: clamp(72px, 10vw, 140px) 0;
  text-align: center;
}

.aw-pain-big {
  margin: 0 auto 28px;
  font-size: clamp(30px, 4.3vw, 66px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.038em;
}

html[lang="ar"] .aw-pain-big {
  line-height: 1.28;
  letter-spacing: -0.01em;
  font-weight: 800;
}

.aw-pain-sub {
  margin: 0 auto 38px;
  max-width: 680px;
  font-size: clamp(16.5px, 1.35vw, 20px);
  line-height: 1.68;
  color: var(--ink-2);
}

.aw-underline {
  position: relative;
  display: inline-block;
  color: var(--ink);
  font-weight: 700;
}

.aw-underline::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--gold));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.9s var(--ease);
}

html[dir="rtl"] .aw-underline::after {
  transform-origin: right center;
}

.aw-underline.on::after {
  transform: scaleX(1);
}

/* ==========================================================================
   10. Section 6: #work (Sticky Stacked Cards + Horizontal Grayscale Rail)
   ========================================================================== */
.aw-work {
  padding: clamp(72px, 9vw, 130px) 0;
}

.aw-sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(36px, 5vw, 60px);
}

.aw-stack {
  display: grid;
  gap: 34px;
  margin-bottom: clamp(64px, 9vw, 110px);
}

.aw-stack-card {
  position: sticky;
  top: calc(var(--nav-h) + 34px + var(--i, 0) * 18px);
  height: min(76vh, 760px);
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-2);
  display: block;
  transform-origin: center top;
  will-change: transform;
  box-shadow: 0 32px 80px -24px rgba(0, 0, 0, 0.8);
}

.aw-stack-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.aw-stack-card:hover img {
  transform: scale(1.035);
}

.aw-stack-dim {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 15, 0);
  pointer-events: none;
  z-index: 2;
}

.aw-stack-live {
  position: absolute;
  top: 22px;
  inset-inline-end: 22px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(5, 8, 15, 0.56);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.aw-stack-cap {
  position: absolute;
  bottom: 24px;
  inset-inline-start: 24px;
  z-index: 3;
  max-width: min(440px, calc(100% - 48px));
  border-radius: 24px;
  padding: 22px 24px;
  background: linear-gradient(180deg, rgba(10, 18, 30, 0.78) 0%, rgba(5, 8, 15, 0.86) 100%);
  color: #fff;
}

.aw-stack-meta {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--brand-bright);
  margin-bottom: 6px;
}

.aw-stack-cap h3 {
  margin: 0 0 12px;
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #fff;
}

.aw-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.aw-tag {
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.86);
}

/* Horizontal More-Projects Rail */
.aw-rail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.aw-rail-head-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 20px;
}

.aw-rail-filters {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 5px;
  border-radius: 999px;
}

.aw-filter-pill {
  position: relative;
  z-index: 3;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
  transition: background 0.3s var(--ease), color 0.25s ease;
}

.aw-filter-pill:hover {
  color: var(--ink);
}

.aw-filter-pill.is-active {
  background: var(--brand);
  color: var(--brand-ink);
}

.aw-rail-card.is-filtered-out {
  display: none;
}

.aw-rail-img {
  position: relative;
}

.aw-quick-view-btn {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(5, 8, 15, 0.62);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 12px;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background 0.25s ease, color 0.25s ease;
  z-index: 3;
}

.aw-rail-card:hover .aw-quick-view-btn,
.aw-quick-view-btn:focus-visible {
  opacity: 1;
  transform: scale(1);
}

.aw-quick-view-btn:hover {
  background: var(--brand);
  color: var(--brand-ink);
  border-color: var(--brand);
}

/* Liquid Glass Lightbox Modal */
.aw-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(3, 6, 12, 0.82);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}

.aw-lightbox.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.aw-lightbox-box {
  width: min(960px, 100%);
  border-radius: 28px;
  overflow: hidden;
  background: var(--glass-bg-strong);
  transform: scale(0.96) translateY(12px);
  transition: transform 0.4s var(--ease);
}

.aw-lightbox.open .aw-lightbox-box {
  transform: scale(1) translateY(0);
}

.aw-lightbox-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--bg-2);
  overflow: hidden;
}

.aw-lightbox-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aw-lightbox-close {
  position: absolute;
  top: 16px;
  inset-inline-end: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(5, 8, 15, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 18px;
  transition: background 0.25s ease, color 0.25s ease;
}

.aw-lightbox-close:hover {
  background: var(--brand);
  color: var(--brand-ink);
}

.aw-lightbox-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 20px 24px;
}

.aw-lightbox-foot small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 4px;
}

.aw-lightbox-foot strong {
  display: block;
  font-size: 20px;
  color: var(--ink);
}

.aw-rail-head h3 {
  margin: 0;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.aw-rail-controls {
  display: flex;
  gap: 10px;
}

.aw-round {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: background 0.3s ease, color 0.3s ease, transform 0.35s var(--ease);
}

.aw-round:hover {
  background: var(--brand);
  color: var(--brand-ink);
  transform: scale(1.06);
}

.aw-rail {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-inline: var(--gutter);
  padding-bottom: 8px;
  cursor: grab;
  user-select: none;
}

.aw-rail::-webkit-scrollbar {
  display: none;
}

.aw-rail.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.aw-rail-card {
  flex: 0 0 clamp(290px, 28vw, 390px);
  scroll-snap-align: start;
  display: block;
}

.aw-rail-img {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 22px;
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--line);
  margin-bottom: 15px;
}

.aw-rail-img-link {
  display: block;
  width: 100%;
  height: 100%;
}

.aw-rail-body-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.aw-rail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(18%) contrast(1.03);
  transition: filter 0.55s var(--ease), transform 0.7s var(--ease);
}

.aw-rail-card:hover .aw-rail-img img {
  filter: grayscale(0%) contrast(1);
  transform: scale(1.05);
}

.aw-rail-meta {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 5px;
}

.aw-rail-card h4 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.aw-rail-card .aw-tag {
  color: var(--ink-3);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
}

/* ==========================================================================
   11. Section 7: #services (5 Full-Width Interactive Bordered Rows)
   ========================================================================== */
.aw-services {
  padding: clamp(80px, 10vw, 140px) 0;
}

.aw-services-head {
  max-width: 820px;
  margin-bottom: clamp(42px, 6vw, 72px);
}

.aw-rows {
  border-top: 1px solid var(--line);
}

.aw-row {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1.35fr auto;
  align-items: center;
  gap: 28px;
  padding: clamp(28px, 3.6vw, 44px) 16px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  transition: background 0.35s var(--ease);
}

.aw-row::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(45, 212, 191, 0.10), transparent 72%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.aw-row:hover::after {
  opacity: 1;
}

.aw-row h3 {
  margin: 0;
  font-size: clamp(24px, 2.7vw, 38px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  transition: transform 0.45s var(--ease), color 0.3s ease;
}

.aw-row:hover h3 {
  transform: translateX(12px);
  color: var(--brand-bright);
}
html[dir="rtl"] .aw-row:hover h3 {
  transform: translateX(-12px);
}

.aw-row p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 48ch;
}

.aw-row-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  transition: background 0.35s var(--ease), color 0.3s ease, border-color 0.3s ease;
}

.aw-row:hover .aw-row-cta {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--brand-ink);
}

/* ==========================================================================
   13. Section 9: #process (Sticky Rolling Counter + 5 Illuminating Steps)
   ========================================================================== */
.aw-process {
  padding: clamp(80px, 10vw, 150px) 0;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 6vw;
  align-items: start;
}

.aw-process-sticky {
  position: sticky;
  top: 16vh;
}

.aw-process-sticky h2 {
  font-size: clamp(34px, 4.4vw, 62px);
  margin-bottom: 34px;
}

.aw-step-counter {
  height: 1.05em;
  overflow: hidden;
  font-size: clamp(110px, 13vw, 210px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.055em;
  margin-bottom: 24px;
  font-variant-numeric: tabular-nums;
}

.aw-step-reel {
  display: flex;
  flex-direction: column;
  transition: transform 0.7s var(--ease);
  will-change: transform;
}

.aw-step-reel span {
  display: block;
  height: 1.05em;
  line-height: 1.05;
  background: linear-gradient(180deg, #f7f5f0 10%, #cfd8d5 56%, #7fb9b1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.tt-light-style-on .aw-step-reel span {
  background: linear-gradient(180deg, #12171d 12%, #1d5d57 68%, #0f766e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.aw-step-bar {
  width: 240px;
  max-width: 100%;
  height: 2px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.aw-step-bar i {
  display: block;
  height: 100%;
  width: 20%;
  background: linear-gradient(90deg, var(--brand), var(--gold));
  box-shadow: 0 0 12px rgba(45, 212, 191, 0.7);
  transition: width 0.6s var(--ease);
}

.aw-steps {
  display: grid;
  gap: 24px;
}

.aw-step {
  border-radius: var(--r-lg);
  padding: clamp(28px, 3.6vw, 42px);
  opacity: 0.40;
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease), border-color 0.4s ease;
}

.aw-step.is-active {
  opacity: 1;
  transform: translateY(-2px);
}

.aw-step-no {
  display: none;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.16em;
  margin-bottom: 6px;
}

.aw-step-kicker {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}

.aw-step h3 {
  margin: 0 0 14px;
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.aw-step p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
}

/* ==========================================================================
   14. Section 10: #proof (Ghost Watermark + 4-Col Glass Stats Bar)
   ========================================================================== */
.aw-proof {
  position: relative;
  padding: clamp(90px, 12vw, 170px) 0;
  text-align: center;
  overflow: hidden;
}

.aw-proof-ghost {
  position: absolute;
  top: 44%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(180px, 30vw, 480px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(45, 212, 191, 0.15);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  will-change: transform;
}

.aw-proof-copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto clamp(48px, 6vw, 72px);
}

.aw-proof-copy h2 {
  font-size: clamp(34px, 5vw, 72px);
  margin-bottom: 20px;
}

.aw-proof-copy .aw-proof-note {
  margin-top: 18px;
  font-size: 16px;
  font-weight: 600;
  color: var(--brand);
}

.aw-stats {
  position: relative;
  z-index: 2;
  border-radius: var(--r-xl);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
}

.aw-stat {
  padding: clamp(28px, 3.6vw, 44px) 22px;
  border-inline-end: 1px solid var(--line);
  text-align: center;
}

.aw-stat:last-child {
  border-inline-end: 0;
}

.aw-stat-val {
  display: block;
  font-size: clamp(38px, 4.4vw, 64px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.04em;
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}

.aw-stat-lbl {
  display: block;
  font-size: 14px;
  color: var(--ink-3);
}

/* ==========================================================================
   15. Section 11: #why (Asymmetric 3-Col Bento + Drifting Studio Photo)
   ========================================================================== */
.aw-why {
  padding: clamp(80px, 10vw, 140px) 0;
}

.aw-bento {
  display: grid;
  grid-template-columns: 1fr 1fr 1.12fr;
  grid-template-rows: auto auto auto;
  gap: 20px;
}

.aw-bento-head {
  grid-column: 1 / 3;
  grid-row: 1;
  padding-bottom: 16px;
}

.aw-bento-head h2 {
  font-size: clamp(36px, 4.8vw, 70px);
}

.aw-tile {
  border-radius: var(--r-lg);
  padding: clamp(26px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.25s ease-out;
}

.aw-tile-1 { grid-column: 1; grid-row: 2; }
.aw-tile-2 { grid-column: 2; grid-row: 2; }
.aw-tile-3 { grid-column: 1 / 3; grid-row: 3; }

.aw-tile-num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--brand);
}

.aw-tile h3 {
  margin: 0 0 12px;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1.18;
}

.aw-tile p {
  margin: 0;
  font-size: 15px;
  line-height: 1.62;
  color: var(--ink-2);
}

.aw-tile-photo {
  grid-column: 3;
  grid-row: 1 / 4;
  min-height: 560px;
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--line);
  background: var(--bg-2);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.aw-tile-photo > img {
  position: absolute;
  inset: -12% 0;
  width: 100%;
  height: 124%;
  object-fit: cover;
  filter: grayscale(24%) contrast(1.04) brightness(0.76);
  transition: filter 0.7s var(--ease);
  will-change: transform;
}

.aw-tile-photo:hover > img {
  filter: grayscale(0%) contrast(1.02) brightness(0.86);
}

.aw-tile-glass {
  position: relative;
  z-index: 2;
  width: 100%;
  border-radius: 22px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(10, 18, 30, 0.78) 0%, rgba(5, 8, 15, 0.88) 100%);
  color: #fff;
}

.aw-tile-glass h3 {
  color: #fff;
  margin-top: 8px;
}
.aw-tile-glass p {
  color: rgba(244, 248, 250, 0.76);
}

/* ==========================================================================
   16. Section 12: #blog (3-Column Grayscale-to-Color Editorial Grid)
   ========================================================================== */
.aw-blog {
  padding: clamp(80px, 10vw, 140px) 0;
}

.aw-posts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.aw-post {
  display: flex;
  flex-direction: column;
}

.aw-post-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 22px;
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--line);
  margin-bottom: 18px;
}

.aw-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(18%) contrast(1.03);
  transition: filter 0.55s var(--ease), transform 0.7s var(--ease);
}

.aw-post:hover .aw-post-thumb img {
  filter: grayscale(0%) contrast(1);
  transform: scale(1.05);
}

@media (hover: none), (pointer: coarse) {
  .aw-mega-thumb img,
  .aw-built-tab-thumb img,
  .aw-rail-img img,
  .aw-tile-photo > img,
  .aw-post-thumb img {
    filter: none;
  }
  .aw-tile-photo > img {
    filter: brightness(0.8);
  }
}

.aw-post-cat {
  display: inline-block;
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-teal);
  background: rgba(45, 212, 191, 0.08);
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.aw-post h3 {
  margin: 0 0 10px;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink);
  transition: color 0.3s ease;
}

.aw-post:hover h3 {
  color: var(--brand-bright);
}

.aw-post p {
  margin: 0 0 18px;
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--ink-3);
  flex: 1;
}

.aw-post-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-3);
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.aw-post-more {
  font-weight: 600;
  color: var(--ink);
  transition: color 0.3s ease;
}

.aw-post:hover .aw-post-more {
  color: var(--brand);
}

/* ==========================================================================
   17. Section 13: #faq (Sticky Title + Native <details> Glass Accordions)
   ========================================================================== */
.aw-faq {
  padding: clamp(80px, 10vw, 140px) 0;
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 6vw;
  align-items: start;
}

.aw-faq-sticky {
  position: sticky;
  top: 18vh;
}

.aw-faq-sticky h2 {
  font-size: clamp(34px, 4.6vw, 66px);
}

.aw-faq-list {
  display: grid;
  gap: 14px;
}

.aw-qa {
  border-radius: 22px;
  overflow: hidden;
  transition: border-color 0.35s ease;
}

.aw-qa summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 26px;
  font-size: 17.5px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}

.aw-qa summary::-webkit-details-marker {
  display: none;
}

.aw-qa-plus {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--brand);
  transition: transform 0.45s var(--ease), background 0.35s ease, color 0.3s ease, border-color 0.3s ease;
}

.aw-qa[open] .aw-qa-plus,
.aw-areas[open] .aw-qa-plus {
  transform: rotate(135deg);
  background: var(--brand);
  border-color: var(--brand);
  color: var(--brand-ink);
}

.aw-qa-body {
  padding: 0 26px 24px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-2);
  animation: aw-qa-in 0.38s var(--ease);
}

@keyframes aw-qa-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   18. Section 14: #cta (Floating 3D Glass Orb + High-Impact Dual CTAs)
   ========================================================================== */
.aw-cta {
  position: relative;
  padding: clamp(110px, 14vw, 200px) var(--gutter);
  text-align: center;
  overflow: hidden;
}

.aw-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(920px, 110vw);
  height: 540px;
  background: radial-gradient(ellipse at center, rgba(45, 212, 191, 0.16) 0%, rgba(13, 148, 136, 0.05) 45%, transparent 72%);
  pointer-events: none;
}

.aw-cta-inner {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin-inline: auto;
}

.aw-cta-lens {
  position: absolute;
  top: -36px;
  left: 50%;
  width: clamp(150px, 16vw, 240px);
  height: clamp(150px, 16vw, 240px);
  margin-left: calc(clamp(150px, 16vw, 240px) * -0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 3;
  /* Crystal-clear optical glass: brightens & sharpens text underneath with ZERO blur */
  backdrop-filter: brightness(1.24) contrast(1.16) saturate(165%);
  -webkit-backdrop-filter: brightness(1.24) contrast(1.16) saturate(165%);
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.05) 20%, transparent 48%, rgba(45, 212, 191, 0.08) 78%, rgba(94, 234, 212, 0.28) 100%);
  box-shadow:
    inset 0 2px 3px rgba(255, 255, 255, 0.72),
    inset 0 -12px 24px rgba(45, 212, 191, 0.22),
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.36),
    0 0 42px -10px rgba(45, 212, 191, 0.34),
    0 24px 60px -16px rgba(0, 0, 0, 0.55);
  will-change: transform;
  animation: aw-lens-float 9s ease-in-out infinite alternate;
}

.aw-cta-lens::after {
  content: '';
  position: absolute;
  top: 10%;
  left: 16%;
  width: 34%;
  height: 16%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.55), transparent 72%);
  transform: rotate(-28deg);
  pointer-events: none;
}

body.tt-light-style-on .aw-cta-lens {
  backdrop-filter: brightness(1.06) contrast(1.12) saturate(150%);
  -webkit-backdrop-filter: brightness(1.06) contrast(1.12) saturate(150%);
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.08) 24%, transparent 54%, rgba(13, 148, 136, 0.14) 100%);
  box-shadow:
    inset 0 2px 3px rgba(255, 255, 255, 0.95),
    inset 0 -10px 22px rgba(13, 148, 136, 0.18),
    inset 0 0 0 1.5px rgba(13, 148, 136, 0.34),
    0 20px 48px -18px rgba(10, 32, 42, 0.22);
}

.aw-svg-defs {
  position: fixed;
  width: 0;
  height: 0;
  pointer-events: none;
}

@keyframes aw-lens-float {
  0%   { transform: translate3d(-44px, -10px, 0) scale(0.96); }
  50%  { transform: translate3d(28px, 18px, 0) scale(1.03); }
  100% { transform: translate3d(52px, -16px, 0) scale(0.98); }
}

.aw-cta-title {
  position: relative;
  z-index: 2;
  margin: 0 auto 26px;
  font-size: clamp(36px, 6vw, 102px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.048em;
}

html[lang="ar"] .aw-cta-title {
  line-height: 1.16;
  letter-spacing: -0.015em;
  font-weight: 900;
}

.aw-cta-inner .aw-lede {
  max-width: 620px;
  margin: 0 auto 38px;
}

.aw-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 34px;
}

.aw-tp-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--ink-2);
  transition: transform 0.35s var(--ease), color 0.3s ease;
}

.aw-tp-chip:hover {
  transform: translateY(-2px);
  color: var(--ink);
}

.aw-tp-chip .aw-star {
  color: var(--gold);
}

/* ==========================================================================
   19. Liquid Glass Footer + Expandable Regions/Capabilities Bar
   ========================================================================== */
.aw-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
  padding: clamp(68px, 8vw, 110px) 0 0;
}

.aw-foot-brand {
  max-width: 340px;
  margin-bottom: 48px;
}

.aw-foot-logo img {
  height: 32px;
  width: auto;
  margin-bottom: 18px;
}

.aw-foot-title {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.aw-foot-title span {
  font-weight: 400;
  color: var(--ink-3);
}

.aw-foot-brand p {
  margin: 0 0 18px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-3);
}

.aw-foot-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.aw-foot-cols {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 30px;
  padding-bottom: 52px;
}

.aw-foot-col h4 {
  margin: 0 0 16px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-3);
}

.aw-foot-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.aw-foot-col a,
.aw-foot-col li {
  font-size: 14px;
  color: var(--ink-2);
  transition: color 0.25s ease;
}

.aw-foot-col a:hover {
  color: var(--brand);
}

.aw-foot-addr {
  margin-top: 12px;
  font-style: italic;
  color: var(--ink-3) !important;
  font-size: 13px !important;
  line-height: 1.5;
}

.aw-areas {
  border-radius: 22px;
  margin-bottom: 24px;
  overflow: hidden;
}

.aw-areas summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 26px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}

.aw-areas summary::-webkit-details-marker {
  display: none;
}

.aw-areas-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 26px 24px;
}

.aw-areas-grid a {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink-2);
  transition: border-color 0.25s ease, color 0.25s ease;
}

.aw-areas-grid a:hover {
  border-color: var(--line-teal);
  color: var(--brand);
}

.aw-foot-base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 26px 0 104px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-3);
}

.aw-foot-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.aw-foot-legal a:hover {
  color: var(--ink);
}

/* ==========================================================================
   20. Fixed Live Chat / WhatsApp Pill Dock (#awc-root)
   ========================================================================== */
#awc-root {
  position: fixed;
  bottom: 20px;
  inset-inline-start: 20px;
  z-index: 920;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

#awc-tease {
  width: min(300px, calc(100vw - 40px));
  border-radius: 20px;
  padding: 15px 16px;
  background: var(--glass-bg-strong);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-2);
  animation: aw-tease-in 0.6s var(--ease) both;
}

#awc-tease.is-hidden {
  display: none;
}

/* Quick Project Concierge Drawer (#awc-drawer) */
#awc-drawer {
  width: min(350px, calc(100vw - 32px));
  border-radius: 24px;
  padding: 20px;
  background: var(--glass-bg-strong);
  display: none;
  animation: aw-tease-in 0.35s var(--ease) both;
}

#awc-drawer.open {
  display: block;
}

.awc-drawer-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--brand);
  margin: 14px 0 8px;
}

.awc-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.awc-pill {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.awc-pill:hover {
  border-color: var(--line-teal);
  color: var(--ink);
}

.awc-pill.is-selected {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--brand-ink);
  font-weight: 700;
}

.awc-drawer-actions {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.awc-drawer-actions .aw-btn {
  width: 100%;
  padding: 12px 18px;
  font-size: 13.5px;
}

@keyframes aw-tease-in {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.awc-tease-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.awc-tease-brand {
  display: flex;
  align-items: center;
  gap: 9px;
}

.awc-tease-badge {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: var(--brand-ink);
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.awc-tease-brand strong {
  display: block;
  font-size: 12.5px;
  color: var(--ink);
  line-height: 1.15;
}

.awc-tease-brand small {
  display: block;
  font-size: 11px;
  color: var(--brand);
}

.awc-close {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink-3);
  font-size: 15px;
}

.awc-close:hover {
  color: var(--ink);
}

#awc-bar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 6px 6px 15px;
  border-radius: 999px;
  background: var(--glass-bg-strong);
}

html[dir="rtl"] #awc-bar {
  padding: 6px 15px 6px 6px;
}

.awc-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.awc-btn-wa,
.awc-btn-msg {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 15px;
  transition: transform 0.3s var(--ease), background 0.3s ease;
}

.awc-btn-wa {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--brand);
}

.awc-btn-wa:hover {
  transform: scale(1.08);
  background: rgba(45, 212, 191, 0.16);
}

.awc-btn-msg {
  background: var(--brand);
  color: var(--brand-ink) !important;
}

.awc-btn-msg:hover {
  transform: scale(1.08);
}

/* ==========================================================================
   21. Responsive Breakpoints (Exact Parity with awmedia.marketing)
   ========================================================================== */
@media (max-width: 1100px) {
  .aw-nav-links,
  .aw-nav-quiet {
    display: none;
  }
  .aw-nav-burger {
    display: flex;
  }
}

@media (max-width: 1024px) {
  .aw-cells {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .aw-cell:nth-child(3n) {
    border-inline-end: 1px solid var(--line);
  }
  .aw-cell:nth-child(2n) {
    border-inline-end: 0;
  }
  .aw-cell:nth-last-child(-n+3) {
    border-bottom: 1px solid var(--line);
  }
  .aw-cell:nth-last-child(-n+2) {
    border-bottom: 0;
  }

  .aw-process,
  .aw-faq {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .aw-process-sticky,
  .aw-faq-sticky {
    position: static;
  }
  .aw-step-counter,
  .aw-step-bar {
    display: none;
  }
  .aw-step {
    opacity: 1;
  }
  .aw-step-no {
    display: block;
  }

  .aw-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .aw-stat:nth-child(2) {
    border-inline-end: 0;
  }
  .aw-stat:nth-child(1),
  .aw-stat:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .aw-posts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .aw-bento {
    grid-template-columns: 1fr 1fr;
  }
  .aw-bento-head { grid-column: 1 / -1; }
  .aw-tile-1 { grid-column: 1; grid-row: 2; }
  .aw-tile-2 { grid-column: 2; grid-row: 2; }
  .aw-tile-3 { grid-column: 1 / -1; grid-row: 3; }
  .aw-tile-photo { grid-column: 1 / -1; grid-row: 4; min-height: 440px; }

  .aw-foot-cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .aw-row {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-inline: 0;
  }
  .aw-row-cta {
    justify-self: start;
  }
}

@media (max-width: 760px) {
  :root {
    --nav-h: 56px;
    --gutter: 16px;
  }

  .aw-nav {
    padding: 0 6px 0 14px;
    gap: 8px;
  }
  html[dir="rtl"] .aw-nav {
    padding: 0 14px 0 6px;
  }
  .aw-nav .aw-btn-sm {
    display: none;
  }

  .aw-hero-title {
    font-size: clamp(36px, 10.6vw, 64px);
  }
  .aw-hero-ctas {
    width: 100%;
    flex-direction: column;
  }
  .aw-hero-ctas .aw-btn,
  .aw-cta-actions .aw-btn {
    width: min(320px, 100%);
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }
  .aw-btn-lg {
    padding: 16px 22px;
    font-size: 15px;
  }
  .aw-scroll-cue {
    display: none;
  }

  /* #built mobile card & overlay polish (no CTA clipping) */
  .aw-device {
    padding: 10px 10px 12px;
    border-radius: 22px;
  }
  .aw-device-screen {
    aspect-ratio: 4 / 3;
    border-radius: 14px;
  }
  .aw-device-overlay {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 10px;
    padding: 14px;
    background: linear-gradient(180deg, transparent 32%, rgba(5, 8, 15, 0.90) 100%);
  }
  .aw-device-meta strong {
    font-size: 17px;
    line-height: 1.25;
  }
  .aw-device-overlay .aw-btn-sm {
    padding: 8px 14px;
    font-size: 12px;
  }

  .aw-proof-ghost {
    font-size: clamp(120px, 28vw, 320px);
  }

  .aw-cells,
  .aw-stats,
  .aw-posts,
  .aw-bento,
  .aw-foot-cols {
    grid-template-columns: minmax(0, 1fr);
  }
  .aw-cell,
  .aw-stat,
  .aw-post,
  .aw-tile,
  .aw-step,
  .aw-row,
  .aw-qa,
  .aw-foot-col {
    min-width: 0;
  }
  .aw-cell {
    border-inline-end: 0 !important;
    border-bottom: 1px solid var(--line) !important;
    min-height: 190px;
    padding: 22px 20px;
  }
  .aw-cell:last-child {
    border-bottom: 0 !important;
  }
  .aw-stat {
    border-inline-end: 0 !important;
    border-bottom: 1px solid var(--line) !important;
  }
  .aw-stat:last-child {
    border-bottom: 0 !important;
  }

  .aw-tile-1,
  .aw-tile-2,
  .aw-tile-3,
  .aw-tile-photo {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  /* Stack Cards become clean vertical cards on mobile */
  .aw-stack-card {
    position: relative;
    top: auto;
    height: auto;
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
  }
  .aw-stack-card img {
    aspect-ratio: 16 / 10;
    height: auto;
  }
  .aw-stack-cap {
    position: relative;
    bottom: auto;
    inset-inline-start: auto;
    max-width: none;
    border-radius: 0;
  }

  .aw-rail-controls {
    display: none;
  }
  .aw-rail-head-left {
    width: 100%;
    min-width: 0;
  }
  .aw-rail-card {
    flex: 0 0 78vw;
  }

  .aw-cta-actions {
    flex-direction: column;
  }
}

@media (max-width: 400px) {
  .aw-nav-logo img {
    height: 22px !important;
  }
  .aw-nav-icon-btn {
    width: 34px;
    height: 34px;
    font-size: 11.5px;
  }
  .aw-nav-burger {
    width: 38px;
    height: 38px;
  }
  .aw-built-tab-meta {
    font-size: 9.5px;
  }
  .aw-built-tab-title {
    font-size: 12.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .aw-bloom,
  .aw-grain,
  .aw-pulse-dot,
  .aw-marquee-row,
  .aw-cta-lens,
  .aw-scroll-cue .aw-cue-line::after {
    animation: none !important;
  }
  .aw-cursor-light,
  .aw-cursor-dot,
  .aw-cursor-ring {
    display: none !important;
  }
  .aw-step {
    opacity: 1 !important;
  }
}
