@font-face {
  font-family: 'Retolia';
  src: url('../fonts/Retolia.otf') format('opentype'),
       url('../fonts/Retolia.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-black: #000000;
  --color-off-black: #050505;
  --color-surface: rgba(10, 13, 16, 0.84);
  --color-white: #ffffff;
  --color-pale: #ededed;
  --color-muted: #b6c0c4;
  --color-gray: #9aa3a8;
  --color-green: #11ff00;
  --color-wa: #25d366;
  --color-ice: #cde7e9;
  --color-cyan: #8be9f5;
  --color-mint: #adfaa7;
  --color-error: #ff6b6b;

  --font-brand: 'Retolia', Georgia, serif;
  --font-display: 'Doto', 'Space Mono', monospace;
  --font-mono: 'Doto', 'Space Mono', ui-monospace, monospace;
  --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-ar: 'IBM Plex Sans Arabic', sans-serif;

  --glow-crt: 0 0 8px rgba(255, 255, 255, 0.38);
  --glow-green: 0 0 10px rgba(17, 255, 0, 0.8);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  background-color: var(--color-black);
  color: var(--color-white);
  font-family: var(--font-body);
  scroll-behavior: auto;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

html[lang="ar"] {
  font-family: var(--font-ar);
}

body {
  background: transparent;
  color: var(--color-white);
  min-height: 100vh;
  overflow-x: clip;
  line-height: 1.6;
}

::selection {
  background: var(--color-ice);
  color: var(--color-black);
}

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

button,
a {
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--color-cyan);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Signature proddity Brand Wordmark (Retolia) */
.brand-wordmark {
  font-family: var(--font-brand) !important;
  font-weight: normal !important;
  text-transform: none !important;
  letter-spacing: 0.01em !important;
  line-height: 1;
  direction: ltr;
  display: inline-block;
}

.brand-wordmark--xl {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
}

.brand-wordmark--hero {
  font-size: clamp(2.1rem, 3.6vw, 3rem);
}

.brand-wordmark--sm {
  font-size: 1.15rem;
}

/* ==========================================================================
   PERSISTENT WEBGL STAGE & SUBTLE CRT LAYER
   ========================================================================== */
#webgl-stage {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 0;
  pointer-events: none;
  display: block;
}

.crt-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  overflow: hidden;
}

.crt-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0px,
    rgba(255, 255, 255, 0) 2px,
    rgba(0, 0, 0, 0.1) 3px,
    rgba(0, 0, 0, 0.1) 4px
  );
  opacity: 0.45;
}

.crt-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0) 66%, rgba(0, 0, 0, 0.42) 100%);
}

.crt-flash {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(205, 231, 233, 0.55) 48%,
    rgba(255, 255, 255, 0.85) 50%,
    rgba(205, 231, 233, 0.55) 52%,
    transparent 100%
  );
  opacity: 0;
  transform: scaleY(0.02);
  transition: opacity 0.2s ease, transform 0.25s var(--ease-out-expo);
}

.crt-flash.is-active {
  opacity: 1;
  transform: scaleY(1);
}

