/*
Theme Name: JUST CREATIVIITY
Theme URI: https://justcreativiity.local
Author: JUST CREATIVIITY
Description: Custom WordPress theme converted from the JUST CREATIVIITY static website.
Version: 1.6.9
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: justcreativity
*/

:root {
  --bg: #09091c;
  --bg-2: #10102b;
  --ink: #ffffff;
  --muted: #b9b8d0;
  --purple: #8417ff;
  --purple-2: #b35cff;
  --cyan: #39e7ff;
  --pink: #ff3fd4;
  --lime: #d8ff5f;
  --line: rgba(255, 255, 255, 0.16);
  --glass: rgba(255, 255, 255, 0.075);
  --shadow: 0 24px 80px rgba(132, 23, 255, 0.3);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(132, 23, 255, 0.16), transparent 30rem),
    linear-gradient(135deg, #050611 0%, #090b24 48%, #07122b 100%);
  color: var(--ink);
  font-family: Inter, Tajawal, system-ui, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 63, 212, 0.2), transparent 18rem),
    radial-gradient(circle at 24% 36%, rgba(57, 231, 255, 0.16), transparent 20rem),
    radial-gradient(circle at 70% 72%, rgba(132, 23, 255, 0.2), transparent 18rem);
}

body[dir="rtl"] {
  font-family: Tajawal, Inter, system-ui, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.comet {
  position: fixed;
  z-index: -1;
  width: 9rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--cyan), white);
  box-shadow: 0 0 18px rgba(57, 231, 255, 0.55);
  opacity: 0;
  transform: rotate(-24deg);
  animation: cometFly 8s linear infinite;
}

.comet-one {
  top: 20%;
  left: -12rem;
}

.comet-two {
  top: 66%;
  left: -18rem;
  animation-delay: 3.7s;
  animation-duration: 11s;
}

.quick-action-rail {
  position: fixed;
  right: 1.1rem;
  bottom: 1rem;
  z-index: 40;
  display: grid;
  gap: 0.55rem;
}

.floating-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: var(--ink);
  font-weight: 900;
  box-shadow: 0 0 22px rgba(132, 23, 255, 0.32);
}

body[dir="rtl"] .floating-contact {
  right: auto;
  left: 1.1rem;
}

body[dir="rtl"] .quick-action-rail {
  right: auto;
  left: 1.1rem;
}

.floating-contact-secondary {
  background:
    linear-gradient(135deg, rgba(57, 231, 255, 0.28), rgba(216, 255, 95, 0.18)),
    rgba(7, 9, 27, 0.82);
  box-shadow: 0 0 22px rgba(57, 231, 255, 0.22);
}

.floating-contact span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.header-consultation-btn {
  min-height: 44px;
  padding: 0 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 1rem auto 0;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(8, 8, 26, 0.72);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.22);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: var(--bg-2);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.95);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.main-nav a,
.nav-dropdown-trigger {
  color: inherit;
  font: inherit;
  transition: color 180ms ease, text-shadow 180ms ease;
}

.main-nav a:hover,
.nav-dropdown-trigger:hover,
.nav-dropdown:focus-within .nav-dropdown-trigger {
  color: var(--ink);
  text-shadow: 0 0 16px rgba(57, 231, 255, 0.8);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-dropdown-trigger::after {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: 0.78;
}

.service-dropdown {
  position: absolute;
  top: calc(100% + 1rem);
  left: 50%;
  width: min(720px, calc(100vw - 2rem));
  padding: 0.85rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    radial-gradient(circle at 18% 12%, rgba(57, 231, 255, 0.22), transparent 26%),
    radial-gradient(circle at 84% 78%, rgba(255, 63, 212, 0.2), transparent 28%),
    linear-gradient(145deg, rgba(8, 8, 26, 0.96), rgba(18, 13, 46, 0.94));
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.42), inset 0 0 44px rgba(255, 255, 255, 0.04);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  visibility: hidden;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.service-dropdown::before {
  content: "";
  position: absolute;
  inset: 0.65rem;
  border: 1px solid rgba(57, 231, 255, 0.12);
  pointer-events: none;
}

.nav-dropdown:hover .service-dropdown,
.nav-dropdown:focus-within .service-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
  visibility: visible;
}

.service-dropdown a {
  position: relative;
  display: grid;
  gap: 0.2rem;
  min-height: 86px;
  padding: 0.9rem 0.95rem 0.9rem 3.2rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.055);
}

.service-dropdown a::before {
  content: attr(data-orbit);
  position: absolute;
  top: 50%;
  left: 0.85rem;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 900;
  background: linear-gradient(135deg, rgba(57, 231, 255, 0.24), rgba(255, 63, 212, 0.22));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 0 24px rgba(57, 231, 255, 0.2);
  transform: translateY(-50%);
}

.service-dropdown strong {
  color: var(--ink);
  font-size: 0.92rem;
}

.service-dropdown span {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.service-dropdown a:hover {
  border-color: rgba(57, 231, 255, 0.34);
  background: rgba(57, 231, 255, 0.09);
}

.header-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.lang-toggle,
.nav-cta,
.primary-btn,
.ghost-btn {
  min-height: 44px;
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.lang-toggle {
  width: 48px;
  background: rgba(255, 255, 255, 0.08);
}

.nav-cta,
.primary-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.2rem;
  overflow: hidden;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  box-shadow: 0 0 18px rgba(132, 23, 255, 0.34);
}

.nav-cta::after,
.primary-btn::after {
  content: "";
  position: absolute;
  inset: -80% -30%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  transform: translateX(-70%) rotate(18deg);
  animation: buttonSweep 4s ease-in-out infinite;
}

.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.2rem;
  background: rgba(255, 255, 255, 0.06);
}

.section-shell {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

.services-section,
.system-section,
.showcase-section,
.contact-section {
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}

#services,
#work,
#system,
#contact {
  scroll-margin-top: 110px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  min-height: calc(100vh - 84px);
  padding: clamp(2.25rem, 5vw, 5rem) 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  margin-bottom: 1rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(132, 23, 255, 0.82), rgba(255, 63, 212, 0.55)),
    rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  font-weight: 900;
  box-shadow: 0 0 20px rgba(132, 23, 255, 0.28);
}

.hero-badge span {
  color: var(--lime);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  line-height: 0.93;
  font-weight: 900;
}

h1 {
  max-width: 720px;
  font-size: clamp(3.1rem, 6vw, 5.8rem);
  text-transform: none;
  text-shadow:
    0 0 28px rgba(132, 23, 255, 0.62),
    0 0 62px rgba(57, 231, 255, 0.2);
}

h2 {
  font-size: clamp(2.3rem, 5.5vw, 5rem);
}

.hero-lede,
.section-heading p,
.showcase-section p,
.contact-copy p {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.75;
}

.hero-lede {
  margin: 1rem 0 1.4rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  max-width: 640px;
  margin-top: 1.1rem;
}

.hero-stats div {
  min-height: 84px;
  padding: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(135deg, rgba(57, 231, 255, 0.09), rgba(132, 23, 255, 0.08)),
    rgba(255, 255, 255, 0.04);
}

.hero-stats strong {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.55rem);
  line-height: 1;
}

.hero-stats span {
  display: block;
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.orbit-stage {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  min-height: 540px;
  overflow: hidden;
  border-radius: 0 0 44% 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 60%),
    radial-gradient(circle at 50% 46%, rgba(255, 255, 255, 0.11), transparent 5.5rem),
    radial-gradient(circle at 52% 48%, rgba(132, 23, 255, 0.36), transparent 15rem),
    radial-gradient(circle at 66% 42%, rgba(255, 63, 212, 0.26), transparent 15rem),
    linear-gradient(145deg, rgba(132, 23, 255, 0.16), rgba(57, 231, 255, 0.08));
  transform-style: preserve-3d;
}

.hero-planet {
  position: absolute;
  right: -14%;
  bottom: -18%;
  width: 74%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 28% 28%, rgba(255, 255, 255, 0.45), transparent 8%),
    linear-gradient(135deg, rgba(132, 23, 255, 0.8), rgba(255, 63, 212, 0.5), rgba(57, 231, 255, 0.26));
  opacity: 0.65;
}

body[dir="rtl"] .hero-planet {
  right: auto;
  left: -14%;
}

.brand-planet {
  position: absolute;
  z-index: 7;
  display: grid;
  place-items: center;
  width: min(46%, 260px);
  aspect-ratio: 1;
  border-radius: 50%;
  perspective: 900px;
  animation: coreFloat 4.8s ease-in-out infinite;
}

.brand-planet::before {
  content: "";
  position: absolute;
  inset: -18%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(57, 231, 255, 0.22), transparent 62%),
    radial-gradient(circle, rgba(132, 23, 255, 0.26), transparent 70%);
  filter: blur(10px);
}

.brand-planet::after {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -16%;
  z-index: -1;
  width: 88%;
  height: 20%;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.42);
  filter: blur(18px);
}

.brand-planet-shell {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 10px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.56), transparent 12%),
    #09091c;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.16),
    0 28px 72px rgba(132, 23, 255, 0.38),
    inset -28px -34px 42px rgba(0, 0, 0, 0.48),
    inset 18px 20px 24px rgba(255, 255, 255, 0.12);
  transform: rotateX(10deg) rotateY(-16deg);
}

.brand-planet-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.55), transparent 9%),
    radial-gradient(circle at 65% 62%, transparent 42%, rgba(0, 0, 0, 0.56) 82%),
    linear-gradient(115deg, rgba(57, 231, 255, 0.08), transparent 46%, rgba(255, 63, 212, 0.18));
  mix-blend-mode: screen;
  pointer-events: none;
}

.brand-planet-shell::after {
  content: "";
  position: absolute;
  inset: 9%;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: inherit;
  box-shadow: inset 0 0 26px rgba(57, 231, 255, 0.18);
  pointer-events: none;
}

.brand-planet-shell img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.56);
}

.pulse-ring,
.orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}

.pulse-ring {
  inset: 18%;
  box-shadow: 0 0 22px rgba(132, 23, 255, 0.14);
  animation: ringPulse 3.4s ease-in-out infinite;
}

