@import url("transitions.css");

:root {
  --navy: #142440;
  --navy-deep: #0d1728;
  --navy-mid: #1a2d4d;
  --copper: #c49a7e;
  --copper-soft: #e0c09a;
  --copper-deep: #8c6239;
  --white: #ffffff;
  --fog: #f4f1ec;
  --muted: #9aa3b2;
  --ink: #e8edf4;
  --font: "IBM Plex Sans Arabic", "IBM Plex Sans", system-ui, sans-serif;
  --header: 86px;
  --radius: 14px;
  --shadow: 0 24px 60px rgba(7, 12, 22, 0.35);
  --copper-grad: linear-gradient(90deg, #8c6239 0%, #c49a7e 48%, #e8d0b0 100%);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--navy-deep);
  line-height: 1.65;
  font-weight: 400;
}

html {
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4, h5 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.45em;
}

h1 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 300; letter-spacing: 0.14em; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--copper);
  color: var(--navy-deep);
  padding: 8px 14px;
  z-index: 100;
}
.skip-link:focus { left: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 10px;
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn-copper {
  background: var(--copper-grad);
  color: var(--navy-deep);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
}
.btn-full { width: 100%; }

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 36, 61, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(196, 154, 126, 0.14);
  transition:
    background-color 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header);
  gap: 20px;
}
.brand img {
  height: 48px;
  width: auto;
}
.nav {
  display: flex;
  gap: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.nav a[aria-current="page"],
.nav a:hover { color: var(--white); }
.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(196, 154, 126, 0.35);
  background: transparent;
  border-radius: 10px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.menu-btn span {
  width: 18px;
  height: 1.5px;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header));
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  color: var(--white);
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #0a1220;
  transform: scale(1.04);
  opacity: 0;
  transition: opacity 0.5s ease;
}
.hero-bg.is-ready {
  opacity: 1;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 23, 40, 0.22) 0%, rgba(13, 23, 40, 0.38) 52%, rgba(13, 23, 40, 0.88) 100%);
}
.hero-copy { position: relative; padding: 80px 20px 140px; }
.hero-copy .welcome {
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-size: 1.05rem;
}
.hero-copy h1 {
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  margin: 0 0 28px;
}
.wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 90px;
  color: var(--navy-deep);
}
.wave svg { display: block; width: 100%; height: 100%; }

.hero-sheet,
.partner-cinema-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: clamp(80px, 14vw, 130px);
  z-index: 2;
  color: var(--navy-deep);
  pointer-events: none;
  will-change: transform;
}
.hero-sheet svg,
.partner-cinema-sheet svg {
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 -8px 24px rgba(0, 0, 0, 0.25));
}

.band {
  background: var(--navy-deep);
  text-align: center;
  padding: 36px 20px 8px;
}
.band h1 {
  font-size: clamp(1.05rem, 2.2vw, 1.45rem);
  letter-spacing: 0.12em;
  font-weight: 700;
}

.section {
  padding: 88px 0;
  background: var(--navy-deep);
}

.section.dark {
  background: var(--navy);
}

.section.deep {
  background: var(--navy-deep);
}

.section.deep,
.section.dark {
  min-height: 200px;
}

.rule-title {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: center;
  margin-bottom: 42px;
}
.rule-title::before,
.rule-title::after {
  content: "";
  height: 1px;
  flex: 1;
  background: rgba(255, 255, 255, 0.18);
}
.rule-title h3 {
  margin: 0;
  letter-spacing: 0.22em;
  white-space: nowrap;
}