/* ==========================================================================
   INTERACTIVE FROSTED-BLUR LENS PRELOADER
   ========================================================================== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(4, 6, 8, 0.62);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  overflow: hidden;
  transition: opacity 0.45s var(--ease-out-expo), visibility 0.45s;
}

.preloader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader__lens {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    circle 210px at var(--mx, 50%) var(--my, 50%),
    rgba(139, 233, 245, 0.24) 0%,
    rgba(17, 255, 0, 0.08) 38%,
    transparent 74%
  );
}

.preloader__inner {
  position: relative;
  width: min(360px, 88vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  padding: 2rem 1.75rem;
  border: 1px solid rgba(139, 233, 245, 0.25);
  background: rgba(5, 8, 11, 0.55);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
  transform: translate3d(var(--tx, 0px), var(--ty, 0px), 0);
  transition: transform 0.12s ease-out;
}

.preloader__eye-glyph {
  color: var(--color-white);
}

.preloader__bar-track {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.preloader__bar-fill {
  height: 100%;
  width: 18%;
  background: linear-gradient(90deg, var(--color-cyan), var(--color-green));
  border-radius: 999px;
  transition: width 0.18s ease-out;
}

.preloader__bottom-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.74rem;
  color: var(--color-muted);
}

.preloader__pct {
  font-family: var(--font-mono);
  font-weight: 800;
  color: var(--color-cyan);
  direction: ltr;
}

/* ==========================================================================
   FIXED ADAPTIVE HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem clamp(1.1rem, 3vw, 2.75rem);
  color: var(--color-white);
  background: rgba(5, 5, 5, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: color 0.3s ease, background-color 0.3s ease;
}

.site-header[data-header-theme="light"] {
  color: var(--color-off-black);
  background: rgba(240, 240, 240, 0.78);
}

.site-header__brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.6rem;
  direction: ltr;
}

.site-header__brand .brand-wordmark {
  font-size: clamp(1.45rem, 2vw, 1.85rem);
}

.site-header__sub {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0.78;
}

html[lang="ar"] .site-header__sub {
  font-family: var(--font-ar);
  letter-spacing: 0;
  font-size: 0.74rem;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: clamp(0.6rem, 1.6vw, 1.5rem);
}

.header-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.38rem 0.6rem;
  border-radius: 3px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

html[lang="ar"] .header-btn {
  font-family: var(--font-ar);
  letter-spacing: 0;
}

.header-btn--lang {
  border: 1px solid currentColor;
  font-size: 0.72rem;
}

@media (hover: hover) {
  .site-header[data-header-theme="dark"] .header-btn:hover {
    background: var(--color-white);
    color: var(--color-black);
  }
  .site-header[data-header-theme="light"] .header-btn:hover {
    background: var(--color-off-black);
    color: var(--color-white);
  }
}

.availability-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-green);
  box-shadow: var(--glow-green);
  animation: blinkPulse 1.5s infinite ease-in-out;
}

@keyframes blinkPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.84); }
}

.menu-bars {
  font-size: 1.15rem;
  line-height: 1;
}

/* ==========================================================================
   FULL-SCREEN MENU OVERLAY
   ========================================================================== */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(4, 5, 7, 0.95);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.4rem clamp(1.25rem, 4vw, 3.5rem);
  overflow-y: auto;
}

.menu-overlay__top,
.menu-overlay__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.menu-overlay__brand-wrap {
  display: inline-flex;
  align-items: baseline;
  gap: 0.75rem;
  direction: ltr;
}

.menu-overlay__brand-wrap .brand-wordmark {
  font-size: 1.75rem;
}

.menu-overlay__sub {
  font-size: 0.7rem;
  color: var(--color-ice);
}

.menu-overlay__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2.5rem;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.menu-overlay__nav {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.menu-nav-item {
  display: flex;
  align-items: baseline;
  gap: 1.15rem;
  padding: 0.6rem 0.95rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3.2vw, 2.75rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background-color 0.18s ease, color 0.18s ease;
}

html[lang="ar"] .menu-nav-item__text {
  font-family: var(--font-ar);
  font-weight: 700;
  letter-spacing: 0;
}

.menu-nav-item__num {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  opacity: 0.65;
  direction: ltr;
}

.menu-nav-item:hover,
.menu-nav-item.is-active {
  background: var(--color-white);
  color: var(--color-black);
}

.menu-overlay__side {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  border-inline-start: 1px dashed rgba(255, 255, 255, 0.24);
  padding-inline-start: 2rem;
}

.menu-side-group__title {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--color-ice);
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.menu-side-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.terminal-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  letter-spacing: 0.05em;
  color: var(--color-pale);
  transition: color 0.2s ease, transform 0.2s ease;
}

html[lang="ar"] .terminal-link {
  font-family: var(--font-ar);
  letter-spacing: 0;
}

.terminal-link:hover {
  color: var(--color-cyan);
  transform: translateX(4px);
}

html[lang="ar"] .terminal-link:hover {
  transform: translateX(-4px);
}

/* ==========================================================================
   HERO SECTION (OVER 3D GEOMETRIC EYE — PRODUCTION FIRST + AGENCY PILLARS)
   ========================================================================== */