.ring-two {
  inset: 7%;
  animation-delay: 0.8s;
}

.ring-three {
  inset: 0;
  animation-delay: 1.6s;
}

.orbit-a {
  inset: 9%;
  --satellite-spin: 30s;
  animation: orbitSpin 30s linear infinite;
}

.orbit-b {
  inset: 20%;
  --satellite-spin: 30s;
  animation: orbitSpin 30s linear infinite;
}

.orbit-c {
  inset: 2%;
  --satellite-spin: 30s;
  animation: orbitSpin 30s linear infinite;
}

.satellite {
  position: absolute;
  display: grid;
  place-items: center;
  min-width: 94px;
  min-height: 38px;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(12, 12, 34, 0.9);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 0 14px rgba(57, 231, 255, 0.18);
  animation: satelliteCounter var(--satellite-spin) linear infinite;
}

.sat-a {
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
}

.sat-b {
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
}

.sat-c {
  top: 32%;
  left: -40px;
}

.sat-d {
  top: 32%;
  right: -40px;
}

.sat-e {
  top: 16%;
  left: 8%;
}

.sat-f {
  right: 8%;
  bottom: 16%;
}

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(132, 23, 255, 0.18), rgba(57, 231, 255, 0.11));
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 2.2rem;
  padding: 1rem 0;
  color: var(--ink);
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
  animation: tickerMove 24s linear infinite;
}

.ticker-track span {
  position: relative;
}

.ticker-track span::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-inline-start: 2.2rem;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px rgba(216, 255, 95, 0.65);
}

.services-section,
.system-layout,
.showcase-section,
.contact-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-heading {
  display: grid;
  justify-items: center;
  margin: 0 auto 2rem;
  text-align: center;
}

.section-heading.left {
  justify-items: start;
  margin: 0;
  text-align: start;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.85rem;
  align-items: stretch;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 230px;
  padding: clamp(1rem, 2vw, 1.45rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-inline-start: 4px solid rgba(57, 231, 255, 0.7);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
  background:
    linear-gradient(135deg, rgba(57, 231, 255, 0.12), transparent 38%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.025));
  box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.035);
  transform: translateY(24px);
  opacity: 0;
  transition:
    transform 700ms ease,
    opacity 700ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: auto -18% 18px 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0.62;
}

.service-card::after {
  content: "";
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 4.8rem;
  height: 4.8rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(132, 23, 255, 0.28), transparent 65%);
}

body[dir="rtl"] .service-card::after {
  right: auto;
  left: 0.9rem;
}

.service-card.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.service-card:hover {
  border-color: rgba(57, 231, 255, 0.62);
  box-shadow:
    0 14px 38px rgba(132, 23, 255, 0.14),
    inset 0 0 24px rgba(57, 231, 255, 0.055);
  transform: translateY(-8px);
}

.service-card.featured {
  grid-column: span 7;
  min-height: 315px;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 63, 212, 0.32), transparent 15rem),
    linear-gradient(135deg, rgba(132, 23, 255, 0.32), rgba(57, 231, 255, 0.08) 48%, rgba(255, 255, 255, 0.045));
  border-inline-start-color: var(--pink);
}

.service-card.secondary {
  grid-column: span 5;
}

.service-card:not(.featured) {
  grid-column: span 3;
}

.service-index {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 2.2rem;
  margin-bottom: auto;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 900;
}

.service-index::after {
  content: "";
  width: 3.8rem;
  height: 1px;
  margin-inline-start: 0.7rem;
  background: currentColor;
  box-shadow: 0 0 14px currentColor;
}

.service-card h3,
.mission-board h3 {
  position: relative;
  z-index: 1;
  margin: 1.3rem 0 0.7rem;
  font-size: clamp(1.25rem, 2.1vw, 1.8rem);
  line-height: 1.05;
}

.service-card p,
.mission-board p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.service-card.featured h3 {
  max-width: 720px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.96;
}

.service-card.featured p {
  max-width: 570px;
  font-size: 1.05rem;
}

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.6rem);
}

.service-card,
.service-card.featured,
.service-card.secondary,
.service-card:not(.featured) {
  grid-column: auto;
  justify-content: flex-start;
  height: clamp(420px, 36vw, 490px);
  min-height: 0;
  padding: clamp(1.4rem, 2.5vw, 2.2rem);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-inline-start: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  clip-path: none;
  background:
    linear-gradient(180deg, rgba(10, 9, 24, 0.14), rgba(5, 6, 17, 0.94)),
    radial-gradient(circle at 70% 28%, rgba(132, 23, 255, 0.22), transparent 13rem),
    #090914;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 14px 40px rgba(0, 0, 0, 0.22);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  height: auto;
  background:
    repeating-radial-gradient(
      circle at 72% 25%,
      rgba(255, 255, 255, 0.12) 0 1px,
      transparent 2px 11px
    );
  opacity: 0.34;
  transform: rotate(-12deg) scale(1.18);
}

.service-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  width: auto;
  height: 38%;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(ellipse at 12% 100%, rgba(0, 0, 0, 0.88), transparent 36%),
    radial-gradient(ellipse at 72% 100%, rgba(0, 0, 0, 0.78), transparent 38%),
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.86));
}

body[dir="rtl"] .service-card::after {
  right: 0;
  left: 0;
}

.service-icon {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  margin-bottom: auto;
  color: var(--purple-2);
}

.service-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-index {
  display: none;
}

.service-card h3,
.service-card.featured h3 {
  max-width: 100%;
  margin: clamp(3.2rem, 6vw, 5.5rem) 0 1.2rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 500;
  line-height: 1.15;
  text-transform: uppercase;
}

.service-card p,
.service-card.featured p {
  max-width: 100%;
  color: rgba(255, 255, 255, 0.56);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.65;
}

.service-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  width: fit-content;
  margin-top: auto;
  padding-top: 2rem;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
}

.service-link b {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  font-size: 1.65rem;
  font-weight: 400;
  line-height: 1;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.service-link:hover b {
  border-color: var(--purple-2);
  background: rgba(132, 23, 255, 0.22);
  transform: translateX(4px);
}

body[dir="rtl"] .service-link:hover b {
  transform: translateX(-4px);
}

.service-card:hover {
  border-color: rgba(132, 23, 255, 0.42);
  box-shadow:
    0 18px 50px rgba(132, 23, 255, 0.16),
    inset 0 0 28px rgba(132, 23, 255, 0.08);
}

.system-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 16%, rgba(132, 23, 255, 0.18), transparent 24rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0) 24%),
    #030309;
}

.system-layout {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: clamp(2.5rem, 5vw, 4.5rem);
}

.system-layout .section-heading.left {
  max-width: 850px;
}

.mission-board {
  position: relative;
  display: grid;
  grid-template-columns: minmax(210px, 0.82fr) minmax(300px, 1.1fr) minmax(210px, 0.82fr);
  grid-template-rows: repeat(2, minmax(250px, auto));
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: center;
  min-height: 720px;
}

.mission-visual {
  position: relative;
  z-index: 2;
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: stretch;
  min-height: 680px;
  margin: 0;
  overflow: hidden;
  border: 14px solid #ffffff;
  border-radius: 22px;
  background: #000;
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.44),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

.mission-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.mission-card {
  position: relative;
  z-index: 3;
  min-height: 280px;
  padding: clamp(1.35rem, 2.5vw, 2.1rem);
  border-radius: 18px;
  background: #ffffff;
  color: #05050b;
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.mission-card span {
  position: absolute;
  z-index: -1;
  color: rgba(132, 23, 255, 0.68);
  font-size: clamp(4rem, 7vw, 7.4rem);
  font-weight: 900;
  line-height: 0.72;
  letter-spacing: 0;
  background: linear-gradient(135deg, var(--purple), #8d3520);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mission-card h3 {
  margin: 0 0 1rem;
  color: #030309;
  font-size: clamp(1.85rem, 3.2vw, 3rem);
  font-weight: 900;
  line-height: 0.98;
}

.mission-card p {
  margin: 0;
  color: #686875;
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.65;
}

.mission-card-one {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
}

.mission-card-two {
  grid-column: 3;
  grid-row: 1;
  align-self: center;
}

.mission-card-three {
  grid-column: 1;
  grid-row: 2;
  align-self: end;
}

.mission-card-four {
  grid-column: 3;
  grid-row: 2;
  align-self: end;
}

.mission-card-one span,
.mission-card-three span {
  right: 1rem;
  bottom: calc(100% - 1rem);
}

.mission-card-two span,
.mission-card-four span {
  left: 1rem;
  bottom: calc(100% - 1rem);
}

body[dir="rtl"] .mission-card-one span,
body[dir="rtl"] .mission-card-three span {
  right: auto;
  left: 1rem;
}

body[dir="rtl"] .mission-card-two span,
body[dir="rtl"] .mission-card-four span {
  right: 1rem;
  left: auto;
}

.showcase-section {
  position: relative;
}

.showcase-heading {
  margin-bottom: 2.5rem;
}

.work-zone {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3vw, 2.4rem);
  align-items: start;
  min-height: 0;
  margin-bottom: clamp(2.4rem, 5vw, 4.2rem);
  padding: clamp(1.25rem, 3vw, 2rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 34px 100%, 0 calc(100% - 34px));
  background:
    radial-gradient(circle at 88% 18%, rgba(132, 23, 255, 0.24), transparent 18rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.028));
  transition: transform 700ms ease, opacity 700ms ease, border-color 220ms ease;
}

.work-zone.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.work-zone:hover {
  border-color: rgba(57, 231, 255, 0.52);
}

.work-zone::before {
  content: "";
  position: absolute;
  inset: 1rem;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.07);
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 26px 100%, 0 calc(100% - 26px));
}

.work-zone > .zone-copy::after {
  content: "";
  position: absolute;
  right: -6rem;
  bottom: -9rem;
  z-index: -1;
  width: 20rem;
  height: 20rem;
  border: 1px solid rgba(57, 231, 255, 0.13);
  border-radius: 50%;
  box-shadow: inset 0 0 60px rgba(132, 23, 255, 0.16);
}

body[dir="rtl"] .work-zone > .zone-copy::after {
  right: auto;
  left: -6rem;
}

