@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@700;800&family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&display=swap");

:root {
  --ink: #143f5c;
  --muted: #5c7483;
  --line: rgba(255, 255, 255, 0.72);
  --glass: rgba(255, 255, 255, 0.62);
  --glass-strong: rgba(255, 255, 255, 0.82);
  --accent: #237d9e;
  --accent-soft: #64c6e3;
  --accent-2: #7a233a;
  --shadow: 0 24px 70px rgba(20, 63, 92, 0.16);
  --radius-xl: 42px;
  --radius: 28px;
  --font: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-display: "Barlow Condensed", "Arial Narrow", "IBM Plex Sans", sans-serif;
  --font-ar: "IBM Plex Sans Arabic", "Alexandria", Tahoma, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: #eef9fd;
  overflow-x: hidden;
}
body.home-page { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid rgba(122, 35, 58, .32);
  outline-offset: 4px;
}

.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: radial-gradient(circle at 30% 12%, rgba(255,255,255,.98), transparent 42%), #dff5fb;
}
.mountain-layer {
  position: absolute;
  inset: -4% -2% auto -2%;
  width: 104%;
  height: 115vh;
  object-fit: cover;
  opacity: .55;
  filter: saturate(.9) brightness(1.18);
  mix-blend-mode: screen;
}
.wave-layer {
  position: absolute;
  right: -18%;
  top: 18%;
  width: 95vw;
  opacity: .46;
  mix-blend-mode: screen;
  animation: drift 15s ease-in-out infinite alternate;
}
.ambient-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.78), rgba(255,255,255,.36) 52%, rgba(255,255,255,.65));
  backdrop-filter: blur(1px);
}

.shell {
  width: min(1720px, calc(100% - 24px));
  margin: 12px auto;
  padding: 26px 28px 14px;
  min-height: calc(100svh - 24px);
  border: 2px solid rgba(255,255,255,.8);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(255,255,255,.74), rgba(255,255,255,.45));
  box-shadow: var(--shadow), inset 0 0 70px rgba(255,255,255,.44);
  backdrop-filter: blur(18px);
  position: relative;
}
.home-page .shell {
  width: calc(100% - 16px);
  max-width: none;
  height: calc(100svh - 16px);
  margin: 8px auto;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
}
.inner-page .section {
  min-height: calc(100svh - 230px);
}
.process-page {
  display: grid;
  align-content: center;
}
.page-process-panel {
  margin: 0;
  width: 100%;
}