#smooth-content {
  position: relative;
  z-index: 10;
}

.section {
  position: relative;
  width: 100%;
}

.section--hero {
  min-height: 100svh;
  display: flex;
  align-items: stretch;
  padding: 5.25rem clamp(1.15rem, 3.5vw, 3rem) 2.25rem;
}

.hero-frame {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-brand-lockup {
  display: inline-flex;
  align-items: baseline;
  gap: 0.85rem;
  flex-wrap: wrap;
  direction: ltr;
}

.mono-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-white);
}

html[lang="ar"] .mono-tag {
  font-family: var(--font-ar);
  letter-spacing: 0;
}

.mono-sub {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--color-cyan);
  margin-top: 0.28rem;
}

html[lang="ar"] .mono-sub {
  font-family: var(--font-ar);
  letter-spacing: 0;
}

.hero-center-spacer {
  flex: 1;
  min-height: 24svh;
}

.hero-bottom-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 2rem;
  align-items: end;
}

.hero-statement {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.display-hero {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.75rem, 3.3vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-shadow: 0 4px 26px rgba(0, 0, 0, 0.95), var(--glow-crt);
}

html[lang="ar"] .display-hero {
  font-family: var(--font-ar);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
}

.hero-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-pillar {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.38rem 0.75rem;
  border: 1px solid rgba(205, 231, 233, 0.28);
  background: rgba(5, 8, 11, 0.72);
  color: var(--color-pale);
  transition: border-color 0.2s ease, color 0.2s ease;
}

html[lang="ar"] .hero-pillar {
  font-family: var(--font-ar);
}

.hero-pillar--featured {
  border-color: var(--color-green);
  color: var(--color-mint);
}

.hero-pillar:hover {
  border-color: var(--color-cyan);
  color: var(--color-white);
}

.hero-cta-block {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  background: rgba(7, 10, 13, 0.78);
  border: 1px solid rgba(205, 231, 233, 0.24);
  backdrop-filter: blur(10px);
  padding: 1.3rem 1.45rem;
}

/* Readable Sentence-Case Paragraphs */
.hero-role-copy {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--color-pale);
  text-transform: none;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.crt-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.68rem 1.2rem;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(0, 0, 0, 0.6);
  color: var(--color-white);
  transition: all 0.2s ease;
}

html[lang="ar"] .crt-action-btn {
  font-family: var(--font-ar);
  letter-spacing: 0;
}

.crt-action-btn--primary {
  background: var(--color-white);
  color: var(--color-black);
  border-color: var(--color-white);
}

.crt-action-btn--wa {
  background: var(--color-wa);
  color: #04130a;
  border-color: var(--color-wa);
}

.crt-action-btn:hover {
  background: var(--color-cyan);
  color: var(--color-black);
  border-color: var(--color-cyan);
}

/* ==========================================================================
   SECTION 2: 3D SHOWCASE TUNNEL & STRICT TOP MONITOR HEADER
   ========================================================================== */
.section--showcase {
  height: 420vh;
  position: relative;
}

.tunnel-code-bg {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  width: 100%;
  overflow: hidden;
  pointer-events: none;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  line-height: 1.9;
  letter-spacing: 0.14em;
  color: rgba(0, 0, 0, 0.045);
  padding: 5rem 2rem;
  white-space: pre-wrap;
  user-select: none;
  direction: ltr;
}

.showcase-sticky {
  position: sticky;
  top: 0;
  margin-top: -100vh;
  margin-top: -100dvh;
  height: 100vh;
  height: 100dvh;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 4.8rem clamp(1.15rem, 3vw, 2.75rem) 1.5rem;
}

.showcase-top-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  z-index: 25;
}

.showcase-badge {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  color: var(--color-off-black);
  background: rgba(255, 255, 255, 0.85);
  padding: 0.38rem 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.16);
}

html[lang="ar"] .showcase-badge {
  font-family: var(--font-ar);
  letter-spacing: 0;
}

.archive-trigger-btn {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--color-white);
  background: var(--color-off-black);
  padding: 0.48rem 0.95rem;
  min-height: 38px;
  border: 1px solid var(--color-off-black);
}

