:root {
  color-scheme: light;
  --ink: #111720;
  --muted: #5d6672;
  --line: rgba(17, 23, 32, 0.14);
  --navy: #071421;
  --navy-soft: #112234;
  --gold: #c99b45;
  --gold-deep: #9b7435;
  --ivory: #f6f1e7;
  --paper: #fbfaf7;
  --white: #ffffff;
  --steel: #d9dee5;
  --copper: #7d443a;
  --shadow: 0 18px 50px rgba(7, 20, 33, 0.14);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans Arabic", "Noto Sans SC", "PingFang SC", Arial, sans-serif;
  letter-spacing: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: inherit;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(210px, 280px) 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: rgba(7, 20, 33, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border: 1px solid rgba(201, 155, 69, 0.7);
  border-radius: 50%;
  color: var(--gold);
  background: rgba(255, 255, 255, 0.06);
  font-size: 13px;
  font-weight: 700;
}

.brand-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand-copy strong {
  white-space: nowrap;
  font-size: 15px;
}

.brand-copy small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(10px, 1.4vw, 20px);
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

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

.site-nav a {
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--gold);
}

.language-switcher {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.language-button {
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  background: transparent;
  cursor: pointer;
}

.language-button.active {
  color: var(--navy);
  background: var(--gold);
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 20, 33, 0.18), rgba(7, 20, 33, 0.84) 58%, rgba(7, 20, 33, 0.92)),
    linear-gradient(180deg, rgba(7, 20, 33, 0.28), rgba(7, 20, 33, 0.54));
}

[dir="ltr"] .hero-overlay {
  background:
    linear-gradient(270deg, rgba(7, 20, 33, 0.18), rgba(7, 20, 33, 0.84) 58%, rgba(7, 20, 33, 0.92)),
    linear-gradient(180deg, rgba(7, 20, 33, 0.28), rgba(7, 20, 33, 0.54));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
  margin-inline: clamp(18px, 8vw, 112px);
  padding-top: 96px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}

.hero h1,
.section h2 {
  margin: 0;
  color: inherit;
  font-weight: 760;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 12ch;
  font-size: 5.75rem;
}

[dir="ltr"] .hero h1 {
  max-width: 13ch;
}

.hero-subtitle {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.45rem;
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: var(--navy);
  background: var(--gold);
}

.button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.32);
}

.trust-line {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--navy);
  color: var(--white);
}

.signal-strip span {
  min-height: 68px;
  display: grid;
  place-items: center;
  padding: 12px;
  background: #102235;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  text-align: center;
}

.section {
  padding: clamp(72px, 9vw, 128px) clamp(18px, 5vw, 72px);
}

.section-heading {
  width: min(1120px, 100%);
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
}

.section-heading.compact {
  display: block;
  max-width: 820px;
  text-align: center;
}

.section-heading h2 {
  font-size: 3.75rem;
}