.topbar {
  position: sticky;
  top: 18px;
  z-index: 20;
  display: grid;
  grid-template-columns: 210px 1fr auto auto auto;
  gap: 18px;
  align-items: center;
}
.lang-link {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 50%;
  background: rgba(255,255,255,.58);
  color: var(--accent-2);
  font-family: var(--font-ar);
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(20,63,92,.1);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img, .footer img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 8px 12px rgba(63, 78, 150, .22));
}
.brand span { display: grid; letter-spacing: 3px; line-height: 1.05; }
.brand strong { font-size: 17px; }
.brand small { font-size: 12px; font-weight: 600; }
.desktop-nav, .mobile-menu, .filter-bar, .billing-toggle, .socials {
  border: 1px solid rgba(255,255,255,.72);
  background: rgba(255,255,255,.55);
  box-shadow: 0 14px 35px rgba(20, 63, 92, .1), inset 0 1px 0 rgba(255,255,255,.8);
  backdrop-filter: blur(14px);
}
.desktop-nav {
  justify-self: center;
  display: flex;
  gap: 4px;
  padding: 8px;
  border-radius: 999px;
}
.desktop-nav a {
  padding: 10px 16px;
  border-radius: 999px;
  color: #36596c;
  font-size: 14px;
  transition: .25s ease;
}
.desktop-nav a:hover, .desktop-nav a.active { background: rgba(100,198,227,.18); color: #143f5c; }

.btn {
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn.primary {
  color: #fff;
  background: linear-gradient(135deg, #64c6e3, #143f5c);
  box-shadow: 0 16px 32px rgba(20, 63, 92, .26), inset 0 1px 0 rgba(255,255,255,.45);
}
.btn.ghost { background: rgba(255,255,255,.64); box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 12px 26px rgba(20,63,92,.1); }
.btn.small { min-height: 48px; padding-inline: 22px; }
.btn:hover, .glass-card:hover, .work-card:hover, .price-card:hover { transform: translateY(-5px); }
.round-arrow, .play {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.86);
  color: #143f5c;
}

.menu-btn {
  display: none;
  width: 50px; height: 50px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.7);
  box-shadow: 0 12px 28px rgba(20,63,92,.12);
}
.menu-btn span { display: block; width: 18px; height: 2px; margin: 4px auto; background: #143f5c; border-radius: 2px; }
.mobile-menu { display: none; }

.side-nav {
  position: fixed;
  left: clamp(24px, 2.3vw, 48px);
  top: 19vh;
  z-index: 25;
  width: 74px;
  padding: 16px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.8);
  background: rgba(255,255,255,.55);
  box-shadow: 0 22px 58px rgba(20,63,92,.14), inset 0 1px 0 rgba(255,255,255,.86);
  backdrop-filter: blur(18px);
  display: grid;
  gap: 18px;
}
.side-dot {
  width: 54px; height: 54px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.38);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 10px 22px rgba(20,63,92,.08);
  display: grid;
  place-items: center;
  color: #143f5c;
}
.side-dot::before { font-size: 24px; }
.side-dot[data-icon="home"]::before { content: "⌂"; }
.side-dot[data-icon="grid"]::before { content: "▦"; }
.side-dot[data-icon="chat"]::before { content: "▱"; }
.side-dot[data-icon="user"]::before { content: "♡"; }
.side-dot[data-icon="gear"]::before { content: "⚙"; }
.side-dot[data-icon="moon"]::before { content: "☾"; }
.side-dot.active { color: #143f5c; background: rgba(255,255,255,.8); }
.side-line { width: 34px; height: 1px; background: rgba(20,63,92,.18); justify-self: center; }
.side-dot[data-icon="home"]::before { content: "\2302"; }
.side-dot[data-icon="grid"]::before { content: "\25A6"; }
.side-dot[data-icon="chat"]::before { content: "\25A1"; }
.side-dot[data-icon="user"]::before { content: "\25CB"; }
.side-dot[data-icon="gear"]::before { content: "\2699"; }
.side-dot[data-icon="moon"]::before { content: "\263E"; }

.section { padding: 82px 76px; position: relative; }
.hero {
  min-height: calc(100svh - 170px);
  display: grid;
  grid-template-columns: minmax(380px, 0.95fr) 1.2fr;
  align-items: center;
  gap: 10px;
  padding-top: 24px;
  padding-bottom: 78px;
}
.home-page .hero {
  min-height: 0;
  padding-bottom: 20px;
}
.design-home {
  position: relative;
  grid-template-columns: .86fr 1.14fr;
  grid-template-rows: auto 1fr auto;
  height: 100%;
  min-height: 0;
  max-height: none;
  padding:
    clamp(28px, 3.6vh, 54px)
    clamp(64px, 6.2vw, 112px)
    0
    clamp(104px, 7.4vw, 142px);
  align-items: start;
}
.design-home .hero-copy {
  position: relative;
  z-index: 5;
  width: min(660px, 53vw);
  max-width: 660px;
  padding-top: 20px;
}
.design-home .hero-copy h1 {
  font-size: clamp(46px, 4.35vw, 56px);
  line-height: .96;
  margin-bottom: 18px;
}
.design-home .hero-copy p {
  width: min(520px, 100%);
  font-size: 16px;
  line-height: 1.55;
}
.home-service-nav {
  min-width: 590px;
  justify-content: center;
}
.home-service-nav a {
  min-width: 138px;
  display: inline-flex;
  justify-content: center;
  gap: 9px;
}
.nav-icon {
  width: 15px;
  height: 15px;
  display: inline-block;
  position: relative;
  color: #237d9e;
  font-weight: 700;
}
.nav-dot {
  border: 2px solid currentColor;
  border-radius: 50%;
}
.nav-dot::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: currentColor;
}
.nav-pencil::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 6px;
  width: 12px;
  height: 3px;
  border-radius: 99px;
  background: currentColor;
  transform: rotate(-36deg);
}
.nav-spark::before,
.nav-spark::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 99px;
}
.nav-spark::before {
  left: 7px;
  top: 1px;
  width: 2px;
  height: 13px;
}
.nav-spark::after {
  left: 1px;
  top: 7px;
  width: 13px;
  height: 2px;
}
.nav-gear {
  border: 2px solid currentColor;
  border-radius: 50%;
}
.nav-gear::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 2px solid currentColor;
}
.design-home .hero-stage {
  position: absolute;
  inset: 28px 4px auto auto;
  width: 56%;
  min-height: 490px;
  z-index: 1;
}
.design-home .building {
  width: min(750px, 120%);
  max-width: none;
  right: -18px;
  top: 24px;
  opacity: .88;
  filter: drop-shadow(0 40px 70px rgba(20, 63, 92, .18)) brightness(1.3) saturate(.86);
}
.design-home .uptime-card {
  top: 18px;
  right: -2px;
  width: 218px;
  padding: 16px;
  border-radius: 22px;
}
.metric-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 92px;
  gap: 2px 12px;
  padding: 0 0 13px;
  margin-bottom: 13px;
  border-bottom: 1px solid rgba(20, 63, 92, .1);
}
.metric-row:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}
.metric-row span,
.metric-row small {
  color: var(--muted);
  font-size: 11px;
}
.metric-row strong {
  grid-row: span 2;
  font-size: 22px;
  margin: 0;
}
.metric-row .sparkline {
  grid-column: 2;
  height: 34px;
}
.design-home .ai-card {
  right: 12px;
  bottom: 62px;
  width: 318px;
  min-height: 238px;
  padding: 24px;
  overflow: hidden;
}
.design-home .ai-card .chip {
  float: left;
  margin: 0 16px 14px 0;
}
.design-home .ai-card h3 {
  font-size: 21px;
}
.wave-mini {
  position: absolute;
  inset: auto -18px 0 -18px;
  height: 82px;
  opacity: .55;
  background:
    radial-gradient(ellipse at center, rgba(100,198,227,.25), transparent 64%),
    repeating-radial-gradient(ellipse at center, transparent 0 9px, rgba(100,198,227,.22) 10px 11px, transparent 12px 18px);
  transform: rotate(-4deg);
}
.strategy-card,
.home-process,
.impact-strip {
  border: 1px solid rgba(255,255,255,.72);
  background: linear-gradient(145deg, rgba(255,255,255,.78), rgba(255,255,255,.5));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.88);
  backdrop-filter: blur(18px);
  position: relative;
  z-index: 7;
}
.strategy-card {
  position: absolute;
  left: 72px;
  top: 315px;
  width: 286px;
  margin-top: 0;
  padding: 14px;
  border-radius: 28px;
  z-index: 4;
}
.strategy-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}
.strategy-card p {
  font-size: 12px;
  line-height: 1.34;
  max-height: 48px;
  overflow: hidden;
  margin-bottom: 8px;
}
.strategy-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 8px;
}
.strategy-stats strong {
  display: block;
  color: #143f5c;
  font-size: 19px;
}
.strategy-stats span {
  color: var(--muted);
  font-size: 9px;
}
.avatar-row {
  display: flex;
  align-items: center;
  margin-bottom: 7px;
}
.avatar-row span,
.avatar-row b {
  width: 25px;
  height: 25px;
  border: 2px solid rgba(255,255,255,.9);
  border-radius: 50%;
  margin-left: -6px;
  background: linear-gradient(135deg, #dff5fb, #7a233a);
}
.avatar-row span:first-child { margin-left: 0; }
.avatar-row span:nth-child(2) { background: linear-gradient(135deg, #dff5fb, #237d9e); }
.avatar-row span:nth-child(3) { background: linear-gradient(135deg, #f3dce3, #7a233a); }
.avatar-row span:nth-child(4) { background: linear-gradient(135deg, #eef9fd, #64c6e3); }
.avatar-row span:nth-child(5) { background: linear-gradient(135deg, #cceef7, #143f5c); }
.avatar-row b {
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.8);
  color: #237d9e;
  font-size: 14px;
}
.bars {
  display: grid;
  gap: 3px;
}
.bars label {
  display: grid;
  grid-template-columns: 72px 1fr 48px;
  align-items: center;
  gap: 9px;
  color: #36596c;
  font-size: 11px;
}
.bars i {
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, #64c6e3 var(--w), rgba(20,63,92,.12) var(--w));
}
.bars em {
  color: var(--muted);
  font-style: normal;
  font-size: 10px;
}
.home-process {
  position: absolute;
  left: 50%;
  top: 320px;
  translate: -50% 0;
  width: min(465px, 48vw);
  margin-top: 0;
  padding: 12px 18px;
  border-radius: 22px;
  z-index: 9;
}
.home-process h3 {
  margin: 0 0 8px;
  font-size: 14px;
}
.home-process .process-line span {
  width: 29px;
  height: 29px;
  margin-bottom: 4px;
}
.home-process .process-line span::before {
  content: "";
  width: 10px;
  height: 10px;
  border: 2px solid currentColor;
  border-radius: 50%;
}
.home-process .process-line strong {
  display: block;
  font-size: 10px;
}
.home-process .process-line small {
  font-size: 10px;
}
.impact-strip {
  position: absolute;
  left: 60%;
  bottom: 8px;
  translate: -50% 0;
  width: min(760px, 76vw);
  display: grid;
  grid-template-columns: 54px 1.2fr repeat(4, 1fr);
  align-items: center;
  gap: 0;
  margin-top: 0;
  padding: 13px 18px;
  border-radius: 20px;
  z-index: 8;
}
.impact-strip > div {
  min-width: 0;
  padding: 0 18px;
  border-left: 1px solid rgba(20, 63, 92, .11);
}
.impact-strip > div:first-child,
.impact-strip > div:nth-child(2) {
  border-left: 0;
}
.impact-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #237d9e;
  background: rgba(100,198,227,.12);
}
.impact-strip strong {
  display: block;
  color: #143f5c;
  font-size: 18px;
}
.impact-strip small,
.impact-strip span {
  display: block;
  color: var(--muted);
  font-size: 10px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.55);
  color: var(--accent-2);
  font-weight: 600;
  font-size: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75);
}
.eyebrow::before { content: "✦"; }
h1, h2, h3, p { margin-top: 0; }
h1 {
  font-size: clamp(50px, 5.35vw, 76px);
  line-height: .96;
  letter-spacing: 0;
  margin: 14px 0 18px;
}
h2 { font-size: clamp(42px, 4.7vw, 68px); line-height: 1; margin: 12px 0 18px; }
h1 span, h2 span { color: var(--accent); }
p { color: var(--muted); line-height: 1.65; font-size: 17px; }
.hero-copy p { max-width: 560px; }
.actions { position: relative; z-index: 10; display: flex; flex-wrap: wrap; gap: 16px; margin: 20px 0; }
.quick-stats, .about-stats, .outcomes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.quick-stats div, .about-stats div, .outcomes div {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}
.quick-stats strong, .about-stats strong, .outcomes strong { display: block; color: #237d9e; font-size: 28px; }
.quick-stats span, .about-stats span, .outcomes span { color: var(--muted); font-size: 13px; }

.hero-stage { position: relative; min-height: min(520px, calc(100svh - 245px)); }
.building {
  position: absolute;
  right: -58px;
  top: 24px;
  width: 108%;
  max-width: 760px;
  filter: drop-shadow(0 40px 50px rgba(20,63,92,.18)) brightness(1.08);
  animation: floatBuilding 7s ease-in-out infinite;
}
.metric-card, .ai-card, .glass-card, .process-panel, .feature-strip, .capabilities, .work-card, .price-card, .contact-form, .contact-cards a, .about-media, .values article, .case-dashboard, .outcomes {
  border: 1px solid rgba(255,255,255,.72);
  background: linear-gradient(145deg, rgba(255,255,255,.72), rgba(255,255,255,.42));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.88);
  backdrop-filter: blur(16px);
}
.floating { position: absolute; animation: floatCard 5.5s ease-in-out infinite; }
.metric-card { width: 190px; padding: 18px; border-radius: 24px; }
.metric-card span { color: var(--muted); font-size: 13px; }
.metric-card strong { display: block; margin: 4px 0 12px; font-size: 30px; color: #143f5c; }
.metric-card.one { right: 8px; top: 0; }
.metric-card.two { left: 20px; bottom: 42px; animation-delay: -2s; }
.ai-card { right: 0; bottom: 10px; width: 290px; padding: 22px; border-radius: 30px; animation-delay: -1s; }
.ai-card h3 { margin: 12px 0 8px; font-size: 23px; }
.ai-card p { font-size: 14px; }
.chip {
  width: 56px; height: 56px; border-radius: 18px;
  display: grid; place-items: center;
  color: #237d9e;
  background: linear-gradient(145deg, rgba(255,255,255,.8), rgba(100,198,227,.13));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 12px 24px rgba(20,63,92,.12);
}
.chip span,
.impact-icon span {
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 5px;
  display: block;
  position: relative;
}
.chip span::after,
.impact-icon span::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 2px;
  background: currentColor;
  opacity: .25;
}
.tags { display: flex; gap: 10px; flex-wrap: wrap; }
.tags span, .filter-bar button, .billing-toggle {
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,.48);
  color: #237d9e;
  font-size: 13px;
}
.sparkline, .sparkline.alt {
  height: 44px;
  background:
    linear-gradient(135deg, transparent 20%, #237d9e 21%, #237d9e 24%, transparent 25%) 0 0 / 40px 44px,
    radial-gradient(circle, #237d9e 2px, transparent 3px) 10px 26px / 40px 44px;
  opacity: .65;
}

.process-panel {
  margin: -76px auto 0;
  width: min(720px, 82%);
  border-radius: 26px;
  padding: 24px 28px;
  z-index: 4;
  position: relative;
}
.process-panel h2 { font-size: 18px; margin-bottom: 18px; }
.process-line { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.process-line div { text-align: center; position: relative; }
.process-line span { width: 42px; height: 42px; margin: 0 auto 8px; border-radius: 50%; background: rgba(255,255,255,.72); display: grid; place-items: center; color: #237d9e; }
.process-line small { display: block; color: var(--muted); font-size: 12px; }

.section-head { max-width: 650px; margin-bottom: 32px; }
.service-grid, .industry-grid, .price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.glass-card {
  min-height: 190px;
  border-radius: 24px;
  padding: 22px;
  position: relative;
  transition: .28s ease;
}
.glass-card i { font-style: normal; color: #237d9e; font-size: 30px; display: block; margin-bottom: 20px; }
.glass-card b { font-size: 20px; display: block; margin-bottom: 10px; }
.glass-card p { font-size: 14px; margin: 0; }
.glass-card a {
  position: absolute; top: 20px; right: 18px;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.6);
}
.feature-strip {
  margin-top: 16px;
  border-radius: 28px;
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 30px;
  align-items: center;
}
.chart {
  height: 150px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(100,198,227,.12));
}
.chart span {
  width: 5px;
  border-radius: 99px;
  background: #237d9e;
  animation: bar 1.8s ease-in-out infinite alternate;
}
.chart span:nth-child(1) { height: 35%; }
.chart span:nth-child(2) { height: 54%; animation-delay: .1s; }
.chart span:nth-child(3) { height: 48%; animation-delay: .2s; }
.chart span:nth-child(4) { height: 78%; animation-delay: .3s; }
.chart span:nth-child(5) { height: 62%; animation-delay: .4s; }
.chart span:nth-child(6) { height: 92%; animation-delay: .5s; }

.industry-wrap { display: grid; grid-template-columns: 1fr 300px; gap: 18px; }
.industry-grid { grid-template-columns: repeat(3, 1fr); }
.capabilities { border-radius: 28px; padding: 24px; }
.capabilities h3 { font-size: 24px; }
.capabilities a { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; padding: 14px 0; border-bottom: 1px solid rgba(20,63,92,.1); }
.capabilities span { color: #237d9e; }
.capabilities em { font-style: normal; color: var(--muted); }

.filter-bar { width: fit-content; display: flex; gap: 10px; padding: 8px; border-radius: 999px; margin-bottom: 18px; }
.filter-bar button { border: 0; cursor: pointer; min-width: 100px; }
.filter-bar button.active { background: linear-gradient(135deg, #64c6e3, #143f5c); color: #fff; }
.work-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.work-card {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 14px;
  border-radius: 26px;
  transition: .28s ease;
}
.work-card img, .dashboard-art { width: 220px; height: 150px; object-fit: cover; border-radius: 18px; }
.screen-asset {
  filter: brightness(1.08) contrast(1.02);
}
.work-card small { text-transform: uppercase; color: #237d9e; font-weight: 700; letter-spacing: .6px; }
.work-card h3 { margin: 7px 0; font-size: 28px; }
.work-card span { color: #237d9e; font-weight: 700; }
.work-card > a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.65); }
.dashboard-art { background: #172033; padding: 18px; display: grid; gap: 12px; }
.dashboard-art span { background: linear-gradient(90deg, rgba(100,198,227,.6), rgba(255,255,255,.08)); border-radius: 10px; }

.about { display: grid; grid-template-columns: .95fr 1fr; gap: 28px; align-items: center; }
.about-media { border-radius: 30px; padding: 12px; position: relative; }
.about-media img { width: 100%; height: 430px; object-fit: cover; border-radius: 24px; display: block; }
.story-btn { position: absolute; right: 26px; top: 26px; border: 0; border-radius: 999px; padding: 12px 18px; background: rgba(255,255,255,.72); color: var(--ink); }
.about-stats { grid-template-columns: repeat(4, 1fr); margin: 24px 0 14px; }
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.values article { border-radius: 24px; padding: 20px; }
.values p { font-size: 14px; margin: 8px 0 0; }

.billing-toggle { display: inline-flex; align-items: center; gap: 12px; margin-top: 12px; padding: 9px 13px; }
.billing-toggle button { width: 54px; height: 28px; border: 0; border-radius: 999px; background: rgba(100,198,227,.22); padding: 4px; cursor: pointer; }
.billing-toggle i { display: block; width: 20px; height: 20px; border-radius: 50%; background: #237d9e; transition: .25s ease; }
.billing-toggle.yearly i { transform: translateX(26px); }
.billing-toggle b { background: #eef9fd; padding: 3px 7px; border-radius: 99px; }
.price-grid { grid-template-columns: repeat(4, 1fr); }
.price-card {
  border-radius: 28px;
  padding: 28px 22px;
  position: relative;
  transition: .28s ease;
}
.price-card.popular { outline: 2px solid rgba(100,198,227,.45); transform: translateY(-12px); }
.price-card > span { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); padding: 7px 20px; border-radius: 999px; background: #143f5c; color: white; font-size: 12px; text-transform: uppercase; }
.price-card i { font-style: normal; color: #237d9e; font-size: 34px; }
.price-card h3 { font-size: 24px; margin: 14px 0 4px; }
.price-card strong { color: #237d9e; font-size: 34px; }
.price-card ul { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; color: var(--muted); font-size: 14px; }
.price-card li::before { content: "⊙"; color: #237d9e; margin-right: 8px; }
.price-card li::before { content: "\2713"; }
.price-card a { display: flex; justify-content: center; padding: 13px; border-radius: 999px; background: rgba(255,255,255,.58); color: #237d9e; font-weight: 700; }

.case-study {
  display: grid;
  grid-template-columns: .8fr 1fr;
  gap: 24px;
  align-items: center;
}
.case-copy,
.case-dashboard,
.dash-main {
  min-width: 0;
}
.case-dashboard {
  min-height: 390px;
  border-radius: 34px;
  background: linear-gradient(135deg, #121d30, #1a2944);
  padding: 22px;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
  color: white;
}
.dash-sidebar { border-radius: 20px; background: linear-gradient(180deg, rgba(100,198,227,.7), rgba(255,255,255,.05)); }
.dash-top { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dash-top span, .dash-list b { background: rgba(255,255,255,.08); border-radius: 14px; padding: 18px; }
.dash-chart { margin: 18px 0; height: 170px; border-radius: 20px; background: rgba(255,255,255,.06); position: relative; overflow: hidden; }
.dash-chart i { position: absolute; inset: 30px; background: linear-gradient(135deg, transparent 48%, #64c6e3 49%, #64c6e3 51%, transparent 52%); animation: dashMove 3s ease-in-out infinite alternate; }
.dash-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.outcomes { grid-column: 1 / -1; border-radius: 26px; padding: 18px; grid-template-columns: repeat(3, 1fr); }

.contact {
  display: grid;
  grid-template-columns: .8fr 1fr;
  gap: 22px;
}
.contact-cards { display: grid; gap: 14px; }
.contact-cards a { border-radius: 22px; padding: 18px; display: grid; grid-template-columns: 52px 1fr; gap: 4px 14px; align-items: center; }
.contact-cards i { grid-row: span 2; font-style: normal; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: #143f5c; color: white; }
.contact-cards span { color: var(--muted); }
.contact-form {
  border-radius: 30px;
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.contact-form h3, .contact-form .wide, .contact-form button, .contact-form small { grid-column: 1 / -1; }
.contact-form h3 { margin: 0; font-size: 25px; }
label { display: grid; gap: 8px; color: #36596c; font-weight: 600; }
input, select, textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 18px;
  background: rgba(255,255,255,.52);
  padding: 15px 16px;
  color: var(--ink);
  outline: 0;
}
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  border-color: rgba(35,125,158,.55);
  box-shadow: 0 0 0 4px rgba(100,198,227,.18);
}
textarea { min-height: 126px; resize: vertical; }
.contact-form small { text-align: center; color: var(--muted); }

.footer {
  position: relative;
  z-index: 12;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 18px 48px 0;
}
.socials { display: inline-flex; align-items: center; gap: 10px; width: fit-content; border-radius: 999px; padding: 8px 12px; }
.socials a { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.55); }
.footer p { text-align: center; margin: 0; }
.footer p strong, .footer p span { display: block; }
.footer p span { font-size: 13px; }
.footer > a { justify-self: end; padding: 12px 18px; border-radius: 999px; background: rgba(255,255,255,.52); }

.reveal {
  opacity: 0;
  transform: translateY(28px) scale(.98);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1);
}
.reveal.in-view { opacity: 1; transform: translateY(0) scale(1); }
.delay-1 { transition-delay: .18s; }

body.calm .ambient-bg, body.calm .floating, body.calm .building { animation-play-state: paused; }
body.calm { --accent: #237d9e; --shadow: 0 18px 45px rgba(20,63,92,.12); }

html[dir="rtl"] body {
  font-family: var(--font-ar);
  letter-spacing: normal;
}
html[dir="rtl"] .brand,
html[dir="rtl"] .brand span,
html[dir="rtl"] .lang-link,
html[dir="rtl"] .keep-ltr {
  direction: ltr;
}
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3 {
  line-height: 1.18;
}
html[dir="rtl"] .hero-copy p,
html[dir="rtl"] .section-head p,
html[dir="rtl"] .about-copy p,
html[dir="rtl"] .contact-intro p {
  line-height: 1.9;
}
html[dir="rtl"] .side-nav {
  right: clamp(24px, 2.3vw, 48px);
  left: auto;
}
html[dir="rtl"] .glass-card a {
  right: auto;
  left: 18px;
}
html[dir="rtl"] .price-card li::before {
  margin-right: 0;
  margin-left: 8px;
}
html[dir="rtl"] .contact-form,
html[dir="rtl"] .contact-cards,
html[dir="rtl"] .values,
html[dir="rtl"] .work-card,
html[dir="rtl"] .capabilities {
  text-align: right;
}
html[dir="rtl"] .work-card > a {
  direction: ltr;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@keyframes drift { from { transform: translateX(0) translateY(0); } to { transform: translateX(-70px) translateY(30px); } }
@keyframes floatBuilding { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes floatCard { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes bar { to { transform: scaleY(.72); opacity: .72; } }
@keyframes dashMove { to { transform: translateX(26px) translateY(-18px); } }

@media (max-width: 1180px) {
  .shell { width: min(960px, calc(100% - 32px)); }
  .side-nav { display: none; }
  .section { padding-inline: 38px; }
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 58px;
    padding-bottom: 70px;
  }
  .hero-stage { min-height: 430px; }
  .building { right: 0; width: 92%; }
  .service-grid, .price-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-wrap, .about, .case-study, .contact { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .topbar { grid-template-columns: 1fr auto auto auto; }
  .desktop-nav { display: none; }
  .menu-btn { display: block; }
}

@media (min-width: 721px) and (max-width: 1180px) {
  .hero {
    grid-template-columns: minmax(310px, .92fr) 1.08fr;
    min-height: calc(100svh - 145px);
    padding-top: 26px;
    padding-bottom: 76px;
  }
  .hero-stage { min-height: min(410px, calc(100svh - 235px)); }
  .building { width: 108%; right: -38px; top: 12px; }
  h1 { font-size: clamp(46px, 5.8vw, 62px); }
  .hero-copy p { font-size: 15px; line-height: 1.55; }
  .actions { margin: 18px 0; }
  .quick-stats div { padding: 14px 12px; }
  .quick-stats strong { font-size: 24px; }
  .quick-stats span { font-size: 11px; }
  .metric-card { width: 154px; padding: 13px; }
  .metric-card strong { font-size: 23px; }
  .ai-card { width: 242px; padding: 16px; }
  .ai-card h3 { font-size: 19px; }
  .ai-card p { font-size: 12px; }
  .home-service-nav {
    min-width: 460px;
  }
  .home-service-nav a {
    min-width: auto;
    padding-inline: 12px;
  }
  .design-home {
    grid-template-columns: .9fr 1.1fr;
    padding-inline: 38px;
  }
  .strategy-card {
    width: 250px;
    padding: 18px;
  }
  .home-process {
    width: min(430px, 50vw);
    margin-top: -54px;
  }
  .impact-strip {
    width: min(690px, 84vw);
    grid-template-columns: 46px repeat(5, 1fr);
    padding-inline: 12px;
  }
  .impact-strip > div {
    padding-inline: 10px;
  }
}

@media (max-width: 720px) {
  body.home-page { overflow-y: auto; }
  .shell {
    width: min(440px, calc(100% - 18px));
    margin: 8px auto;
    padding: 18px 14px 10px;
    border-radius: 34px;
  }
  .home-page .shell {
    height: auto;
    min-height: calc(100svh - 16px);
    overflow: hidden;
  }
  .inner-page .section {
    min-height: auto;
  }
  .topbar { top: 10px; grid-template-columns: 1fr auto auto; }
  .topbar .btn { display: none; }
  .brand img { width: 46px; height: 46px; }
  .brand strong { font-size: 14px; }
  .brand small { font-size: 10px; }
  .mobile-menu {
    position: fixed;
    top: 82px;
    left: 50%;
    transform: translateX(-50%) translateY(-16px);
    z-index: 19;
    width: min(390px, calc(100% - 32px));
    border-radius: 24px;
    padding: 12px;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    opacity: 0;
    pointer-events: none;
    transition: .25s ease;
  }
  .mobile-menu.open { display: grid; opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
  .mobile-menu a { padding: 12px; border-radius: 16px; background: rgba(255,255,255,.48); text-align: center; }
  .section { padding: 54px 8px; }
  .section-head {
    max-width: 100%;
    margin-bottom: 20px;
  }
  .hero {
    min-height: calc(100svh - 52px);
    padding-top: 20px;
    padding-bottom: 20px;
    display: grid;
    grid-template-rows: auto auto;
    align-content: start;
  }
  .design-home {
    display: grid;
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
    max-height: none;
    padding: 26px 24px 0;
    align-content: start;
    isolation: isolate;
  }
  .design-home::after {
    content: "";
    position: absolute;
    inset: 120px -120px 40px 34%;
    z-index: 0;
    border-radius: 50%;
    background:
      radial-gradient(circle at 50% 35%, rgba(100,198,227,.16), transparent 48%),
      linear-gradient(135deg, rgba(255,255,255,.25), rgba(100,198,227,.09));
    filter: blur(18px);
    pointer-events: none;
  }
  .design-home .hero-copy {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: none;
    padding-top: 0;
  }
  .design-home .hero-copy h1 {
    font-size: clamp(48px, 13.8vw, 58px);
    line-height: .98;
    margin-bottom: 18px;
  }
  .design-home .hero-copy p {
    max-width: 330px;
    font-size: 17px;
    line-height: 1.5;
  }
  .design-home .hero-stage {
    display: none;
  }
  .metric-row {
    display: block;
    padding-bottom: 7px;
    margin-bottom: 7px;
  }
  .metric-row strong {
    font-size: 18px;
  }
  .metric-row small,
  .metric-row .sparkline {
    display: none;
  }
  .design-home .ai-card {
    display: none;
  }
  .design-home .ai-card h3 {
    font-size: 15px;
  }
  .design-home .ai-card p,
  .design-home .ai-card .tags,
  .wave-mini {
    display: none;
  }
  .strategy-card {
    display: none;
  }
  .home-process,
  .impact-strip {
    display: none;
  }
  .hero .eyebrow {
    padding: 7px 12px;
    font-size: 12px;
  }
  h1 { font-size: clamp(34px, 10.8vw, 42px); }
  h2 { font-size: 42px; }
  p { font-size: 15px; }
  .hero-copy p {
    max-width: 320px;
    font-size: 14px;
    line-height: 1.48;
    margin-bottom: 0;
  }
  .actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: min(318px, 100%);
    margin: 22px 0 0;
  }
  .hero .btn {
    min-height: 48px;
    padding-inline: 14px;
  }
  .hero .btn.ghost {
    width: 100%;
  }
  .round-arrow,
  .play {
    width: 34px;
    height: 34px;
  }
  .quick-stats { grid-template-columns: repeat(3, 1fr); }
  .quick-stats { gap: 8px; }
  .quick-stats div { padding: 10px 6px; border-radius: 16px; }
  .quick-stats strong { font-size: 20px; }
  .quick-stats span { font-size: 10px; line-height: 1.15; display: block; }
  .hero-stage { min-height: 250px; margin-top: 8px; }
  .building { width: 118%; right: -58px; top: -4px; }
  .metric-card {
    width: 132px;
    padding: 10px;
    border-radius: 18px;
  }
  .metric-card span { font-size: 10px; }
  .metric-card strong { font-size: 20px; margin-bottom: 5px; }
  .sparkline, .sparkline.alt { height: 26px; background-size: 28px 26px; }
  .metric-card.one { right: 0; top: 0; }
  .metric-card.two { display: none; }
  .ai-card {
    width: min(260px, calc(100% - 24px));
    right: 10px;
    bottom: 0;
    padding: 12px;
    border-radius: 20px;
  }
  .ai-card .chip { width: 38px; height: 38px; border-radius: 13px; }
  .ai-card h3 { font-size: 16px; margin: 8px 0 4px; }
  .ai-card p { display: none; }
  .ai-card .tags { gap: 6px; }
  .ai-card .tags span { padding: 6px 8px; font-size: 10px; }
  .process-panel { width: 100%; margin-top: 4px; padding: 14px 10px; }
  .process-line { gap: 4px; }
  .process-line span { width: 36px; height: 36px; }
  .process-line small { font-size: 10px; }
  .service-grid, .industry-grid, .price-grid { grid-template-columns: 1fr; gap: 10px; }
  .industry-wrap { gap: 12px; }
  .capabilities,
  .feature-strip {
    border-radius: 22px;
    padding: 16px;
  }
  .glass-card { min-height: auto; padding: 16px; border-radius: 20px; }
  .glass-card b { font-size: 17px; }
  .glass-card p { font-size: 12px; }
  .feature-strip { grid-template-columns: 1fr; padding: 18px; }
  .chart { height: 112px; }
  .filter-bar {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    border-radius: 20px;
    scrollbar-width: none;
  }
  .filter-bar::-webkit-scrollbar { display: none; }
  .filter-bar button {
    min-width: max-content;
    white-space: nowrap;
  }
  .work-card { grid-template-columns: 108px 1fr; gap: 12px; position: relative; align-items: start; }
  .work-card img, .dashboard-art { width: 108px; height: 108px; }
  .work-card h3 { font-size: 19px; padding-right: 28px; }
  .work-card p { font-size: 12px; line-height: 1.4; }
  .work-card > a { position: absolute; right: 14px; top: 14px; }
  .about-media img { height: 260px; }
  .about-stats { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .about-stats div { padding: 12px 6px; text-align: center; }
  .about-stats strong { font-size: 22px; }
  .values, .contact-form { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .price-card.popular { transform: none; }
  .case-study {
    gap: 14px;
  }
  .case-copy,
  .case-dashboard,
  .outcomes {
    width: 100%;
  }
  .case-copy h2 {
    font-size: clamp(30px, 9vw, 38px);
    overflow-wrap: anywhere;
  }
  .case-copy p,
  .case-copy .tags {
    max-width: 100%;
  }
  .case-dashboard { grid-template-columns: 42px 1fr; min-height: 300px; padding: 12px; gap: 10px; }
  .dash-top { grid-template-columns: 1fr; }
  .dash-chart { height: 120px; }
  .dash-list { grid-template-columns: 1fr; }
  .dash-top span,
  .dash-list b {
    padding: 12px;
  }
  .outcomes { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .contact-cards a {
    grid-template-columns: 44px 1fr;
  }
  .contact-cards i {
    width: 44px;
    height: 44px;
  }
  .home-page .footer {
    grid-template-columns: 1fr auto;
    gap: 8px;
    margin-top: auto;
    padding: 0 24px 8px;
  }
  .home-page .footer img {
    display: none;
  }
  .home-page .footer p {
    grid-column: 1 / -1;
    order: 5;
    font-size: 14px;
  }
  .footer { grid-template-columns: 1fr auto 1fr; padding-inline: 8px; }
  .footer p { grid-column: 1 / -1; order: 5; }
  .footer > a { display: none; }
  .socials span { display: none; }
}

@media (max-width: 390px) {
  .service-grid, .industry-grid { grid-template-columns: 1fr; }
  .quick-stats, .about-stats, .outcomes { grid-template-columns: 1fr; }
}

/* Homepage clarity revision — keep the glass identity, remove first-fold collisions. */
.home-page {
  overflow-y: auto;
}

.home-page .shell {
  height: auto;
  min-height: calc(100svh - 16px);
  grid-template-rows: auto auto auto;
  overflow: hidden;
}

.home-page .topbar {
  position: relative;
  top: 0;
}

.home-page .design-home {
  direction: ltr;
  height: auto;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(360px, .84fr) minmax(560px, 1.16fr);
  grid-template-rows: minmax(560px, auto) auto auto;
  column-gap: clamp(54px, 5.2vw, 104px);
  row-gap: 20px;
  align-items: center;
  padding:
    clamp(52px, 6vh, 82px)
    clamp(66px, 5.8vw, 112px)
    34px
    clamp(108px, 7.8vw, 150px);
}

.home-page .design-home .hero-copy {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  width: 100%;
  max-width: 690px;
  padding: 0;
  direction: ltr;
}

.home-page .design-home .hero-copy h1 {
  max-width: 680px;
  margin: 0 0 24px;
  font-size: clamp(54px, 4.15vw, 74px);
  line-height: .98;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.home-page .design-home .hero-copy h1 span {
  display: block;
}

.home-page .design-home .hero-copy p {
  width: min(560px, 100%);
  max-width: none;
  margin-bottom: 0;
  font-size: clamp(16px, 1.12vw, 19px);
  line-height: 1.68;
}

.home-page .design-home .actions {
  margin: 30px 0 0;
}

.home-page .design-home .hero-stage {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  inset: auto;
  width: 100%;
  min-height: 560px;
  align-self: stretch;
  isolation: isolate;
}

.home-page .design-home .hero-stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 10% 4% 4%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 58% 42%, rgba(100,198,227,.22), transparent 39%),
    radial-gradient(circle at 52% 67%, rgba(122,35,58,.07), transparent 36%);
  filter: blur(18px);
}

.home-page .design-home .building {
  right: -3%;
  top: auto;
  bottom: -12px;
  width: min(900px, 112%);
  max-width: none;
  opacity: .88;
  filter: drop-shadow(0 38px 62px rgba(20,63,92,.17)) brightness(1.24) saturate(.84);
}

.home-page .design-home .uptime-card {
  top: 18px;
  right: 0;
  width: 208px;
  padding: 16px;
  border-radius: 24px;
}

.home-page .design-home .ai-card {
  right: auto;
  left: 10px;
  bottom: 28px;
  width: min(320px, 48%);
  min-height: 226px;
  padding: 24px;
}

.home-page .home-proof-grid {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  grid-template-columns: minmax(310px, .78fr) minmax(480px, 1.22fr);
  gap: 18px;
  align-items: stretch;
  direction: ltr;
}

.home-page .strategy-card,
.home-page .home-process {
  position: relative;
  inset: auto;
  left: auto;
  top: auto;
  bottom: auto;
  width: auto;
  translate: none;
  margin: 0;
  padding: 24px 26px;
  border-radius: 28px;
}

.home-page .strategy-card h3,
.home-page .home-process h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.home-page .strategy-card p {
  max-width: 600px;
  max-height: none;
  margin-bottom: 16px;
  font-size: 13px;
  line-height: 1.6;
}

.home-page .strategy-stats {
  margin-bottom: 14px;
}

.home-page .strategy-stats strong {
  font-size: 22px;
}

.home-page .strategy-stats span,
.home-page .bars label,
.home-page .bars em {
  font-size: 11px;
}

.home-page .home-process {
  display: grid;
  align-content: center;
}

.home-page .home-process .process-line {
  gap: 14px;
}

.home-page .home-process .process-line span {
  width: 42px;
  height: 42px;
  margin-bottom: 7px;
}

.home-page .home-process .process-line strong,
.home-page .home-process .process-line small {
  font-size: 12px;
}

.home-page .impact-strip {
  grid-column: 1 / -1;
  grid-row: 3;
  position: relative;
  inset: auto;
  left: auto;
  bottom: auto;
  translate: none;
  width: 100%;
  margin: 0;
  padding: 18px 22px;
  border-radius: 24px;
}

.home-page .impact-strip strong {
  font-size: 19px;
}

.home-page .impact-strip small,
.home-page .impact-strip span {
  font-size: 11px;
  line-height: 1.35;
}

.home-page .footer {
  padding: 18px 48px 16px;
}

html[dir="rtl"] .home-page .design-home .hero-copy {
  grid-column: 2;
  direction: rtl;
  justify-self: end;
  text-align: right;
}

html[dir="rtl"] .home-page .design-home .hero-stage {
  grid-column: 1;
}

html[dir="rtl"] .home-page .design-home .hero-copy h1 {
  max-width: 720px;
  font-size: clamp(50px, 3.75vw, 68px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0;
  word-spacing: .035em;
}

html[dir="rtl"] .home-page .design-home .hero-copy p {
  margin-inline-start: auto;
  font-size: clamp(16px, 1.06vw, 18px);
  line-height: 1.9;
}

html[dir="rtl"] .home-page .design-home .actions {
  justify-content: flex-start;
}

html[dir="rtl"] .home-page .btn > span:last-child,
html[dir="rtl"] .home-page .play {
  transform: scaleX(-1);
}

html[dir="rtl"] .home-page .design-home .uptime-card {
  right: auto;
  left: 0;
  direction: rtl;
}

html[dir="rtl"] .home-page .design-home .ai-card {
  right: 10px;
  left: auto;
  direction: rtl;
}

html[dir="rtl"] .home-page .design-home .ai-card .chip {
  float: right;
  margin: 0 0 14px 16px;
}

html[dir="rtl"] .home-page .home-proof-grid,
html[dir="rtl"] .home-page .impact-strip {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .home-page .bars label {
  grid-template-columns: 78px 1fr 48px;
}

html[dir="rtl"] .home-page .impact-strip > div {
  border-right: 1px solid rgba(20,63,92,.11);
  border-left: 0;
}

html[dir="rtl"] .home-page .impact-strip > div:first-child,
html[dir="rtl"] .home-page .impact-strip > div:nth-child(2) {
  border-right: 0;
}

@media (max-width: 1320px) {
  .home-page .design-home {
    grid-template-columns: minmax(330px, .9fr) minmax(480px, 1.1fr);
    grid-template-rows: minmax(510px, auto) auto auto;
    column-gap: 36px;
    padding-inline: 82px 46px;
  }

  .home-page .design-home .hero-copy h1 {
    font-size: clamp(48px, 4.5vw, 62px);
  }

  html[dir="rtl"] .home-page .design-home {
    padding-inline: 46px 82px;
  }

  html[dir="rtl"] .home-page .design-home .hero-copy h1 {
    font-size: clamp(46px, 4.1vw, 58px);
  }
}

@media (max-width: 1180px) {
  .home-page .shell {
    width: calc(100% - 20px);
  }

  .home-page .design-home,
  html[dir="rtl"] .home-page .design-home {
    grid-template-columns: minmax(300px, .92fr) minmax(390px, 1.08fr);
    grid-template-rows: minmax(470px, auto) auto auto;
    column-gap: 24px;
    padding: 44px 34px 30px;
  }

  .home-page .design-home .hero-stage {
    min-height: 470px;
  }

  .home-page .design-home .building {
    width: 120%;
    right: -12%;
  }

  html[dir="rtl"] .home-page .design-home .building {
    right: auto;
    left: -12%;
  }

  .home-page .design-home .uptime-card {
    width: 184px;
  }

  .home-page .design-home .ai-card {
    width: min(274px, 60%);
    min-height: 190px;
    padding: 18px;
  }

  .home-page .design-home .ai-card h3 {
    font-size: 18px;
  }

  .home-page .home-proof-grid {
    grid-template-columns: .9fr 1.1fr;
  }

  .home-page .impact-strip {
    grid-template-columns: 46px 1.2fr repeat(4, 1fr);
    padding-inline: 14px;
  }

  .home-page .impact-strip > div {
    padding-inline: 12px;
  }
}

@media (max-width: 820px) {
  .home-page .shell {
    width: min(760px, calc(100% - 18px));
    padding: 18px 16px 10px;
  }

  .home-page .design-home,
  html[dir="rtl"] .home-page .design-home {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 430px auto auto;
    gap: 24px;
    padding: 36px 20px 24px;
  }

  .home-page .design-home .hero-copy,
  html[dir="rtl"] .home-page .design-home .hero-copy {
    grid-column: 1;
    grid-row: 1;
    max-width: 650px;
    justify-self: start;
  }

  .home-page .design-home .hero-copy h1,
  html[dir="rtl"] .home-page .design-home .hero-copy h1 {
    max-width: 620px;
    font-size: clamp(43px, 8.4vw, 58px);
  }

  .home-page .design-home .hero-copy p,
  html[dir="rtl"] .home-page .design-home .hero-copy p {
    max-width: 560px;
    margin-inline: 0;
  }

  .home-page .design-home .hero-stage,
  html[dir="rtl"] .home-page .design-home .hero-stage {
    display: block;
    grid-column: 1;
    grid-row: 2;
    min-height: 430px;
  }

  .home-page .design-home .building,
  html[dir="rtl"] .home-page .design-home .building {
    right: -8%;
    left: auto;
    width: 112%;
    bottom: -8px;
  }

  .home-page .design-home .uptime-card {
    display: none;
  }

  .home-page .design-home .ai-card,
  html[dir="rtl"] .home-page .design-home .ai-card {
    display: block;
    right: 8px;
    left: auto;
    bottom: 14px;
    width: min(280px, 58%);
    min-height: 174px;
  }

  .home-page .home-proof-grid {
    grid-column: 1;
    grid-row: 3;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .home-page .strategy-card,
  .home-page .home-process {
    display: block;
    padding: 22px;
  }

  .home-page .impact-strip,
  html[dir="rtl"] .home-page .impact-strip {
    display: grid;
    grid-column: 1;
    grid-row: 4;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding: 16px;
    direction: inherit;
  }

  .home-page .impact-strip .impact-icon {
    display: none;
  }

  .home-page .impact-strip > div {
    min-height: 78px;
    display: grid;
    align-content: center;
    padding: 14px;
    border: 0;
    border-top: 1px solid rgba(20,63,92,.1);
  }

  .home-page .impact-strip > div:nth-child(2) {
    grid-column: 1 / -1;
    min-height: 86px;
    border-top: 0;
  }

  html[dir="rtl"] .home-page .impact-strip > div,
  html[dir="rtl"] .home-page .impact-strip > div:first-child,
  html[dir="rtl"] .home-page .impact-strip > div:nth-child(2) {
    border-right: 0;
  }
}

/* 2026 composition system — one mirrored layout and one icon language. */
.agency-nav-icon,
.side-dot > svg {
  width: 22px;
  height: 22px;
  display: block;
  flex: 0 0 auto;
  overflow: visible;
  color: currentColor;
}

.side-dot::before { content: none !important; }
.side-dot {
  position: relative;
  isolation: isolate;
  transition: color .18s ease, background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.side-dot:hover { transform: translateY(-2px); }
.side-dot.active {
  color: #187fd1;
  background: rgba(255,255,255,.92);
  box-shadow:
    0 0 0 6px rgba(219,239,255,.78),
    0 0 30px rgba(46,145,225,.35),
    inset 0 0 0 1px rgba(70,158,224,.32);
}
.theme-sun { display: none !important; }
html[data-theme="dark"] .theme-moon { display: none !important; }
html[data-theme="dark"] .theme-sun { display: block !important; }

.home-service-nav a {
  align-items: center;
  white-space: nowrap;
}
.home-service-nav .agency-nav-icon { width: 18px; height: 18px; color: #227fb2; }

@media (min-width: 1181px) {
  .home-page .shell {
    width: calc(100% - 16px);
    height: calc(100svh - 16px);
    min-height: 720px;
    margin: 8px auto;
    padding: 24px 28px 14px;
    grid-template-rows: 72px minmax(0, 1fr);
    overflow: hidden;
  }

  .home-page .topbar {
    position: relative;
    top: 0;
    z-index: 30;
    grid-template-columns: 230px minmax(560px, 1fr) auto auto;
    gap: 18px;
    align-items: center;
    direction: inherit;
  }
  .home-page .topbar .brand { justify-self: start; }
  .home-page .topbar .home-service-nav {
    justify-self: center;
    width: min(100%, 720px);
    min-width: 0;
    justify-content: center;
    padding: 7px;
  }
  .home-page .topbar .home-service-nav a {
    min-width: 0;
    flex: 1 1 0;
    padding: 11px 14px;
  }
  .home-page .topbar .btn.small { min-width: 166px; }

  .side-nav {
    left: clamp(28px, 2.35vw, 46px);
    right: auto;
    top: 50%;
    bottom: auto;
    width: 70px;
    padding: 14px 8px;
    gap: 13px;
    transform: translateY(-42%);
    border-radius: 999px;
  }
  html[dir="rtl"] .side-nav {
    left: auto;
    right: clamp(28px, 2.35vw, 46px);
  }
  .side-dot { width: 52px; height: 52px; }

  .home-page .design-home,
  html[dir="rtl"] .home-page .design-home {
    position: relative;
    display: block;
    direction: inherit;
    height: 100%;
    min-height: 0;
    padding-block: clamp(62px, 8.4vh, 98px) 26px;
    padding-inline-start: clamp(112px, 8vw, 154px);
    padding-inline-end: clamp(72px, 5vw, 104px);
    isolation: isolate;
  }

  .home-page .design-home .hero-copy,
  html[dir="rtl"] .home-page .design-home .hero-copy {
    position: relative;
    z-index: 10;
    width: min(540px, 42vw);
    max-width: 540px;
    margin-inline-end: auto;
    padding: 0;
    direction: inherit;
    text-align: start;
  }
  .home-page .design-home .hero-copy h1,
  html[dir="rtl"] .home-page .design-home .hero-copy h1 {
    max-width: 540px;
    margin: 0 0 22px;
    font-size: clamp(52px, 4.35vw, 70px);
    line-height: .98;
    letter-spacing: -.035em;
    text-wrap: balance;
  }
  html[dir="rtl"] .home-page .design-home .hero-copy h1 {
    font-size: clamp(45px, 3.85vw, 62px);
    line-height: 1.16;
    letter-spacing: 0;
  }
  .home-page .design-home .hero-copy p,
  html[dir="rtl"] .home-page .design-home .hero-copy p {
    width: min(510px, 100%);
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
  }
  html[dir="rtl"] .home-page .design-home .hero-copy p { line-height: 1.9; }
  .home-page .design-home .actions,
  html[dir="rtl"] .home-page .design-home .actions {
    justify-content: flex-start;
    margin: 28px 0 0;
  }

  .home-page .design-home .hero-stage,
  html[dir="rtl"] .home-page .design-home .hero-stage {
    position: absolute;
    z-index: 1;
    inset-block: 12px 6px;
    inset-inline-start: 40%;
    inset-inline-end: 0;
    width: auto;
    min-height: 0;
    align-self: auto;
    isolation: isolate;
  }
  .home-page .design-home .hero-stage::before {
    inset: 12% 4% 4%;
    border-radius: 50%;
  }
  .home-page .design-home .building,
  html[dir="rtl"] .home-page .design-home .building {
    position: absolute;
    top: auto;
    right: auto;
    left: auto;
    inset-inline-end: 2%;
    bottom: -3%;
    width: min(820px, 75vw);
    max-width: none;
    opacity: .94;
    transform: translateZ(0);
  }
  .home-feature-panel,
  html[dir="rtl"] .home-page .home-feature-panel {
    top: 5%;
    right: auto;
    left: auto;
    inset-inline-end: 1.5%;
    width: min(270px, 24vw);
    padding: 8px 22px;
  }
  .home-page .design-home .home-ai-card,
  html[dir="rtl"] .home-page .design-home .home-ai-card {
    right: auto;
    left: auto;
    inset-inline-start: 20%;
    bottom: 4%;
    width: 340px;
    min-height: 226px;
  }
}

@media (max-width: 1180px) {
  .side-dot > svg { width: 21px; height: 21px; }
  .home-page .topbar { direction: inherit; }
  .home-page .design-home,
  html[dir="rtl"] .home-page .design-home { direction: inherit; }
  .home-page .design-home .hero-copy,
  html[dir="rtl"] .home-page .design-home .hero-copy { direction: inherit; text-align: start; }
}

@media (max-width: 560px) {
  .home-page .shell {
    padding-inline: 12px;
  }

  .home-page .topbar {
    gap: 8px;
  }

  .home-page .brand {
    gap: 8px;
  }

  .home-page .brand img {
    width: 42px;
    height: 42px;
  }

  .home-page .lang-link,
  .home-page .menu-btn {
    width: 46px;
    height: 46px;
  }

  .home-page .design-home,
  html[dir="rtl"] .home-page .design-home {
    grid-template-rows: auto 340px auto auto;
    padding: 28px 8px 20px;
  }

  .home-page .design-home .hero-copy h1,
  html[dir="rtl"] .home-page .design-home .hero-copy h1 {
    font-size: clamp(38px, 11.8vw, 48px);
    line-height: 1.05;
  }

  html[dir="rtl"] .home-page .design-home .hero-copy h1 {
    line-height: 1.17;
    word-spacing: .025em;
  }

  .home-page .design-home .hero-copy p,
  html[dir="rtl"] .home-page .design-home .hero-copy p {
    font-size: 15px;
    line-height: 1.75;
  }

  .home-page .design-home .actions {
    width: 100%;
  }

  .home-page .design-home .hero-stage,
  html[dir="rtl"] .home-page .design-home .hero-stage {
    min-height: 340px;
  }

  .home-page .design-home .building,
  html[dir="rtl"] .home-page .design-home .building {
    right: -25%;
    left: auto;
    width: 142%;
  }

  .home-page .design-home .ai-card,
  html[dir="rtl"] .home-page .design-home .ai-card {
    right: 0;
    width: min(236px, 72%);
    min-height: 146px;
    padding: 15px;
  }

  .home-page .design-home .ai-card h3 {
    margin: 5px 0 6px;
    font-size: 16px;
  }

  .home-page .design-home .ai-card p {
    display: block;
    margin-bottom: 0;
    font-size: 11px;
    line-height: 1.45;
  }

  .home-page .design-home .ai-card .tags,
  .home-page .design-home .ai-card .wave-mini {
    display: none;
  }

  .home-page .strategy-card,
  .home-page .home-process {
    padding: 18px 16px;
    border-radius: 22px;
  }

  .home-page .strategy-stats {
    gap: 5px;
  }

  .home-page .bars label,
  html[dir="rtl"] .home-page .bars label {
    grid-template-columns: 72px 1fr 42px;
    gap: 6px;
  }

  .home-page .home-process .process-line {
    gap: 4px;
  }

  .home-page .home-process .process-line span {
    width: 34px;
    height: 34px;
  }

  .home-page .home-process .process-line strong,
  .home-page .home-process .process-line small {
    font-size: 10px;
  }

  .home-page .impact-strip,
  html[dir="rtl"] .home-page .impact-strip {
    padding: 10px;
    border-radius: 22px;
  }

  .home-page .impact-strip > div {
    min-height: 72px;
    padding: 11px;
  }

  .home-page .impact-strip strong {
    font-size: 17px;
  }

  .home-page .footer {
    padding: 14px 8px 10px;
  }
}

/* Rawnak Agency visual asset system — official lockup, glass illustrations and line icons. */
html[lang="en"] h1,
html[lang="en"] h2,
html[lang="en"] h3,
.brand span {
  font-family: var(--font-display);
}

html[lang="en"] h1,
html[lang="en"] h2 {
  font-weight: 800;
  letter-spacing: -.025em;
}

html[lang="en"] h3,
.brand span {
  font-weight: 700;
}

.brand span {
  letter-spacing: .18em;
}

.brand strong {
  font-size: 20px;
  font-weight: 800;
}

.brand small {
  font-size: 12px;
  font-weight: 700;
}

.ui-icon {
  width: 1em;
  height: 1em;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}

.home-page .design-home .building {
  opacity: 1;
  filter: drop-shadow(0 38px 62px rgba(20,63,92,.18)) brightness(1.03) saturate(.95);
}

.home-page .design-home .ai-card {
  overflow: visible;
  isolation: isolate;
}

.ai-card-copy {
  position: relative;
  z-index: 2;
}

.ai-card-copy h3 {
  max-width: 210px;
}

.ai-orbit-art {
  position: absolute;
  z-index: 1;
  top: -74px;
  right: -56px;
  width: 190px;
  height: 150px;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 18px 22px rgba(20,63,92,.18));
}

.home-process .ui-icon {
  font-size: 19px;
}

.service-grid .glass-card > i {
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border: 1px solid rgba(255,255,255,.84);
  border-radius: 17px;
  display: grid;
  place-items: center;
  color: var(--accent-2);
  background: linear-gradient(145deg, rgba(255,255,255,.88), rgba(100,198,227,.12));
  box-shadow: 0 12px 28px rgba(20,63,92,.12), inset 0 1px 0 #fff;
}

.service-grid .glass-card > i .ui-icon {
  font-size: 27px;
}

.feature-strip {
  grid-template-columns: minmax(280px, .8fr) minmax(390px, 1.2fr);
  overflow: hidden;
}

.feature-text .chip .ui-icon {
  font-size: 28px;
}

.feature-art {
  width: 100%;
  height: 190px;
  object-fit: contain;
  filter: drop-shadow(0 22px 30px rgba(20,63,92,.16));
}

.industry-card {
  min-height: 278px;
  padding: 16px 20px 20px;
  overflow: hidden;
  display: grid;
  grid-template-rows: 142px auto 1fr;
  align-content: start;
}

.industry-art {
  width: 100%;
  height: 142px;
  object-fit: contain;
  filter: drop-shadow(0 15px 22px rgba(20,63,92,.16));
  transition: transform .35s ease;
}

.industry-card:hover .industry-art {
  transform: translateY(-4px) scale(1.035);
}

.capabilities span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(100,198,227,.12);
}

.capabilities .ui-icon {
  font-size: 19px;
}

.work-card {
  grid-template-columns: 280px 1fr auto;
  min-height: 190px;
}

.work-card .work-art {
  width: 280px;
  height: 168px;
  padding: 4px;
  object-fit: contain;
  border-radius: 22px;
  background: radial-gradient(circle at 50% 55%, rgba(100,198,227,.13), transparent 68%);
  filter: drop-shadow(0 18px 26px rgba(20,63,92,.15));
}

.process-page {
  align-content: start;
}

.page-process-panel {
  padding: 28px clamp(20px, 3vw, 44px) 24px;
  overflow: hidden;
}

.process-visual {
  position: relative;
  min-height: 330px;
  isolation: isolate;
}

.process-ribbon {
  position: absolute;
  z-index: -1;
  inset: 20px 0 auto;
  width: 100%;
  height: 235px;
  object-fit: contain;
  opacity: .88;
  filter: drop-shadow(0 18px 28px rgba(20,63,92,.14));
}

.page-process-panel .process-line {
  min-height: 315px;
  padding: 68px 5% 0;
  align-items: start;
}

.page-process-panel .process-line div:nth-child(1) { transform: translateY(44px); }
.page-process-panel .process-line div:nth-child(2) { transform: translateY(30px); }
.page-process-panel .process-line div:nth-child(3) { transform: translateY(16px); }
.page-process-panel .process-line div:nth-child(4) { transform: translateY(2px); }
.page-process-panel .process-line div:nth-child(5) { transform: translateY(-12px); }

.page-process-panel .process-line span {
  width: 62px;
  height: 62px;
  border: 1px solid rgba(255,255,255,.86);
  color: var(--accent-2);
  box-shadow: 0 16px 28px rgba(20,63,92,.13), inset 0 1px 0 #fff;
}

.page-process-panel .process-line .ui-icon {
  font-size: 28px;
}

.page-process-panel .process-line strong {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  margin-bottom: 4px;
  border-radius: 50%;
  color: #fff;
  background: var(--accent-2);
  font-size: 11px;
}

.page-process-panel .process-line small {
  color: var(--ink);
  font-weight: 600;
}

.price-card {
  display: flex;
  flex-direction: column;
}

.price-art {
  width: 100%;
  height: 118px;
  margin: -6px auto 2px;
  object-fit: contain;
  filter: drop-shadow(0 16px 24px rgba(20,63,92,.14));
}

.price-card ul {
  flex: 1;
}

.about-media {
  min-height: 454px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 58% 46%, rgba(100,198,227,.16), transparent 54%),
    linear-gradient(145deg, rgba(255,255,255,.72), rgba(255,255,255,.42));
}

.about-media .about-art {
  width: 100%;
  height: 430px;
  padding: 10px;
  object-fit: contain;
  border-radius: 24px;
  filter: drop-shadow(0 24px 32px rgba(20,63,92,.16));
}

.contact-visual {
  height: 180px;
  margin: -8px 0 8px;
  display: grid;
  place-items: center;
}

.contact-visual img {
  width: min(100%, 470px);
  height: 200px;
  object-fit: contain;
  filter: drop-shadow(0 18px 26px rgba(20,63,92,.15));
}

.contact-cards i .ui-icon {
  font-size: 24px;
}

.case-visual {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 34px;
  background:
    radial-gradient(circle at 56% 47%, rgba(100,198,227,.18), transparent 47%),
    linear-gradient(145deg, rgba(255,255,255,.72), rgba(255,255,255,.42));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.9);
  backdrop-filter: blur(16px);
}

.case-pavilion {
  position: absolute;
  left: 4%;
  bottom: 3%;
  width: 92%;
  height: 92%;
  object-fit: contain;
  filter: drop-shadow(0 25px 32px rgba(20,63,92,.16));
}

.case-system {
  position: absolute;
  z-index: 2;
  left: 31%;
  top: 19%;
  width: 51%;
  height: 50%;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(20,63,92,.18));
}

.case-badge {
  position: absolute;
  z-index: 3;
  left: 24px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 999px;
  color: var(--accent-2);
  background: rgba(255,255,255,.76);
  box-shadow: 0 14px 26px rgba(20,63,92,.12);
  backdrop-filter: blur(12px);
  font-size: 12px;
  font-weight: 600;
}

.case-badge .ui-icon {
  font-size: 19px;
}

@media (max-width: 1180px) {
  .feature-strip {
    grid-template-columns: minmax(240px, .8fr) minmax(320px, 1.2fr);
  }

  .work-card {
    grid-template-columns: 240px 1fr auto;
  }

  .work-card .work-art {
    width: 240px;
  }

  .case-visual {
    min-height: 420px;
  }
}

@media (max-width: 720px) {
  .brand strong {
    font-size: 16px;
  }

  .brand small {
    font-size: 10px;
  }

  .home-page .design-home .building,
  html[dir="rtl"] .home-page .design-home .building {
    right: -17%;
    width: 132%;
    bottom: 0;
  }

  .ai-orbit-art {
    top: -48px;
    right: -24px;
    width: 125px;
    height: 100px;
  }

  .ai-card-copy h3 {
    max-width: 180px;
  }

  .feature-strip {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .feature-art {
    height: 150px;
  }

  .industry-card {
    min-height: 236px;
    grid-template-rows: 114px auto 1fr;
  }

  .industry-art {
    height: 114px;
  }

  .work-card {
    grid-template-columns: 118px 1fr;
  }

  .work-card .work-art {
    width: 118px;
    height: 118px;
  }

  .page-process-panel {
    padding: 22px 18px;
  }

  .process-visual {
    min-height: 0;
  }

  .process-ribbon {
    display: none;
  }

  .page-process-panel .process-line {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 10px;
    padding: 0;
  }

  .page-process-panel .process-line div,
  .page-process-panel .process-line div:nth-child(n) {
    min-height: 60px;
    padding: 8px 12px;
    display: grid;
    grid-template-columns: 46px 28px 1fr;
    gap: 10px;
    align-items: center;
    text-align: left;
    transform: none;
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 18px;
    background: rgba(255,255,255,.42);
  }

  .page-process-panel .process-line span {
    width: 46px;
    height: 46px;
    margin: 0;
  }

  .page-process-panel .process-line .ui-icon {
    font-size: 22px;
  }

  .page-process-panel .process-line strong {
    margin: 0;
  }

  .page-process-panel .process-line small {
    font-size: 13px;
  }

  .price-art {
    height: 108px;
  }

  .about-media {
    min-height: 290px;
  }

  .about-media .about-art {
    height: 270px;
  }

  .contact-visual {
    height: 135px;
  }

  .contact-visual img {
    height: 150px;
  }

  .case-visual {
    min-height: 330px;
  }

  .case-system {
    left: 26%;
    top: 20%;
    width: 60%;
  }

  .case-badge {
    left: 14px;
    bottom: 14px;
    max-width: calc(100% - 28px);
    font-size: 11px;
  }
}

@media (max-width: 390px) {
  .industry-card {
    min-height: 220px;
  }

  .work-card {
    grid-template-columns: 102px 1fr;
  }

  .work-card .work-art {
    width: 102px;
    height: 102px;
  }

  .case-visual {
    min-height: 290px;
  }
}

/* Agency homepage, persistent theme and performance refresh */
:root { color-scheme: light; }
html[data-theme="dark"] { color-scheme: dark; }

::view-transition-old(root),
::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
}

::view-transition-old(root) { z-index: 1; }
::view-transition-new(root) { z-index: 2; }

html.theme-switching *,
html.theme-switching *::before,
html.theme-switching *::after {
  transition: none !important;
}

html.theme-ready:not(.theme-switching) body,
html.theme-ready:not(.theme-switching) .shell,
html.theme-ready:not(.theme-switching) .side-dot,
html.theme-ready:not(.theme-switching) .lang-link,
html.theme-ready:not(.theme-switching) .btn {
  transition:
    color .18s ease,
    background-color .18s ease,
    border-color .18s ease,
    box-shadow .18s ease;
}

.wave-layer,
.building,
.floating { animation: none; }

.shell,
.desktop-nav,
.mobile-menu,
.side-nav,
.metric-card,
.ai-card,
.glass-card,
.process-panel,
.feature-strip,
.capabilities,
.work-card,
.price-card,
.contact-form,
.contact-cards a,
.about-media,
.values article,
.case-dashboard,
.outcomes { backdrop-filter: blur(10px); }

.home-page .shell {
  grid-template-rows: auto 1fr;
}

.home-page .design-home {
  display: block;
  min-height: 0;
  padding: clamp(86px, 12vh, 132px) clamp(82px, 6vw, 112px) 28px clamp(104px, 8vw, 150px);
  isolation: isolate;
}

.home-page .design-home .hero-copy {
  width: min(530px, 43vw);
  max-width: 530px;
  padding-top: 0;
}

.home-page .design-home .hero-copy h1 {
  font-size: clamp(50px, 5vw, 76px);
  line-height: .94;
  margin-bottom: 24px;
}

.home-page .design-home .hero-copy h1 span {
  display: block;
  color: #2286b0;
}

.home-page .design-home .hero-copy p {
  width: min(510px, 100%);
  font-size: 17px;
  line-height: 1.65;
}

.home-page .design-home .hero-stage {
  position: absolute;
  inset: 20px 18px 8px 42%;
  width: auto;
  min-height: 0;
  z-index: 1;
}

.home-page .design-home .building {
  top: auto;
  right: 2%;
  bottom: -3%;
  width: min(820px, 74vw);
  max-width: none;
  opacity: .93;
  filter: drop-shadow(0 36px 42px rgba(20,63,92,.16)) brightness(1.18) saturate(.92);
  transform: translateZ(0);
}

.home-feature-panel {
  position: absolute;
  z-index: 5;
  top: 7%;
  right: 1.5%;
  width: min(270px, 24vw);
  padding: 8px 22px;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 30px;
  background: rgba(255,255,255,.76);
  box-shadow: 0 26px 58px rgba(20,63,92,.14), inset 0 1px 0 rgba(255,255,255,.9);
  backdrop-filter: blur(12px);
}

.home-feature-panel article {
  display: grid;
  grid-template-columns: 48px minmax(0,1fr);
  align-items: start;
  gap: 13px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(20,63,92,.11);
}

.home-feature-panel article:last-child { border-bottom: 0; }
.home-feature-panel article > span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #218bb7;
  background: rgba(100,198,227,.14);
}
.home-feature-panel .ui-icon { font-size: 23px; }
.home-feature-panel strong { display: block; margin-bottom: 6px; color: #143f5c; font-size: 18px; }
.home-feature-panel p { margin: 0; color: #5c7483; font-size: 13px; line-height: 1.55; }

.home-page .design-home .home-ai-card {
  right: auto;
  left: 20%;
  bottom: 5%;
  width: 340px;
  min-height: 226px;
  padding: 24px;
  z-index: 6;
  overflow: hidden;
  animation: none;
}

.home-page .home-ai-card .ai-orbit-art {
  position: absolute;
  top: -52px;
  right: -42px;
  width: 184px;
  height: 148px;
  object-fit: contain;
  opacity: .9;
}

.home-page .home-ai-card .ai-card-copy { position: relative; z-index: 2; }
.home-page .home-ai-card h3 { max-width: 220px; margin: 0 0 12px; font-size: 22px; }
.home-page .home-ai-card p { max-width: 270px; font-size: 14px; line-height: 1.55; }

.industry-link { position: relative; color: inherit; }
.industry-link-label {
  align-self: end;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(20,63,92,.11);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}
.industry-link-label em { font-size: 18px; font-style: normal; }

html[data-theme="dark"] body {
  --ink: #edf7ff;
  --muted: #a9bdd0;
  --line: rgba(143,210,255,.18);
  --glass: rgba(8,27,46,.72);
  --glass-strong: rgba(10,34,57,.9);
  --accent: #55c8f2;
  --accent-soft: #73d8f6;
  --accent-2: #ff668a;
  --shadow: 0 24px 70px rgba(0,7,18,.46);
  color: var(--ink);
  background: #061525;
}

html[data-theme="dark"] .ambient-bg {
  background:
    radial-gradient(circle at 69% 46%, rgba(21,111,174,.22), transparent 38%),
    linear-gradient(145deg, #061322, #081c31 58%, #04101d);
}
html[data-theme="dark"] .mountain-layer { opacity: .08; filter: saturate(.6) brightness(.45); mix-blend-mode: screen; }
html[data-theme="dark"] .wave-layer { opacity: .2; filter: hue-rotate(8deg) brightness(.8); }
html[data-theme="dark"] .ambient-bg::after {
  background: linear-gradient(90deg, rgba(3,13,25,.84), rgba(5,22,39,.34) 58%, rgba(2,12,23,.58));
  backdrop-filter: none;
}
html[data-theme="dark"] .shell {
  border-color: rgba(123,200,255,.17);
  background: linear-gradient(145deg, rgba(8,27,47,.93), rgba(4,18,33,.86));
  box-shadow: var(--shadow), inset 0 0 54px rgba(72,176,238,.04);
}
html[data-theme="dark"] .desktop-nav,
html[data-theme="dark"] .mobile-menu,
html[data-theme="dark"] .filter-bar,
html[data-theme="dark"] .billing-toggle,
html[data-theme="dark"] .socials,
html[data-theme="dark"] .side-nav,
html[data-theme="dark"] .lang-link {
  border-color: rgba(127,202,252,.18);
  background: rgba(7,25,43,.76);
  box-shadow: 0 16px 38px rgba(0,7,17,.35), inset 0 1px 0 rgba(153,220,255,.08);
}
html[data-theme="dark"] .desktop-nav a { color: #b9cfe0; }
html[data-theme="dark"] .desktop-nav a:hover,
html[data-theme="dark"] .desktop-nav a.active { color: #f2f9ff; background: rgba(65,176,235,.16); }
html[data-theme="dark"] .brand strong,
html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] .glass-card b,
html[data-theme="dark"] .price-card strong,
html[data-theme="dark"] .home-feature-panel strong { color: #f1f8ff; }
html[data-theme="dark"] .brand small { color: #8bd8f3; }
html[data-theme="dark"] .brand img,
html[data-theme="dark"] .footer img {
  border-color: rgba(176, 194, 255, .36);
  box-shadow: 0 10px 26px rgba(0, 3, 12, .46), 0 0 22px rgba(121, 144, 220, .11);
}
html[data-theme="dark"] p,
html[data-theme="dark"] .section-head p,
html[data-theme="dark"] .home-feature-panel p,
html[data-theme="dark"] .work-card p,
html[data-theme="dark"] .price-card p,
html[data-theme="dark"] .price-card small { color: var(--muted); }
html[data-theme="dark"] .side-dot,
html[data-theme="dark"] .mobile-menu a,
html[data-theme="dark"] .btn.ghost,
html[data-theme="dark"] .footer > a {
  color: #d9eafa;
  border-color: rgba(125,201,250,.17);
  background: rgba(10,35,59,.72);
  box-shadow: inset 0 1px 0 rgba(155,221,255,.08), 0 10px 25px rgba(0,8,20,.25);
}
html[data-theme="dark"] .side-dot.active,
html[data-theme="dark"] .theme-toggle {
  color: #76d8ff;
  background: rgba(25,89,135,.44);
  box-shadow: 0 0 28px rgba(65,181,244,.22), inset 0 0 0 1px rgba(115,216,255,.24);
}
html[data-theme="dark"] .side-dot[data-icon="moon"]::before { content: "☀"; }
html[data-theme="dark"] .menu-btn { background: rgba(10,35,59,.82); }
html[data-theme="dark"] .menu-btn span { background: #dcefff; }
html[data-theme="dark"] .metric-card,
html[data-theme="dark"] .ai-card,
html[data-theme="dark"] .glass-card,
html[data-theme="dark"] .process-panel,
html[data-theme="dark"] .feature-strip,
html[data-theme="dark"] .capabilities,
html[data-theme="dark"] .work-card,
html[data-theme="dark"] .price-card,
html[data-theme="dark"] .contact-form,
html[data-theme="dark"] .contact-cards a,
html[data-theme="dark"] .about-media,
html[data-theme="dark"] .values article,
html[data-theme="dark"] .case-dashboard,
html[data-theme="dark"] .outcomes,
html[data-theme="dark"] .case-visual,
html[data-theme="dark"] .home-feature-panel {
  border-color: rgba(123,202,255,.16);
  background: linear-gradient(145deg, rgba(10,34,58,.88), rgba(5,20,37,.72));
  box-shadow: 0 22px 55px rgba(0,7,18,.4), inset 0 1px 0 rgba(151,219,255,.08);
}
html[data-theme="dark"] .home-page .design-home .building {
  opacity: .92;
  filter: drop-shadow(0 34px 42px rgba(0,6,16,.46)) brightness(.72) saturate(1.08) contrast(1.05);
}
html[data-theme="dark"] .industry-link-label { border-top-color: rgba(139,210,255,.14); color: #73d8ff; }

@media (max-width: 1180px) {
  .side-nav {
    display: grid;
    left: auto;
    right: max(14px, env(safe-area-inset-right));
    top: auto;
    bottom: max(14px, env(safe-area-inset-bottom));
    width: 58px;
    padding: 7px;
    z-index: 60;
  }
  .side-nav > :not(.theme-toggle) { display: none; }
  .side-nav .theme-toggle { width: 44px; height: 44px; }
  html[dir="rtl"] .side-nav { right: auto; left: max(14px, env(safe-area-inset-left)); }
  .home-page .design-home { padding-inline: 52px; }
  .home-page .design-home .hero-copy { width: min(490px, 54vw); }
  .home-page .design-home .hero-stage { inset-inline-start: 38%; }
  .home-feature-panel { width: 230px; padding-inline: 17px; }
  .home-feature-panel article { grid-template-columns: 40px minmax(0,1fr); gap: 10px; padding-block: 16px; }
  .home-feature-panel article > span { width: 40px; height: 40px; }
  .home-feature-panel strong { font-size: 16px; }
  .home-feature-panel p { font-size: 12px; }
  .home-page .design-home .home-ai-card { left: 10%; }
}

@media (max-width: 720px) {
  .shell,
  .desktop-nav,
  .mobile-menu,
  .side-nav,
  .metric-card,
  .ai-card,
  .glass-card,
  .process-panel,
  .feature-strip,
  .capabilities,
  .work-card,
  .price-card,
  .contact-form,
  .contact-cards a,
  .about-media,
  .values article,
  .case-dashboard,
  .outcomes { backdrop-filter: none; }

  .home-page .design-home {
    padding: 34px 22px 8px;
  }
  .home-page .design-home::after { display: none; }
  .home-page .design-home .hero-copy { width: 100%; }
  .home-page .design-home .hero-copy h1 { font-size: clamp(44px, 13vw, 58px); }
  .home-page .design-home .hero-stage {
    position: relative;
    inset: auto;
    display: block;
    width: 100%;
    min-height: 260px;
    margin-top: 10px;
  }
  .home-page .design-home .building,
  html[dir="rtl"] .home-page .design-home .building {
    display: block;
    right: -27%;
    bottom: -18px;
    width: 142%;
    opacity: .78;
  }
  .home-feature-panel,
  .home-page .design-home .home-ai-card { display: none; }
  .industry-link-label { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html.theme-ready body,
  html.theme-ready * { transition-duration: .01ms !important; }
}

/* Arabic homepage: mirror the composition without card collisions. */
@media (min-width: 821px) {
  html[dir="rtl"] .home-page .design-home {
    display: grid;
    grid-template-columns: minmax(520px, 1.12fr) minmax(410px, .88fr);
    grid-template-rows: minmax(570px, 1fr);
    column-gap: clamp(46px, 4.6vw, 78px);
    align-items: center;
    padding: clamp(58px, 7vh, 88px) clamp(70px, 5.5vw, 104px) 28px clamp(96px, 7vw, 132px);
  }

  html[dir="rtl"] .home-page .design-home .hero-copy {
    grid-column: 2;
    grid-row: 1;
    position: relative;
    z-index: 8;
    width: 100%;
    max-width: 560px;
    padding: 0;
    justify-self: end;
    align-self: center;
    direction: rtl;
    text-align: right;
  }

  html[dir="rtl"] .home-page .design-home .hero-copy h1 {
    max-width: 560px;
    font-size: clamp(48px, 4.15vw, 66px);
    line-height: 1.12;
  }

  html[dir="rtl"] .home-page .design-home .hero-stage {
    grid-column: 1;
    grid-row: 1;
    position: relative;
    inset: auto;
    width: 100%;
    min-height: 570px;
    align-self: stretch;
  }

  html[dir="rtl"] .home-page .design-home .building {
    right: -9%;
    left: auto;
    bottom: -10px;
    width: min(790px, 122%);
  }

  html[dir="rtl"] .home-page .home-feature-panel {
    top: 1%;
    right: 0;
    left: auto;
    width: min(250px, 42%);
  }

  html[dir="rtl"] .home-page .design-home .home-ai-card {
    right: auto;
    left: 0;
    bottom: 2%;
    width: min(320px, 54%);
  }
}

@media (min-width: 821px) and (max-width: 1120px) {
  html[dir="rtl"] .home-page .design-home {
    grid-template-columns: minmax(450px, 1.06fr) minmax(360px, .94fr);
    column-gap: 32px;
    padding-inline: 44px 76px;
  }

  html[dir="rtl"] .home-page .design-home .hero-copy h1 {
    font-size: clamp(43px, 5vw, 57px);
  }

  html[dir="rtl"] .home-page .home-feature-panel {
    width: 218px;
  }

  html[dir="rtl"] .home-page .design-home .home-ai-card {
    width: 286px;
  }
}

@media (max-width: 820px) {
  html[dir="rtl"] .home-page .design-home {
    display: block;
    padding: 42px 24px 8px;
  }

  html[dir="rtl"] .home-page .design-home .hero-copy {
    width: 100%;
    max-width: none;
    text-align: right;
  }

  html[dir="rtl"] .home-page .design-home .hero-stage {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: 300px;
    margin-top: 8px;
  }

  html[dir="rtl"] .home-page .home-feature-panel,
  html[dir="rtl"] .home-page .design-home .home-ai-card {
    display: none;
  }
}

/* Final homepage composition: identical geometry, physically mirrored for RTL. */
.agency-nav-icon,
.side-dot > svg { width: 22px; height: 22px; display: block; flex: 0 0 auto; overflow: visible; color: currentColor; }
.side-dot::before { content: none !important; }
.side-dot.active {
  color: #187fd1;
  background: rgba(255,255,255,.92);
  box-shadow: 0 0 0 6px rgba(219,239,255,.78), 0 0 30px rgba(46,145,225,.35), inset 0 0 0 1px rgba(70,158,224,.32);
}
.theme-sun { display: none !important; }
html[data-theme="dark"] .theme-moon { display: none !important; }
html[data-theme="dark"] .theme-sun { display: block !important; }
.home-service-nav .agency-nav-icon { width: 18px; height: 18px; color: #227fb2; }

@media (min-width: 1181px) {
  .home-page .shell {
    width: calc(100% - 16px);
    height: calc(100svh - 16px);
    min-height: 720px;
    margin: 8px auto;
    padding: 24px 28px 14px;
    grid-template-rows: 72px minmax(0,1fr);
    overflow: hidden;
  }
  .home-page .topbar {
    position: relative;
    top: 0;
    z-index: 30;
    grid-template-columns: 230px minmax(560px,1fr) auto auto;
    gap: 18px;
    direction: inherit;
  }
  .home-page .topbar .brand { justify-self: start; }
  .home-page .topbar .home-service-nav { justify-self: center; width: min(100%,720px); min-width: 0; justify-content: center; padding: 7px; }
  .home-page .topbar .home-service-nav a { min-width: 0; flex: 1 1 0; align-items: center; padding: 11px 14px; white-space: nowrap; }
  .home-page .topbar .btn.small { min-width: 166px; }

  .side-nav { left: clamp(28px,2.35vw,46px); right: auto; top: 50%; bottom: auto; width: 70px; padding: 14px 8px; gap: 13px; transform: translateY(-42%); }
  html[dir="rtl"] .side-nav { left: auto; right: clamp(28px,2.35vw,46px); }
  .side-dot { width: 52px; height: 52px; }

  .home-page .design-home,
  html[dir="rtl"] .home-page .design-home {
    position: relative;
    display: block;
    direction: inherit;
    height: 100%;
    min-height: 0;
    isolation: isolate;
  }
  .home-page .design-home { padding: clamp(62px,8.4vh,98px) clamp(72px,5vw,104px) 26px clamp(112px,8vw,154px); }
  html[dir="rtl"] .home-page .design-home { padding: clamp(62px,8.4vh,98px) clamp(112px,8vw,154px) 26px clamp(72px,5vw,104px); }

  .home-page .design-home .hero-copy,
  html[dir="rtl"] .home-page .design-home .hero-copy {
    position: relative;
    z-index: 10;
    width: min(540px,42vw);
    max-width: 540px;
    padding: 0;
    direction: inherit;
    text-align: start;
  }
  .home-page .design-home .hero-copy { margin-left: 0; margin-right: auto; }
  html[dir="rtl"] .home-page .design-home .hero-copy { margin-right: 0; margin-left: auto; }
  .home-page .design-home .hero-copy h1,
  html[dir="rtl"] .home-page .design-home .hero-copy h1 { max-width: 540px; margin: 0 0 22px; font-size: clamp(52px,4.35vw,70px); line-height: .98; letter-spacing: -.035em; text-wrap: balance; }
  html[dir="rtl"] .home-page .design-home .hero-copy h1 { font-size: clamp(45px,3.85vw,62px); line-height: 1.16; letter-spacing: 0; }
  .home-page .design-home .hero-copy p,
  html[dir="rtl"] .home-page .design-home .hero-copy p { width: min(510px,100%); margin: 0; font-size: 16px; line-height: 1.7; }
  html[dir="rtl"] .home-page .design-home .hero-copy p { line-height: 1.9; }
  .home-page .design-home .actions,
  html[dir="rtl"] .home-page .design-home .actions { justify-content: flex-start; margin: 28px 0 0; }

  .home-page .design-home .hero-stage,
  html[dir="rtl"] .home-page .design-home .hero-stage { position: absolute; z-index: 1; top: 12px; bottom: 6px; width: auto; min-height: 0; isolation: isolate; }
  .home-page .design-home .hero-stage { left: 40%; right: 0; }
  html[dir="rtl"] .home-page .design-home .hero-stage { right: 40%; left: 0; }
  .home-page .design-home .building,
  html[dir="rtl"] .home-page .design-home .building { position: absolute; top: auto; bottom: -3%; width: min(820px,75vw); max-width: none; opacity: .94; transform: translateZ(0); }
  .home-page .design-home .building { right: 2%; left: auto; }
  html[dir="rtl"] .home-page .design-home .building { left: 2%; right: auto; }
  .home-feature-panel,
  html[dir="rtl"] .home-page .home-feature-panel { top: 5%; width: min(270px,24vw); padding: 8px 22px; }
  .home-feature-panel { right: 1.5%; left: auto; }
  html[dir="rtl"] .home-page .home-feature-panel { left: 1.5%; right: auto; }
  .home-page .design-home .home-ai-card,
  html[dir="rtl"] .home-page .design-home .home-ai-card { position: absolute; top: auto; bottom: 4%; width: 340px; min-height: 226px; }
  .home-page .design-home .home-ai-card { left: 20%; right: auto; }
  html[dir="rtl"] .home-page .design-home .home-ai-card { right: 20%; left: auto; }
}

/* Dark-mode refinement and lightweight React Bits-inspired motion. */
html[data-theme="dark"] body {
  --ink: #f5f8fc;
  --muted: #aab9c9;
  --line: rgba(159, 195, 255, .18);
  --glass: rgba(14, 26, 43, .76);
  --glass-strong: rgba(14, 26, 43, .94);
  --accent: #9fc3ff;
  --accent-soft: #b9d6ff;
  --accent-2: #ff6b91;
  --shadow: 0 30px 80px rgba(0, 5, 16, .5);
  background: #0b1220;
}

html[data-theme="dark"] .ambient-bg {
  background:
    radial-gradient(circle at 72% 42%, rgba(63, 116, 184, .22), transparent 34%),
    linear-gradient(145deg, #0b1220 0%, #0e1a2b 58%, #08111f 100%);
}

html[data-theme="dark"] .ambient-bg::after {
  background:
    linear-gradient(115deg, rgba(159, 195, 255, .035) 0 11%, transparent 11% 30%, rgba(0, 0, 0, .1) 30% 45%, transparent 45% 100%),
    linear-gradient(90deg, rgba(3, 9, 18, .68), rgba(10, 23, 39, .18) 56%, rgba(3, 9, 18, .48));
}

html[data-theme="dark"] .shell {
  border-color: rgba(159, 195, 255, .19);
  background: linear-gradient(145deg, rgba(14, 26, 43, .95), rgba(8, 17, 31, .9));
  box-shadow: 0 34px 90px rgba(0, 5, 16, .52), inset 0 1px 0 rgba(197, 222, 255, .06);
}

html[data-theme="dark"] .desktop-nav,
html[data-theme="dark"] .mobile-menu,
html[data-theme="dark"] .filter-bar,
html[data-theme="dark"] .billing-toggle,
html[data-theme="dark"] .socials,
html[data-theme="dark"] .side-nav,
html[data-theme="dark"] .lang-link {
  border-color: rgba(159, 195, 255, .17);
  background: rgba(9, 22, 38, .82);
  box-shadow: 0 18px 46px rgba(0, 5, 16, .34), inset 0 1px 0 rgba(197, 222, 255, .06);
}

html[data-theme="dark"] .desktop-nav a { color: #b8c7d7; }
html[data-theme="dark"] .desktop-nav a:hover,
html[data-theme="dark"] .desktop-nav a.active {
  color: #f7fbff;
  background: linear-gradient(135deg, rgba(57, 122, 174, .34), rgba(28, 73, 111, .42));
  box-shadow: inset 0 0 0 1px rgba(159, 195, 255, .08);
}

html[data-theme="dark"] .side-dot,
html[data-theme="dark"] .mobile-menu a,
html[data-theme="dark"] .btn.ghost,
html[data-theme="dark"] .footer > a {
  color: #d6e1ee;
  border-color: rgba(159, 195, 255, .14);
  background: rgba(12, 31, 51, .78);
  box-shadow: inset 0 1px 0 rgba(197, 222, 255, .06), 0 12px 28px rgba(0, 5, 16, .28);
}

html[data-theme="dark"] .side-dot:hover {
  color: #eef6ff;
  background: rgba(20, 48, 76, .92);
}

html[data-theme="dark"] .side-dot.active,
html[data-theme="dark"] .theme-toggle {
  color: #d9e9ff;
  background: linear-gradient(145deg, rgba(31, 79, 119, .82), rgba(15, 48, 77, .9));
  box-shadow:
    0 0 0 1px rgba(159, 195, 255, .3),
    0 0 24px rgba(97, 174, 255, .22),
    inset 0 1px 0 rgba(221, 237, 255, .14);
}

html[data-theme="dark"] .side-line { background: rgba(159, 195, 255, .22); }
html[data-theme="dark"] .lang-link { color: #ff789a; }
html[data-theme="dark"] .home-service-nav .agency-nav-icon { color: #9fc3ff; }

html[data-theme="dark"] .metric-card,
html[data-theme="dark"] .ai-card,
html[data-theme="dark"] .glass-card,
html[data-theme="dark"] .process-panel,
html[data-theme="dark"] .feature-strip,
html[data-theme="dark"] .capabilities,
html[data-theme="dark"] .work-card,
html[data-theme="dark"] .price-card,
html[data-theme="dark"] .contact-form,
html[data-theme="dark"] .contact-cards a,
html[data-theme="dark"] .about-media,
html[data-theme="dark"] .values article,
html[data-theme="dark"] .case-dashboard,
html[data-theme="dark"] .outcomes,
html[data-theme="dark"] .case-visual,
html[data-theme="dark"] .home-feature-panel {
  border-color: rgba(159, 195, 255, .15);
  background: linear-gradient(145deg, rgba(17, 35, 57, .9), rgba(9, 22, 38, .8));
  box-shadow: 0 24px 60px rgba(0, 5, 16, .42), inset 0 1px 0 rgba(197, 222, 255, .065);
}

html[data-theme="dark"] .home-feature-panel article { border-bottom-color: rgba(159, 195, 255, .12); }
html[data-theme="dark"] .home-feature-panel article > span {
  color: #a9d3ff;
  background: rgba(77, 151, 215, .16);
}

html[data-theme="dark"] .tags span,
html[data-theme="dark"] .filter-bar button,
html[data-theme="dark"] .billing-toggle {
  color: #b9d8f8;
  border: 1px solid rgba(159, 195, 255, .13);
  background: rgba(159, 195, 255, .09);
}

html[data-theme="dark"] .btn.primary,
html[data-theme="dark"] .filter-bar button.active {
  color: #f8fbff;
  background: linear-gradient(135deg, #4aaed4, #245b91);
  box-shadow: 0 16px 34px rgba(0, 8, 22, .38), inset 0 1px 0 rgba(255, 255, 255, .22);
}

html[data-theme="dark"] .round-arrow,
html[data-theme="dark"] .play,
html[data-theme="dark"] .work-card > a,
html[data-theme="dark"] .price-card a {
  color: #dcecff;
  background: rgba(159, 195, 255, .12);
}

html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea {
  color: #f5f8fc;
  border-color: rgba(159, 195, 255, .17);
  background: rgba(7, 18, 32, .72);
}

html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder { color: #8495a8; }

html[data-theme="dark"] label,
html[data-theme="dark"] .contact-form small { color: #c8d5e4; }

html[data-theme="dark"] .home-page .design-home .hero-copy h1 span { color: #86c7f2; }
html[data-theme="dark"] .home-page .design-home .building {
  opacity: .9;
  filter: drop-shadow(0 36px 48px rgba(0, 4, 14, .52)) brightness(.76) saturate(.94) contrast(1.04);
}

.side-dot {
  transition:
    transform 220ms cubic-bezier(.2, .8, .2, 1),
    color 220ms ease,
    background-color 220ms ease,
    box-shadow 320ms cubic-bezier(.2, .8, .2, 1);
}

.reveal {
  opacity: 0;
  filter: blur(6px);
  transform: translate3d(0, 18px, 0) scale(.99);
  transition:
    opacity 620ms cubic-bezier(.22, 1, .36, 1),
    transform 620ms cubic-bezier(.22, 1, .36, 1),
    filter 480ms cubic-bezier(.22, 1, .36, 1);
  will-change: opacity, transform, filter;
}

.reveal.in-view {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) scale(1);
  will-change: auto;
}

.spotlight-surface {
  --spot-x: 50%;
  --spot-y: 50%;
  isolation: isolate;
  overflow: hidden;
}

.spotlight-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(320px circle at var(--spot-x) var(--spot-y), rgba(159, 195, 255, .14), transparent 68%);
  transition: opacity 220ms ease;
}

.spotlight-surface[data-spotlight-active]::before { opacity: 1; }

@keyframes rawnak-orbit-drift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -4px, 0); }
}

.home-page .home-ai-card .ai-orbit-art {
  animation: rawnak-orbit-drift 5.8s cubic-bezier(.45, 0, .55, 1) infinite;
}

.motion-paused *,
.motion-paused *::before,
.motion-paused *::after { animation-play-state: paused !important; }

@media (max-width: 820px) {
  .spotlight-surface::before { display: none; }
  .home-page .home-ai-card .ai-orbit-art { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .reveal.in-view {
    opacity: 1;
    filter: none;
    transform: none;
    transition-duration: .01ms !important;
    will-change: auto;
  }
  .spotlight-surface::before { display: none; }
  .home-page .home-ai-card .ai-orbit-art { animation: none; }
}

@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
  html[data-theme="dark"] .shell,
  html[data-theme="dark"] .desktop-nav,
  html[data-theme="dark"] .side-nav,
  html[data-theme="dark"] .home-feature-panel { background: #0e1a2b; }
}