html[lang="ar"] .archive-trigger-btn {
  font-family: var(--font-ar);
  letter-spacing: 0;
}

.monitor-anchors {
  list-style: none;
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 20;
}

.monitor-anchor {
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: center center;
  pointer-events: auto;
  will-change: transform, opacity;
}

.monitor-anchor__btn {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  background: transparent;
}

/* Strictly anchored ABOVE the monitor top edge — never slides up from underneath! */
.monitor-anchor__header {
  position: absolute;
  bottom: calc(100% + 10px);
  inset-inline-start: 0;
  width: max-content;
  min-width: 100%;
  max-width: min(420px, calc(100vw - 24px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: var(--color-off-black);
  color: var(--color-white);
  padding: 0.36rem 0.8rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  pointer-events: auto;
}

.monitor-anchor__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(0.92rem, 1.5vw, 1.35rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

html[lang="ar"] .monitor-anchor__title {
  font-family: var(--font-ar);
  font-weight: 700;
  letter-spacing: 0;
}

.monitor-anchor__count {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-cyan);
  white-space: nowrap;
  direction: ltr;
}

.monitor-anchor__cta {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  background: rgba(5, 5, 5, 0.92);
  color: var(--color-white);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.32rem 0.7rem;
  opacity: 0;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

html[lang="ar"] .monitor-anchor__cta {
  font-family: var(--font-ar);
  letter-spacing: 0;
}

.monitor-anchor:hover .monitor-anchor__cta,
.monitor-anchor[data-hovered="true"] .monitor-anchor__cta {
  opacity: 1;
}

.monitor-anchor:hover .monitor-anchor__header {
  outline: 2px solid var(--color-green);
}

/* Fallback Cards when WebGL is disabled or Reduced Motion is requested */
.webgl-fallback-grid {
  position: relative;
  z-index: 22;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.85rem;
  margin: auto 0;
  max-height: 68vh;
  overflow-y: auto;
  padding: 0.5rem;
}

.showcase-dock-wrap {
  position: relative;
  z-index: 25;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.category-dock {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.42rem;
  background: rgba(5, 5, 5, 0.92);
  padding: 0.4rem;
  border: 1px solid rgba(0, 0, 0, 0.25);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.dock-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.44rem 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all 0.18s ease;
}

html[lang="ar"] .dock-pill__name {
  font-family: var(--font-ar);
  letter-spacing: 0;
}

.dock-pill__count {
  font-size: 0.66rem;
  opacity: 0.7;
  direction: ltr;
}

.dock-pill:hover,
.dock-pill.is-active {
  background: var(--color-white);
  color: var(--color-black);
}

.showcase-hint {
  font-size: 0.76rem;
  font-weight: 600;
  color: rgba(5, 5, 5, 0.78);
}

/* ==========================================================================
   SECTIONS 3 & 4: WHAT WE DO (STUDIO + AGENCY) & HOW WE WORK
   ========================================================================== */
.section--whatwedo,
.section--process,
.section--contact {
  padding: 5.5rem clamp(1.15rem, 4.5vw, 4.5rem);
}

.content-container {
  max-width: 1120px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.65rem;
  background: var(--color-surface);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  padding: clamp(1.6rem, 3.5vw, 3rem);
}

.content-container--form {
  max-width: 880px;
}

.section-eyebrow,
.sub-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-cyan);
  text-transform: uppercase;
}

html[lang="ar"] .section-eyebrow,
html[lang="ar"] .sub-eyebrow {
  font-family: var(--font-ar);
  letter-spacing: 0;
}

.sub-eyebrow {
  margin-top: 0.75rem;
}

.display-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.9rem, 4vw, 3.3rem);
  letter-spacing: 0.03em;
  line-height: 1.08;
  text-transform: uppercase;
  text-shadow: var(--glow-crt);
}

html[lang="ar"] .display-title {
  font-family: var(--font-ar);
  font-weight: 700;
  letter-spacing: 0;
}

/* Dual Agency + Studio Pillar Cards */
.dual-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.pillar-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.6rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(205, 231, 233, 0.22);
  transition: border-color 0.22s ease, transform 0.22s ease;
}