.section-heading p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.intro-grid,
.split-grid,
.contact-section {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.intro-copy {
  padding: clamp(28px, 5vw, 56px);
  color: var(--white);
  background: var(--navy);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.intro-copy p {
  margin: 0;
  font-size: 22px;
  line-height: 1.78;
}

.governance-panel,
.process-panel,
.compliance-note,
.lead-form {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.governance-panel h3,
.process-panel h3,
.feature-card h3,
.membership-card h3 {
  margin: 0 0 14px;
  font-size: 24px;
}

.governance-panel p,
.afun-spotlight p,
.data-room-note p,
.feature-card p,
.membership-card p,
.compliance-note span,
.allocation-item span,
.service-list span {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.afun-spotlight {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(150px, 0.34fr) 0.46fr 1fr;
  gap: 18px;
  align-items: center;
  padding: 22px 24px;
  border: 1px solid rgba(191, 143, 58, 0.36);
  border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(191, 143, 58, 0.12), rgba(255, 255, 255, 0.92));
}

[dir="rtl"] .afun-spotlight {
  background: linear-gradient(270deg, rgba(191, 143, 58, 0.12), rgba(255, 255, 255, 0.92));
}

.afun-spotlight span,
.data-room-note span {
  color: var(--gold-deep);
  font-family: "Inter", "Arial", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.afun-spotlight h3,
.data-room-note h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
}

.afun-spotlight p {
  margin: 0;
}

.pillars-section,
.uae-section,
.compliance-section {
  background: var(--ivory);
}

.card-grid,
.feature-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card-grid.five {
  grid-template-columns: repeat(5, 1fr);
}

.pillar-card,
.feature-card,
.membership-card {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.pillar-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-kicker {
  color: var(--gold-deep);
  font-weight: 800;
}

.pillar-card h3 {
  margin: 34px 0 12px;
  font-size: 23px;
}

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

.split-section {
  background: var(--paper);
}

.allocation-list {
  display: grid;
  gap: 14px;
}

.allocation-item {
  min-height: 118px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.allocation-item strong {
  display: block;
  margin-bottom: 10px;
  font-size: 20px;
}

.process-panel {
  color: var(--white);
  background: var(--navy-soft);
  border-color: rgba(255, 255, 255, 0.12);
}

.process-panel h3 {
  color: var(--gold);
}

.process-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 16px;
}

.process-list li {
  counter-increment: step;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  color: rgba(255, 255, 255, 0.86);
}

.process-list li::before {
  content: counter(step, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  color: var(--navy);
  background: var(--gold);
  font-weight: 800;
}

.ventures-section {
  color: var(--white);
  background: var(--navy);
}

.ventures-section .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
}

.ventures-section .feature-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.ventures-section .feature-card p {
  color: rgba(255, 255, 255, 0.76);
}

.real-estate-section {
  background: var(--paper);
}

.asset-band {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.asset-band span {
  display: grid;
  place-items: center;
  min-height: 96px;
  padding: 14px;
  border: 1px solid rgba(201, 155, 69, 0.32);
  border-radius: var(--radius);
  background: #fff9ed;
  color: #5e4521;
  font-weight: 700;
  text-align: center;
}

.compliance-note {
  width: min(1120px, 100%);
  margin: 18px auto 0;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: none;
}

.compliance-note strong {
  color: var(--copper);
  white-space: nowrap;
}

.service-list {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.service-list div {
  min-height: 210px;
  padding: 24px;
  background: var(--white);
}

.service-list strong {
  display: block;
  margin-bottom: 12px;
  font-size: 19px;
}

.club-section {
  background: var(--paper);
}

.contact-section {
  align-items: start;
  background: var(--navy);
  color: var(--white);
  width: 100%;
  padding-top: clamp(72px, 9vw, 128px);
  padding-bottom: clamp(72px, 9vw, 128px);
}

.contact-copy {
  max-width: 540px;
  justify-self: center;
}

.contact-copy h2 {
  margin: 0;
  font-size: 3.9rem;
  line-height: 1.08;
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
  line-height: 1.75;
}

.contact-points {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.contact-points li {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.data-room-note {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(191, 143, 58, 0.34);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.data-room-note h3 {
  margin-top: 8px;
  color: var(--white);
}

.data-room-note p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.72);
}

.lead-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  color: var(--ink);
}

.lead-form label {
  display: grid;
  gap: 8px;
}

.lead-form label.full,
.lead-form .full,
.form-status {
  grid-column: 1 / -1;
}

.lead-form span {
  color: #35404d;
  font-size: 14px;
  font-weight: 700;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: #fff;
  outline: 0;
}

.lead-form textarea {
  min-height: 112px;
  resize: vertical;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 155, 69, 0.16);
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--gold-deep);
  line-height: 1.45;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 34px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.78);
  background: #050b12;
}

.site-footer strong {
  display: block;
  color: var(--white);
  margin-bottom: 8px;
}

.site-footer p {
  max-width: 900px;
  margin: 0;
  line-height: 1.7;
}

.site-footer a {
  color: var(--gold);
  font-weight: 700;
  white-space: nowrap;
}

[dir="ltr"] .site-header,
[dir="ltr"] .hero-content,
[dir="ltr"] .section-heading,
[dir="ltr"] .intro-grid,
[dir="ltr"] .split-grid,
[dir="ltr"] .contact-section,
[dir="ltr"] .site-footer {
  direction: ltr;
}

[dir="rtl"] .lead-form input,
[dir="rtl"] .lead-form select,
[dir="rtl"] .lead-form textarea {
  text-align: right;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    grid-column: 1 / -1;
    order: 3;
    justify-content: start;
    padding-top: 4px;
    flex-wrap: wrap;
    overflow-x: visible;
    row-gap: 8px;
  }

  .hero-content {
    padding-top: 132px;
  }

  .hero h1 {
    font-size: 4.4rem;
  }

  .hero-subtitle {
    font-size: 1.28rem;
  }

  .section-heading h2,
  .contact-copy h2 {
    font-size: 3rem;
  }

  .card-grid.five,
  .service-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .asset-band {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 860px) {
  .site-header {
    position: sticky;
    color: var(--white);
    background: rgba(7, 20, 33, 0.96);
  }

  .brand-copy small {
    display: none;
  }

  .language-switcher {
    justify-self: end;
  }

  .language-button {
    min-height: 32px;
    padding: 0 9px;
    font-size: 13px;
  }

  .hero {
    min-height: 82svh;
  }

  .hero-content {
    width: min(100% - 36px, 640px);
    padding-top: 30px;
  }

  .hero h1 {
    max-width: 14ch;
    font-size: 3.05rem;
  }

  .hero-subtitle {
    font-size: 1.08rem;
  }

  .section-heading h2,
  .contact-copy h2 {
    font-size: 2.25rem;
  }

  .signal-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .signal-strip span:last-child {
    grid-column: 1 / -1;
  }

  .section-heading,
  .intro-grid,
  .split-grid,
  .contact-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .afun-spotlight {
    grid-template-columns: 1fr;
  }

  .section-heading.compact {
    text-align: inherit;
  }

  .card-grid,
  .feature-grid,
  .card-grid.five,
  .service-list {
    grid-template-columns: 1fr 1fr;
  }

  .lead-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-inline: 14px;
  }

  .brand-copy {
    display: none;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .brand-copy strong {
    font-size: 13px;
  }

  .site-nav {
    gap: 14px;
    justify-content: center;
  }

  .site-nav a {
    font-size: 13px;
    white-space: normal;
  }

  .language-button {
    flex: 1;
  }

  .hero {
    min-height: 68svh;
  }

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

  .hero h1 {
    font-size: 2.5rem;
  }

  .section-heading h2,
  .contact-copy h2 {
    font-size: 2rem;
  }

  .button {
    width: 100%;
  }

  .card-grid,
  .feature-grid,
  .card-grid.five,
  .service-list,
  .asset-band {
    grid-template-columns: 1fr;
  }

  .pillar-card,
  .feature-card,
  .membership-card {
    min-height: auto;
  }

  .asset-band span {
    min-height: 74px;
  }
}