.projects {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.project {
  position: relative;
  background: #101b30;
  border-radius: 16px;
  padding: 18px 16px 16px;
  border: 1px solid rgba(196, 154, 126, 0.12);
  display: flex;
  flex-direction: column;
  min-height: 360px;
  pointer-events: none;
}
.project h3 {
  font-size: 1.02rem;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.project .dev {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.project img {
  width: 100%;
  height: 150px;
  min-height: 150px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 14px;
  background-color: #1a2740;
  transition: opacity 0.35s ease;
  opacity: 0.82;
}
.project img.is-loaded {
  opacity: 1;
}
.facts {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  flex: 1;
}
.facts li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 7px 0;
  color: rgba(255, 255, 255, 0.88);
}
.facts span { font-size: 1rem; }
.project-hit {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  border-radius: inherit;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(196, 154, 126, 0.15);
  pointer-events: auto;
}
.project h3,
.project .dev,
.project .facts,
.project img {
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}
.project-actions {
  position: relative;
  z-index: 5;
  display: grid;
  gap: 8px;
  pointer-events: auto;
}
.project-actions .btn {
  position: relative;
  z-index: 6;
  pointer-events: auto;
}

.projects-3 { grid-template-columns: repeat(3, 1fr); }
.partner-head {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: center;
}
.partner-head-logo {
  width: 100%;
  background: #fff;
  border-radius: 14px;
  padding: 8px;
}
.partner-head .line {
  width: 120px;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  margin: 10px 0 16px;
}
.partner-video {
  margin-top: 36px;
}
.partner-video video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: transparent;
  border-radius: 16px;
}

#partnerPage:empty {
  min-height: calc(100svh - var(--header));
  background: var(--navy-deep);
}

.partner-cinema {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - var(--header));
  overflow: hidden;
  background: #000;
  display: flex;
  align-items: flex-end;
}
.partner-cinema-frame {
  position: relative;
  width: 100%;
  min-height: calc(100svh - var(--header));
  flex: 1;
}
.partner-cinema-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  background: #0a1220;
  opacity: 1;
  will-change: opacity;
  transition: opacity 0.6s ease-in-out;
}
.partner-cinema-video.is-upgrading {
  opacity: 0.5;
  transition: opacity 0.4s ease-out;
}
.partner-cinema-video.is-sharp {
  opacity: 1;
  transition: opacity 0.6s ease-in;
}
.partner-cinema-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(13, 23, 40, 0.12) 0%, transparent 38%, rgba(13, 23, 40, 0.45) 78%, rgba(13, 23, 40, 0.72) 100%);
  pointer-events: none;
}
.partner-cinema-skip {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 3;
}
.partner-cinema-sound {
  position: absolute;
  left: 22px;
  bottom: 22px;
  z-index: 3;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(13, 23, 40, 0.55);
  color: var(--white);
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
}
.partner-cinema-sound svg {
  width: 20px;
  height: 20px;
}
.partner-cinema-sound .icon-on { display: none; }
.partner-cinema-sound.is-on .icon-off { display: none; }
.partner-cinema-sound.is-on .icon-on { display: block; }
.partner-cinema-sound:hover { border-color: var(--copper); color: var(--copper-soft); }