.pillar-card--studio {
  border-color: rgba(17, 255, 0, 0.38);
}

.pillar-card:hover {
  border-color: var(--color-cyan);
  transform: translateY(-3px);
}

.pillar-card__tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--color-green);
  letter-spacing: 0.1em;
}

html[lang="ar"] .pillar-card__tag {
  font-family: var(--font-ar);
  letter-spacing: 0;
}

.pillar-card__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

html[lang="ar"] .pillar-card__title {
  font-family: var(--font-ar);
  font-weight: 700;
  letter-spacing: 0;
}

.pillar-card__desc {
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--color-pale);
}

.pillar-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.pillar-card__list li {
  position: relative;
  padding-inline-start: 1.15rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.pillar-card__list li::before {
  content: "▸";
  position: absolute;
  inset-inline-start: 0;
  color: var(--color-cyan);
}

.pillars-unifier {
  text-align: center;
  padding: 0.95rem 1.25rem;
  border: 1px dashed rgba(139, 233, 245, 0.35);
  background: rgba(139, 233, 245, 0.05);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--color-white);
}

/* 5 Production Specialties Mini-Cards */
.services-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(195px, 1fr));
  gap: 0.85rem;
}

.service-card {
  border: 1px solid rgba(205, 231, 233, 0.18);
  background: rgba(255, 255, 255, 0.025);
  padding: 1.05rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.55rem;
  text-align: start;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
  border-color: var(--color-cyan);
  transform: translateY(-3px);
}

.service-card__num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--color-green);
  direction: ltr;
}

.service-card__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  text-transform: uppercase;
}

html[lang="ar"] .service-card__title {
  font-family: var(--font-ar);
  font-weight: 700;
}

.service-card__desc {
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--color-muted);
}

.service-card__pack {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--color-cyan);
  padding-top: 0.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

html[lang="ar"] .service-card__pack {
  font-family: var(--font-ar);
}

/* 4-Step Process Grid */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.process-step {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.025);
  padding: 1.3rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.process-step__num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--color-green);
  direction: ltr;
}

.process-step__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  text-transform: uppercase;
}

html[lang="ar"] .process-step__title {
  font-family: var(--font-ar);
  font-weight: 700;
}

.process-step__desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--color-muted);
}

/* ==========================================================================
   SECTION 5: CONTACT FORM & FOOTER
   ========================================================================== */
.section--contact {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
}

.contact-header {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.contact-lead {
  font-size: 0.96rem;
  color: var(--color-muted);
}

.project-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.form-row-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field label {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-pale);
}

html[lang="ar"] .form-field label {
  font-family: var(--font-ar);
  letter-spacing: 0;
  font-size: 0.84rem;
}

.label-with-currency {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.currency-select {
  min-height: 28px !important;
  padding: 0.15rem 0.45rem !important;
  font-family: var(--font-mono);
  font-size: 0.72rem !important;
  font-weight: 700;
  background: rgba(139, 233, 245, 0.12) !important;
  border: 1px solid rgba(139, 233, 245, 0.4) !important;
  color: var(--color-cyan) !important;
  direction: ltr;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  background: rgba(5, 7, 10, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 4px;
  color: var(--color-white);
  font-size: 0.94rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field textarea {
  min-height: 92px;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(182, 192, 196, 0.55);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-cyan);
  box-shadow: 0 0 0 3px rgba(139, 233, 245, 0.18);
}

.form-field input.has-error,
.form-field select.has-error {
  border-color: var(--color-error);
}

.field-error {
  font-size: 0.78rem;
  color: var(--color-error);
  min-height: 1.05rem;
}

.form-submit-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.form-submit-btn {
  width: 100%;
  min-height: 52px;
  font-size: 0.88rem;
}

.form-reply-note {
  font-size: 0.8rem;
  color: var(--color-muted);
  align-self: center;
}

.form-feedback {
  padding: 1.25rem;
  border: 1px solid rgba(37, 211, 102, 0.5);
  background: rgba(12, 34, 21, 0.72);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}

.form-feedback__title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-mint);
}