.showcase-divider {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
  margin: clamp(1rem, 3vw, 1.8rem) 0 clamp(2rem, 4vw, 3rem);
  padding: clamp(1rem, 2vw, 1.4rem);
  border-block: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(90deg, rgba(57, 231, 255, 0.1), transparent 42%, rgba(132, 23, 255, 0.12)),
    rgba(7, 10, 31, 0.5);
}

.showcase-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 1rem;
  left: 1rem;
  z-index: -1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(57, 231, 255, 0.6), transparent);
}

.showcase-divider > span {
  display: grid;
  place-items: center;
  width: 4.2rem;
  height: 4.2rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), #121635);
  color: var(--ink);
  font-weight: 900;
  box-shadow: 0 0 18px rgba(132, 23, 255, 0.25);
}

.showcase-divider h3 {
  margin: 0.25rem 0 0.45rem;
  font-size: clamp(1.45rem, 3vw, 2.6rem);
  line-height: 1;
}

.showcase-divider p:not(.eyebrow) {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.zone-copy {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(240px, 0.48fr);
  gap: 1.5rem;
  align-items: end;
}

.zone-copy h3 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.95;
}

.zone-copy p {
  margin: 0;
}

.results-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  align-self: end;
}

.result-card {
  min-height: 260px;
  padding: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(57, 231, 255, 0.12), rgba(255, 255, 255, 0.035)),
    rgba(8, 8, 26, 0.56);
}

.result-card span,
.browser-frame p,
.social-tile span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.result-card strong {
  display: block;
  margin: 2rem 0 0.7rem;
  color: var(--ink);
  font-size: clamp(2.7rem, 5vw, 4.5rem);
  line-height: 0.9;
  text-shadow: 0 0 28px rgba(57, 231, 255, 0.35);
}

.result-card p {
  margin: 0;
  font-size: 0.95rem;
}

.rocket-visual {
  position: absolute;
  top: 2rem;
  right: 2.5rem;
  z-index: 1;
  width: 86px;
  height: 210px;
  border-radius: 46px 46px 18px 18px;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.95) 0 18%, transparent 19%),
    linear-gradient(180deg, #ffffff, #c7c8ff 52%, var(--purple));
  box-shadow: 0 0 24px rgba(132, 23, 255, 0.32);
  transform: rotate(28deg);
  animation: rocketDrift 4.6s ease-in-out infinite;
}

body[dir="rtl"] .rocket-visual {
  right: auto;
  left: 2.5rem;
  transform: rotate(-28deg);
}

.rocket-window {
  position: absolute;
  top: 52px;
  left: 50%;
  width: 34px;
  height: 34px;
  border: 5px solid #1d1241;
  border-radius: 50%;
  background: var(--cyan);
  transform: translateX(-50%);
}

.rocket-fin {
  position: absolute;
  bottom: 20px;
  width: 34px;
  height: 58px;
  background: var(--pink);
}

.fin-left {
  left: -24px;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.fin-right {
  right: -24px;
  clip-path: polygon(0 0, 100% 100%, 0 100%);
}

.rocket-flame {
  position: absolute;
  left: 50%;
  bottom: -52px;
  width: 38px;
  height: 76px;
  border-radius: 50% 50% 46% 46%;
  background: linear-gradient(180deg, var(--lime), var(--pink), transparent);
  opacity: 0.86;
  transform: translateX(-50%);
  animation: flamePulse 0.42s ease-in-out infinite alternate;
}

.website-zone {
  grid-template-columns: 1fr;
  background:
    radial-gradient(circle at 20% 20%, rgba(57, 231, 255, 0.18), transparent 18rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(132, 23, 255, 0.08));
}

.website-stack {
  position: relative;
  z-index: 2;
  min-height: 390px;
}

.browser-frame {
  position: absolute;
  width: min(440px, 88%);
  min-height: 255px;
  padding: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(8, 8, 26, 0.78);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22);
}

.frame-one {
  top: 0;
  right: 8%;
}

.frame-two {
  top: 74px;
  left: 2%;
  transform: rotate(-4deg);
}

.frame-three {
  right: 0;
  bottom: 0;
  transform: rotate(3deg);
}

body[dir="rtl"] .frame-one {
  right: auto;
  left: 8%;
}

body[dir="rtl"] .frame-two {
  right: 2%;
  left: auto;
}

body[dir="rtl"] .frame-three {
  right: auto;
  left: 0;
}

.browser-bar {
  height: 28px;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  background:
    radial-gradient(circle at 12px 10px, var(--pink) 0 4px, transparent 5px),
    radial-gradient(circle at 28px 10px, var(--lime) 0 4px, transparent 5px),
    radial-gradient(circle at 44px 10px, var(--cyan) 0 4px, transparent 5px);
}

.site-preview {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0.55rem;
  min-height: 150px;
}

.site-preview span {
  display: block;
  min-height: 42px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(57, 231, 255, 0.08)),
    rgba(255, 255, 255, 0.055);
}

.site-preview span:first-child {
  grid-row: span 2;
  background:
    radial-gradient(circle at 55% 35%, rgba(255, 63, 212, 0.38), transparent 34%),
    linear-gradient(135deg, rgba(132, 23, 255, 0.42), rgba(255, 255, 255, 0.07));
}

.site-preview.alt span:first-child {
  background:
    radial-gradient(circle at 50% 40%, rgba(216, 255, 95, 0.3), transparent 32%),
    linear-gradient(135deg, rgba(57, 231, 255, 0.28), rgba(255, 255, 255, 0.07));
}

.browser-frame p {
  margin: 0.75rem 0 0;
}

.social-zone {
  grid-template-columns: 1fr;
  min-height: 560px;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 63, 212, 0.22), transparent 18rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.078), rgba(57, 231, 255, 0.055));
}

.social-gallery {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 150px;
  gap: 0.85rem;
}

.social-tile {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 150px;
  padding: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.18), transparent 18%),
    linear-gradient(145deg, rgba(132, 23, 255, 0.38), rgba(255, 63, 212, 0.1));
}

.social-tile::before {
  content: "";
  position: absolute;
  inset: 14%;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
}

.social-tile.tall {
  grid-row: span 2;
}

.social-tile.wide {
  grid-column: span 2;
}

.media-gallery {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(86px, 8vw, 122px);
  gap: 0.7rem;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
}

.media-slot {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  cursor: zoom-in;
  border: 1px solid rgba(255, 255, 255, 0.13);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  background:
    radial-gradient(circle at 50% 32%, rgba(255, 255, 255, 0.14), transparent 18%),
    linear-gradient(145deg, rgba(132, 23, 255, 0.28), rgba(57, 231, 255, 0.055));
  transition: transform 180ms ease, border-color 180ms ease;
}

.media-slot:hover {
  border-color: rgba(57, 231, 255, 0.62);
  transform: translateY(-4px);
}

.media-slot.large {
  grid-column: span 5;
  grid-row: span 3;
}

.media-slot.wide {
  grid-column: span 4;
  grid-row: span 2;
}

.media-slot.tall {
  grid-column: span 3;
  grid-row: span 3;
}

.media-slot:not(.large):not(.wide):not(.tall) {
  grid-column: span 2;
  grid-row: span 2;
}

.image-drop {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.image-drop::before {
  content: "";
  position: absolute;
  inset: 10%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 18px 18px;
}

.image-drop span {
  position: relative;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.15rem, 2.4vw, 2.4rem);
  font-weight: 900;
  text-shadow: 0 0 18px rgba(57, 231, 255, 0.34);
}

.evidence-gallery .media-slot {
  background:
    linear-gradient(135deg, rgba(216, 255, 95, 0.09), transparent 34%),
    linear-gradient(145deg, rgba(57, 231, 255, 0.16), rgba(132, 23, 255, 0.14));
}

.evidence-gallery .media-slot img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: contain;
  padding: 0.75rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 34%),
    rgba(5, 5, 20, 0.88);
}

.website-gallery {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(92px, 8vw, 128px);
}

.browser-slot {
  padding: 0.55rem;
  background: rgba(7, 9, 27, 0.72);
}

.browser-slot .browser-bar {
  height: 22px;
  margin-bottom: 0.5rem;
}

.browser-slot .image-drop {
  top: 2.8rem;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.09) 0 62%, transparent 62%),
    radial-gradient(circle at 72% 38%, rgba(255, 63, 212, 0.24), transparent 28%),
    rgba(255, 255, 255, 0.035);
}

.website-gallery .media-slot img,
.social-gallery.media-gallery .media-slot img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: contain;
  padding: 0.75rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 34%),
    rgba(5, 5, 20, 0.88);
}

.browser-slot img {
  height: calc(100% - 2.2rem);
  min-height: calc(100% - 2.2rem);
}

.social-gallery.media-gallery {
  grid-template-columns: repeat(10, minmax(0, 1fr));
  grid-auto-rows: clamp(92px, 9vw, 126px);
}

.social-gallery.media-gallery .media-slot.large {
  grid-column: span 4;
  grid-row: span 3;
}

.social-gallery.media-gallery .media-slot.wide {
  grid-column: span 4;
  grid-row: span 2;
}

.social-gallery.media-gallery .media-slot.tall {
  grid-column: span 2;
  grid-row: span 3;
}

.social-gallery.media-gallery .media-slot:not(.large):not(.wide):not(.tall) {
  grid-column: span 2;
  grid-row: span 2;
}

.square-slot {
  background:
    radial-gradient(circle at 50% 36%, rgba(255, 255, 255, 0.16), transparent 17%),
    linear-gradient(145deg, rgba(255, 63, 212, 0.24), rgba(132, 23, 255, 0.22));
}

.astronaut-visual {
  position: absolute;
  right: 2.4rem;
  bottom: 1.8rem;
  z-index: 3;
  width: 130px;
  height: 190px;
  animation: astronautFloat 5.2s ease-in-out infinite;
}

body[dir="rtl"] .astronaut-visual {
  right: auto;
  left: 2.4rem;
}

.helmet {
  position: absolute;
  top: 0;
  left: 28px;
  width: 76px;
  height: 72px;
  border: 7px solid #f6f4ff;
  border-radius: 50%;
  background: #161632;
  box-shadow: 0 0 18px rgba(57, 231, 255, 0.24);
}

