:root {
  color-scheme: dark;
  --ink: #08131b;
  --deep: #0b1e29;
  --sea: #0f6570;
  --aqua: #70c9c7;
  --ivory: #f7f0de;
  --mist: rgba(247, 240, 222, 0.72);
  --champagne: #d9b76f;
  --line: rgba(247, 240, 222, 0.2);
  --glass: rgba(6, 19, 27, 0.42);
  --shadow: rgba(1, 8, 12, 0.55);
  font-family:
    "Aptos Display",
    "SF Pro Display",
    "Segoe UI",
    system-ui,
    sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  overflow-x: hidden;
}

button,
a {
  font: inherit;
}

.page-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at 78% 18%, rgba(217, 183, 111, 0.16), transparent 31rem),
    linear-gradient(135deg, #08131b 0%, #112b35 45%, #051015 100%);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  padding: clamp(1rem, 2vw, 2rem);
}

.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  z-index: -4;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: 59% 50%;
  transform: scale(1.015);
  filter: saturate(0.92) contrast(1.04);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(5, 13, 18, 0.88) 0%, rgba(5, 13, 18, 0.66) 34%, rgba(5, 13, 18, 0.2) 68%, rgba(5, 13, 18, 0.52) 100%),
    linear-gradient(180deg, rgba(5, 13, 18, 0.36) 0%, rgba(5, 13, 18, 0.1) 48%, rgba(5, 13, 18, 0.72) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(247, 240, 222, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 240, 222, 0.035) 1px, transparent 1px);
  background-size: 5.5rem 5.5rem;
  mask-image: linear-gradient(90deg, black, transparent 72%);
}

.weathering {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 36%, rgba(247, 240, 222, 0.08) 43%, transparent 50%),
    radial-gradient(circle at 22% 82%, rgba(112, 201, 199, 0.18), transparent 27rem);
  mix-blend-mode: screen;
  opacity: 0.78;
}

.wake {
  position: absolute;
  left: -12vw;
  right: -12vw;
  bottom: 12vh;
  height: 1px;
  z-index: -1;
  opacity: 0.42;
  background: linear-gradient(90deg, transparent, rgba(247, 240, 222, 0.42), transparent);
  transform: rotate(-3deg);
  animation: drift 9s ease-in-out infinite alternate;
}

.wake-two {
  bottom: 19vh;
  opacity: 0.27;
  animation-duration: 13s;
  transform: rotate(2deg);
}

.topbar {
  width: min(100%, 1180px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(0.75rem, 2vw, 1.1rem) 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  color: var(--ivory);
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 650;
  letter-spacing: 0;
}

.brand-mark {
  width: 2.55rem;
  aspect-ratio: 1;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(217, 183, 111, 0.62);
  background:
    linear-gradient(145deg, rgba(247, 240, 222, 0.18), rgba(217, 183, 111, 0.07)),
    rgba(4, 18, 25, 0.48);
  color: var(--champagne);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.2);
}

.language-switcher {
  display: grid;
  grid-template-columns: repeat(4, minmax(2.5rem, 1fr));
  gap: 0.25rem;
  padding: 0.25rem;
  border: 1px solid var(--line);
  background: rgba(4, 15, 21, 0.42);
  backdrop-filter: blur(18px);
}

.lang-button {
  min-width: 2.5rem;
  min-height: 2.35rem;
  border: 0;
  color: rgba(247, 240, 222, 0.68);
  background: transparent;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.lang-button[lang="ar"] {
  font-family:
    "Geeza Pro",
    "Dubai",
    "Tahoma",
    "Segoe UI",
    system-ui,
    sans-serif;
  font-size: 1.12rem;
  line-height: 1;
}

.lang-button:hover {
  color: var(--ivory);
  transform: translateY(-1px);
}

.lang-button[aria-pressed="true"] {
  color: #061118;
  background: var(--ivory);
}

.hero-grid {
  width: min(100%, 1180px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, 23rem);
  align-items: end;
  gap: clamp(2rem, 7vw, 6.5rem);
  padding: clamp(3rem, 8vh, 7rem) 0 clamp(2rem, 6vh, 4.5rem);
}

.hero-copy {
  max-width: 47rem;
}

.eyebrow {
  margin: 0 0 1.2rem;
  color: var(--champagne);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 1.7vw, 1.35rem);
}

h1 {
  max-width: 10.6ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.7rem, 10vw, 8.9rem);
  line-height: 0.88;
  font-weight: 500;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 1.1rem 3.8rem var(--shadow);
}

.lede {
  max-width: 42rem;
  margin: clamp(1.25rem, 2.2vw, 1.8rem) 0 0;
  color: var(--mist);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.68;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.35rem;
  margin-top: clamp(1.7rem, 3vw, 2.5rem);
}