.form-feedback__sub {
  font-size: 0.88rem;
  color: var(--color-pale);
}

.contact-bottom-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  direction: ltr;
}

.scroll-back-btn {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  padding: 0.5rem 0.95rem;
  border: 1px dashed rgba(255, 255, 255, 0.4);
  color: var(--color-pale);
}

html[lang="ar"] .scroll-back-btn {
  font-family: var(--font-ar);
  letter-spacing: 0;
}

.scroll-back-btn:hover {
  background: var(--color-white);
  color: var(--color-black);
}

.contact-legal-row {
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.65);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1rem;
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON (LTR bottom-right / RTL bottom-left)
   ========================================================================== */
.wa-float {
  position: fixed;
  bottom: calc(1.35rem + env(safe-area-inset-bottom, 0px));
  inset-inline-end: 1.35rem;
  z-index: 95;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-wa);
  color: #04130a;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55), 0 0 0 0 rgba(37, 211, 102, 0.55);
  animation: waPulse 2.6s infinite;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.wa-float:hover {
  transform: scale(1.08);
}

.wa-float.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.75);
}

@keyframes waPulse {
  0% { box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55), 0 0 0 0 rgba(37, 211, 102, 0.55); }
  70% { box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55), 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55), 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ==========================================================================
   DARK 3D SCREENING STUDIO MODAL + CASE STUDIES + BUFFER RETRY
   ========================================================================== */
.studio-modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  height: 100dvh;
  background: radial-gradient(circle at 50% 42%, rgba(28, 42, 48, 0.36) 0%, rgba(4, 4, 4, 0.98) 68%), #030303;
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.9rem clamp(1rem, 2.5vw, 2.25rem);
  overflow-y: auto;
  gap: 0.55rem;
}

.studio-modal__top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
}

.studio-modal__cat-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.studio-meta-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--color-gray);
  text-transform: uppercase;
}

.studio-cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.studio-cat-tab {
  padding: 0.28rem 0.62rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.75);
}

html[lang="ar"] .studio-cat-tab {
  font-family: var(--font-ar);
}

.studio-cat-tab.is-active,
.studio-cat-tab:hover {
  background: var(--color-white);
  color: var(--color-black);
  border-color: var(--color-white);
}

.studio-close-btn {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  padding: 0.42rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.06);
  white-space: nowrap;
  flex-shrink: 0;
}

html[lang="ar"] .studio-close-btn {
  font-family: var(--font-ar);
  letter-spacing: 0;
}

.studio-close-btn:hover {
  background: var(--color-white);
  color: var(--color-black);
}

.studio-modal__counter {
  justify-self: end;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  color: var(--color-cyan);
  direction: ltr;
}

.studio-stage {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 2vw, 2rem);
  perspective: 1400px;
  direction: ltr;
}

.studio-peek {
  width: clamp(85px, 11vw, 165px);
  height: clamp(130px, 28vh, 250px);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #0b0b0b;
  overflow: hidden;
  opacity: 0.48;
  flex-shrink: 0;
}

.studio-peek--prev { transform: rotateY(24deg) scale(0.9); }
.studio-peek--next { transform: rotateY(-24deg) scale(0.9); }
.studio-peek:hover { opacity: 0.88; border-color: var(--color-cyan); }

.studio-peek img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.studio-peek__arrow {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--color-white);
  text-shadow: 0 2px 12px #000;
}

.studio-screen-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
}

.studio-screen-bezel {
  position: relative;
  background: #000;
  border: 2px solid rgba(139, 233, 245, 0.38);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
}

.studio-screen-shell[data-orientation="portrait"] .studio-screen-bezel {
  aspect-ratio: 9 / 16;
  height: min(50dvh, 480px);
  width: auto;
}

.studio-screen-shell[data-orientation="landscape"] .studio-screen-bezel {
  aspect-ratio: 16 / 9;
  width: min(62vw, 820px);
  max-height: 48dvh;
}

.studio-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  display: block;
}

.studio-crt-glass {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, transparent 40%);
}