.visor {
  position: absolute;
  top: 20px;
  left: 44px;
  width: 46px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
}

.body-suit {
  position: absolute;
  top: 70px;
  left: 38px;
  width: 56px;
  height: 76px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #c6c8ff);
}

.pack {
  position: absolute;
  top: 84px;
  left: 24px;
  width: 34px;
  height: 62px;
  background: #21194e;
}

.arm,
.leg {
  position: absolute;
  background: #f3f0ff;
}

.arm {
  top: 84px;
  width: 26px;
  height: 68px;
  border-radius: 20px;
}

.arm-left {
  left: 12px;
  transform: rotate(24deg);
}

.arm-right {
  right: 10px;
  transform: rotate(-30deg);
}

.leg {
  top: 138px;
  width: 26px;
  height: 58px;
  border-radius: 18px;
}

.leg-left {
  left: 42px;
  transform: rotate(12deg);
}

.leg-right {
  right: 30px;
  transform: rotate(-15deg);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.07);
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0;
  background: rgba(5, 5, 20, 0.74);
  color: var(--ink);
  outline: none;
  padding: 0.9rem 1rem;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(57, 231, 255, 0.12);
}

.form-submit {
  border: 0;
}

.about-page {
  background:
    radial-gradient(circle at 76% 10%, rgba(132, 23, 255, 0.16), transparent 24rem),
    radial-gradient(circle at 16% 54%, rgba(57, 231, 255, 0.11), transparent 22rem),
    linear-gradient(135deg, #050611 0%, #08091c 56%, #040712 100%);
}

.about-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.8fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  min-height: calc(100vh - 84px);
  padding: clamp(3rem, 7vw, 7rem) 0;
}

.about-hero::before,
.about-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
}

.about-hero::before {
  inset: 8% 4% auto auto;
  width: 42%;
  aspect-ratio: 1;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.22) 0 1px, transparent 2px 100%);
  background-size: 34px 34px;
  opacity: 0.45;
}

.about-hero::after {
  right: 5%;
  bottom: 10%;
  width: min(28vw, 310px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 60px rgba(132, 23, 255, 0.14);
}

body[dir="rtl"] .about-hero::before {
  right: auto;
  left: 4%;
}

body[dir="rtl"] .about-hero::after {
  right: auto;
  left: 5%;
}

.about-copy {
  position: relative;
  z-index: 1;
}

.about-space {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 460px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 50% 42%, rgba(57, 231, 255, 0.14), transparent 6rem),
    radial-gradient(circle at 70% 72%, rgba(255, 63, 212, 0.18), transparent 12rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
}

.about-space::before {
  content: "";
  position: absolute;
  inset: 10%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}

.about-space::after {
  content: "";
  position: absolute;
  inset: 22%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.about-moon {
  position: relative;
  z-index: 1;
  width: min(48%, 210px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.8), transparent 11%),
    radial-gradient(circle at 64% 72%, rgba(132, 23, 255, 0.24), transparent 32%),
    linear-gradient(135deg, #f6f1ff, #9b92ff 42%, #17172e 100%);
  box-shadow:
    0 0 60px rgba(132, 23, 255, 0.3),
    inset -34px -38px 48px rgba(0, 0, 0, 0.48);
}

.about-space span {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  min-width: 96px;
  min-height: 38px;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(8, 8, 26, 0.86);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 900;
}

.about-space span:nth-of-type(1) {
  top: 18%;
  left: 14%;
}

.about-space span:nth-of-type(2) {
  top: 46%;
  right: 9%;
}

.about-space span:nth-of-type(3) {
  bottom: 16%;
  left: 22%;
}

.about-story {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.about-story p:last-child,
.about-closing p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.8;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.4rem);
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
}

.about-values article {
  min-height: 270px;
  padding: clamp(1.2rem, 2.5vw, 1.8rem);
  border: 1px solid rgba(255, 255, 255, 0.13);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(7, 7, 22, 0.7);
}

.about-values span {
  display: inline-block;
  margin-bottom: clamp(2rem, 5vw, 4rem);
  color: var(--cyan);
  font-size: 0.86rem;
  font-weight: 900;
}

.about-values h3 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.05;
}

.about-values p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.about-closing {
  display: grid;
  justify-items: center;
  gap: 1rem;
  padding: clamp(3rem, 7vw, 5rem) clamp(1rem, 5vw, 5rem);
  margin-bottom: clamp(3rem, 6vw, 5rem);
  border: 1px solid rgba(255, 255, 255, 0.13);
  background:
    radial-gradient(circle at 50% 0%, rgba(132, 23, 255, 0.2), transparent 18rem),
    rgba(255, 255, 255, 0.045);
  text-align: center;
}

.about-closing h2 {
  max-width: 860px;
  font-size: clamp(2rem, 4.5vw, 4.2rem);
}

.about-closing p {
  max-width: 720px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 800;
}

.site-footer span:first-child {
  color: var(--ink);
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-socials a {
  color: var(--ink);
  font-weight: 800;
}

.work-page {
  background:
    radial-gradient(circle at 80% 8%, rgba(255, 63, 212, 0.14), transparent 26rem),
    radial-gradient(circle at 14% 42%, rgba(57, 231, 255, 0.12), transparent 24rem),
    linear-gradient(135deg, #050611 0%, #09091e 58%, #040712 100%);
}

.work-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.65fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  min-height: calc(100vh - 112px);
  padding-block: clamp(2.5rem, 5vw, 5rem);
}

.work-orbit-card {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(340px, 40vw, 520px);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at center, rgba(57, 231, 255, 0.18), transparent 18%),
    radial-gradient(circle at 74% 62%, rgba(255, 63, 212, 0.16), transparent 28%),
    rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.work-orbit-card::before,
.work-orbit-card::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.work-orbit-card::before {
  inset: 18%;
  animation: ringPulse 4.8s ease-in-out infinite;
}

.work-orbit-card::after {
  inset: 31%;
  animation: ringPulse 4.8s ease-in-out infinite reverse;
}

.work-orbit-card strong {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: clamp(120px, 16vw, 180px);
  height: clamp(120px, 16vw, 180px);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--purple), var(--pink));
  color: var(--ink);
  font-size: clamp(1.25rem, 3vw, 2.5rem);
  font-weight: 900;
  letter-spacing: 0;
}

.work-orbit-card span {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(8, 8, 26, 0.82);
  color: var(--ink);
  font-weight: 900;
}

.work-orbit-card span:nth-child(1) {
  top: 18%;
  left: 18%;
}

.work-orbit-card span:nth-child(2) {
  top: 22%;
  right: 16%;
}

.work-orbit-card span:nth-child(3) {
  bottom: 16%;
  left: 50%;
  transform: translateX(-50%);
}

.work-page-showcase {
  padding-top: 0;
}

.work-hero-copy h1 {
  max-width: 13ch;
  font-size: clamp(3rem, 5.6vw, 5.45rem);
  line-height: 0.95;
}

.work-proof-panel {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 32%),
    radial-gradient(circle at 72% 18%, rgba(57, 231, 255, 0.24), transparent 24%),
    radial-gradient(circle at 20% 72%, rgba(255, 63, 212, 0.2), transparent 26%),
    rgba(255, 255, 255, 0.045);
  box-shadow: var(--shadow);
}

.work-proof-panel::before {
  content: "";
  position: absolute;
  inset: 16%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  animation: ringPulse 5.4s ease-in-out infinite;
}

.proof-panel-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(1.4rem, 3vw, 2.4rem);
}

.proof-panel-top span {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--pink));
  color: var(--ink);
  font-weight: 900;
}

.proof-panel-top strong {
  color: var(--ink);
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.proof-metrics {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.85rem;
}

.proof-metrics article {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(5, 5, 20, 0.5);
}

.proof-metrics strong {
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 900;
  line-height: 0.9;
}

.proof-metrics span,
.work-proof-panel p {
  color: var(--muted);
  font-weight: 700;
}

.work-proof-panel p {
  position: relative;
  z-index: 1;
  max-width: 36ch;
  margin-top: clamp(1.4rem, 3vw, 2.4rem);
  line-height: 1.7;
  font-size: 0.94rem;
}

.case-study-section {
  padding-top: 2rem;
}

.case-study-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.case-study-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.24);
}

.case-study-card-large {
  grid-row: span 2;
}

.case-visual {
  position: relative;
  min-height: 240px;
  display: grid;
  place-items: end start;
  padding: 1.2rem;
  overflow: hidden;
}

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

.case-visual::before {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
}

.case-visual span {
  position: relative;
  z-index: 1;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(8, 8, 26, 0.72);
  color: var(--ink);
  font-weight: 900;
}

.commerce-visual {
  background:
    linear-gradient(135deg, rgba(216, 255, 95, 0.16), transparent 34%),
    radial-gradient(circle at 70% 30%, rgba(57, 231, 255, 0.26), transparent 28%),
    linear-gradient(145deg, rgba(132, 23, 255, 0.24), rgba(5, 5, 20, 0.8));
}

.website-visual {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0 58%, transparent 58%),
    radial-gradient(circle at 76% 34%, rgba(255, 63, 212, 0.24), transparent 26%),
    rgba(7, 9, 27, 0.82);
}

.social-visual {
  background:
    radial-gradient(circle at 38% 36%, rgba(255, 255, 255, 0.16), transparent 14%),
    linear-gradient(145deg, rgba(255, 63, 212, 0.28), rgba(132, 23, 255, 0.24));
}

.case-copy {
  padding: clamp(1.2rem, 3vw, 1.8rem);
}

.case-copy h3 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.45rem, 3vw, 2.6rem);
  line-height: 1.02;
}

.case-copy p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.7;
}

.case-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.3rem;
}

.case-stats span {
  padding: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted);
  font-weight: 800;
}

.case-stats strong {
  display: block;
  color: var(--cyan);
  font-size: 1.65rem;
}