.partner-cinema.is-banner {
  min-height: 0;
  height: auto;
  background: #0d1728;
}
.partner-cinema.is-banner .partner-cinema-video {
  position: relative;
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.partner-cinema.is-banner .partner-cinema-shade {
  background: linear-gradient(180deg, transparent 55%, rgba(13, 23, 40, 0.35) 100%);
}

.partner-cinema.is-vertical {
  justify-content: center;
  align-items: center;
  min-height: calc(100svh - var(--header));
  background: #0d1728;
}
.partner-cinema.is-vertical .partner-cinema-frame {
  position: relative;
  margin: 0 auto;
  width: min(100vw, calc((100svh - var(--header)) * 9 / 16));
  height: min(calc(100svh - var(--header)), calc(100vw * 16 / 9));
  aspect-ratio: 9 / 16;
  overflow: hidden;
  flex: 0 0 auto;
  background: #000;
}
.partner-cinema.is-vertical .partner-cinema-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.partner-cinema.is-vertical .partner-cinema-shade {
  background: linear-gradient(180deg, rgba(13, 23, 40, 0.08) 0%, transparent 32%, rgba(13, 23, 40, 0.38) 78%, rgba(13, 23, 40, 0.62) 100%);
}
.partner-cinema.is-vertical .partner-cinema-skip,
.partner-cinema.is-vertical .partner-cinema-sound {
  z-index: 3;
}

.partner-head .kicker {
  color: var(--copper);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.project-ribbon {
  position: absolute;
  top: 14px;
  right: 12px;
  z-index: 2;
  background: var(--copper-grad);
  color: var(--navy-deep);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 6px;
  pointer-events: none;
}
.project:has(.project-ribbon) h3,
.project:has(.project-ribbon) .dev {
  padding-right: 7.6rem;
}

.venice {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 0;
  margin-bottom: 72px;
  border-radius: 18px;
  overflow: hidden;
  background: #101b30;
  border: 1px solid rgba(196, 154, 126, 0.22);
  box-shadow: var(--shadow);
  align-items: stretch;
}
.venice-visual {
  position: relative;
  min-height: 520px;
  background: #0a1220;
}
.venice-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #0a1220;
  border-radius: 8px;
}
.venice-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  background: #0a1220;
  opacity: 1;
  will-change: opacity;
  transition: opacity 0.3s ease-in-out;
  min-height: 200px;
}
.venice-hero-img:not([src]) {
  background: linear-gradient(135deg, #0a1220 25%, #152238 50%, #0a1220 75%);
  background-size: 200% 200%;
  animation: venice-shimmer 1.5s infinite;
}
@keyframes venice-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.venice-hero-img.is-upgrading {
  opacity: 0.35;
  transition: opacity 0.3s ease-out;
}
.venice-hero-img.is-sharp {
  opacity: 1;
  transition: opacity 0.5s ease-in;
}
.venice-visual.is-natural {
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  background: #070d18;
}
.venice-visual.is-natural .venice-stage {
  position: relative;
  inset: auto;
  flex: 1 1 auto;
  min-height: 280px;
}
.venice-visual.is-natural .venice-hero-img,
.venice-visual.is-natural .venice-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #070d18;
}
.venice-hero-video {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #070d18;
}
.venice-visual.is-showing-video .venice-hero-img {
  display: none;
}
.venice-visual.is-showing-video .venice-hero-video {
  display: block;
}
.venice-visual.is-natural .venice-gallery {
  position: relative;
  inset: auto;
  flex: 0 0 auto;
  background: #0a1220;
  padding: 10px;
}
.venice-gallery {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 14px 10px 10px;
  background: linear-gradient(to top, rgba(10, 18, 32, 0.88) 0%, rgba(10, 18, 32, 0.35) 62%, transparent 100%);
}
.venice-gallery-4 {
  grid-template-columns: repeat(4, 1fr);
}
.venice-gallery-5 {
  grid-template-columns: repeat(5, 1fr);
}
.venice-gallery-6 {
  grid-template-columns: repeat(6, 1fr);
}
.venice-thumb {
  position: relative;
  padding: 0;
  margin: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  background: transparent;
  opacity: 0.62;
  display: block;
  transition: border-color 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}
