/* سعودي ترند — Crew UI recreation */
:root {
  --bg: #050a0a;
  --bg-2: #0b1210;
  --bg-hero: #0a1f0c;
  --bg-services: #0b1f0e;
  --brand-green: #40a233;
  --brand-yellow: #f6ba0c;
  --teal: #40a233;
  --teal-bright: #4db83a;
  --teal-soft: #6bc85a;
  --teal-deep: #1f5c18;
  --gold: #f6ba0c;
  --iris: #2f7a28;
  --pupil: #091e0c;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --line: rgba(255, 255, 255, 0.18);
  --card: rgba(8, 20, 12, 0.85);
  --radius-pill: 999px;
  --font: "Tajawal", "Noto Kufi Arabic", sans-serif;
  --display: "Tajawal", "Noto Kufi Arabic", sans-serif;
  --header-h: 84px;
  --eye-w: min(22vw, 400px);
  --why-ticker-h: 2.85rem;
}

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

html {
  scroll-behavior: smooth;
  background: #050a0a;
}

body {
  margin: 0;
  font-family: var(--font);
  background: transparent;
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  padding-bottom: calc(var(--why-ticker-h, 2.65rem) + env(safe-area-inset-bottom, 0px));
}

/* Native arrow cursor tinted with Saudi Trend green + gold */
body.has-brand-cursor {
  --cursor-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Cpath fill='%2340a233' stroke='%23f6ba0c' stroke-width='1.4' stroke-linejoin='round' d='M4 3 L4 22 L10.2 16.5 L15.8 25.2 L18.6 23.7 L13 15.1 L20.5 14.8 Z'/%3E%3C/svg%3E") 4 2;
  --cursor-hand: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Cpath fill='%2340a233' stroke='%23f6ba0c' stroke-width='1.3' stroke-linejoin='round' d='M10 14 V6.5 a1.4 1.4 0 0 1 2.8 0 V13 M12.8 12.5 V5.2 a1.35 1.35 0 0 1 2.7 0 V13 M15.5 12.8 V6.8 a1.3 1.3 0 0 1 2.6 0 V14.2 M18.1 14.5 V9.2 a1.25 1.25 0 0 1 2.5 0 V17.5 c0 3.4-2.2 5.8-5.6 5.8 h-1.3 c-2.6 0-4.2-1.1-5.4-3.1 L7.2 16.8 a1.5 1.5 0 0 1 2.5-1.7 L10 16 Z'/%3E%3C/svg%3E") 8 4;
  cursor: var(--cursor-arrow), auto;
}

body.has-brand-cursor a,
body.has-brand-cursor button,
body.has-brand-cursor [role="button"],
body.has-brand-cursor .flip-card,
body.has-brand-cursor .service-flip,
body.has-brand-cursor .partner-page,
body.has-brand-cursor .film-stage__nav,
body.has-brand-cursor .partner-stage__nav,
body.has-brand-cursor .reels-stage__nav,
body.has-brand-cursor .reel-card__hit,
body.has-brand-cursor .reel-card__mute,
body.has-brand-cursor .lang-switch,
body.has-brand-cursor .btn--solutions,
body.has-brand-cursor .nav-toggle {
  cursor: var(--cursor-hand), pointer;
}

body.has-brand-cursor .film-stage.is-dragging,
body.has-brand-cursor .partner-stage.is-dragging,
body.has-brand-cursor .film-stage.is-dragging *,
body.has-brand-cursor .partner-stage.is-dragging * {
  cursor: grabbing !important;
}

/* Static page wash — no animated layers, no blur, no JS */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 55% at 12% 10%, rgba(64, 162, 51, 0.22), transparent 60%),
    radial-gradient(ellipse 70% 50% at 88% 82%, rgba(246, 186, 12, 0.1), transparent 58%),
    linear-gradient(165deg, #050a0a 0%, #0a140c 48%, #070f09 100%);
}

main {
  position: relative;
  z-index: 1;
}

/* Skip offscreen layout work for heavy sections */
.featured,
.services,
.reels,
.portfolio,
.cta-band,
.site-close,
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: 1px 720px;
}