.work-capabilities {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.work-capabilities article {
  min-height: 220px;
  padding: 1.2rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.work-capabilities span,
.portfolio-columns header span {
  color: var(--cyan);
  font-weight: 900;
}

.work-capabilities strong {
  display: block;
  margin: 1.6rem 0 0.7rem;
  color: var(--ink);
  font-size: 1.25rem;
}

.work-capabilities p {
  color: var(--muted);
  line-height: 1.65;
}

.portfolio-board {
  padding-top: 2rem;
}

.portfolio-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.portfolio-columns > article {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.portfolio-columns header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid var(--line);
}

.portfolio-columns h3 {
  font-size: 1.05rem;
}

.portfolio-stack {
  display: grid;
  gap: 0.75rem;
  padding: 0.75rem;
}

.portfolio-tile {
  min-height: 154px;
  display: grid;
  align-content: end;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 76% 26%, rgba(57, 231, 255, 0.18), transparent 24%),
    rgba(5, 5, 20, 0.52);
}

.portfolio-tile span {
  color: var(--ink);
  font-weight: 900;
}

.metric-tile strong {
  color: var(--lime);
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 0.9;
}

.browser-tile {
  padding-top: 2.4rem;
  background:
    linear-gradient(rgba(255, 255, 255, 0.16) 0 22px, transparent 22px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 60%, transparent 60%),
    rgba(5, 5, 20, 0.58);
}

.social-tile-preview {
  background:
    radial-gradient(circle at 44% 34%, rgba(255, 255, 255, 0.16), transparent 16%),
    linear-gradient(145deg, rgba(255, 63, 212, 0.24), rgba(57, 231, 255, 0.12));
}

.work-cta {
  margin-bottom: clamp(3rem, 6vw, 5rem);
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 82% 24%, rgba(216, 255, 95, 0.16), transparent 22%),
    linear-gradient(135deg, rgba(57, 231, 255, 0.12), rgba(255, 63, 212, 0.1));
}

.work-cta h2 {
  max-width: 820px;
  margin-bottom: 1rem;
  font-size: clamp(2.2rem, 6vw, 5.5rem);
  line-height: 0.95;
}

.work-cta p {
  max-width: 680px;
  margin-bottom: 1.4rem;
  color: var(--muted);
  line-height: 1.75;
}

.portfolio-archive {
  padding-top: clamp(2rem, 5vw, 4rem);
}

.portfolio-archive-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.45fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: end;
  margin-bottom: 1.4rem;
}

.portfolio-archive-head h2 {
  max-width: 920px;
  font-size: clamp(2.4rem, 5.8vw, 5.6rem);
  line-height: 0.95;
}

.portfolio-archive-head > p {
  color: var(--muted);
  line-height: 1.7;
}

.portfolio-tabs {
  position: sticky;
  top: 96px;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
  margin-bottom: 1rem;
  padding: 0.35rem;
  border: 1px solid var(--line);
  background: rgba(5, 5, 20, 0.76);
  backdrop-filter: blur(14px);
}

.portfolio-tabs button {
  appearance: none;
  display: grid;
  place-items: center;
  min-height: 58px;
  padding: 0 0.75rem;
  cursor: pointer;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.portfolio-tabs button.is-active,
.portfolio-tabs button:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: var(--ink);
}

.portfolio-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.portfolio-lane {
  display: grid;
  gap: 1rem;
}

.portfolio-lane.is-hidden {
  display: none;
}

.portfolio-showcase-grid.is-filtered {
  grid-template-columns: minmax(0, 1fr);
}

.portfolio-showcase-grid.is-filtered .portfolio-lane {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.portfolio-showcase-grid.is-filtered .portfolio-lane header {
  grid-column: 1 / -1;
}

.portfolio-showcase-grid.is-filtered .archive-card-xl,
.portfolio-showcase-grid.is-filtered .archive-card-lg,
.portfolio-showcase-grid.is-filtered .archive-card-md,
.portfolio-showcase-grid.is-filtered .archive-card-sm {
  min-height: clamp(280px, 30vw, 440px);
}

.portfolio-showcase-grid.is-filtered .case-results-grid {
  grid-column: 1 / -1;
}

.case-category-filters {
  display: none;
  grid-column: 1 / -1;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.portfolio-showcase-grid.is-case-filtering .case-category-filters {
  display: grid;
}

.case-category-filters button {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 48px;
  padding: 0.7rem 0.8rem;
  text-align: start;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 5, 20, 0.58);
  color: var(--ink);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
}

.case-category-filters button.is-active,
.case-category-filters button:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: linear-gradient(135deg, rgba(57, 231, 255, 0.22), rgba(255, 63, 212, 0.26));
}

.case-category-filters span {
  flex: 0 0 auto;
  color: var(--cyan);
  font-size: 0.75rem;
}

.case-results-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.portfolio-showcase-grid.is-all-preview [data-portfolio-category="case-study"] .case-results-grid {
  grid-template-columns: 1fr;
}

.portfolio-showcase-grid.is-all-preview [data-portfolio-category="case-study"] .case-image-card {
  min-height: clamp(430px, 46vw, 660px);
}

.case-results-grid .case-image-card {
  min-height: clamp(260px, 28vw, 430px);
}

.case-image-card {
  padding: 0;
  cursor: zoom-in;
  background: rgba(255, 255, 255, 0.035);
  transition: transform 180ms ease, border-color 180ms ease;
}

.case-image-card:hover {
  transform: translateY(-4px) scale(1.015);
  border-color: rgba(57, 231, 255, 0.4);
}

.case-image-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.75rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 34%),
    rgba(5, 5, 20, 0.88);
}

.case-card-meta {
  display: none;
}

.case-card-meta strong {
  font-size: clamp(1.35rem, 2.8vw, 2.6rem);
}

.case-image-card.is-hidden {
  display: none;
}

.case-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2rem);
  background: rgba(2, 2, 12, 0.9);
  backdrop-filter: blur(14px);
}

.case-lightbox.is-open {
  display: flex;
}

.case-lightbox figure {
  position: relative;
  display: grid;
  place-items: center;
  width: min(1120px, 86vw);
  height: min(760px, 86vh);
  margin: 0;
  border: 1px solid var(--line);
  background: rgba(5, 5, 20, 0.86);
  box-shadow: var(--shadow);
}

.case-lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  padding: 1rem;
}

.lightbox-visit {
  position: absolute;
  left: 50%;
  bottom: 1.2rem;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.8rem 1.2rem;
  border: 1px solid rgba(57, 231, 255, 0.46);
  color: var(--ink);
  background: linear-gradient(135deg, rgba(57, 231, 255, 0.22), rgba(132, 23, 255, 0.72));
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 18px 45px rgba(57, 231, 255, 0.18);
}

.lightbox-visit[hidden] {
  display: none;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(8, 8, 26, 0.78);
  color: var(--ink);
}

.lightbox-close {
  top: 1rem;
  right: 1rem;
  width: 48px;
  height: 48px;
  font-size: 2rem;
}

.lightbox-nav {
  top: 50%;
  width: 54px;
  height: 74px;
  transform: translateY(-50%);
  font-size: 3rem;
}

.lightbox-prev {
  left: 1rem;
}

.lightbox-next {
  right: 1rem;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: linear-gradient(135deg, var(--purple), var(--pink));
}

body.lightbox-open {
  overflow: hidden;
}

.portfolio-lane header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 1rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
}

.portfolio-lane header span {
  color: var(--cyan);
  font-weight: 900;
}

.portfolio-lane header h3 {
  font-size: clamp(1rem, 2vw, 1.35rem);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.archive-card {
  position: relative;
  display: grid;
  align-content: end;
  overflow: hidden;
  min-height: 300px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
}

.archive-card::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.archive-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.78));
  pointer-events: none;
}

.archive-card-xl {
  min-height: 520px;
}

.archive-card-lg {
  min-height: 420px;
}

.archive-card-md {
  min-height: 340px;
}

.archive-card-sm {
  min-height: 250px;
}

.archive-card > * {
  position: relative;
  z-index: 1;
}

.archive-card b {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(5, 5, 20, 0.58);
  color: var(--ink);
  font-size: 1.6rem;
  font-weight: 500;
}

.archive-tag {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 0.8rem;
  padding: 0.45rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(5, 5, 20, 0.62);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
}

.archive-card strong {
  display: block;
  color: var(--ink);
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.9;
}

.archive-card p {
  color: var(--muted);
  font-weight: 800;
}

.metric-proof {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0 72%, transparent 72%),
    repeating-linear-gradient(180deg, rgba(8, 8, 26, 0.2) 0 16px, rgba(8, 8, 26, 0.04) 16px 32px),
    radial-gradient(circle at 78% 28%, rgba(216, 255, 95, 0.25), transparent 22%),
    rgba(7, 9, 27, 0.9);
}

.chart-proof {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.92) 0 52%, transparent 52%),
    radial-gradient(circle at 44% 72%, rgba(57, 231, 255, 0.2), transparent 24%),
    rgba(7, 9, 27, 0.9);
}

.table-proof {
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.9) 0 18px, rgba(230, 238, 255, 0.9) 18px 36px),
    linear-gradient(135deg, rgba(132, 23, 255, 0.18), rgba(5, 5, 20, 0.8));
}

.website-proof {
  padding-top: 3rem;
  background:
    linear-gradient(rgba(255, 255, 255, 0.18) 0 28px, transparent 28px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 0 64%, transparent 64%),
    radial-gradient(circle at 78% 34%, rgba(255, 63, 212, 0.24), transparent 24%),
    rgba(7, 9, 27, 0.88);
}

.dark-screen {
  background:
    linear-gradient(rgba(255, 255, 255, 0.14) 0 28px, transparent 28px),
    radial-gradient(circle at 50% 32%, rgba(57, 231, 255, 0.22), transparent 18%),
    linear-gradient(145deg, rgba(132, 23, 255, 0.22), rgba(5, 5, 20, 0.9));
}

.checkout-proof {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.86) 0 48%, transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0 34%, transparent 34%),
    rgba(7, 9, 27, 0.9);
}

.social-proof {
  background:
    radial-gradient(circle at 50% 32%, rgba(255, 255, 255, 0.18), transparent 15%),
    linear-gradient(145deg, rgba(255, 63, 212, 0.38), rgba(132, 23, 255, 0.24), rgba(57, 231, 255, 0.12));
}