/* Slow-Network Buffering & Retry Overlay */
.studio-buffer-state {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: rgba(0, 0, 0, 0.62);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-cyan);
  cursor: pointer;
}

.buffer-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(139, 233, 245, 0.25);
  border-top-color: var(--color-cyan);
  border-radius: 50%;
  animation: spinLoader 0.8s linear infinite;
}

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

.studio-big-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.28);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.studio-big-play.is-paused { opacity: 1; }

.studio-big-play span {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.studio-controls {
  width: 100%;
  min-width: min(320px, 86vw);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.7rem;
  background: rgba(14, 16, 18, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  direction: ltr;
}

.ctrl-btn {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.7rem;
  color: var(--color-white);
  padding: 0.22rem 0.48rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.ctrl-btn:hover {
  background: var(--color-white);
  color: var(--color-black);
}

.ctrl-timeline {
  flex: 1;
  height: 8px;
  background: rgba(255, 255, 255, 0.16);
  cursor: pointer;
}

.ctrl-timeline__fill {
  height: 100%;
  width: 0%;
  background: var(--color-green);
}

.ctrl-timecode {
  color: var(--color-cyan);
  white-space: nowrap;
}

/* Studio Bottom Case Study Bar */
.studio-modal__bottom {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 0.55rem;
}

.studio-title-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.studio-video-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(0.95rem, 1.4vw, 1.2rem);
}

html[lang="ar"] .studio-video-title {
  font-family: var(--font-ar);
  font-weight: 700;
}

.studio-role-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.role-tag {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  padding: 0.16rem 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-pale);
}

html[lang="ar"] .role-tag {
  font-family: var(--font-ar);
}

.case-study-bar {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr 1.3fr 1.1fr;
  gap: 0.55rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(205, 231, 233, 0.16);
  padding: 0.55rem 0.75rem;
}

.cs-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.cs-item__label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-cyan);
  text-transform: uppercase;
}

html[lang="ar"] .cs-item__label {
  font-family: var(--font-ar);
  letter-spacing: 0;
}

.cs-item__val {
  font-size: 0.78rem;
  line-height: 1.38;
  color: var(--color-pale);
}

.cs-item--result .cs-item__val {
  color: var(--color-mint);
  font-weight: 600;
}

.studio-thumb-strip {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding-bottom: 0.15rem;
  scrollbar-width: thin;
  direction: ltr;
}

.studio-thumb {
  width: 60px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  opacity: 0.52;
  flex-shrink: 0;
}

.studio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.studio-thumb.is-active,
.studio-thumb:hover {
  opacity: 1;
  border-color: var(--color-green);
}

/* ==========================================================================
   MASTER ARCHIVE MODAL
   ========================================================================== */
.archive-modal {
  position: fixed;
  inset: 0;
  z-index: 160;
  height: 100dvh;
  background: rgba(4, 5, 7, 0.96);
  backdrop-filter: blur(16px);
  color: var(--color-white);
  display: block;
  padding: 1.5rem clamp(1.15rem, 3.5vw, 3rem) 4rem;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.archive-modal__header {
  position: sticky;
  top: -1.5rem;
  z-index: 10;
  background: rgba(4, 5, 7, 0.94);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.archive-modal__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.3rem, 2.4vw, 2.1rem);
  text-transform: uppercase;
}

html[lang="ar"] .archive-modal__title {
  font-family: var(--font-ar);
  font-weight: 700;
}

.archive-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-block: 1rem;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1rem;
  padding-bottom: 2rem;
}

.archive-card {
  background: #0b0e11;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  text-align: start;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.archive-card:hover {
  border-color: var(--color-cyan);
  transform: translateY(-3px);
}

.archive-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #050505;
  overflow: hidden;
}

.archive-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.archive-card__badge {
  position: absolute;
  top: 0.45rem;
  inset-inline-end: 0.45rem;
  background: rgba(0, 0, 0, 0.82);
  color: var(--color-cyan);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 0.16rem 0.45rem;
  border: 1px solid rgba(139, 233, 245, 0.35);
  direction: ltr;
}

.archive-card__body {
  padding: 0.75rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.archive-card__cat {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--color-green);
}