.venice-thumb img {
  width: 100%;
  height: 78px;
  object-fit: cover;
  display: block;
  border-radius: 4px;
  pointer-events: none;
  transition: transform 0.3s ease;
}
.venice-thumb:hover {
  opacity: 0.9;
  transform: scale(1.03);
}
.venice-thumb:hover img {
  transform: scale(1.05);
}
.venice-thumb.is-active {
  opacity: 1;
  border-color: var(--copper);
  transform: scale(1.05);
}
.venice-thumb.is-active img {
  transform: scale(1.02);
}
.venice-thumb-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  background: rgba(200, 160, 110, 0.85);
  border-radius: 50%;
  pointer-events: none;
  transition: transform 0.3s ease;
}
.venice-thumb-play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 55%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 9px 0 9px 14px;
  border-color: transparent transparent transparent #fff;
}
.venice-thumb:hover .venice-thumb-play {
  transform: translate(-50%, -50%) scale(1.15);
}
.venice-panel {
  padding: 36px 34px 32px;
  display: flex;
  flex-direction: column;
}
.venice-badge {
  display: inline-block;
  align-self: flex-start;
  margin: 0 0 14px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(196, 154, 126, 0.45);
  color: var(--copper-soft);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.venice-panel h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  letter-spacing: 0.16em;
  margin-bottom: 10px;
}
.venice-headline {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.4;
  margin-bottom: 12px;
  text-transform: none;
}
.venice-text {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 300;
  font-size: 0.95rem;
  margin-bottom: 22px;
}
.venice-price {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.venice-price span {
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.venice-price strong {
  font-size: 1.7rem;
  letter-spacing: 0.08em;
  color: var(--copper-soft);
  font-weight: 700;
}
.venice-plan {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}
.venice-plan-3 {
  grid-template-columns: repeat(3, 1fr);
}
.venice-plan-3 .venice-plan-item {
  padding: 14px 8px;
}
.venice-plan-3 .venice-plan-item strong {
  font-size: 1.02rem;
  letter-spacing: 0.02em;
}
.venice-plan-3 .venice-plan-item span {
  letter-spacing: 0.06em;
  line-height: 1.35;
}
.venice-units {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}
.venice-unit {
  background: rgba(196, 154, 126, 0.08);
  border: 1px solid rgba(196, 154, 126, 0.22);
  border-radius: 12px;
  padding: 14px 12px;
  text-align: center;
}
.venice-unit span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper-soft);
  margin-bottom: 6px;
}
.venice-unit strong {
  display: block;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--white);
}
.venice-unit em {
  display: block;
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}
.venice-plan-item {
  background: rgba(196, 154, 126, 0.08);
  border: 1px solid rgba(196, 154, 126, 0.22);
  border-radius: 12px;
  padding: 16px 14px;
  text-align: center;
}
.venice-plan-item strong {
  display: block;
  font-size: 1.85rem;
  letter-spacing: 0.06em;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
.venice-plan-item span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper-soft);
}
.venice-note {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  font-weight: 300;
  margin-bottom: 22px;
}
.venice-nearby {
  margin: 0 0 18px;
}
.venice-nearby p {
  margin: 0 0 10px;
  color: var(--copper-soft);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.venice-nearby ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.venice-nearby li {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.35;
  padding-inline-start: 12px;
  position: relative;
}
.venice-nearby li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--copper);
}
.venice-actions {
  display: grid;
  gap: 8px;
  margin-top: auto;
}
.venice.is-flip .venice-visual {
  order: 2;
}

.venice.is-enhanced .venice-visual {
  min-height: 520px;
}
.venice.is-enhanced .venice-hero-img {
  object-fit: cover;
  object-position: center center;
}
.venice-panel.is-enhanced .venice-text {
  font-size: 1rem;
  line-height: 1.75;
  letter-spacing: 0.015em;
  color: rgba(255, 255, 255, 0.84);
}
.venice-expand {
  margin: -6px 0 18px;
}
.venice-expand summary {
  cursor: pointer;
  color: var(--copper-soft);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  list-style: none;
  padding: 4px 0;
  transition: color 0.2s ease;
}
.venice-expand summary::-webkit-details-marker {
  display: none;
}
.venice-expand summary::after {
  content: " +";
  color: var(--copper);
}
.venice-expand[open] summary::after {
  content: " −";
}
.venice-expand summary:hover {
  color: var(--white);
}
.venice-expand ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.venice-expand li {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.35;
  padding-inline-start: 12px;
  position: relative;
}
.venice-expand li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--copper);
}
.venice-collections {
  margin-bottom: 20px;
}
.venice-collections ul {
  grid-template-columns: 1fr;
  gap: 6px;
}
.venice-collections li {
  font-size: 0.82rem;
  line-height: 1.4;
}

@media (min-width: 981px) {
  .venice.is-enhanced {
    align-items: stretch;
  }
  .venice.is-enhanced .venice-panel.is-enhanced {
    justify-content: center;
  }
  .venice.is-enhanced .venice-visual {
    min-height: 100%;
  }
}