.brand-proof {
  background:
    linear-gradient(135deg, rgba(216, 255, 95, 0.2), transparent 34%),
    radial-gradient(circle at 72% 38%, rgba(255, 63, 212, 0.25), transparent 24%),
    rgba(7, 9, 27, 0.88);
}

.services-page {
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.services-hub-hero,
.service-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(310px, 0.9fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-top: clamp(4rem, 8vw, 7rem);
}

.services-hub-copy,
.service-hero-copy {
  display: grid;
  gap: 1.2rem;
}

.services-hub-copy h1,
.service-hero-copy h1 {
  max-width: 850px;
  font-size: clamp(3.1rem, 7vw, 7.2rem);
  line-height: 0.88;
  letter-spacing: 0;
}

.services-hub-copy .hero-lede,
.service-hero-copy .hero-lede {
  max-width: 720px;
}

.service-orbit-visual {
  position: relative;
  min-height: 470px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(circle at 50% 46%, rgba(57, 231, 255, 0.24), transparent 19%),
    radial-gradient(circle at 72% 20%, rgba(255, 63, 212, 0.2), transparent 16%),
    linear-gradient(145deg, rgba(11, 11, 34, 0.94), rgba(24, 16, 62, 0.88));
}

.service-orbit-visual img {
  width: min(58%, 280px);
  filter: drop-shadow(0 0 32px rgba(57, 231, 255, 0.22));
  animation: coreFloat 7s ease-in-out infinite;
}

.service-orbit-visual span {
  position: absolute;
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: var(--ink);
  font-weight: 900;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 24px rgba(57, 231, 255, 0.12);
}

.service-orbit-visual span:nth-of-type(1) {
  top: 14%;
  left: 16%;
}

.service-orbit-visual span:nth-of-type(2) {
  top: 18%;
  right: 12%;
}

.service-orbit-visual span:nth-of-type(3) {
  right: 20%;
  bottom: 14%;
}

.service-orbit-visual span:nth-of-type(4) {
  bottom: 18%;
  left: 12%;
}

.service-index-grid,
.service-proof-grid,
.service-faq {
  margin-top: clamp(3rem, 7vw, 5.5rem);
}

.service-index-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service-index-card,
.service-proof-grid article,
.service-faq details,
.service-signal,
.service-process article {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.service-index-card {
  position: relative;
  display: grid;
  gap: 1rem;
  min-height: 310px;
  padding: 1.35rem;
  overflow: hidden;
}

.service-index-card::after {
  content: "";
  position: absolute;
  right: -32px;
  bottom: -32px;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(57, 231, 255, 0.18);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(57, 231, 255, 0.16), transparent 64%);
}

.service-index-card > span {
  color: var(--cyan);
  font-weight: 900;
}

.service-index-card h2 {
  font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.service-index-card p,
.service-proof-grid p,
.service-faq p,
.service-process p {
  color: var(--muted);
  line-height: 1.75;
}

.service-index-card .service-link {
  align-self: end;
  width: fit-content;
}

.service-page {
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.service-page .ghost-btn,
.service-page .primary-btn {
  width: fit-content;
}

.service-page .primary-btn {
  margin-top: 0.6rem;
}

.service-signal {
  position: relative;
  display: grid;
  gap: 1rem;
  min-height: 460px;
  padding: 1.4rem;
  overflow: hidden;
}

.service-signal img {
  width: min(70%, 320px);
  margin: auto;
  filter: drop-shadow(0 0 34px rgba(255, 63, 212, 0.22));
}

.service-signal span {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(57, 231, 255, 0.14);
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 900;
}

.service-signal strong {
  font-size: clamp(1.7rem, 4vw, 3.5rem);
  line-height: 0.95;
}

.service-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service-proof-grid article,
.service-process article,
.service-faq details {
  padding: 1.2rem;
}

.service-proof-grid span,
.service-process span {
  color: var(--cyan);
  font-weight: 900;
}

.service-proof-grid h2,
.service-process h2 {
  margin: 0.7rem 0;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
}

.service-process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.service-faq {
  display: grid;
  gap: 0.8rem;
}

.service-faq summary {
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
}

.service-faq p {
  margin-top: 0.8rem;
}

@keyframes cometFly {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) rotate(-24deg);
  }
  8%,
  18% {
    opacity: 1;
  }
  34%,
  100% {
    opacity: 0;
    transform: translate3d(135vw, 46vh, 0) rotate(-24deg);
  }
}

@keyframes buttonSweep {
  0%,
  46% {
    transform: translateX(-82%) rotate(18deg);
  }
  72%,
  100% {
    transform: translateX(82%) rotate(18deg);
  }
}

@keyframes coreFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-16px) rotate(1deg);
  }
}

@keyframes ringPulse {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(0.96);
  }
  50% {
    opacity: 1;
    transform: scale(1.03);
  }
}

@keyframes orbitSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes satelliteCounter {
  to {
    rotate: -360deg;
  }
}

@keyframes satelliteCounterReverse {
  to {
    rotate: 360deg;
  }
}

@keyframes tickerMove {
  to {
    transform: translateX(-50%);
  }
}

@keyframes rocketDrift {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -18px;
  }
}

@keyframes flamePulse {
  to {
    height: 92px;
    opacity: 0.72;
  }
}

@keyframes astronautFloat {
  0%,
  100% {
    translate: 0 0;
    rotate: -5deg;
  }
  50% {
    translate: 0 -20px;
    rotate: 4deg;
  }
}

@media (max-width: 920px) {
  .site-header {
    backdrop-filter: none;
  }

  .comet-two,
  .ring-three {
    display: none;
  }

  .orbit-a,
  .orbit-b,
  .orbit-c {
    animation-duration: 34s;
  }

  .pulse-ring {
    animation-duration: 5.8s;
  }

  .rocket-visual,
  .astronaut-visual {
    animation: none;
  }

  .site-header {
    width: calc(100% - 1rem);
  }

  .main-nav {
    gap: 0.8rem;
    font-size: 0.78rem;
  }

  .service-dropdown {
    left: auto;
    right: 0;
    width: min(620px, calc(100vw - 2rem));
    transform: translate(0, 12px);
  }

  .nav-dropdown:hover .service-dropdown,
  .nav-dropdown:focus-within .service-dropdown {
    transform: translate(0, 0);
  }

  .hero,
  .about-hero,
  .about-story,
  .work-page-hero,
  .services-hub-hero,
  .service-hero,
  .system-layout,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2.4rem;
  }

  .orbit-stage {
    min-height: 380px;
  }

  .about-hero {
    min-height: auto;
  }

  .about-space {
    min-height: 380px;
  }

  .work-page-hero {
    min-height: auto;
  }

  .work-orbit-card {
    min-height: 360px;
  }

  .work-proof-panel {
    min-height: auto;
  }

  .case-study-grid,
  .portfolio-archive-head,
  .portfolio-showcase-grid,
  .portfolio-columns {
    grid-template-columns: 1fr;
  }

  .case-study-card-large {
    grid-row: auto;
  }

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

  .portfolio-tabs {
    top: 82px;
  }

  .about-values {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .service-index-grid,
  .service-proof-grid,
  .service-process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card.featured,
  .service-card.secondary,
  .service-card:not(.featured) {
    grid-column: span 3;
  }

  .system-layout {
    align-items: start;
  }

  .mission-board {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: 0;
    gap: 1.15rem;
  }

  .mission-visual,
  .mission-card,
  .mission-card-one,
  .mission-card-two,
  .mission-card-three,
  .mission-card-four {
    grid-column: 1;
    grid-row: auto;
  }

  .mission-visual {
    min-height: 520px;
    order: 2;
  }

  .mission-card {
    min-height: 220px;
  }

  .mission-card-one {
    order: 1;
  }

  .mission-card-two {
    order: 3;
  }

  .mission-card-three {
    order: 4;
  }

  .mission-card-four {
    order: 5;
  }

  .work-zone,
  .website-zone,
  .social-zone {
    grid-template-columns: 1fr;
  }

  .work-zone {
    min-height: auto;
  }

  .zone-copy {
    grid-template-columns: 1fr;
  }

  .results-grid {
    grid-template-columns: 1fr;
  }

  .result-card {
    min-height: 190px;
  }

  .rocket-visual {
    top: 1.2rem;
    right: 1.2rem;
    width: 60px;
    height: 145px;
    opacity: 0.52;
  }

  body[dir="rtl"] .rocket-visual {
    left: 1.2rem;
  }

  .website-stack {
    min-height: 520px;
  }

  .browser-frame {
    position: relative;
    width: 100%;
    margin-bottom: 0.8rem;
    transform: none;
  }

  .frame-one,
  .frame-two,
  .frame-three,
  body[dir="rtl"] .frame-one,
  body[dir="rtl"] .frame-two,
  body[dir="rtl"] .frame-three {
    inset: auto;
  }

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

  .astronaut-visual {
    right: 1.1rem;
    bottom: 1.1rem;
    width: 92px;
    height: 138px;
    opacity: 0.6;
  }

  body[dir="rtl"] .astronaut-visual {
    left: 1.1rem;
  }
}