/* Why Us — bottom bar, one sentence rises bottom → top (same on all screens) */
.why-ticker {
  --why-ticker-h: 2.85rem;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 125;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  height: calc(var(--why-ticker-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: linear-gradient(90deg, #0a1a10 0%, #102418 40%, #0c1c12 100%);
  border-top: 2px solid var(--brand-yellow);
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  pointer-events: none;
}

/* RTL: first child (label) sits on the right beside the sentence */
.why-ticker__label {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  padding: 0 0.95rem;
  background: linear-gradient(180deg, var(--brand-yellow), #d4a008);
  color: #0a1210;
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  z-index: 2;
  box-shadow: -4px 0 12px rgba(0, 0, 0, 0.25);
}

html[dir="ltr"] .why-ticker__label {
  box-shadow: 4px 0 12px rgba(0, 0, 0, 0.25);
}

.why-ticker__stage {
  flex: 1 1 auto;
  min-width: 0;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 2.1rem 0 0.85rem;
}

html[dir="ltr"] .why-ticker__stage {
  padding: 0 0.85rem 0 2.1rem;
}

/* Arrow sits top-right of the sentence area */
.why-ticker__arrow {
  position: absolute;
  top: 0.15rem;
  inset-inline-end: 0.45rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 1.15rem;
  height: 1.15rem;
  color: var(--brand-yellow);
  opacity: 0.55;
  transition: opacity 0.25s ease, transform 0.35s ease;
}

.why-ticker.is-changing .why-ticker__arrow {
  opacity: 1;
  transform: translateY(-2px);
  animation: whyArrowPulse 0.55s ease;
}

.why-ticker__viewport {
  flex: 1 1 auto;
  min-width: 0;
  height: 1.55em;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.why-ticker__line {
  margin: 0;
  width: 100%;
  color: #f4faf6;
  font-weight: 700;
  font-size: clamp(0.82rem, 2.4vw, 1.02rem);
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  text-align: start;
  transform: translate3d(0, 110%, 0);
  opacity: 0;
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.32s ease;
}

.why-ticker__line.is-in {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

.why-ticker__line.is-out {
  transform: translate3d(0, -110%, 0);
  opacity: 0;
}

@keyframes whyArrowPulse {
  0% { transform: translateY(2px); opacity: 0.4; }
  40% { transform: translateY(-3px); opacity: 1; }
  100% { transform: translateY(-2px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .why-ticker__line {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
  .why-ticker.is-changing .why-ticker__arrow {
    animation: none !important;
  }
}

@media (max-width: 720px) {
  .why-ticker {
    --why-ticker-h: 2.6rem;
  }
  .why-ticker__label {
    font-size: 0.78rem;
    padding: 0 0.7rem;
  }
  .why-ticker__stage {
    padding: 0 1.75rem 0 0.65rem;
  }
  html[dir="ltr"] .why-ticker__stage {
    padding: 0 0.65rem 0 1.75rem;
  }
  .why-ticker__line {
    font-size: 0.8rem;
  }
  .why-ticker__arrow {
    width: 1rem;
    height: 1rem;
    inset-inline-end: 0.3rem;
  }
  .why-ticker__arrow svg {
    width: 12px;
    height: 12px;
  }
}

body.menu-open {
  overflow: hidden;
}

/* Legacy custom cursor removed — brand-tinted native cursor via .has-brand-cursor */
.cursor,
.cursor-trail {
  display: none !important;
}

@keyframes magicPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

img {
  max-width: 100%;
  display: block;
}

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

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

.container {
  width: min(1200px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 46px;
  padding: 0.7rem 1.35rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--white);
  transition: 0.25s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.08);
}

.btn--solid {
  background: var(--white);
  color: #0a1210;
  border-color: var(--white);
}

.btn--solid:hover {
  background: #f2f2f2;
}

.btn--teal {
  background: linear-gradient(135deg, var(--teal-bright), var(--teal));
  border-color: transparent;
  color: #06241d;
  font-weight: 700;
}

.btn--teal:hover {
  filter: brightness(1.05);
  background: linear-gradient(135deg, var(--teal-bright), var(--teal));
}

.btn--ghost-dark {
  background: var(--white);
  color: #0a1210;
  border-color: var(--white);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(5, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.header-eye-slot {
  width: 52px;
  height: 28px;
  flex: 0 0 auto;
  margin-inline-end: auto;
  position: relative;
}

.site-header.is-eye-docked {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo__mark {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 12px;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo__name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.logo__name span {
  color: var(--brand-yellow);
}

.logo__tag {
  font-size: 0.72rem;
  color: var(--muted);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.lang-switch__btn {
  min-height: 32px;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  transition: 0.2s ease;
}

.lang-switch__btn.is-active {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.95), rgba(77, 182, 160, 0.95));
  color: #061510;
}

.lang-switch__btn:hover:not(.is-active) {
  color: var(--white);
}

.btn--solutions {
  min-height: 36px;
  padding: 0.3rem 0.95rem;
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
}

.btn--solutions:hover {
  border-color: rgba(246, 186, 12, 0.7);
  color: var(--gold);
  background: rgba(246, 186, 12, 0.08);
}

/* English / LTR adjustments */
html[dir="ltr"] .site-header__inner {
  flex-direction: row;
}

html[dir="ltr"] .header-eye-slot {
  margin-inline-end: 0;
  margin-inline-start: 0.35rem;
  margin-right: auto;
}

html[dir="ltr"] .header-actions {
  flex-direction: row;
  gap: 0.5rem;
}

html[dir="ltr"] .logo {
  flex-direction: row;
}

html[dir="ltr"] .hero__content {
  transform: rotate(2deg);
}

/* Keep eye on the left, skill on the right (no overlap) */
html[dir="ltr"] .hero__skill-wrap {
  left: auto;
  right: max(4%, 1rem);
  max-width: min(340px, 38vw);
}

html[dir="ltr"] .hero__skill {
  text-align: left;
}

html[dir="ltr"] .hero__skill.is-pinned {
  text-align: center;
}

html[dir="ltr"] .hero__skill-text {
  max-width: 100%;
  line-height: 1.35;
}

html[dir="ltr"] .hero__circuit {
  right: auto;
  left: 2%;
}

html[dir="ltr"] .hero__scribble {
  right: auto;
  left: 8%;
  transform: rotate(12deg);
}

html[dir="ltr"] .featured__dots {
  left: auto;
  right: 1.5rem;
}

html[dir="ltr"] .sticker {
  transform: rotate(4deg);
}

html[dir="ltr"] .sticker::after {
  right: auto;
  left: 28%;
  transform: rotate(-18deg);
}

html[dir="ltr"] .service-flip__list {
  padding: 0 0 0 1.1rem;
}

html[dir="ltr"] .blog-card__caption {
  text-align: left;
}

html[dir="ltr"] .flip-card__hint {
  left: auto;
  right: 0.85rem;
}

html[dir="ltr"] .flip-card__title {
  text-align: left;
}

html[dir="ltr"] .cta-band__inner {
  text-align: left;
}

html[dir="ltr"] .nav-overlay__decor {
  transform: none;
  writing-mode: vertical-lr;
}

html[dir="ltr"] .nav-overlay__panel {
  align-items: flex-start;
}

html[dir="ltr"] .back-top {
  inset-inline-end: max(0.55rem, env(safe-area-inset-right, 0px));
  inset-inline-start: auto;
  left: auto;
  right: auto;
  transform: none;
}

html[dir="ltr"] .portfolio__head,
html[dir="ltr"] .section-head {
  text-align: left;
}

html[dir="ltr"] .section-head__sub {
  margin-left: 0;
  margin-right: auto;
}

@media (min-width: 721px) {
  html[dir="ltr"] .hero__eye-anchor {
    left: max(6%, 1.25rem);
    right: auto;
  }
}

@media (max-width: 720px) {
  html[dir="ltr"] .hero__content {
    transform: none;
  }

  html[dir="ltr"] .hero__skill-wrap,
  html[dir="ltr"] .hero__skill {
    left: auto;
    right: auto;
    max-width: none;
    text-align: center;
    position: relative;
  }

  html[dir="ltr"] .hero__skill.is-pinned {
    position: fixed !important;
  }

  html[dir="ltr"] .back-top {
    inset-inline-end: max(0.45rem, env(safe-area-inset-right, 0px));
    transform: none;
  }

  .lang-switch__btn {
    padding: 0.22rem 0.55rem;
    font-size: 0.72rem;
  }
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--white);
  margin: 3px 0;
  transition: 0.2s ease;
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  place-items: center;
  padding: 2.5rem 0 6rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 45% 45%, rgba(25, 95, 75, 0.22), transparent 70%),
    radial-gradient(ellipse 50% 40% at 75% 70%, rgba(15, 60, 48, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(12, 43, 35, 0.28) 0%, rgba(8, 22, 18, 0.12) 55%, transparent 100%);
}

/* Hide zero-size SVG filter defs from layout */
.page-water-svg {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/*
  Fixed water video layer.
  --water-reveal: 0 → pocket under the eye
  --water-reveal: 1 → full-page background after eye dive
*/
.page-water-bg {
  --wr: var(--water-reveal, 0);
  --water-x: 50%;
  --water-y: 58%;
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  isolation: isolate;
  opacity: calc(0.42 + var(--wr) * 0.38);
  -webkit-mask-image: radial-gradient(
    ellipse calc(34% + var(--wr) * 95%) calc(30% + var(--wr) * 95%) at var(--water-x) var(--water-y),
    #000 0%,
    #000 calc(42% + var(--wr) * 30%),
    rgba(0, 0, 0, 0.75) calc(62% + var(--wr) * 28%),
    transparent calc(88% + var(--wr) * 20%)
  );
  mask-image: radial-gradient(
    ellipse calc(34% + var(--wr) * 95%) calc(30% + var(--wr) * 95%) at var(--water-x) var(--water-y),
    #000 0%,
    #000 calc(42% + var(--wr) * 30%),
    rgba(0, 0, 0, 0.75) calc(62% + var(--wr) * 28%),
    transparent calc(88% + var(--wr) * 20%)
  );
  transition: opacity 0.35s ease;
}

.page-water-bg__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(calc(1.18 - var(--wr) * 0.18));
  filter: url(#page-water-distort) saturate(1.18) contrast(1.06) brightness(calc(0.7 + var(--wr) * 0.08)) hue-rotate(-8deg);
  will-change: transform, filter;
}

.page-water-bg__caustic {
  position: absolute;
  inset: -10%;
  pointer-events: none;
  mix-blend-mode: soft-light;
  opacity: calc(0.28 + var(--wr) * 0.28);
  background:
    radial-gradient(ellipse 40% 28% at 35% 40%, rgba(180, 255, 230, 0.35), transparent 70%),
    radial-gradient(ellipse 36% 24% at 68% 58%, rgba(120, 220, 190, 0.28), transparent 72%),
    radial-gradient(ellipse 50% 34% at 50% 70%, rgba(64, 162, 51, 0.22), transparent 75%);
  animation: page-caustic-drift 12s ease-in-out infinite alternate;
}

.page-water-bg__surge {
  position: absolute;
  left: var(--water-x);
  top: var(--water-y);
  width: 18vmax;
  height: 18vmax;
  margin: -9vmax 0 0 -9vmax;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle, rgba(170, 255, 230, 0.35) 0%, rgba(64, 162, 51, 0.18) 38%, transparent 70%);
  mix-blend-mode: screen;
  transform: scale(0.35);
}

body.water-bg-expanding .page-water-bg__surge {
  animation: page-water-surge 0.95s ease-out 1;
}

.page-water-bg__veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 55% 48% at var(--water-x) var(--water-y),
      rgba(8, 28, 22, calc(0.06 + (1 - var(--wr)) * 0.1)) 0%,
      rgba(5, 12, 10, calc(0.28 + var(--wr) * 0.18)) 55%,
      rgba(5, 10, 10, calc(0.72 + var(--wr) * 0.12)) 100%
    ),
    linear-gradient(
      180deg,
      rgba(5, 10, 10, calc(0.5 - var(--wr) * 0.12)) 0%,
      transparent 30%,
      transparent 58%,
      rgba(5, 10, 10, calc(0.55 + var(--wr) * 0.18)) 100%
    );
}

@keyframes page-caustic-drift {
  0% {
    transform: translate3d(-2%, -1%, 0) scale(1);
  }
  100% {
    transform: translate3d(2.5%, 2%, 0) scale(1.05);
  }
}

@keyframes page-water-surge {
  0% {
    opacity: 0.15;
    transform: scale(0.4);
    filter: blur(2px);
  }
  35% {
    opacity: 0.85;
    transform: scale(1.35);
    filter: blur(0.5px);
  }
  100% {
    opacity: 0;
    transform: scale(3.4);
    filter: blur(8px);
  }
}

@media (max-width: 720px) {
  .page-water-bg {
    --water-y: 60%;
    opacity: calc(0.38 + var(--wr) * 0.4);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-water-bg__video {
    filter: saturate(1.1) contrast(1.05) brightness(0.72);
    transform: none;
  }

  .page-water-bg__caustic {
    animation: none;
  }

  body.water-bg-expanding .page-water-bg__surge {
    animation: none;
    opacity: 0;
  }
}

/* After eye dive: keep page content readable over the water video */
body.water-bg-page .featured,
body.water-bg-page .services,
body.water-bg-page .reels,
body.water-bg-page .portfolio,
body.water-bg-page .site-close {
  background-color: rgba(5, 10, 10, 0.52);
  backdrop-filter: blur(0.5px);
}

body.water-bg-page .site-footer {
  background:
    linear-gradient(180deg, rgba(10, 24, 16, 0.82) 0%, rgba(7, 20, 12, 0.9) 40%, rgba(5, 12, 9, 0.94) 100%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.22;
  pointer-events: none;
}

.hero__arcs {
  position: absolute;
  inset: -20% -10%;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 28% 58%, transparent 22%, rgba(30, 110, 88, 0.38) 23%, rgba(30, 110, 88, 0.18) 34%, transparent 48%),
    radial-gradient(circle at 62% 42%, transparent 30%, rgba(18, 80, 64, 0.22) 31%, transparent 52%);
}

.hero__line {
  position: absolute;
  left: 4%;
  right: 4%;
  top: 46%;
  z-index: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  box-shadow: 0 0 12px rgba(118, 199, 183, 0.25);
  pointer-events: none;
}

.hero__circuit {
  position: absolute;
  right: 2%;
  bottom: 6%;
  z-index: 1;
  width: min(280px, 32vw);
  height: min(180px, 22vh);
  opacity: 0.45;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 40%, rgba(77, 182, 160, 0.5) 40%, rgba(77, 182, 160, 0.5) 41%, transparent 41%),
    linear-gradient(0deg, transparent 55%, rgba(77, 182, 160, 0.4) 55%, rgba(77, 182, 160, 0.4) 56%, transparent 56%),
    radial-gradient(circle at 70% 40%, rgba(89, 195, 165, 0.7) 0 3px, transparent 4px),
    radial-gradient(circle at 40% 70%, rgba(89, 195, 165, 0.55) 0 2px, transparent 3px);
  filter: blur(0.2px);
}

.hero__scribble {
  position: absolute;
  top: 18%;
  right: 8%;
  z-index: 1;
  width: 120px;
  height: 40px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  transform: rotate(-12deg);
  pointer-events: none;
  opacity: 0.55;
}

.hero__scribble::before,
.hero__scribble::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  height: 2px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
}

.hero__scribble::before { top: 8px; transform: rotate(4deg); }
.hero__scribble::after { top: 18px; transform: rotate(-6deg); }

.hero__stage {
  position: relative;
  z-index: 3;
  width: min(1100px, 100%);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: calc(100vh - var(--header-h) - 2rem);
}

.hero__content {
  position: relative;
  z-index: 4;
  isolation: isolate;
  text-align: center;
  width: 100%;
  transform: rotate(-3deg);
  margin-top: -2vh;
  text-shadow: 0 10px 36px rgba(0, 0, 0, 0.45);
}

.hero__eye-anchor {
  width: min(22vw, 400px);
  aspect-ratio: 2.15 / 1;
  margin: 1.25rem 0 0.5rem;
  visibility: hidden;
  pointer-events: none;
}

.hero__eyebrow {
  margin: 0 0 0.15rem;
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  font-weight: 700;
}

.hero__title {
  --brand-display: "Archivo Black", "Syne", var(--display);
  margin: 0;
  font-family: var(--brand-display);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 0.9;
  overflow: visible;
  /* Keep Latin brand reading LTR even on Arabic pages */
  direction: ltr;
  unicode-bidi: isolate;
}

.hero__title-line {
  display: block;
  font-size: clamp(2.9rem, 9.5vw, 6.6rem);
  white-space: nowrap;
  direction: ltr;
  unicode-bidi: isolate;
}

.hero__title-char {
  display: inline-block;
  transform: translate3d(0, -160%, 0) scaleX(1.08);
  will-change: transform;
  margin-inline: 0.01em;
  font-weight: 400;
  text-shadow:
    0 2px 0 rgba(255, 255, 255, 0.12),
    0 22px 48px rgba(0, 0, 0, 0.4);
  background: linear-gradient(185deg, #ffffff 28%, #e8f6f1 68%, #b7d8cd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  /* Wider, poster-like letterforms */
  transform-origin: 50% 100%;
}

.hero__title-char.is-settled {
  text-shadow:
    0 2px 0 rgba(255, 255, 255, 0.14),
    0 14px 34px rgba(0, 0, 0, 0.32);
}

@media (prefers-reduced-motion: reduce) {
  .hero__title-char {
    transform: scaleX(1.08) !important;
  }
}

/* Interactive eye — dives into water, resurfaces in header */
.eye {
  --eye-w: min(22vw, 400px);
  --eye-h: calc(var(--eye-w) / 2.15);
  --eye-opacity: 1;
  --eye-blur: 0px;
  --eye-sink: 0px;
  --eye-scale: 1;
  --eye-rotate: 0deg;
  --eye-glow: 0;
  --lid-close: 0;
  --sclera-fade: 1;
  --orb-show: 0;
  position: fixed;
  left: 0;
  top: 0;
  width: var(--eye-w);
  height: var(--eye-h);
  z-index: 60;
  opacity: var(--eye-opacity);
  filter: blur(var(--eye-blur));
  pointer-events: none;
  will-change: opacity, filter;
  /* 0% scroll motion: never translate with sink */
  transform: scale(var(--eye-scale)) !important;
  transform-origin: center center;
}

.eye.is-diving .eye__water {
  opacity: 1;
}

.eye.is-surfacing {
  z-index: 70;
}

.eye.is-enchanting {
  z-index: 80;
}

.eye.is-orb .eye__sclera {
  clip-path: circle(42% at 50% 50%);
  border-radius: 50%;
}

.eye.is-docked,
body.eye-docked .eye {
  --eye-w: 52px;
  --eye-h: 28px;
  filter: blur(var(--eye-blur)) drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
  z-index: 70;
}

.eye__aura {
  position: absolute;
  inset: -35%;
  border-radius: 50%;
  opacity: calc(var(--eye-glow) * 0.85);
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.35) 0%, rgba(77, 182, 160, 0.22) 38%, transparent 68%);
  filter: blur(8px);
  mix-blend-mode: screen;
  transform: scale(calc(0.75 + var(--eye-glow) * 0.55));
}

.eye__orb {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 42%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%) scale(calc(0.35 + var(--orb-show) * 0.9));
  border-radius: 50%;
  opacity: var(--orb-show);
  pointer-events: none;
  background:
    radial-gradient(circle at 35% 30%, #fff8d6 0%, #d4af37 28%, #4db6a0 62%, #0c2b23 100%);
  box-shadow:
    0 0 18px rgba(212, 175, 55, 0.65),
    0 0 42px rgba(77, 182, 160, 0.45),
    inset 0 0 12px rgba(255, 255, 255, 0.35);
  z-index: 4;
}

.eye__water {
  position: absolute;
  inset: -28% -16% -42%;
  opacity: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 50% 70%, rgba(140, 230, 200, 0.28), transparent 70%),
    linear-gradient(180deg, transparent 18%, rgba(77, 182, 160, 0.22) 46%, rgba(12, 43, 35, 0.58) 78%, rgba(5, 10, 10, 0.78) 100%);
  mask-image: linear-gradient(180deg, transparent 8%, #000 42%, #000 100%);
  transition: opacity 0.2s ease;
  border-radius: 50%;
  mix-blend-mode: screen;
  filter: blur(0.4px);
}

/* Soft water merge while the eye sits over the hero video */
body.has-hero-eye:not(.eye-docked) .eye:not(.is-docked) .eye__sclera {
  box-shadow:
    0 0 18px rgba(100, 210, 175, 0.22),
    0 10px 28px rgba(5, 20, 16, 0.35);
}

body.has-hero-eye:not(.eye-docked) .eye:not(.is-docked) .eye__water {
  opacity: 0.42;
}

body.has-hero-eye:not(.eye-docked) .eye.is-diving .eye__water {
  opacity: 1;
}

.eye-ripple {
  position: fixed;
  width: 120px;
  height: 40px;
  margin-left: -60px;
  margin-top: -20px;
  z-index: 59;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.4);
}

.eye-ripple.is-on {
  opacity: 1;
}

.eye-ripple span {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(118, 199, 183, 0.55);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(77, 182, 160, 0.35), inset 0 0 12px rgba(212, 175, 55, 0.15);
  animation: eyeRipple 1.1s ease-out infinite;
}

.eye-ripple span:nth-child(2) {
  animation-delay: 0.2s;
  border-color: rgba(212, 175, 55, 0.4);
}

.eye-ripple span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes eyeRipple {
  0% {
    transform: scale(0.35);
    opacity: 0.85;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

.eye-spell {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 75;
  pointer-events: none;
  display: none;
}

.eye-portal {
  position: fixed;
  width: 64px;
  height: 64px;
  margin-left: -32px;
  margin-top: -32px;
  z-index: 74;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.2);
}

.eye-portal.is-on {
  opacity: 1;
  transform: scale(1);
}

.eye-portal span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(212, 175, 55, 0.55);
  box-shadow: 0 0 22px rgba(77, 182, 160, 0.4), inset 0 0 16px rgba(212, 175, 55, 0.2);
  animation: eyePortalSpin 1.4s linear infinite;
}

.eye-portal span:nth-child(2) {
  inset: 10%;
  border-color: rgba(77, 182, 160, 0.65);
  animation-direction: reverse;
  animation-duration: 1.1s;
}

.eye-portal span:nth-child(3) {
  inset: 22%;
  border-color: rgba(255, 255, 255, 0.35);
  animation-duration: 0.85s;
}

@keyframes eyePortalSpin {
  0% {
    transform: rotate(0deg) scale(0.85);
    opacity: 0.9;
  }
  100% {
    transform: rotate(360deg) scale(1.15);
    opacity: 0.15;
  }
}

.eye__defs {
  position: absolute;
  width: 0;
  height: 0;
}

.eye__sclera {
  position: relative;
  width: 100%;
  height: 100%;
  background: #ffffff;
  overflow: hidden;
  clip-path: url(#eye-almond);
  opacity: var(--sclera-fade);
}

.eye__ball {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  will-change: transform;
}

.eye__iris {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 45% 40%, #6f9f92 0%, var(--iris) 45%, #2f564c 100%);
  box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.25);
}

.eye__pupil {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 48%;
  height: 48%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #16362c, var(--pupil));
}

.eye__shine {
  position: absolute;
  width: 16%;
  height: 16%;
  left: 58%;
  top: 22%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.35);
  pointer-events: none;
}

.eye__lid {
  position: absolute;
  left: -2%;
  right: -2%;
  pointer-events: none;
  z-index: 2;
  transition: none;
}

.eye__lid--top {
  top: -2%;
  height: 34%;
  background: linear-gradient(180deg, rgba(8, 28, 22, 0.72), rgba(12, 43, 35, 0.35) 70%, transparent);
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
  transform: translateY(calc(var(--lid-close) * 70%));
}

.eye__lid--bottom {
  bottom: -2%;
  height: 22%;
  background: linear-gradient(0deg, rgba(8, 28, 22, 0.45), transparent);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  transform: translateY(calc(var(--lid-close) * -55%));
}

.hero__skill-wrap {
  position: absolute;
  right: max(5%, 1.2rem);
  bottom: 10%;
  z-index: 5;
  max-width: min(360px, 42vw);
}

.hero__skill {
  --why-invert: 0; /* 0 = white pill on dark, 1 = dark pill on light */
  --why-blur: 0px;
  --why-fade: 1;
  --why-glass: 14, 42, 34;
  text-align: right;
  max-width: 100%;
  opacity: var(--why-fade);
  filter: blur(var(--why-blur));
  will-change: opacity, filter, transform;
}

.hero__skill.is-pinned {
  position: fixed !important;
  top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 0.45rem);
  left: 50%;
  right: auto;
  bottom: auto;
  transform: translateX(-50%);
  width: min(92vw, 420px);
  max-width: none;
  text-align: center;
  z-index: 56;
  margin: 0;
}

@media (min-width: 721px) {
  .hero__eye-anchor {
    position: absolute;
    left: max(6%, 1.25rem);
    bottom: 12%;
    margin: 0;
  }

  .hero__stage {
    display: block;
    min-height: calc(100vh - var(--header-h) - 2rem);
  }

  /* Laptop: Why Us stays fixed bottom-right while the page scrolls */
  .hero__skill-wrap,
  .hero__skill-wrap.is-floating-layer {
    position: fixed;
    right: max(1.35rem, 2.5vw);
    bottom: max(1.35rem, 3vh);
    left: auto;
    top: auto;
    /* Above footer/map/header/WA — under nav overlay + cursor only */
    z-index: 70;
    max-width: none;
    width: max-content;
    pointer-events: none;
  }
  .hero__skill-wrap .hero__skill { pointer-events: auto; }

  .hero__skill,
  .hero__skill.is-pinned {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: max-content !important;
    max-width: calc(100vw - 2.75rem);
    text-align: right;
    opacity: 1 !important;
    filter: none !important;
    margin: 0;
    padding: 0.65rem 0.9rem 0.75rem;
    border-radius: 1.2rem;
    /* Classic light glass — white pill + white copy (no adaptive grey) */
    --why-invert: 0 !important;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px) saturate(1.15);
    -webkit-backdrop-filter: blur(10px) saturate(1.15);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.2);
  }

  .hero__skill-label {
    background: #ffffff !important;
    color: #0a1210 !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22) !important;
  }

  .hero__skill-text {
    white-space: nowrap;
    color: #ffffff !important;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45) !important;
    min-height: 1.35em;
    font-size: clamp(1rem, 1.35vw, 1.35rem);
  }

  html[dir="ltr"] .hero__skill-wrap {
    right: auto;
    left: max(1.35rem, 2.5vw);
  }

  html[dir="ltr"] .hero__skill {
    text-align: left;
  }

  /* Laptop WhatsApp: above the news ticker */
  .wa-dock {
    left: max(1.2rem, 2.2vw);
    right: auto;
    bottom: calc(var(--why-ticker-h) + env(safe-area-inset-bottom, 0px) + 0.85rem);
    gap: 0.65rem;
  }

  .wa-fab {
    width: 52px;
    height: 52px;
  }

  html[dir="ltr"] .wa-dock {
    left: auto;
    right: max(1.2rem, 2.2vw);
  }
}

/* Floating WhatsApp icons — compact, always available */
.wa-dock {
  position: fixed;
  z-index: 130;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  left: max(0.7rem, env(safe-area-inset-left, 0px));
  bottom: calc(var(--why-ticker-h) + env(safe-area-inset-bottom, 0px) + 0.65rem);
  pointer-events: none;
}

.wa-fab {
  pointer-events: auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #25d366, #128c7e);
  box-shadow: 0 8px 18px rgba(18, 140, 126, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.wa-fab:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 12px 24px rgba(18, 140, 126, 0.45);
}

.wa-fab:active {
  transform: scale(0.96);
}

.wa-fab + .wa-fab {
  background: linear-gradient(145deg, #2fe47a, #0e7a6c);
}

.why-tab,
.why-close,
.why-list {
  display: none;
}

.why-tab[hidden],
.why-close[hidden],
.why-list[hidden] {
  display: none !important;
}

@media (max-width: 720px) {
  .wa-dock {
    left: max(0.55rem, env(safe-area-inset-left, 0px));
    bottom: calc(var(--why-ticker-h) + env(safe-area-inset-bottom, 0px) + 0.55rem);
    gap: 0.35rem;
    z-index: 130;
  }

  .wa-fab {
    width: 40px;
    height: 40px;
    box-shadow: 0 6px 14px rgba(18, 140, 126, 0.28);
  }

  .wa-fab svg {
    width: 18px;
    height: 18px;
  }

  html[dir="ltr"] .wa-dock {
    left: auto;
    right: max(0.55rem, env(safe-area-inset-right, 0px));
  }

  /* Why Us — full sheet like service cards (mobile only) */
  .why-tab:not([hidden]) {
    display: flex;
    position: fixed;
    top: 42%;
    right: 0;
    z-index: 110;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 7.5rem;
    padding: 0.7rem 0.38rem;
    border: 0;
    border-radius: 12px 0 0 12px;
    background: linear-gradient(180deg, rgba(246, 186, 12, 0.95), rgba(64, 162, 51, 0.92));
    color: #0a1210;
    font-family: inherit;
    font-weight: 800;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    box-shadow: -4px 8px 22px rgba(0, 0, 0, 0.35);
    pointer-events: auto;
  }

  html[dir="ltr"] .why-tab {
    right: auto;
    left: 0;
    transform: none;
    border-radius: 0 12px 12px 0;
    writing-mode: vertical-lr;
    box-shadow: 4px 8px 22px rgba(0, 0, 0, 0.35);
  }

  .why-tab__label {
    display: inline-block;
  }

  .hero__skill-wrap {
    position: fixed !important;
    inset: 0 !important;
    height: 0 !important;
    overflow: visible !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    z-index: 135;
    pointer-events: none;
    order: unset !important;
  }

  .hero__skill-wrap .why-tab {
    pointer-events: auto;
  }

  .hero__skill-wrap.is-open {
    height: auto !important;
    pointer-events: auto;
    display: grid;
    place-items: center;
    padding: max(0.85rem, env(safe-area-inset-top)) 0.85rem max(0.85rem, env(safe-area-inset-bottom));
    background: rgba(2, 8, 6, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .hero__skill,
  .hero__skill.is-pinned {
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    right: auto !important;
    left: auto !important;
    width: min(100%, 520px) !important;
    max-width: none !important;
    height: auto !important;
    max-height: min(88vh, 720px);
    margin: 0 !important;
    padding: 1.25rem 1.15rem 1.4rem;
    border-radius: 20px !important;
    text-align: right !important;
    transform: none !important;
    transition: none;
    z-index: 136 !important;
    pointer-events: none;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 0 !important;
    visibility: hidden;
    filter: none !important;
    --why-invert: 0 !important;
    --why-glass: 8, 22, 16;
    background:
      linear-gradient(165deg, rgba(12, 36, 28, 0.96), rgba(6, 18, 14, 0.98));
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(64, 162, 51, 0.35);
  }

  .hero__skill-wrap.is-open .hero__skill {
    pointer-events: auto;
    opacity: 1 !important;
    visibility: visible;
  }

  html[dir="ltr"] .hero__skill,
  html[dir="ltr"] .hero__skill.is-pinned {
    text-align: left !important;
  }

  .why-close:not([hidden]) {
    display: grid;
    place-items: center;
    position: fixed;
    top: max(0.7rem, env(safe-area-inset-top));
    inset-inline-start: 0.85rem;
    z-index: 137;
    float: none;
    width: 42px;
    height: 42px;
    margin: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
  }

  .hero__skill-wrap.is-open .why-close:not([hidden]) {
    opacity: 1;
    pointer-events: auto;
  }

  .hero__skill-label {
    font-size: 0.9rem;
    background: #f6ba0c !important;
    color: #0a1210 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
  }

  .hero__skill-text {
    display: none !important;
  }

  .why-list:not([hidden]) {
    display: grid;
    gap: 0.55rem;
    list-style: none;
    margin: 0.85rem 0 0;
    padding: 0;
    clear: both;
  }

  .why-list li {
    margin: 0;
    padding: 0.7rem 0.8rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f5fbf8;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.55;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.28s ease, transform 0.28s ease;
  }

  .why-list li.is-in {
    opacity: 1;
    transform: translateY(0);
  }

  body.why-sheet-open,
  body.why-drawer-open {
    overflow: hidden;
  }

  body.why-drawer-open::before {
    display: none;
  }
}


.hero__skill-label {
  display: inline-block;
  background: color-mix(in srgb, #ffffff calc((1 - var(--why-invert)) * 100%), #0c1814 calc(var(--why-invert) * 100%));
  color: color-mix(in srgb, #0a1210 calc((1 - var(--why-invert)) * 100%), #f3faf7 calc(var(--why-invert) * 100%));
  border-radius: 1rem;
  padding: 0.4rem 1.1rem;
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 0.55rem;
  box-shadow:
    0 8px 20px rgba(0, 0, 0, calc(0.22 * (1 - var(--why-invert) * 0.55))),
    0 0 0 1px rgba(255, 255, 255, calc(0.08 * var(--why-invert)));
}

.hero__skill-text {
  margin: 0;
  font-size: clamp(1.05rem, 2.1vw, 1.5rem);
  font-weight: 700;
  min-height: 1.6em;
  color: color-mix(in srgb, #ffffff calc((1 - var(--why-invert)) * 100%), #10201a calc(var(--why-invert) * 100%));
  text-shadow: 0 2px 14px rgba(0, 0, 0, calc(0.45 * (1 - var(--why-invert))));
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.hero__skill-text.is-fading {
  opacity: 0;
  transform: translateY(8px);
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Featured services slider */
.featured {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  padding: 4rem 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(30, 120, 95, 0.16), transparent 50%),
    rgba(5, 10, 10, 0.42);
  overflow: hidden;
}

.featured__slide {
  display: none;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
  min-height: calc(100vh - 8rem);
}

.featured__slide.is-active {
  display: grid;
  animation: fadeUp 0.45s ease;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.featured__num {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.9);
}

.featured__badge {
  display: inline-block;
  background: var(--white);
  color: #0a1210;
  border-radius: 1rem;
  padding: 0.55rem 1.1rem;
  font-weight: 800;
  font-size: clamp(1.1rem, 2.4vw, 1.55rem);
  margin-bottom: 1.1rem;
}

.featured__badge--teal {
  background: linear-gradient(135deg, #e8f8e4, var(--teal-soft));
}

.featured__title {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.35;
}

.featured__desc {
  color: var(--muted);
  max-width: 36rem;
  margin: 0 0 1.6rem;
}

.featured__visual {
  position: relative;
  min-height: 420px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 30% 40%, rgba(64, 162, 51, 0.28), transparent 45%),
    linear-gradient(160deg, #0a1f1a, #040a08 70%);
  border: 1px solid rgba(64, 162, 51, 0.28);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.featured__visual::before {
  content: "01001011010010110100101101001011 10110100101101001011010010110100";
  position: absolute;
  inset: -10%;
  color: rgba(64, 162, 51, 0.18);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: 0.12em;
  word-break: break-all;
  transform: rotate(-8deg);
  pointer-events: none;
}

.featured__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 42%, rgba(64, 162, 51, 0.2) 50%, transparent 58%),
    radial-gradient(circle at 70% 30%, rgba(77, 184, 58, 0.25), transparent 35%);
  pointer-events: none;
}

.featured__icon-wrap {
  position: relative;
  z-index: 1;
  width: min(300px, 74%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  animation: floaty 4.5s ease-in-out infinite;
}

.iso-card {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  background:
    linear-gradient(145deg, rgba(30, 90, 74, 0.95), rgba(8, 28, 22, 0.98));
  border: 1px solid rgba(107, 200, 90, 0.55);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.5),
    0 0 50px rgba(64, 162, 51, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
}

.featured__dots {
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  z-index: 3;
}

.featured__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  background: transparent;
  padding: 0;
}

.featured__dot.is-active {
  background: var(--white);
  height: 22px;
  border-radius: 999px;
}

/* Services */
.services {
  padding: 5rem 0 4rem;
  content-visibility: auto;
  contain-intrinsic-size: 920px;
  background:
    radial-gradient(ellipse at top, rgba(25, 90, 72, 0.14), transparent 55%),
    linear-gradient(180deg, rgba(12, 45, 38, 0.2), rgba(8, 28, 24, 0.08));
}

.sticker {
  display: inline-block;
  position: relative;
  padding: 0.85rem 1.6rem;
  border-radius: 0.7rem;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  transform: rotate(-4deg);
  margin-bottom: 2.2rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.sticker--white {
  background: #f5f5f5;
  color: #1f5c18;
}

.sticker--teal {
  background: linear-gradient(135deg, var(--teal-soft), var(--brand-green));
  color: var(--white);
}

.sticker--gold {
  background: linear-gradient(135deg, #ffd45a, var(--brand-yellow));
  color: #1a2a12;
}

.sticker::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 28px;
  top: -14px;
  right: 28%;
  background: linear-gradient(180deg, var(--brand-yellow), #d4a00a);
  border-radius: 3px;
  transform: rotate(18deg);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.15);
}

.section-head {
  text-align: center;
  margin-bottom: 1.5rem;
}

.section-head__sub {
  margin: 0.25rem auto 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.services__track {
  /* overridden by .film-stage .services__track */
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 320px);
  gap: 1.35rem;
  overflow-x: auto;
  padding: 0.85rem 0.85rem 1.35rem;
  scroll-snap-type: none;
  scrollbar-width: none;
  scroll-behavior: auto;
  overscroll-behavior-x: contain;
  direction: ltr;
}

/* Cinema 3D stage — lighter, clearer coverflow */
.film-strip.film-stage {
  position: relative;
  margin: 0.35rem auto 0.5rem;
  max-width: 100%;
  padding: 0.45rem 0.25rem 0.65rem;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(8, 18, 12, 0.35), rgba(5, 12, 9, 0.22));
  border: 1px solid rgba(64, 162, 51, 0.2);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  overflow: visible;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.film-strip.film-stage.is-dragging {
  cursor: grabbing;
}

.film-strip.film-stage::before,
.film-strip.film-stage::after {
  content: "";
  position: absolute;
  top: 1.4rem;
  bottom: 1.4rem;
  width: 1.4rem;
  z-index: 6;
  pointer-events: none;
}

.film-strip.film-stage::before {
  inset-inline-start: 0;
  background: linear-gradient(to left, transparent, rgba(5, 10, 10, 0.16));
}

.film-strip.film-stage::after {
  inset-inline-end: 0;
  background: linear-gradient(to right, transparent, rgba(5, 10, 10, 0.16));
}

.film-strip__edge {
  height: 14px;
  margin: 0 0.35rem;
  border-radius: 3px;
  background:
    repeating-linear-gradient(
      90deg,
      #0a140f 0 12px,
      #0a140f 12px 20px,
      transparent 20px 28px
    ),
    linear-gradient(180deg, #1a2e1f, #0d1a12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  position: relative;
  animation: filmSprocket 18s linear infinite;
  background-size: 56px 100%, auto;
  z-index: 2;
  opacity: 0.72;
}

.film-strip.is-paused .film-strip__edge,
.film-strip.is-dragging .film-strip__edge {
  animation-play-state: paused;
}

.film-strip__edge::after {
  content: "";
  position: absolute;
  inset: 3px 0;
  background: repeating-linear-gradient(
    90deg,
    transparent 0 12px,
    rgba(5, 10, 10, 0.9) 12px 20px,
    transparent 20px 28px
  );
  background-size: 56px 100%;
}

@keyframes filmSprocket {
  from { background-position: 0 0, 0 0; }
  to { background-position: 56px 0, 0 0; }
}

.film-stage__scene {
  position: relative;
  height: clamp(340px, 52vw, 460px);
  perspective: 1400px;
  perspective-origin: 50% 48%;
  overflow: hidden;
  margin: 0.1rem 0;
  padding: 0;
}

/* Full-bleed infinite horizontal ribbon */
.film-stage.is-ribbon {
  width: 100vw;
  max-width: 100vw;
  margin-inline: calc(50% - 50vw);
  border-radius: 0;
  border-inline: 0;
  padding: 0.35rem 0 0.55rem;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
}

.film-stage.is-ribbon.is-dragging {
  cursor: grabbing;
}

.film-stage.is-ribbon .film-strip__edge {
  margin-inline: 0;
  border-radius: 0;
}

.film-stage.is-ribbon .services__track {
  position: absolute;
  inset: 0;
  display: block;
  overflow: visible;
  padding: 0;
  margin: 0;
  transform-style: preserve-3d;
  background: transparent;
  grid: none;
}

.film-stage.is-ribbon .service-flip.flip-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(210px, 58vw);
  min-height: 0 !important;
  aspect-ratio: 3 / 4;
  margin: 0;
  transform-origin: center center;
  transform-style: preserve-3d;
  border-radius: 16px;
  will-change: transform, filter, opacity;
  transition: box-shadow 0.35s ease;
  pointer-events: none;
  z-index: 1;
  opacity: 0.7;
  filter: brightness(0.85) saturate(0.9);
  -webkit-user-drag: none;
  user-select: none;
}

.film-stage.is-ribbon .flip-card__img {
  pointer-events: none;
  -webkit-user-drag: none;
}

.film-stage.is-ribbon .service-flip.is-near {
  pointer-events: auto;
  cursor: pointer;
}

.film-stage.is-ribbon .service-flip.is-far {
  pointer-events: none;
}

.film-stage.is-ribbon .service-flip.is-active {
  pointer-events: auto;
  cursor: pointer;
  z-index: 20;
  box-shadow:
    0 22px 52px rgba(0, 0, 0, 0.4),
    0 0 0 1.5px rgba(64, 162, 51, 0.55),
    0 0 36px rgba(246, 186, 12, 0.14);
}

.film-stage.is-ribbon .film-stage__beam,
.film-stage.is-ribbon .film-stage__haze,
.film-stage.is-ribbon .film-stage__floor {
  display: none !important;
}

/* Soft edge mist — feathers only the far edges, not the neighbors */
.film-stage__water {
  position: absolute;
  top: 0;
  bottom: 0;
  width: min(18vw, 160px);
  z-index: 9;
  pointer-events: none;
  backdrop-filter: blur(6px) saturate(1.05);
  -webkit-backdrop-filter: blur(6px) saturate(1.05);
}

.film-stage__water--start {
  left: 0;
  background: linear-gradient(
    90deg,
    rgba(5, 12, 9, 0.42) 0%,
    rgba(5, 12, 9, 0.12) 50%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.55) 45%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.55) 45%, transparent 100%);
}

.film-stage__water--end {
  right: 0;
  background: linear-gradient(
    270deg,
    rgba(5, 12, 9, 0.42) 0%,
    rgba(5, 12, 9, 0.12) 50%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(270deg, #000 0%, rgba(0, 0, 0, 0.55) 45%, transparent 100%);
  mask-image: linear-gradient(270deg, #000 0%, rgba(0, 0, 0, 0.55) 45%, transparent 100%);
}

/* Clear focus well in the center */
.film-stage.is-ribbon .film-stage__scene::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(280px, 42vw);
  height: 88%;
  transform: translate(-50%, -50%);
  border-radius: 28px;
  pointer-events: none;
  z-index: 8;
  box-shadow:
    0 0 0 1px rgba(64, 162, 51, 0.08),
    inset 0 0 40px rgba(246, 186, 12, 0.04);
  background: radial-gradient(
    ellipse at 50% 50%,
    rgba(255, 255, 255, 0.03) 0%,
    transparent 68%
  );
}

.film-stage.is-ribbon .film-stage__nav {
  z-index: 12;
}

@media (max-width: 720px) {
  .film-stage.is-ribbon .service-flip.flip-card {
    width: min(190px, 62vw);
  }
  .film-stage__scene {
    height: 360px;
    perspective: 1100px;
  }
  .film-stage__water {
    width: min(16vw, 88px);
    backdrop-filter: blur(4px) saturate(1.05);
    -webkit-backdrop-filter: blur(4px) saturate(1.05);
  }
}

.film-stage__beam {
  position: absolute;
  left: 50%;
  top: -6%;
  width: min(380px, 65%);
  height: 62%;
  transform: translateX(-50%);
  background: linear-gradient(
    180deg,
    rgba(246, 186, 12, 0.08) 0%,
    rgba(64, 162, 51, 0.05) 40%,
    transparent 75%
  );
  clip-path: polygon(40% 0, 60% 0, 88% 100%, 12% 100%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.65;
  animation: none;
}

.film-stage__haze {
  position: absolute;
  inset: 12% 8% 10%;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(64, 162, 51, 0.08), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.film-stage__floor {
  position: absolute;
  left: 50%;
  bottom: 4%;
  width: min(820px, 92%);
  height: 18%;
  transform: translateX(-50%);
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(64, 162, 51, 0.12), transparent 60%),
    rgba(4, 10, 8, 0.28);
  box-shadow: 0 0 0 1px rgba(64, 162, 51, 0.1);
  pointer-events: none;
  z-index: 0;
}

@keyframes beamPulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

.film-stage .services__track {
  position: absolute;
  inset: 0;
  display: block;
  overflow: visible;
  padding: 0;
  margin: 0;
  transform-style: preserve-3d;
  scrollbar-width: none;
  background: transparent;
  grid: none;
}

.film-stage .services__track::-webkit-scrollbar {
  display: none;
}

.film-stage .service-flip.flip-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(220px, 48vw);
  aspect-ratio: 3 / 4;
  min-height: 0;
  margin: 0;
  transform-origin: center center;
  transform-style: flat;
  border-radius: 16px;
  transition: opacity 0.2s ease, box-shadow 0.2s ease;
  filter: none;
  opacity: 0.45;
  pointer-events: none;
  z-index: 1;
  scroll-snap-align: none;
  perspective: none;
}

.film-stage .service-flip .flip-card__face {
  border-radius: 16px;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.film-stage .service-flip.is-active {
  pointer-events: auto;
  opacity: 1;
  filter: none;
  z-index: 20;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(64, 162, 51, 0.35);
}

.film-stage .service-flip.is-near {
  pointer-events: auto;
  cursor: pointer;
  opacity: 0.88;
  filter: none;
}

.film-stage .service-flip.is-active.is-flipped,
.film-stage .service-flip.is-active.is-popped {
  filter: saturate(1.05) brightness(1.04);
}

.film-stage__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 12;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(64, 162, 51, 0.4);
  background: rgba(8, 18, 12, 0.72);
  color: #fff;
  cursor: pointer;
  transition: 0.2s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
}

/* Reverse chevron shape on all stage arrows */
.film-stage__nav svg,
.partner-stage__nav svg {
  transform: scaleX(-1);
}

.film-stage__nav--prev {
  inset-inline-start: 0.45rem;
}

.film-stage__nav--next {
  inset-inline-end: 0.45rem;
}

.film-stage__nav:hover,
.film-stage__nav:focus-visible {
  background: var(--brand-green);
  color: #06210c;
  border-color: var(--brand-green);
  outline: none;
  transform: translateY(-50%) scale(1.06);
}

.service-flip.flip-card {
  scroll-snap-align: none;
  aspect-ratio: 3 / 4;
  min-height: 340px;
}

.service-flip__front .flip-card__title {
  font-size: 1.15rem;
  line-height: 1.35;
  inset-inline: 1rem;
  bottom: 1rem;
}

.service-flip__back {
  gap: 0.45rem;
  padding: 1.1rem 1rem 1.15rem;
  justify-content: flex-start;
  overflow: auto;
}

.service-flip__back strong {
  font-size: 1.05rem;
}

.service-flip__list {
  margin: 0.15rem 0 0.35rem;
  padding: 0 1.1rem 0 0;
  list-style: disc;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
  display: grid;
  gap: 0.28rem;
}

.service-flip__list li::marker {
  color: var(--teal-bright);
}

.services__cta {
  text-align: center;
  margin-top: 0.5rem;
}

/* Service full-size sheet — replaces heavy 3D flip */
.svc-sheet[hidden] {
  display: none !important;
}

.svc-sheet {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  padding: max(0.85rem, env(safe-area-inset-top)) 0.85rem max(0.85rem, env(safe-area-inset-bottom));
  background: rgba(2, 8, 6, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.svc-sheet__close {
  position: absolute;
  top: max(0.7rem, env(safe-area-inset-top));
  inset-inline-end: 0.85rem;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.svc-sheet__panel {
  width: min(100%, 520px);
  max-height: min(88vh, 720px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 20px;
  padding: 1.25rem 1.15rem 1.4rem;
  background:
    linear-gradient(165deg, rgba(12, 36, 28, 0.96), rgba(6, 18, 14, 0.98));
  border: 1px solid rgba(64, 162, 51, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  color: #f5fbf8;
}

.svc-sheet__title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.2rem, 4.5vw, 1.55rem);
  font-weight: 900;
  color: #fff;
}

.svc-sheet__content {
  display: grid;
  gap: 0.55rem;
}

.svc-sheet__content .flip-card__back-kicker,
.svc-sheet__content .service-flip__back-kicker {
  display: inline-block;
  width: fit-content;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(246, 186, 12, 0.18);
  color: var(--brand-yellow);
  font-size: 0.8rem;
  font-weight: 800;
}

.svc-sheet__content strong {
  display: block;
  font-size: 1.05rem;
  color: #fff;
}

.svc-sheet__content .service-flip__list,
.svc-sheet__content ul {
  margin: 0.2rem 0 0.5rem;
  padding: 0 1.1rem 0 0;
  list-style: disc;
  color: rgba(245, 251, 248, 0.82);
  font-size: 0.92rem;
  line-height: 1.55;
  display: grid;
  gap: 0.35rem;
}

.svc-sheet__content .flip-card__cta,
.svc-sheet__content a {
  display: inline-flex;
  margin-top: 0.35rem;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  background: #fff;
  color: #0a1210;
  font-weight: 800;
  text-decoration: none;
  width: fit-content;
}

body.svc-sheet-open {
  overflow: hidden;
}

/* Service cards in stage: front only (no 3D flip cost) */
.film-stage .service-flip.flip-card {
  perspective: none;
}

.film-stage .service-flip .flip-card__inner {
  transform: none !important;
  transition: none;
  transform-style: flat;
}

.film-stage .service-flip .flip-card__back {
  display: none !important;
}

.film-stage .service-flip .flip-card__front {
  position: absolute;
  inset: 0;
  transform: none;
}

.film-stage .service-flip.is-sheet-open {
  outline: 2px solid rgba(246, 186, 12, 0.65);
  outline-offset: 2px;
}


@media (max-width: 820px) {
  .film-stage.is-ribbon .service-flip.flip-card {
    width: min(190px, 58vw);
  }
  .film-stage__nav {
    width: 42px;
    height: 42px;
  }
  .svc-sheet__panel {
    width: min(100%, 100%);
    max-height: 90vh;
    border-radius: 18px;
  }
}

/* Portfolio — real client site screenshots */
.portfolio {
  padding: 5rem 0 4rem;
  background:
    linear-gradient(rgba(5, 10, 10, 0.16), rgba(5, 10, 10, 0.22)),
    radial-gradient(rgba(64, 162, 51, 0.06) 1px, transparent 1px);
  background-size: auto, 36px 36px;
}

.portfolio__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 1.75rem;
  gap: 0.35rem;
}


/* Partners — 3D standing pages (infinite ring) */
.partner-stage {
  --partner-radius: 380px;
  --partner-page-w: min(300px, 78vw);
  position: relative;
  margin: 0.35rem auto 1.75rem;
  max-width: 1180px;
  user-select: none;
  touch-action: pan-y;
}

.partner-stage__scene {
  position: relative;
  height: clamp(420px, 56vw, 560px);
  perspective: 1200px;
  perspective-origin: 50% 62%;
  overflow: visible;
}

.partner-stage__glow {
  position: absolute;
  inset: 28% 8% 4%;
  background:
    radial-gradient(ellipse at 50% 78%, rgba(64, 162, 51, 0.28), transparent 58%),
    radial-gradient(ellipse at 50% 90%, rgba(246, 186, 12, 0.12), transparent 52%);
  pointer-events: none;
  filter: blur(2px);
  z-index: 0;
}

.partner-stage__floor {
  position: absolute;
  left: 50%;
  bottom: 4%;
  width: min(820px, 94%);
  height: 34%;
  transform: translateX(-50%) rotateX(76deg);
  transform-origin: center;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(64, 162, 51, 0.32), transparent 62%),
    radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.07), transparent 70%),
    rgba(6, 14, 10, 0.8);
  box-shadow:
    0 0 0 1px rgba(64, 162, 51, 0.25),
    0 18px 40px rgba(0, 0, 0, 0.45);
  pointer-events: none;
  z-index: 0;
}

.partner-stage__ring {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(6deg) rotateY(var(--ring-rot, 0deg));
  z-index: 1;
}

.partner-page {
  --slot: 0;
  --facing: 1;
  --bend: 0deg;
  position: absolute;
  top: 58%;
  left: 50%;
  width: var(--partner-page-w);
  margin: 0;
  transform-style: preserve-3d;
  transform:
    translate(-50%, -50%)
    rotateY(calc(var(--slot) * 1deg))
    translateZ(var(--partner-radius))
    rotateY(var(--bend));
  display: grid;
  gap: 0.45rem;
  color: inherit;
  text-decoration: none;
  transition: filter 0.2s ease, opacity 0.2s ease;
  filter:
    brightness(calc(0.38 + 0.62 * max(0, var(--facing))))
    saturate(calc(0.55 + 0.45 * max(0, var(--facing))));
  opacity: calc(0.22 + 0.78 * max(0.12, var(--facing)));
  pointer-events: none;
  z-index: 1;
}

.partner-page.is-front {
  pointer-events: auto;
  z-index: 6;
  opacity: 1;
  filter: brightness(1.08) saturate(1.08) drop-shadow(0 22px 32px rgba(0, 0, 0, 0.5));
  cursor: pointer;
}

.partner-page.is-near {
  z-index: 4;
  pointer-events: auto;
  cursor: pointer;
}

.partner-page__shade {
  position: absolute;
  inset: 0 0 auto 0;
  height: calc(100% - 3rem);
  border-radius: 14px;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(
    105deg,
    rgba(0, 0, 0, calc(0.55 * (1 - max(0, var(--facing))))) 0%,
    transparent 42%,
    rgba(246, 186, 12, calc(0.12 * max(0, var(--facing)))) 100%
  );
  mix-blend-mode: soft-light;
}

.partner-stage .partner-page .work-shot__frame {
  transform: rotateX(calc(var(--bend) * -0.35));
  transform-origin: center bottom;
  box-shadow:
    0 22px 40px rgba(0, 0, 0, 0.4),
    8px 0 18px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.partner-stage .partner-page.is-front .work-shot__frame {
  border-color: rgba(64, 162, 51, 0.55);
  box-shadow:
    0 26px 50px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(246, 186, 12, 0.28),
    0 0 28px rgba(64, 162, 51, 0.18);
}

.partner-stage .partner-page .work-shot__meta {
  text-align: center;
  opacity: calc(0.15 + 0.85 * max(0, var(--facing)));
  transform: translateZ(1px);
}

.partner-stage .partner-page.is-front .work-shot__meta {
  opacity: 1;
}

.partner-stage .partner-page:hover,
.partner-stage .partner-page:focus-visible {
  transform:
    translate(-50%, -50%)
    rotateY(calc(var(--slot) * 1deg))
    translateZ(calc(var(--partner-radius) + 8px))
    rotateY(var(--bend));
  outline: none;
}

.partner-stage.is-dragging {
  cursor: grabbing;
}

.partner-stage__nav {
  position: absolute;
  top: 52%;
  transform: translateY(-50%);
  z-index: 10;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(64, 162, 51, 0.45);
  background: rgba(8, 18, 12, 0.88);
  color: #fff;
  cursor: pointer;
  transition: 0.2s ease;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
}

.partner-stage__nav--prev {
  inset-inline-start: 0.35rem;
}

.partner-stage__nav--next {
  inset-inline-end: 0.35rem;
}

.partner-stage__nav:hover,
.partner-stage__nav:focus-visible {
  background: var(--brand-green);
  color: #06210c;
  border-color: var(--brand-green);
  outline: none;
  transform: translateY(-50%) scale(1.06);
}

@media (max-width: 820px) {
  .partner-stage {
    --partner-radius: 250px;
    --partner-page-w: min(230px, 70vw);
  }
  .partner-stage__scene {
    height: 400px;
    overflow: hidden;
  }
  .partner-stage__nav {
    width: 44px;
    height: 44px;
  }
  .partner-page {
    top: 56%;
  }
  .partner-stage .partner-page .work-shot__viewport {
    aspect-ratio: 16 / 11;
  }
}

/* Legacy rail (unused fallback) */
.partner-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 320px);
  gap: 1rem;
  overflow-x: auto;
  padding: 0.35rem 0.15rem 1.1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.partner-rail .work-shot {
  scroll-snap-align: start;
}

.work-showcase:not(.partner-rail) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem 1.2rem;
}

@media (min-width: 980px) {
  .work-showcase:not(.partner-rail) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .partner-rail {
    grid-auto-columns: minmax(300px, 340px);
  }
}

.work-shot__frame {
  border-radius: 16px;
}

.work-shot__chrome {
  padding: 0.35rem 0.55rem;
}

.work-shot__viewport {
  aspect-ratio: 16 / 10;
}

.work-shot__meta strong {
  font-size: 0.98rem;
}


.work-shot {
  display: grid;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
  border-radius: 14px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.work-shot:hover,
.work-shot:focus-visible {
  transform: translateY(-6px);
  outline: none;
}

.work-shot__frame {
  display: grid;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0b140e;
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.work-shot:hover .work-shot__frame,
.work-shot:focus-visible .work-shot__frame {
  border-color: rgba(64, 162, 51, 0.45);
  box-shadow:
    0 20px 44px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(246, 186, 12, 0.22);
}

.work-shot__chrome {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.65rem;
  background: linear-gradient(180deg, #152018, #0f1711);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.work-shot__chrome span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3a4a3d;
}

.work-shot__chrome span:nth-child(1) { background: #ff5f57; }
.work-shot__chrome span:nth-child(2) { background: #febc2e; }
.work-shot__chrome span:nth-child(3) { background: #28c840; }

.work-shot__chrome em {
  margin-inline-start: 0.45rem;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-style: normal;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.45);
  font-family: ui-monospace, Menlo, Consolas, monospace;
  direction: ltr;
  text-align: start;
  background: rgba(0, 0, 0, 0.28);
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
}

.work-shot__viewport {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #07100a;
}

.work-shot__viewport img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.55s ease;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}

.partner-stage,
.partner-page,
.work-shot__frame,
.work-shot__viewport {
  -webkit-user-drag: none;
  user-select: none;
}

.work-shot:hover .work-shot__viewport img,
.work-shot:focus-visible .work-shot__viewport img {
  transform: scale(1.04);
}

.work-shot__meta {
  display: grid;
  gap: 0.15rem;
  padding-inline: 0.15rem;
}

.work-shot__meta strong {
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.35;
}

.work-shot__meta span {
  color: var(--muted);
  font-size: 0.86rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.filter-btn {
  min-height: 42px;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: var(--white);
  transition: 0.2s ease;
}

.filter-btn.is-active,
.filter-btn:hover {
  background: var(--brand-green);
  border-color: var(--brand-green);
  color: #06210c;
  font-weight: 700;
}

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

/* Flip cards */
.flip-card {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: inherit;
  color: inherit;
  perspective: 1200px;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  cursor: pointer;
}

.flip-card.work-card[hidden] {
  display: none !important;
}

.flip-card__inner {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  border-radius: 16px;
}

.flip-card.is-flipped .flip-card__inner {
  transform: rotateY(180deg);
}

.flip-card__face {
  position: absolute;
  inset: 0;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.flip-card__front {
  background: #122a26;
}

.flip-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.flip-card:hover .flip-card__img {
  transform: scale(1.06);
}

.flip-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.78));
}

.flip-card__title {
  position: absolute;
  inset-inline: 0.9rem;
  bottom: 0.9rem;
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  z-index: 1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.flip-card__hint {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.92);
  color: #0a1210;
  font-weight: 800;
  z-index: 1;
}

.flip-card__back {
  transform: rotateY(180deg);
  background:
    radial-gradient(circle at 20% 20%, rgba(212, 175, 55, 0.18), transparent 45%),
    linear-gradient(160deg, #0f2f28, #071411 70%);
  padding: 1.25rem 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.55rem;
  border-color: rgba(77, 182, 160, 0.45);
}

.flip-card__back-kicker {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(77, 182, 160, 0.2);
  color: var(--teal-soft);
  font-size: 0.8rem;
  font-weight: 700;
}

.flip-card__back strong {
  font-size: 1.15rem;
  line-height: 1.4;
}

.flip-card__back p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.flip-card__cta {
  margin-top: 0.35rem;
  display: inline-flex;
  align-self: flex-start;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #d4af37, #4db6a0);
  color: #061510;
  font-weight: 800;
  font-size: 0.88rem;
}

.portfolio__ask {
  margin: 2.2rem auto 0;
  display: flex;
  justify-content: center;
}

.portfolio__ask .btn {
  max-width: 36rem;
  white-space: normal;
  text-align: center;
  line-height: 1.5;
}

/* Blog */
.blog {
  padding: 4.5rem 0 3rem;
  background: rgba(5, 10, 10, 0.16);
}

.blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 1rem;
}

.blog-card.flip-card {
  aspect-ratio: 4 / 5;
  transform: rotate(-2deg);
  transition: transform 0.25s ease;
}

.blog-card.flip-card:nth-child(2) {
  transform: rotate(1.5deg) translateY(-10px);
}

.blog-card.flip-card:nth-child(3) {
  transform: rotate(-3deg);
}

.blog-card.flip-card:hover {
  transform: rotate(0deg) translateY(-6px);
}

.blog-card.flip-card.is-flipped:nth-child(1),
.blog-card.flip-card.is-flipped:nth-child(2),
.blog-card.flip-card.is-flipped:nth-child(3),
.blog-card.flip-card.is-flipped:hover {
  transform: none;
}

.blog-card__front {
  display: flex;
  flex-direction: column;
}

.blog-card__front .flip-card__img {
  height: 62%;
}

.blog-card__caption {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 1rem 1.1rem;
  background: #f4f4f4;
  color: #111;
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.5;
  text-align: right;
}

.blog-card__front::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 28px;
  height: 28px;
  background: var(--teal);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  z-index: 2;
}

/* CTA band */
.cta-band {
  padding: 1.5rem 0 0;
  background: transparent;
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: linear-gradient(90deg, var(--brand-green), #2f8a25 55%, var(--brand-yellow));
  border-radius: 22px;
  padding: 1.4rem 1.6rem;
  color: #06210c;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.cta-band__inner h2 {
  margin: 0;
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 900;
}

/* Footer — above ambient field */
.site-footer {
  position: relative;
  z-index: 2;
  margin-top: 0;
  padding: 0;
  color: var(--white);
  background:
    linear-gradient(180deg, #0a1810 0%, #07140c 40%, #050c09 100%);
  border-top: 1px solid rgba(64, 162, 51, 0.35);
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.35);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr 1.25fr 1.05fr;
  gap: 2rem 1.75rem;
  padding: 3.25rem 0 2.5rem;
}

.footer-col h4 {
  margin: 0 0 1rem;
  font-size: 1.02rem;
  color: var(--brand-yellow);
  font-weight: 800;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-col a:hover,
.footer-col li:hover {
  color: var(--teal-soft);
}

.footer-brand__lead {
  color: rgba(255, 255, 255, 0.78);
  margin: 0.9rem 0 0.65rem;
  line-height: 1.7;
  max-width: 22rem;
  font-size: 0.95rem;
}

.footer-brand__note,
.footer-brand__hours {
  margin: 0 0 0.45rem;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
  max-width: 22rem;
}

.footer-brand__hours {
  color: rgba(246, 186, 12, 0.85);
  font-weight: 600;
  margin-bottom: 1rem;
}

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

.socials a {
  min-width: 42px;
  height: 38px;
  padding: 0 0.65rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(64, 162, 51, 0.28);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
  text-decoration: none;
}

.socials a:hover {
  background: var(--brand-green);
  color: #06210c;
  border-color: var(--brand-green);
}

.footer-services__list {
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem 1rem;
}

.footer-services__list a {
  font-size: 0.9rem;
}

.footer-contact li {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.45rem;
  align-items: baseline;
}

.footer-contact li span:first-child {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
  min-width: 3.2rem;
}

.footer-contact__cta {
  display: inline-flex;
  margin-top: 1rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: var(--brand-green);
  color: #06210c !important;
  font-weight: 800;
  font-size: 0.9rem;
}

.footer-contact__cta:hover {
  background: var(--brand-yellow);
  color: #06210c !important;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.28);
  padding: 1.1rem 0 1.35rem;
}

.footer-bottom__inner {
  display: grid;
  gap: 0.45rem;
  text-align: center;
}

.copyright {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  justify-content: center;
  align-items: center;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.5;
}

.copyright a {
  color: var(--brand-yellow);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.copyright a:hover {
  text-decoration: underline;
}

.footer-bottom__legal {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.55;
  max-width: 52rem;
  margin-inline: auto;
}

.footer-bottom__cr {
  margin: 0;
  color: rgba(246, 186, 12, 0.88);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 980px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 2.25rem 0 1.75rem;
  }
  .footer-services__list {
    grid-template-columns: 1fr;
  }
}

/* Overlay menu */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(3, 6, 6, 0.97);
  display: grid;
  grid-template-columns: 1fr 1fr;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  padding: 1.5rem;
}

.nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.nav-overlay__decor {
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.08);
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 900;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.nav-overlay__panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1rem;
  padding-inline: 1rem;
}

.nav-overlay__close {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 1.4rem;
}

.nav-overlay__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.nav-overlay__links a {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
}

.nav-overlay__links a:hover {
  color: var(--teal-bright);
}

.nav-overlay__socials {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
}

/* Back to top — independent, sits above «لماذا نحن» on the right */
.back-top {
  position: fixed;
  inset-inline-end: max(0.55rem, env(safe-area-inset-right, 0px));
  inset-inline-start: auto;
  left: auto;
  right: auto;
  bottom: calc(var(--why-ticker-h) + env(safe-area-inset-bottom, 0px) + 0.45rem);
  transform: none;
  z-index: 126;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(64, 162, 51, 0.55);
  background: rgba(5, 12, 9, 0.88);
  color: #fff;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
}

.back-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.back-top:hover,
.back-top:focus-visible {
  background: var(--brand-green);
  color: #06210c;
  border-color: var(--brand-green);
  outline: none;
  transform: translateY(-2px);
}

.back-top svg {
  display: block;
}

/* Work card media placeholders */
.media-a { background: linear-gradient(135deg, #1d4e41, #0d2621 40%), radial-gradient(circle at 70% 30%, #59c3a5, transparent 40%); }
.media-b { background: linear-gradient(140deg, #203a43, #0f2027), radial-gradient(circle at 30% 70%, #4db6a0, transparent 45%); }
.media-c { background: linear-gradient(160deg, #232526, #0f2027), radial-gradient(circle at 60% 40%, #76c7b7, transparent 40%); }
.media-d { background: linear-gradient(120deg, #134e4a, #042f2e), radial-gradient(circle at 40% 60%, #5eead4, transparent 40%); }
.media-e { background: linear-gradient(150deg, #111827, #030712), radial-gradient(circle at 50% 40%, #6ee7b7, transparent 42%); }
.media-f { background: linear-gradient(135deg, #1f2937, #111827), radial-gradient(circle at 70% 60%, #34d399, transparent 40%); }

.work-card__media.ph {
  display: grid;
  place-items: center;
  font-size: 2.4rem;
  color: rgba(255, 255, 255, 0.85);
}

/* Responsive tablet */
@media (max-width: 980px) {
  .featured__slide {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 1.25rem;
    padding-bottom: 2.5rem;
  }

  .featured__dots {
    left: 50%;
    top: auto;
    bottom: 0.25rem;
    transform: translateX(-50%);
    flex-direction: row;
  }

  .featured__dot.is-active {
    width: 22px;
    height: 10px;
  }

  .portfolio__grid,
  .blog__grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero__content {
    transform: rotate(-2deg);
  }

  .hero__eye-anchor {
    width: min(34vw, 280px);
  }

  .nav-overlay {
    grid-template-columns: 1fr;
  }

  .nav-overlay__decor {
    display: none;
  }
}

/* Mobile only — desktop/laptop untouched */
@media (max-width: 720px) {
  :root {
    --header-h: 64px;
  }

  .container {
    width: min(100% - 1.35rem, 1200px);
  }

  body.has-brand-cursor {
    cursor: auto;
  }

  body.has-brand-cursor a,
  body.has-brand-cursor button,
  body.has-brand-cursor [role="button"],
  body.has-brand-cursor .flip-card,
  body.has-brand-cursor .service-flip,
  body.has-brand-cursor .partner-page {
    cursor: pointer;
  }

  .cursor,
  .cursor-trail {
    display: none !important;
  }

  /* Header */
  .site-header {
    padding-top: env(safe-area-inset-top, 0px);
    height: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  }

  .site-header__inner {
    gap: 0.4rem;
  }

  .logo {
    min-width: 0;
    flex: 1 1 auto;
    gap: 0.45rem;
    overflow: hidden;
  }

  .logo__mark {
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
  }

  .logo__text {
    min-width: 0;
    overflow: hidden;
  }

  .logo__name {
    font-size: 0.98rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .logo__tag,
  .header-actions .btn--works,
  .header-actions .btn--start {
    display: none !important;
  }

  .header-actions {
    gap: 0.35rem;
    flex: 0 0 auto;
    margin-inline-start: auto;
  }

  .menu-toggle {
    width: 38px;
    height: 38px;
  }

  .lang-switch {
    padding: 0.12rem;
  }

  .lang-switch__btn {
    min-height: 30px;
    padding: 0.2rem 0.5rem;
    font-size: 0.7rem;
  }

  .header-actions .btn--solutions {
    min-height: 30px;
    padding: 0.2rem 0.65rem;
    font-size: 0.72rem;
  }

  /* Shorter EN label so header never overflows */
  .lang-switch__btn[data-lang="en"] {
    font-size: 0;
  }

  .lang-switch__btn[data-lang="en"]::after {
    content: "EN";
    font-size: 0.7rem;
    font-weight: 700;
  }

  .header-eye-slot {
    width: 38px;
    height: 20px;
    margin-inline-end: 0.25rem !important;
    flex: 0 0 auto;
  }

  html[dir="ltr"] .header-eye-slot {
    margin-right: 0.25rem !important;
    margin-left: 0.25rem !important;
  }

  .eye.is-docked,
  body.eye-docked .eye {
    --eye-w: 38px;
    --eye-h: 20px;
  }

  /* Hero: stacked flow like a clean phone composition */
  .hero {
    min-height: auto;
    padding: 1.1rem 0 2rem;
    display: block;
  }

  .hero__stage {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: calc(100svh - var(--header-h) - 1.5rem);
    width: 100%;
    padding: 1.25rem 0 1.6rem;
    gap: 1.35rem;
  }

  /* Keep the almond eye pure — no aura/orb/frame that smears the design */
  .eye__aura,
  .eye__orb,
  .eye-spell,
  .eye-portal {
    display: none !important;
  }

  /* Why-us is a side drawer — don't cover WhatsApp */
  .hero__skill,
  .hero__skill.is-pinned {
    /* z-index set in drawer rules */
  }

  .eye:not(.is-docked) {
    --eye-w: min(68vw, 250px);
    --eye-h: calc(var(--eye-w) / 2.15);
    --water-opacity: 0;
    --rise: 0;
    --eye-sink: 0px;
    z-index: 45;
    /* No drop-shadow: blur+shadow = visible dark oval “frame” on phones */
    filter: blur(var(--eye-blur));
    /* Hard-pin: never translate with scroll / sink */
    transform: scale(var(--eye-scale)) !important;
  }

  .eye.is-diving,
  .eye.is-surfacing {
    filter: blur(var(--eye-blur));
    transform: scale(var(--eye-scale)) !important;
  }

  .eye.is-docked {
    transform: scale(var(--eye-scale)) !important;
  }

  /* Water lives INSIDE the eye shape only — no outer oval frame */
  .eye__water {
    inset: 0 !important;
    border-radius: 0 !important;
    clip-path: url(#eye-almond);
    mix-blend-mode: soft-light;
    opacity: var(--water-opacity, 0);
    background:
      linear-gradient(
        180deg,
        rgba(118, 199, 183, 0.15) 0%,
        rgba(77, 182, 160, 0.35) 42%,
        rgba(12, 43, 35, 0.55) 78%,
        rgba(5, 10, 10, 0.65) 100%
      );
    mask-image: linear-gradient(180deg, transparent 5%, #000 40%, #000 100%);
    transition: none;
  }

  .eye.is-diving .eye__water {
    opacity: var(--water-opacity, 1);
  }

  /* Rising from water: sheen drains upward as the eye breaches */
  .eye.is-surfacing {
    z-index: 72;
  }

  .eye.is-surfacing .eye__water {
    opacity: var(--water-opacity, 0.85);
    mix-blend-mode: soft-light;
    background:
      linear-gradient(
        180deg,
        rgba(118, 199, 183, 0.2) 0%,
        rgba(77, 182, 160, 0.38) 48%,
        rgba(12, 43, 35, 0.5) 100%
      );
    mask-image: linear-gradient(
      180deg,
      transparent 0%,
      #000 calc(var(--rise) * 55%),
      #000 100%
    );
  }

  .eye.is-docked {
    filter: none;
  }

  .eye-ripple {
    width: 64px;
    height: 24px;
    margin-left: -32px;
    margin-top: -12px;
    z-index: 44;
  }

  .eye.is-surfacing ~ .eye-ripple.is-on {
    width: 72px;
    height: 28px;
    margin-left: -36px;
    margin-top: -14px;
    z-index: 71;
  }

  .hero__content {
    position: relative !important;
    transform: none !important;
    margin: 0 !important;
    width: 100%;
    text-align: center;
    order: 1;
  }

  .hero__eyebrow {
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
  }

  .hero__title-line {
    font-size: clamp(2.5rem, 14vw, 3.6rem);
    letter-spacing: -0.045em;
  }

  .hero__eye-anchor {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    top: auto !important;
    width: min(68vw, 250px) !important;
    aspect-ratio: 2.15 / 1;
    margin: 0.2rem auto !important;
    order: 2;
    visibility: hidden;
  }

  /* Why Us handled by side drawer above — neutralize old in-flow / pinned card */
  .hero__skill-wrap {
    /* keep fixed drawer host from the earlier mobile Why block */
  }

  .hero__skill.is-pinned {
    /* drawer styles win via earlier rules + !important */
  }

  .hero__circuit,
  .hero__scribble,
  .hero__line {
    display: none !important; /* line cuts through the eye on phones */
  }

  /* Soft ambient only — no hard ring/frame behind the eye */
  .hero__arcs {
    opacity: 0.35;
    background:
      radial-gradient(circle at 50% 48%, rgba(30, 110, 88, 0.22) 0%, transparent 55%);
  }

  /* Featured slider */
  .featured {
    min-height: auto;
    padding: 2.25rem 0 1.75rem;
  }

  .featured__slide {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 1rem;
    padding-bottom: 2.5rem;
  }

  .featured__dots {
    left: 50% !important;
    right: auto !important;
    top: auto;
    bottom: 0.15rem;
    transform: translateX(-50%) !important;
    flex-direction: row;
  }

  .featured__num {
    font-size: 2.6rem;
    margin-bottom: 0.4rem;
  }

  .featured__badge {
    font-size: 1rem;
    padding: 0.45rem 0.85rem;
  }

  .featured__title {
    font-size: 1.25rem;
  }

  .featured__desc {
    font-size: 0.92rem;
    margin-bottom: 1rem;
  }

  .featured__visual {
    min-height: 200px;
    border-radius: 18px;
  }

  .featured__visual--photo {
    min-height: 0 !important;
    width: min(100%, calc(min(52vh, 20rem) * 3 / 2));
    border-radius: 18px;
  }

  .featured__icon-wrap {
    width: min(180px, 58%);
  }

  /* Services */
  .services {
    padding: 2.5rem 0 2rem;
  }

  .section-head {
    text-align: center;
  }

  .sticker {
    font-size: 1.35rem;
    padding: 0.65rem 1.1rem;
    margin-bottom: 0.85rem;
  }

  .section-head__sub {
    font-size: 0.84rem;
    padding-inline: 0.35rem;
    margin-inline: auto;
  }

  .services__track {
    /* 3D stage owns layout */
  }

  .film-strip {
    padding: 0.4rem 0.15rem 0.55rem;
    border-radius: 10px;
  }

  .film-strip__edge {
    height: 14px;
  }

  .film-stage__scene {
    height: 380px;
  }

  .film-stage .service-flip.flip-card {
    width: min(176px, 44vw);
  }

  .service-flip.flip-card {
    min-height: 0;
    aspect-ratio: 3 / 4;
  }

  .service-flip__back {
    padding: 1rem 0.9rem;
  }

  .service-flip__list {
    font-size: 0.82rem;
    gap: 0.22rem;
  }

  .services__cta {
    margin-top: 0.75rem;
  }

  /* Portfolio / blog */
  .portfolio,
  .blog {
    padding: 2.5rem 0 2rem;
  }

  .portfolio__head {
    justify-content: center;
    align-items: center;
  }

  .partner-stage {
    --partner-radius: 250px;
    --partner-page-w: min(210px, 68vw);
  }

  .partner-stage__scene {
    height: 380px;
  }

  .partner-page {
    top: 55%;
  }

  .partner-rail.work-showcase {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(82%, 1fr);
    grid-template-columns: none;
    gap: 0.85rem;
    overflow-x: auto;
  }

  .work-shot__meta strong {
    font-size: 0.98rem;
  }

  .work-shot__chrome em {
    font-size: 0.6rem;
  }

  .portfolio__grid,
  .blog__grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .blog-card.flip-card,
  .blog-card.flip-card:nth-child(2),
  .blog-card.flip-card:nth-child(3),
  .blog-card.flip-card:hover,
  .blog-card.flip-card.is-flipped {
    transform: none !important;
    aspect-ratio: 4 / 4.3;
  }

  .blog-card__caption {
    font-size: 0.95rem;
    padding: 0.9rem 1rem;
    text-align: center;
  }

  .portfolio__ask .btn {
    font-size: 0.88rem;
    padding: 0.8rem 1rem;
    white-space: normal;
  }

  /* CTA + footer */
  .cta-band {
    padding-top: 0.35rem;
  }

  .cta-band__inner {
    flex-direction: column;
    text-align: center;
    border-radius: 16px;
    padding: 1.15rem 1rem;
    gap: 0.75rem;
  }

  .cta-band__inner h2 {
    font-size: 1.25rem;
  }

  .site-footer {
    margin-top: 0;
  }

  .footer-bottom {
    padding-bottom: calc(1.1rem + env(safe-area-inset-bottom, 0px));
  }

  .copyright {
    font-size: 0.84rem;
  }

  .footer-bottom__legal {
    font-size: 0.74rem;
    padding-inline: 0.35rem;
  }

  .back-top {
    inset-inline-end: max(0.45rem, env(safe-area-inset-right, 0px));
    inset-inline-start: auto;
    left: auto;
    right: auto;
    bottom: calc(var(--why-ticker-h) + env(safe-area-inset-bottom, 0px) + 0.4rem);
    transform: none;
    width: 40px;
    height: 40px;
  }

  html[dir="ltr"] .back-top {
    inset-inline-end: max(0.45rem, env(safe-area-inset-left, 0px));
    transform: none;
  }

  html[dir="ltr"] .hero__skill,
  html[dir="ltr"] .hero__content,
  html[dir="ltr"] .blog-card__caption,
  html[dir="ltr"] .section-head,
  html[dir="ltr"] .cta-band__inner {
    text-align: center !important;
  }

  /* Overlay menu */
  .nav-overlay {
    padding: calc(1rem + env(safe-area-inset-top, 0px)) 1rem 1.5rem;
  }

  .nav-overlay__links a {
    font-size: 1.45rem;
  }

  .nav-overlay__close {
    top: calc(0.75rem + env(safe-area-inset-top, 0px));
  }

  .btn:active,
  .filter-btn:active,
  .flip-card:active .flip-card__inner {
    transform: scale(0.98);
  }

  .flip-card.is-flipped:active .flip-card__inner {
    transform: rotateY(180deg) scale(0.98);
  }
}


@media (max-width: 720px) {
  .partner-rail {
    grid-auto-columns: minmax(82%, 1fr);
  }
}


.featured__visual--photo {
  /* Template frame locked to asset ratio (1200×800 → 3:2). Never stretch. */
  --feat-ratio: 3 / 2;
  aspect-ratio: var(--feat-ratio);
  width: min(100%, 42rem, calc(min(70vh, 36rem) * 3 / 2));
  height: auto;
  min-height: 0 !important;
  max-height: none;
  margin-inline: auto;
  padding: 0;
  display: block;
  align-self: center;
  justify-self: center;
  background: #0a140e;
  place-items: unset;
  overflow: hidden;
}

.featured__visual--photo::before,
.featured__visual--photo::after {
  display: none;
}

.featured__visual--photo picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.featured__photo {
  /* Intrinsic ratio drives layout — never force a mismatched height. */
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-width: none;
  max-height: none;
  aspect-ratio: var(--feat-ratio, 3 / 2);
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.6s ease;
}

.featured__slide.is-active .featured__photo {
  animation: featPhotoIn 0.55s ease;
}

@keyframes featPhotoIn {
  from { transform: scale(1.06); opacity: 0.7; }
  to { transform: scale(1); opacity: 1; }
}

.featured__photo-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(5, 12, 8, 0.15), transparent 45%),
    radial-gradient(circle at 80% 20%, rgba(246, 186, 12, 0.12), transparent 40%);
  pointer-events: none;
}

.featured__visual--photo:hover .featured__photo {
  transform: scale(1.03);
}

/* Site close: map + rights under CTA */
.site-close {
  padding: 1.5rem 0 0;
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, transparent, rgba(5, 12, 9, 0.35) 70%);
}

.site-close__inner {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
  padding-bottom: 1.5rem;
}

.site-close__map {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
  align-items: center;
}

.site-close__map-frame {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(64, 162, 51, 0.3);
  background: #0b140e;
  min-height: 0;
  flex: 1 1 220px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.site-close__map-img {
  width: 100%;
  height: auto;
  aspect-ratio: 540 / 300;
  object-fit: cover;
  display: block;
  vertical-align: middle;
}

.site-close__map-btn {
  align-self: flex-start;
  text-decoration: none;
  white-space: nowrap;
}

.site-close__map-link {
  display: inline-flex;
  margin-top: 0.75rem;
  color: var(--brand-yellow);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.92rem;
}

.site-close__map-link:hover {
  text-decoration: underline;
}

.site-close__rights {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.45rem;
  padding: 1.35rem 1.4rem;
  border-radius: 18px;
  border: 1px solid rgba(246, 186, 12, 0.28);
  background:
    radial-gradient(circle at 90% 10%, rgba(246, 186, 12, 0.12), transparent 45%),
    rgba(8, 18, 12, 0.72);
}

.site-close__logo {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 0.25rem;
}

.site-close__rights strong {
  font-size: 1.15rem;
}

.site-close__rights p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

@media (max-width: 820px) {
  .site-close__inner {
    grid-template-columns: 1fr;
  }
  .site-close__map-btn {
    width: 100%;
    justify-content: center;
  }
  .featured__visual--photo {
    min-height: 0;
  }

  .featured__photo {
    min-height: 0;
  }
}

/* ── Video works / reels showcase ── */
.reels {
  padding: 4.5rem 0 3.2rem;
  background:
    radial-gradient(ellipse 70% 50% at 80% 20%, rgba(246, 186, 12, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 45% at 10% 80%, rgba(64, 162, 51, 0.12), transparent 50%),
    rgba(5, 10, 10, 0.35);
  overflow: hidden;
}

.reels__head {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 1.8rem;
}

.reels__title {
  margin: 0.85rem 0 0.55rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.65rem, 3.4vw, 2.35rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.reels__hint {
  margin: 1.35rem 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}

.reels-stage {
  position: relative;
  width: 100%;
  max-width: 100vw;
}

.reels-stage__track {
  display: flex;
  gap: 1.15rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.5rem max(1.25rem, calc((100vw - 1120px) / 2 + 1rem)) 1.25rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  outline: none;
}

.reels-stage__track::-webkit-scrollbar {
  display: none;
}

.reel-card {
  flex: 0 0 auto;
  width: min(220px, 58vw);
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.reel-card--wide {
  width: min(320px, 78vw);
}

.reel-card__phone {
  position: relative;
  display: block;
  aspect-ratio: 9 / 16;
  border-radius: 1.35rem;
  overflow: hidden;
  background: #06120a;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(64, 162, 51, 0.18);
}

.reel-card__phone--wide {
  aspect-ratio: 16 / 10;
  border-radius: 1rem;
}

.reel-card__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #0a140c;
}

.reel-card__hit {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.reel-card__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, transparent 40%, rgba(5, 10, 10, 0.55));
  color: #fff;
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.reel-card__play svg {
  width: 3rem;
  height: 3rem;
  padding: 0.7rem;
  border-radius: 999px;
  background: rgba(64, 162, 51, 0.92);
  color: #06120a;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.reel-card__mute {
  position: absolute;
  z-index: 2;
  left: 0.7rem;
  bottom: 0.7rem;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(6, 18, 10, 0.78);
  color: #fff;
  display: grid;
  place-items: center;
  backdrop-filter: blur(8px);
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.reel-card__mute:hover {
  border-color: rgba(246, 186, 12, 0.65);
  color: var(--brand-yellow);
}

.reel-card__mute-icon {
  display: none;
}

.reel-card__mute.is-muted .reel-card__mute-icon--on {
  display: block;
}

.reel-card__mute:not(.is-muted) .reel-card__mute-icon--off {
  display: block;
}

.reel-card.is-playing .reel-card__play {
  opacity: 0;
}

.reel-card.is-playing .reel-card__phone {
  border-color: rgba(246, 186, 12, 0.55);
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(246, 186, 12, 0.35);
}

.reel-card__meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0 0.15rem;
}

.reel-card__meta strong {
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.35;
}

.reel-card__meta span {
  color: var(--muted);
  font-size: 0.86rem;
}

.reels-stage__nav {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  z-index: 3;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(8, 20, 12, 0.82);
  color: #fff;
  display: grid;
  place-items: center;
  backdrop-filter: blur(8px);
}

.reels-stage__nav--prev {
  right: max(0.6rem, calc((100vw - 1120px) / 2));
}

.reels-stage__nav--next {
  left: max(0.6rem, calc((100vw - 1120px) / 2));
}

.reels-stage__nav:hover {
  border-color: rgba(246, 186, 12, 0.55);
  color: var(--brand-yellow);
}

html[dir="ltr"] .reels-stage__nav--prev {
  right: auto;
  left: max(0.6rem, calc((100vw - 1120px) / 2));
}

html[dir="ltr"] .reels-stage__nav--next {
  left: auto;
  right: max(0.6rem, calc((100vw - 1120px) / 2));
}

@media (max-width: 720px) {
  .reels {
    padding: 3.4rem 0 2.4rem;
  }

  .reels-stage__nav {
    display: none;
  }

  .reel-card {
    width: min(200px, 62vw);
  }

  .reel-card--wide {
    width: min(280px, 82vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reels-stage__track {
    scroll-behavior: auto;
  }

  .reel-card {
    transition: none;
  }
}