.why {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
}
.why-logo {
  display: grid;
  place-items: center;
}
.why-logo img {
  width: min(360px, 88%);
  height: auto;
  object-fit: contain;
}
.why h3 {
  letter-spacing: 0.16em;
  margin-bottom: 8px;
}
.why h3 + .line {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  margin-bottom: 22px;
}
.why h5 {
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.why p { color: rgba(255, 255, 255, 0.82); font-weight: 300; }
.checks { list-style: none; padding: 0; margin: 18px 0 0; }
.checks li {
  padding: 7px 0 7px 28px;
  position: relative;
  color: var(--white);
}
.checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--copper-soft);
}

.dream {
  position: relative;
  min-height: 420px;
  display: grid;
  align-items: center;
  overflow: hidden;
}
.dream-bg {
  position: absolute;
  inset: 0;
  background-color: var(--navy-deep);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.dream-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 23, 40, 0.82), rgba(13, 23, 40, 0.25));
}
.dream-copy {
  position: relative;
  color: var(--white);
  padding: 72px 0;
}
.dream-copy p { font-weight: 300; margin-bottom: 8px; }
.dream-copy h1 { margin: 0 0 10px; letter-spacing: 0.04em; text-transform: none; }
.dream-copy .sub { opacity: 0.85; margin-bottom: 22px; }

.ceo {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.ceo .kicker {
  color: var(--copper);
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.ceo h5 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.ceo .tag {
  font-weight: 300;
  margin-bottom: 18px;
  letter-spacing: 0.04em;
  text-transform: none;
}
.ceo p { color: rgba(255, 255, 255, 0.82); font-weight: 300; }
.ceo-photo {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  min-height: 420px;
  background: #0d1728;
}
.ceo-photo img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: contain;
  object-position: center;
  display: block;
}

.partners-wrap {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  gap: 8px;
  align-items: center;
  overflow: hidden;
  max-width: 100%;
}
.partners-viewport {
  overflow: hidden;
  container-type: inline-size;
  contain: paint;
  max-width: 100%;
}
.partners {
  display: flex;
  gap: 16px;
  transition: transform 0.5s ease;
}
.partner {
  flex: 0 0 calc((100cqi - 48px) / 4);
  background: #fff;
  border: 0;
  box-shadow: none;
  border-radius: 14px;
  aspect-ratio: 2.45 / 1;
  overflow: hidden;
}
.partner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.partners-nav {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.85;
}
.partners-nav:hover { opacity: 1; color: var(--copper); }
.partner-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}
.partner-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #3a4a63;
  cursor: pointer;
}
.partner-dots button.active { background: var(--white); }