@media (max-width: 620px) {
  .noise {
    opacity: 0.12;
    background-size: 72px 72px;
  }

  .comet {
    display: none;
  }

  .ring-two {
    display: none;
  }

  .nav-cta::after,
  .primary-btn::after {
    animation: none;
  }

  .site-header {
    margin-top: 0.5rem;
    padding: 0.55rem;
  }

  .main-nav {
    gap: 0.55rem;
    font-size: 0.68rem;
  }

  .service-dropdown {
    top: calc(100% + 0.5rem);
    left: 50%;
    right: auto;
    grid-template-columns: 1fr;
    max-height: 72vh;
    overflow: auto;
    transform: translate(-50%, 10px);
  }

  .nav-dropdown:hover .service-dropdown,
  .nav-dropdown:focus-within .service-dropdown {
    transform: translate(-50%, 0);
  }

  .service-dropdown a {
    min-height: 76px;
  }

  .brand-mark {
    width: 50px;
    height: 50px;
  }

  .nav-cta {
    display: none;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-btn,
  .ghost-btn {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .floating-contact strong {
    display: none;
  }

  h1 {
    font-size: clamp(2.7rem, 14vw, 3.75rem);
    line-height: 0.98;
  }

  body[dir="rtl"] h1 {
    font-size: clamp(2.35rem, 11.5vw, 3.25rem);
    line-height: 1.02;
  }

  .orbit-stage {
    min-height: 310px;
  }

  .about-space {
    min-height: 320px;
  }

  .work-orbit-card {
    min-height: 300px;
  }

  .work-orbit-card span {
    width: 50px;
    height: 50px;
    font-size: 0.85rem;
  }

  .work-proof-panel {
    padding: 1rem;
  }

  .proof-metrics article,
  .case-stats {
    grid-template-columns: 1fr;
  }

  .proof-metrics article {
    align-items: start;
    flex-direction: column;
  }

  .case-visual,
  .case-study-card-large .case-visual {
    min-height: 260px;
  }

  .work-capabilities {
    grid-template-columns: 1fr;
  }

  .portfolio-tabs {
    position: static;
    grid-template-columns: 1fr;
  }

  .case-category-filters,
  .case-results-grid,
  .portfolio-showcase-grid.is-filtered .portfolio-lane,
  .portfolio-showcase-grid.is-filtered .case-results-grid {
    grid-template-columns: 1fr;
  }

  .archive-card,
  .archive-card-xl,
  .archive-card-lg,
  .archive-card-md,
  .archive-card-sm {
    min-height: 300px;
  }

  .about-space span {
    min-width: 78px;
    min-height: 34px;
    font-size: 0.66rem;
  }

  .about-values article {
    min-height: 210px;
  }

  .satellite {
    min-width: 72px;
    min-height: 34px;
    padding: 0.28rem 0.48rem;
    font-size: 0.62rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-hub-copy h1,
  .service-hero-copy h1 {
    font-size: clamp(2.6rem, 14vw, 4rem);
    line-height: 0.96;
  }

  .service-orbit-visual,
  .service-signal {
    min-height: 340px;
  }

  .service-orbit-visual span {
    width: 58px;
    height: 58px;
    font-size: 0.75rem;
  }

  .service-index-grid,
  .service-proof-grid,
  .service-process {
    grid-template-columns: 1fr;
  }

  .service-card.featured,
  .service-card.secondary,
  .service-card:not(.featured) {
    grid-column: auto;
    min-height: 210px;
  }

  .service-card.featured h3 {
    font-size: clamp(1.7rem, 9vw, 2.45rem);
  }

  .mission-board {
    grid-template-columns: 1fr;
  }

  .mission-visual {
    min-height: 420px;
    border-width: 9px;
    border-radius: 18px;
  }

  .mission-card {
    min-height: 0;
    padding: 1.35rem;
    border-radius: 16px;
  }

  .mission-card span {
    right: 1rem;
    bottom: calc(100% - 0.6rem);
    left: auto;
    font-size: 4rem;
  }

  body[dir="rtl"] .mission-card span {
    right: auto;
    left: 1rem;
  }

  .work-zone {
    padding: 1rem;
    clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
  }

  .showcase-divider {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .showcase-divider > span {
    width: 3.4rem;
    height: 3.4rem;
  }

  .zone-copy h3 {
    font-size: clamp(1.7rem, 10vw, 2.6rem);
  }

  .result-card strong {
    font-size: clamp(2.5rem, 16vw, 4rem);
  }

  .website-stack {
    min-height: auto;
  }

  .site-preview {
    grid-template-columns: 1fr;
  }

  .social-gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 140px;
  }

  .social-tile.tall,
  .social-tile.wide {
    grid-row: auto;
    grid-column: auto;
  }

  .astronaut-visual {
    display: none;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 920px) {
  .media-gallery,
  .website-gallery,
  .social-gallery.media-gallery {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: 92px;
  }

  .media-slot.large,
  .website-gallery .media-slot.large,
  .social-gallery.media-gallery .media-slot.large {
    grid-column: span 4;
    grid-row: span 3;
  }

  .media-slot.wide,
  .website-gallery .media-slot.wide,
  .social-gallery.media-gallery .media-slot.wide {
    grid-column: span 3;
    grid-row: span 2;
  }

  .media-slot.tall,
  .website-gallery .media-slot.tall,
  .social-gallery.media-gallery .media-slot.tall {
    grid-column: span 2;
    grid-row: span 3;
  }

  .media-slot:not(.large):not(.wide):not(.tall),
  .website-gallery .media-slot:not(.large):not(.wide):not(.tall),
  .social-gallery.media-gallery .media-slot:not(.large):not(.wide):not(.tall) {
    grid-column: span 2;
    grid-row: span 2;
  }
}

@media (max-width: 620px) {
  .media-gallery,
  .website-gallery,
  .social-gallery.media-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 126px;
  }

  .media-slot.large,
  .media-slot.wide,
  .website-gallery .media-slot.large,
  .website-gallery .media-slot.wide,
  .social-gallery.media-gallery .media-slot.large,
  .social-gallery.media-gallery .media-slot.wide {
    grid-column: span 2;
    grid-row: span 2;
  }

  .media-slot.tall,
  .website-gallery .media-slot.tall,
  .social-gallery.media-gallery .media-slot.tall {
    grid-column: span 1;
    grid-row: span 2;
  }

  .media-slot:not(.large):not(.wide):not(.tall),
  .website-gallery .media-slot:not(.large):not(.wide):not(.tall),
  .social-gallery.media-gallery .media-slot:not(.large):not(.wide):not(.tall) {
    grid-column: span 1;
    grid-row: span 1;
  }
}

.media-gallery,
.website-gallery,
.social-gallery.media-gallery {
  display: flex;
  grid-template-columns: none;
  grid-auto-rows: auto;
  gap: 0.85rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.35rem 0.35rem 0.9rem;
  scroll-snap-type: x mandatory;
  scrollbar-color: rgba(57, 231, 255, 0.6) rgba(255, 255, 255, 0.08);
  scrollbar-width: thin;
}

.media-gallery::-webkit-scrollbar,
.website-gallery::-webkit-scrollbar,
.social-gallery.media-gallery::-webkit-scrollbar {
  height: 8px;
}

.media-gallery::-webkit-scrollbar-track,
.website-gallery::-webkit-scrollbar-track,
.social-gallery.media-gallery::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
}

.media-gallery::-webkit-scrollbar-thumb,
.website-gallery::-webkit-scrollbar-thumb,
.social-gallery.media-gallery::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, var(--cyan), var(--purple));
}

.media-slot,
.media-slot.large,
.media-slot.wide,
.media-slot.tall,
.media-slot:not(.large):not(.wide):not(.tall),
.website-gallery .media-slot.large,
.website-gallery .media-slot.wide,
.website-gallery .media-slot.tall,
.website-gallery .media-slot:not(.large):not(.wide):not(.tall),
.social-gallery.media-gallery .media-slot.large,
.social-gallery.media-gallery .media-slot.wide,
.social-gallery.media-gallery .media-slot.tall,
.social-gallery.media-gallery .media-slot:not(.large):not(.wide):not(.tall) {
  flex: 0 0 clamp(230px, 24vw, 340px);
  width: auto;
  height: clamp(260px, 28vw, 380px);
  grid-column: auto;
  grid-row: auto;
  scroll-snap-align: start;
}

.evidence-gallery .media-slot,
.evidence-gallery .media-slot.large,
.evidence-gallery .media-slot.wide,
.evidence-gallery .media-slot.tall,
.evidence-gallery .media-slot:not(.large):not(.wide):not(.tall) {
  flex-basis: clamp(340px, 38vw, 560px);
  height: clamp(420px, 46vw, 640px);
}

.media-slot.large,
.media-slot.wide,
.website-gallery .media-slot.large,
.website-gallery .media-slot.wide {
  flex-basis: clamp(330px, 38vw, 520px);
}

.social-gallery.media-gallery .media-slot,
.social-gallery.media-gallery .media-slot.large,
.social-gallery.media-gallery .media-slot.wide,
.social-gallery.media-gallery .media-slot.tall,
.social-gallery.media-gallery .media-slot:not(.large):not(.wide):not(.tall) {
  flex-basis: clamp(220px, 22vw, 315px);
  height: clamp(260px, 28vw, 360px);
}

.work-zone {
  min-height: 0;
}

@media (max-width: 620px) {
  .media-slot,
  .media-slot.large,
  .media-slot.wide,
  .media-slot.tall,
  .media-slot:not(.large):not(.wide):not(.tall),
  .website-gallery .media-slot.large,
  .website-gallery .media-slot.wide,
  .website-gallery .media-slot.tall,
  .website-gallery .media-slot:not(.large):not(.wide):not(.tall),
  .social-gallery.media-gallery .media-slot,
  .social-gallery.media-gallery .media-slot.large,
  .social-gallery.media-gallery .media-slot.wide,
  .social-gallery.media-gallery .media-slot.tall,
  .social-gallery.media-gallery .media-slot:not(.large):not(.wide):not(.tall) {
    flex-basis: 78vw;
    height: 320px;
  }
}

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

.jc-page-extra-content {
  color: var(--muted);
  line-height: 1.75;
}

.jc-page-extra-content h2,
.jc-page-extra-content h3 {
  color: var(--ink);
}

.jc-page-hero-image {
  margin: 1.4rem 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.055);
}

.jc-page-hero-image img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