html[lang="ar"] .archive-card__cat {
  font-family: var(--font-ar);
}

.archive-card__title {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--color-white);
}

.archive-card__result {
  font-size: 0.75rem;
  color: var(--color-muted);
}

/* ==========================================================================
   MOBILE-FIRST SMARTPHONE & REDUCED MOTION
   ========================================================================== */
@media (hover: none) {
  .monitor-anchor__cta {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .wa-float {
    animation: none !important;
  }
}

@media (max-width: 920px) {
  .hero-bottom-grid,
  .menu-overlay__grid,
  .dual-pillars-grid,
  .form-row-two {
    grid-template-columns: 1fr;
  }

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

  .menu-overlay__side {
    border-inline-start: none;
    border-top: 1px dashed rgba(255, 255, 255, 0.24);
    padding-inline-start: 0;
    padding-top: 1.15rem;
  }

  .case-study-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: calc(0.6rem + env(safe-area-inset-top, 0px)) 0.85rem 0.6rem;
  }

  .site-header__sub {
    display: none;
  }

  .site-header__brand .brand-wordmark {
    font-size: 1.4rem;
  }

  .header-btn {
    font-size: 0.7rem;
    padding: 0.34rem 0.48rem;
    min-height: 36px;
  }

  .section--hero {
    padding: calc(4.3rem + env(safe-area-inset-top, 0px)) 0.95rem 1.25rem;
  }

  .hero-center-spacer {
    min-height: 22svh;
  }

  .display-hero {
    font-size: clamp(1.3rem, 5.6vw, 1.7rem);
  }

  .hero-cta-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .crt-action-btn {
    width: 100%;
  }

  .section--showcase {
    height: 320vh;
  }

  .showcase-sticky {
    padding: calc(4.1rem + env(safe-area-inset-top, 0px)) 0.85rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
  }

  .category-dock {
    width: 100%;
    max-width: calc(100vw - 1.4rem);
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .category-dock::-webkit-scrollbar { display: none; }
  .dock-pill { flex-shrink: 0; }

  .section--whatwedo,
  .section--process,
  .section--contact {
    padding: 4rem 0.95rem;
  }

  .content-container {
    padding: 1.3rem 1.1rem;
  }

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

  .wa-float {
    width: 50px;
    height: 50px;
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    inset-inline-end: 1rem;
  }

  .studio-peek { display: none; }

  .studio-modal__top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .studio-close-btn { order: 1; }
  .studio-modal__counter { order: 2; }
  .studio-modal__cat-group {
    order: 3;
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .studio-modal__cat-group::-webkit-scrollbar { display: none; }
  .studio-modal__cat-group .studio-meta-label { display: none; }
  .studio-cat-tabs { flex-wrap: nowrap; }
  .studio-cat-tab { flex-shrink: 0; }

  .studio-screen-shell[data-orientation="portrait"] .studio-screen-bezel {
    height: min(42dvh, 380px);
    max-width: 86vw;
  }

  .studio-screen-shell[data-orientation="landscape"] .studio-screen-bezel {
    width: 94vw;
    max-height: 36dvh;
  }

  .studio-controls {
    width: min(94vw, 420px);
    min-width: 0;
    flex-wrap: wrap;
    gap: 0.38rem;
  }

  .ctrl-timeline {
    order: -2;
    flex: 1 1 calc(100% - 92px);
    height: 10px;
    border-radius: 99px;
  }

  .ctrl-timecode { order: -1; font-size: 0.66rem; }
  .ctrl-btn { flex: 1 1 auto; min-height: 36px; }

  .case-study-bar {
    grid-template-columns: 1fr 1fr;
    padding: 0.45rem 0.6rem;
    gap: 0.4rem;
  }

  .cs-item__val { font-size: 0.72rem; }

  .archive-filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .archive-filter-bar::-webkit-scrollbar { display: none; }

  .archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .archive-card__media { aspect-ratio: 9 / 12; }
}

@media (max-width: 430px) {
  .header-btn--talk span[data-i18n] { display: none; }
  .showcase-badge { display: none; }
  .showcase-top-meta { justify-content: flex-end; }
}