.team-showcase {
  max-width: 1100px;
  margin: 0 auto;
}
.team-lede {
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: center;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.02em;
}
.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 36px 42px;
  margin: 0 auto 52px;
  padding: 8px 12px 4px;
}
.team-member {
  width: min(230px, 70vw);
  text-align: center;
}
.team-member-frame {
  position: relative;
  overflow: hidden;
  transform: skewX(-10deg);
  background: #15233a;
  border-radius: 2px;
  border-left: 4px solid var(--copper);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.team-member-media {
  transform: skewX(10deg) scale(1.12);
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.team-member-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}
.team-member-media img.team-face-high {
  object-position: center top;
}
.team-member-meta {
  margin-top: 16px;
  transform: skewX(-10deg);
  padding: 12px 16px 14px;
  background: linear-gradient(105deg, rgba(196, 154, 126, 0.22) 0%, rgba(16, 27, 48, 0.96) 42%);
  border-left: 3px solid var(--copper);
  border-radius: 2px;
}
.team-member-meta h4,
.team-member-meta p {
  transform: skewX(10deg);
  margin: 0;
}
.team-member-meta h4 {
  font-size: 0.92rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}
.team-member-meta p {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-style: italic;
  letter-spacing: 0.04em;
}
@media (hover: hover) and (pointer: fine) {
  .team-member:hover .team-member-frame {
    transform: skewX(-10deg) translateY(-6px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
    border-left-color: var(--copper-soft);
  }
}
.team-photo {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #101b30;
  border: 1px solid rgba(196, 154, 126, 0.14);
}
.team-photo img {
  width: 100%;
  height: min(420px, 52vw);
  object-fit: cover;
  display: block;
}
.team-photo.is-portrait {
  max-width: 720px;
  margin-inline: auto;
}
.team-photo.is-portrait img {
  height: min(820px, 110vw);
  object-fit: contain;
  background: #0d1728;
}
.team-photo figcaption {
  padding: 14px 16px 16px;
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

@media (max-width: 640px) {
  .team-grid {
    gap: 28px 18px;
    margin-bottom: 36px;
  }
  .team-member {
    width: min(200px, 78vw);
  }
  .team-member-frame,
  .team-member-meta {
    transform: skewX(-6deg);
  }
  .team-member-media {
    transform: skewX(6deg) scale(1.1);
  }
  .team-member-meta h4,
  .team-member-meta p {
    transform: skewX(6deg);
  }
  @media (hover: hover) and (pointer: fine) {
    .team-member:hover .team-member-frame {
      transform: skewX(-6deg) translateY(-6px);
    }
  }
}

.lead {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.lead h3 { letter-spacing: 0.16em; }
.lead .line {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  margin: 14px 0 18px;
}
.lead h5 {
  font-weight: 300;
  letter-spacing: 0.16em;
  margin-bottom: 22px;
}
.form {
  display: grid;
  gap: 12px;
  max-width: 640px;
  margin: 0 auto;
}
.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 0;
  border-radius: 10px;
  font: 400 1rem var(--font);
  background: var(--white);
  color: var(--navy);
}
.phone-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 8px;
}
.phone-row select { padding-inline: 8px; }
.form .btn { margin-top: 4px; border-radius: 8px; padding: 16px; font-size: 0.95rem; }
.lead-submit-status {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  color: var(--copper-soft);
  font-size: 0.86rem;
  text-align: center;
}

.map-card {
  margin-top: 36px;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 280px;
}
.map-card .brand-panel {
  display: grid;
  place-items: center;
  padding: 32px;
}
.map-card .brand-panel img {
  width: min(280px, 88%);
  height: auto;
  object-fit: contain;
}
.map-card iframe { width: 100%; height: 100%; min-height: 280px; border: 0; }

.page-hero {
  padding: 48px 0 12px;
}
.page-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.page-grid > * {
  min-width: 0;
}
.page-grid img.rounded {
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
  min-height: 420px;
}
@media (max-width: 980px) {
  .page-grid {
    gap: 28px;
  }
  .page-grid .page-copy {
    order: -1;
  }
  .page-grid img.rounded {
    min-height: 240px;
    max-height: 320px;
  }
}
.page-copy h1 {
  font-size: 2rem;
  letter-spacing: 0.16em;
}
.page-copy .line {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  margin: 10px 0 18px;
}
.page-copy h5 {
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.page-copy p { color: rgba(255, 255, 255, 0.82); font-weight: 300; }

.career-intro {
  max-width: 640px;
  margin: 0 auto 8px;
  text-align: center;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 300;
}
.career-perks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}
.career-perk {
  padding: 22px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
}
.career-perk h4 {
  margin: 0 0 8px;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
}
.career-perk p {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 300;
  line-height: 1.55;
}
.career-roles {
  display: grid;
  gap: 14px;
  margin-top: 24px;
  max-width: 900px;
  margin-inline: auto;
}
.role-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
}
.role-card h4 { margin: 0 0 8px; font-size: 1.05rem; }
.role-meta {
  margin: 0 0 6px;
  font-size: 0.78rem;
  color: var(--copper-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.role-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 300;
  font-size: 0.92rem;
  line-height: 1.55;
}
.role-card .btn { white-space: nowrap; }

.contact-split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}
.contact-list { display: grid; gap: 22px; margin-top: 8px; }
.contact-item h3 {
  color: var(--copper);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  margin-bottom: 6px;
}
.contact-item p { margin: 0; font-weight: 400; }
.socials { display: flex; gap: 10px; margin-top: 8px; }
.socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: grid;
  place-items: center;
  font-size: 0.78rem;
}
.socials a:hover { border-color: var(--copper); color: var(--copper); }