.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0 1.25rem;
  color: #07131a;
  background: linear-gradient(135deg, var(--ivory), #d9b76f);
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 1rem 2.6rem rgba(217, 183, 111, 0.22);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.primary-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 1.3rem 3.2rem rgba(217, 183, 111, 0.28);
}

.launch-note {
  color: rgba(247, 240, 222, 0.74);
  font-size: 0.98rem;
}

.signal-panel {
  align-self: end;
  display: grid;
  gap: 0;
  border: 1px solid rgba(247, 240, 222, 0.22);
  background:
    linear-gradient(145deg, rgba(247, 240, 222, 0.12), rgba(247, 240, 222, 0.03)),
    var(--glass);
  backdrop-filter: blur(24px);
  box-shadow: 0 1.2rem 4rem rgba(0, 0, 0, 0.28);
}

.panel-line {
  display: grid;
  gap: 0.44rem;
  padding: 1.12rem 1.18rem;
  border-bottom: 1px solid rgba(247, 240, 222, 0.16);
}

.panel-line:last-child {
  border-bottom: 0;
}

.panel-line span {
  color: var(--champagne);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.panel-line strong {
  color: var(--ivory);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.35;
  font-weight: 620;
}

.hero-footer {
  width: min(100%, 1180px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 0 clamp(0.75rem, 1.7vw, 1.2rem);
  color: rgba(247, 240, 222, 0.66);
  font-size: 0.93rem;
}

.marquee {
  max-width: min(55vw, 44rem);
  overflow: hidden;
  white-space: nowrap;
  color: rgba(247, 240, 222, 0.76);
}

.marquee span {
  display: inline-block;
  animation: tide 18s linear infinite;
}

[dir="rtl"] body {
  font-family:
    "Geeza Pro",
    "Dubai",
    "Tahoma",
    "Segoe UI",
    system-ui,
    sans-serif;
}

[dir="rtl"] .hero::before {
  background:
    linear-gradient(270deg, rgba(5, 13, 18, 0.9) 0%, rgba(5, 13, 18, 0.66) 36%, rgba(5, 13, 18, 0.2) 70%, rgba(5, 13, 18, 0.52) 100%),
    linear-gradient(180deg, rgba(5, 13, 18, 0.36) 0%, rgba(5, 13, 18, 0.1) 48%, rgba(5, 13, 18, 0.72) 100%);
}

[dir="rtl"] .hero::after {
  mask-image: linear-gradient(270deg, black, transparent 72%);
}

[dir="rtl"] .hero-media img {
  object-position: 38% 50%;
}

[dir="rtl"] .brand,
[dir="rtl"] .hero-actions,
[dir="rtl"] .hero-footer {
  direction: rtl;
}

[dir="rtl"] h1 {
  font-family:
    "Geeza Pro",
    "Dubai",
    "Tahoma",
    serif;
  line-height: 1.02;
}

@keyframes drift {
  from {
    transform: translateX(-3vw) rotate(-3deg);
  }

  to {
    transform: translateX(5vw) rotate(2deg);
  }
}

@keyframes tide {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-18%);
  }
}

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

@media (max-width: 840px) {
  .hero {
    min-height: 100svh;
    padding: 1rem;
  }

  .hero-media img {
    object-position: 68% 50%;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(5, 13, 18, 0.66) 0%, rgba(5, 13, 18, 0.48) 32%, rgba(5, 13, 18, 0.84) 100%),
      linear-gradient(90deg, rgba(5, 13, 18, 0.74), rgba(5, 13, 18, 0.2));
  }

  .topbar {
    align-items: start;
  }

  .brand {
    font-size: 0.92rem;
  }

  .brand-mark {
    width: 2.28rem;
  }

  .language-switcher {
    grid-template-columns: repeat(2, minmax(2.3rem, 1fr));
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.6rem;
    align-items: end;
    padding: clamp(3rem, 10vh, 6rem) 0 2rem;
  }

  h1 {
    max-width: 9.8ch;
    font-size: clamp(3.45rem, 18vw, 5.7rem);
  }

  .lede {
    font-size: 1.03rem;
    line-height: 1.62;
  }

  .signal-panel {
    max-width: none;
  }

  .hero-footer {
    display: grid;
    gap: 0.65rem;
  }

  .marquee {
    max-width: 100%;
  }

  [dir="rtl"] .hero-media img {
    object-position: 48% 50%;
  }
}

@media (max-width: 460px) {
  .hero {
    padding: 0.85rem;
  }

  .topbar {
    gap: 0.7rem;
  }

  .brand span:last-child {
    display: none;
  }

  .language-switcher {
    gap: 0.18rem;
    padding: 0.18rem;
  }

  .lang-button {
    min-width: 2.15rem;
    min-height: 2.15rem;
    font-size: 0.82rem;
  }

  h1 {
    font-size: clamp(3.05rem, 17vw, 4.55rem);
  }

  .hero-actions {
    align-items: stretch;
  }

  .primary-link {
    width: 100%;
  }
}