@media (max-width: 760px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .section-shell {
    width: min(100% - 1rem, var(--max));
    padding-block: clamp(2.2rem, 8vw, 4rem);
  }

  .site-header {
    position: sticky;
    top: 0.45rem;
    width: calc(100% - 0.7rem);
    max-width: none;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    padding: 0.48rem;
    border-radius: 14px;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    gap: 0.45rem;
    overflow-x: auto;
    padding: 0.35rem 0.1rem 0.1rem;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .main-nav > a,
  .nav-dropdown-trigger {
    flex: 0 0 auto;
    font-size: 0.74rem;
  }

  .header-actions {
    margin-left: auto;
    gap: 0.4rem;
  }

  .header-actions .ghost-btn,
  .header-actions .nav-cta {
    display: none;
  }

  .lang-toggle {
    width: 42px;
    height: 42px;
  }

  .service-dropdown {
    position: fixed;
    top: 104px;
    left: 0.5rem;
    right: 0.5rem;
    width: auto;
    max-height: 68vh;
    overflow: auto;
    transform: translateY(8px);
  }

  .nav-dropdown:hover .service-dropdown,
  .nav-dropdown:focus-within .service-dropdown {
    transform: translateY(0);
  }

  .quick-action-rail {
    right: 0.55rem;
    bottom: 0.55rem;
    top: auto;
    transform: none;
    flex-direction: row;
    z-index: 90;
  }

  .floating-contact {
    width: 48px;
    height: 48px;
    min-height: 48px;
    padding: 0;
    border-radius: 50%;
  }

  .floating-contact span {
    font-size: 1rem;
  }

  .floating-contact strong {
    display: none;
  }

  h1,
  .services-hub-copy h1,
  .service-hero-copy h1,
  .jccc-flow-hero h1 {
    font-size: clamp(2.15rem, 12vw, 3.35rem);
    line-height: 1;
    overflow-wrap: anywhere;
  }

  .hero-lede,
  p {
    overflow-wrap: anywhere;
  }

  .hero,
  .about-hero,
  .services-hub-hero,
  .service-hero,
  .work-page-hero,
  .jccc-split-hero,
  .jccc-booking-board {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .media-gallery,
  .website-gallery,
  .social-gallery.media-gallery,
  .jccc-home-portfolio .media-gallery,
  .jccc-home-portfolio .social-gallery.media-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 132px;
    overflow: visible;
    padding: 0;
  }

  .media-slot,
  .media-slot.large,
  .media-slot.wide,
  .media-slot.tall,
  .media-slot:not(.large):not(.wide):not(.tall),
  .website-gallery .media-slot.large,
  .website-gallery .media-slot.wide,
  .website-gallery .media-slot.tall,
  .website-gallery .media-slot:not(.large):not(.wide):not(.tall),
  .social-gallery.media-gallery .media-slot,
  .social-gallery.media-gallery .media-slot.large,
  .social-gallery.media-gallery .media-slot.wide,
  .social-gallery.media-gallery .media-slot.tall,
  .social-gallery.media-gallery .media-slot:not(.large):not(.wide):not(.tall),
  .jccc-home-portfolio .media-slot,
  .jccc-home-portfolio .media-slot.large,
  .jccc-home-portfolio .media-slot:not(.large) {
    flex: initial;
    width: auto;
    height: auto;
    min-height: 0;
    grid-column: span 1;
    grid-row: span 1;
  }

  .media-slot.large,
  .website-gallery .media-slot.large,
  .social-gallery.media-gallery .media-slot.large,
  .jccc-home-portfolio .media-slot.large {
    grid-column: span 2;
    grid-row: span 2;
  }

  .media-slot img,
  .archive-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .portfolio-tabs,
  .case-category-filters {
    position: static;
    display: flex;
    overflow-x: auto;
    gap: 0.5rem;
    padding-bottom: 0.4rem;
  }

  .portfolio-tabs button,
  .case-category-filters button {
    flex: 0 0 auto;
  }

  .case-results-grid,
  .portfolio-showcase-grid.is-filtered .case-results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .archive-card,
  .archive-card-xl,
  .archive-card-lg,
  .archive-card-md,
  .archive-card-sm {
    min-height: 180px;
  }

  .jccc-grid,
  .jccc-form fieldset,
  .jccc-choice-cards,
  .jccc-time-grid,
  .jccc-team-grid {
    grid-template-columns: 1fr;
  }

  .jccc-form {
    padding: 0.85rem;
  }

  .case-lightbox {
    padding: 0.7rem;
  }

  .case-lightbox figure {
    width: 100%;
    height: 78vh;
  }

  .lightbox-nav {
    width: 42px;
    height: 58px;
    font-size: 2.2rem;
  }
}

/* Reference-site visual alignment layer */
:root {
  --bg: #000000;
  --bg-2: #080712;
  --muted: #c9c4d9;
  --purple: #7c28ff;
  --purple-2: #a260ff;
  --cyan: #9f7bff;
  --pink: #d74cff;
  --glass: rgba(255, 255, 255, 0.055);
  --shadow: 0 24px 80px rgba(124, 40, 255, 0.28);
}

body {
  background:
    radial-gradient(circle at 50% 5%, rgba(124, 40, 255, 0.2), transparent 30rem),
    radial-gradient(circle at 68% 24%, rgba(215, 76, 255, 0.12), transparent 22rem),
    linear-gradient(180deg, #000000 0%, #07050d 48%, #000000 100%);
}

input[type="radio"],
input[type="checkbox"] {
  width: auto;
  min-width: 0;
}

body::before {
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.2) 0 1px, transparent 1.6px),
    radial-gradient(circle at 72% 30%, rgba(255, 255, 255, 0.22) 0 1px, transparent 1.8px),
    radial-gradient(circle at 42% 72%, rgba(255, 255, 255, 0.18) 0 1px, transparent 1.7px),
    radial-gradient(circle at 78% 18%, rgba(124, 40, 255, 0.18), transparent 18rem),
    radial-gradient(circle at 70% 72%, rgba(215, 76, 255, 0.14), transparent 18rem);
  background-size: 220px 220px, 310px 310px, 260px 260px, auto, auto;
}

.site-topbar {
  position: sticky;
  top: 0;
  z-index: 22;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  width: min(1280px, calc(100% - 2rem));
  min-height: 42px;
  margin: 0.45rem auto 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.92rem;
  font-weight: 500;
}

.topbar-phone {
  color: rgba(255, 255, 255, 0.84);
}

.topbar-phone::before {
  content: "☏";
  margin-right: 0.45rem;
  color: var(--purple-2);
}

.topbar-socials {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.topbar-socials a {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  background: linear-gradient(135deg, var(--purple), var(--purple-2));
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
  box-shadow: 0 0 14px rgba(124, 40, 255, 0.34);
}

.site-header {
  top: 42px;
  width: min(1280px, calc(100% - 1.25rem));
  margin: 0 auto;
  padding: 1.05rem 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
}

.brand-mark {
  width: 98px;
  height: 72px;
  border: 0;
  background: transparent;
}

.brand-mark img {
  object-fit: contain;
  transform: scale(1.35);
}

.main-nav {
  gap: clamp(1.05rem, 3vw, 3rem);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.86rem;
  font-weight: 500;
  text-transform: uppercase;
}

.main-nav a:hover,
.nav-dropdown-trigger:hover,
.nav-dropdown:focus-within .nav-dropdown-trigger {
  color: var(--ink);
  text-shadow: 0 0 16px rgba(124, 40, 255, 0.8);
}

.main-nav > a:first-child {
  color: var(--ink);
  border-bottom: 3px solid var(--purple);
  padding-bottom: 0.9rem;
}

.service-dropdown {
  background:
    radial-gradient(circle at 18% 12%, rgba(124, 40, 255, 0.24), transparent 26%),
    radial-gradient(circle at 84% 78%, rgba(215, 76, 255, 0.17), transparent 28%),
    linear-gradient(145deg, rgba(0, 0, 0, 0.98), rgba(15, 9, 28, 0.96));
}

.lang-toggle,
.nav-cta,
.primary-btn,
.ghost-btn {
  min-height: 50px;
  font-weight: 800;
}

.nav-cta,
.primary-btn {
  border-radius: 999px;
  background: #ffffff;
  color: #0c0813;
  box-shadow: 0 0 22px rgba(255, 255, 255, 0.18);
}

.nav-cta {
  min-width: 210px;
}

.header-consultation-btn {
  display: none;
}

.ghost-btn {
  border-radius: 999px;
}

.hero {
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.82fr);
  gap: clamp(2rem, 4vw, 4rem);
  width: 100%;
  min-height: calc(100vh - 136px);
  padding: clamp(3.5rem, 6vw, 6rem) max(1rem, calc((100vw - 1180px) / 2));
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.22)),
    radial-gradient(circle at 50% 52%, rgba(255, 255, 255, 0.11) 0 1px, transparent 1.8px),
    radial-gradient(circle at 42% 34%, rgba(124, 40, 255, 0.42), transparent 17rem),
    radial-gradient(circle at 74% 66%, rgba(215, 76, 255, 0.2), transparent 19rem),
    linear-gradient(180deg, #050408 0%, #100a1a 48%, #030303 100%);
  background-size: auto, 190px 190px, auto, auto, auto;
}

.hero-badge {
  border: 0;
  border-left: 3px solid var(--purple);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
  box-shadow: none;
}

.eyebrow {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
}

h1,
h2 {
  line-height: 0.98;
  font-weight: 300;
}

h1 {
  max-width: 880px;
  font-size: clamp(4rem, 7vw, 7rem);
  text-transform: uppercase;
  text-shadow:
    0 0 36px rgba(124, 40, 255, 0.42),
    0 0 72px rgba(255, 255, 255, 0.12);
}

h2 {
  text-transform: uppercase;
}

.orbit-stage {
  min-height: 500px;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 60%),
    radial-gradient(circle at 50% 46%, rgba(255, 255, 255, 0.11), transparent 5.5rem),
    radial-gradient(circle at 52% 48%, rgba(124, 40, 255, 0.42), transparent 15rem),
    radial-gradient(circle at 66% 42%, rgba(215, 76, 255, 0.2), transparent 15rem);
}

@media (max-width: 920px) {
  .site-topbar {
    position: relative;
    top: auto;
    justify-content: center;
    min-height: 36px;
    margin-top: 0;
    font-size: 0.78rem;
  }

  .site-header {
    top: 0;
    padding: 0.7rem 0;
  }
}

@media (max-width: 620px) {
  .site-topbar {
    justify-content: space-between;
    width: calc(100% - 1rem);
    gap: 0.4rem;
  }

  .topbar-phone {
    max-width: 62vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .topbar-socials a {
    width: 24px;
    height: 24px;
  }

  .brand-mark {
    width: 72px;
    height: 54px;
  }

  h1,
  .service-hero-copy h1,
  .jccc-flow-hero h1 {
    font-size: clamp(3rem, 14vw, 4.4rem);
    line-height: 0.98;
  }
}