.footer {
  background: var(--navy-deep);
  border-top: 1px solid rgba(196, 154, 126, 0.12);
  padding: 36px 0 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
  padding-bottom: 24px;
}
.footer h3 {
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  margin-bottom: 10px;
}
.footer a { display: inline-block; margin: 4px 8px 4px 0; }
.footer a:hover { color: var(--copper-soft); }
.legal {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
}

.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  z-index: 60;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35);
}
.wa-float svg { width: 28px; height: 28px; }
.to-top {
  position: fixed;
  right: 22px;
  bottom: 90px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(13, 23, 40, 0.8);
  color: var(--white);
  display: grid;
  place-items: center;
  z-index: 60;
}

@media (max-width: 980px) {
  .why,
  .ceo,
  .page-grid,
  .contact-split,
  .map-card,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .projects { grid-template-columns: repeat(2, 1fr); }
  .projects-3 { grid-template-columns: 1fr; }
  .partner-head { grid-template-columns: 1fr; }
  .venice {
    grid-template-columns: 1fr;
  }
  .venice.is-flip .venice-visual { order: 0; }
  .venice-visual { min-height: 340px; }
  .venice-visual.is-natural { min-height: 0; }
  .venice-visual.is-natural .venice-stage {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
  .venice-expand ul {
    grid-template-columns: 1fr;
  }
  .venice-thumb-play {
    width: 28px;
    height: 28px;
  }
  .venice-thumb-play::before {
    border-width: 7px 0 7px 10px;
  }
  .partner-cinema { min-height: 88svh; }
  .partner-cinema.is-banner { min-height: 0; }
  .partner-cinema.is-vertical .partner-cinema-frame {
    width: 100%;
    height: calc(100svh - var(--header));
    max-height: none;
    aspect-ratio: auto;
  }
  .partner-cinema.is-vertical .partner-cinema-video {
    object-fit: cover;
  }
  .nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    background: var(--navy-deep);
    flex-direction: column;
    padding: 20px 24px 28px;
    gap: 16px;
  }
  .nav.open { display: flex; }
  .menu-btn { display: flex; }
  .header-inner { position: relative; }
  .hero { min-height: 78vh; }
  .hero-bg { object-position: center center; }
  .career-perks { grid-template-columns: 1fr; }
  .role-card { grid-template-columns: 1fr; }
  .role-card .btn { justify-self: start; }
  .partners-wrap { grid-template-columns: 32px 1fr 32px; }
  .partner { flex-basis: calc((100cqi - 16px) / 2); }
}

@media (max-width: 640px) {
  .partner { flex-basis: 100cqi; }
  .projects { grid-template-columns: 1fr; }
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline-start: auto;
}
.lang-btn {
  min-width: 36px;
  padding: 6px 10px;
  border: 1px solid rgba(196, 154, 126, 0.35);
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.lang-btn:hover,
.lang-btn.is-active {
  color: var(--white);
  border-color: var(--copper-soft);
  background: rgba(196, 154, 126, 0.12);
}

html.lang-ar body {
  direction: rtl;
  text-align: right;
}
html.lang-ar .nav,
html.lang-ar .footer-grid,
html.lang-ar .checks li,
html.lang-ar .facts li,
html.lang-ar .contact-list,
html.lang-ar .venice-panel,
html.lang-ar .page-copy,
html.lang-ar .lead,
html.lang-ar .why > div:last-child {
  text-align: right;
}
html.lang-ar .checks li {
  padding-inline-start: 0;
  padding-inline-end: 28px;
}
html.lang-ar .checks li::before {
  inset-inline-start: auto;
  inset-inline-end: 0;
}
html.lang-ar .facts li {
  flex-direction: row-reverse;
  justify-content: flex-start;
  text-transform: none;
  letter-spacing: 0;
}
html.lang-ar .venice.is-flip {
  direction: ltr;
}
html.lang-ar .venice.is-flip .venice-panel {
  direction: rtl;
  text-align: right;
}
html.lang-ar .venice-plan-item span {
  text-transform: none;
  letter-spacing: 0;
}
html.lang-ar .venice-plan-item strong {
  direction: ltr;
  unicode-bidi: isolate;
}
html.lang-ar .phone-row {
  flex-direction: row-reverse;
}
html.lang-ar .role-card {
  text-align: right;
}
html.lang-ar .partners-viewport {
  direction: ltr;
}
html.lang-ar .partners-nav.prev {
  transform: scaleX(-1);
}
html.lang-ar .partners-nav.next {
  transform: scaleX(-1);
}
html.lang-ar .team-member-frame,
html.lang-ar .team-member-meta {
  transform: skewX(10deg);
  border-left: 0;
  border-right: 4px solid var(--copper);
}
html.lang-ar .team-member-media {
  transform: skewX(-10deg) scale(1.12);
}
html.lang-ar .team-member-meta {
  border-right-width: 3px;
}
html.lang-ar .team-member-meta h4,
html.lang-ar .team-member-meta p {
  transform: skewX(-10deg);
}
html.lang-ar .to-top {
  inset-inline-end: auto;
  inset-inline-start: 24px;
}
html.lang-ar .wa-float {
  inset-inline-end: auto;
  inset-inline-start: 24px;
}
@media (max-width: 980px) {
  html.lang-ar .lang-switch {
    margin-inline-start: 0;
    order: 2;
  }
  html.lang-ar .menu-btn {
    order: 3;
  }
}

/* ============================================================
   PERFORMANCE OPTIMIZATIONS FOR MOBILE
   ============================================================ */

.venice-hero-img,
.partner-cinema-video {
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

@media (max-width: 768px) {
  .section {
    padding: 48px 0;
  }

  .project {
    min-height: 300px;
    padding: 14px 12px 12px;
  }

  .project img {
    height: 120px;
    min-height: 120px;
  }

  .venice-hero-img {
    image-rendering: auto;
  }

  .venice-thumb img {
    height: 50px;
  }

  .venice:hover,
  .project:hover {
    transform: none !important;
    box-shadow: none !important;
  }

  .venice-thumb:hover {
    transform: none !important;
  }

  .venice-hero-img:not([src]) {
    animation: none !important;
  }

  .partner-cinema:not(.is-scrolling):not(.is-vertical) .partner-cinema-video {
    animation: none !important;
  }

  .hero-bg {
    animation: none !important;
  }

  .venice {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  }

  .venice-hero-img {
    transition: opacity 0.2s ease !important;
  }

  .venice-stage {
    min-height: 200px;
    background: #0a1220;
  }

  .venice-gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    padding: 8px 6px 6px;
  }

  .venice-gallery-4,
  .venice-gallery-5,
  .venice-gallery-6 {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 480px) {
  .project {
    min-height: 260px;
  }

  .project img {
    height: 100px;
    min-height: 100px;
  }

  .venice-gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
    padding: 6px 4px 4px;
  }

  .venice-gallery-4,
  .venice-gallery-5,
  .venice-gallery-6 {
    grid-template-columns: repeat(3, 1fr);
  }

  .venice-thumb img {
    height: 40px;
  }
}

/* Projects should render immediately */
.project {
  display: flex;
  flex-direction: column;
  opacity: 1;
  transform: none;
  visibility: visible;
}

#partners .projects {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

@media (max-width: 980px) {
  #partners .projects {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  #partners .projects {
    grid-template-columns: 1fr;
  }
}

