@font-face {
  font-family: Tajawal;
  src: url(tajawal-ar-400.woff2) format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC;
}

@font-face {
  font-family: Tajawal;
  src: url(tajawal-ar-700.woff2) format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC;
}

:root {
  color-scheme: light;
  --navy: #081529;
  --navy-mid: #10233f;
  --ivory: #faf7f1;
  --stone: #f1ece1;
  --surface: #ffffff;
  --ink: #132238;
  --muted: #4b5a6e;
  --gold: #8c6419;
  --gold-bright: #d4af37;
  --gold-pale: #f3e4c3;
  --line: #ded7c8;
  --dark-line: rgba(212, 175, 55, 0.24);
  --green: #126b4a;
  --green-hover: #0d543a;
  --body: system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: Georgia, 'Times New Roman', serif;
  --gutter: clamp(16px, 4vw, 56px);
  font: 400 1rem/1.62 var(--body);
  background: var(--ivory);
  color: var(--ink);
  scroll-padding-block-end: 78px;
}

html[dir=rtl] {
  --body: Tajawal, 'Segoe UI', Tahoma, sans-serif;
  --display: var(--body);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body,
figure,
h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
}

body {
  min-width: 0;
  background: var(--ivory);
  color: var(--ink);
}

a {
  color: #16446b;
  text-underline-offset: 0.24em;
}

a:hover {
  color: var(--navy);
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

[dir=rtl] :is(h1, h2) {
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: normal;
}

h1 {
  font-size: clamp(1.85rem, 4.1vw, 3.55rem);
}

[dir=rtl] h1 {
  font-size: clamp(1.75rem, 3.8vw, 3.15rem);
}

h2 {
  font-size: clamp(1.45rem, 2.7vw, 2.35rem);
  color: var(--navy);
}

h3 {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--navy);
}

p,
li {
  overflow-wrap: anywhere;
}

ul:not([class]) {
  padding-inline-start: 1.15rem;
}

ul:not([class]) li + li {
  margin-block-start: 0.45rem;
}

.shell {
  width: min(1220px, calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.skip {
  position: absolute;
  inset-inline-start: 1rem;
  top: 0.5rem;
  padding: 0.55rem 0.9rem;
  background: var(--surface);
  color: var(--navy);
  font-weight: 700;
  z-index: 40;
  transform: translateY(-220%);
}

.skip:focus {
  transform: none;
}

/* Header */
.site-header {
  background: var(--navy);
  color: #ffffff;
  border-block-end: 1px solid var(--dark-line);
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 0.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: #ffffff;
  min-height: 44px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  flex-shrink: 0;
}

.brand-stack {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-stack strong,
.footer-brand {
  font: 700 0.98rem/1.05 system-ui, sans-serif;
  letter-spacing: 0.16em;
  color: #ffffff;
}

.brand-stack small {
  margin-block-start: 0.18rem;
  font-size: 0.72rem;
  color: var(--gold-pale);
}

.bar-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.65rem, 2.2vw, 1.8rem);
}

.bar-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #e4ebf5;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}

.bar-nav a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.language {
  border: 1px solid rgba(243, 228, 195, 0.45);
  border-radius: 999px;
  padding-inline: 0.9rem;
  color: #ffffff;
}

/* Hero */
.hero-band {
  background: radial-gradient(circle at 80% 20%, #142c4f 0%, var(--navy) 65%);
  color: #ffffff;
  border-block-end: 2px solid var(--gold-bright);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(20px, 4.5vw, 64px);
  align-items: center;
  padding-block: clamp(24px, 4.5vw, 68px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-block-end: 0.7rem;
  color: var(--gold-pale);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

[dir=rtl] .eyebrow {
  letter-spacing: normal;
  text-transform: none;
  font-size: 0.88rem;
}

.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold-bright);
}

.hero h1 {
  color: #ffffff;
}

.hero .lead {
  margin-block-start: 0.85rem;
  color: #d6e0ee;
  max-width: 44ch;
  font-size: clamp(0.96rem, 1.4vw, 1.1rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-block-start: 1.25rem;
}

.button,
.button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.55rem 1.25rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.button {
  background: var(--green);
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}

.button:hover {
  background: var(--green-hover);
  color: #ffffff;
}

.button-ghost {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.05);
}

.button-ghost:hover {
  color: #ffffff;
  border-color: var(--gold-pale);
  background: rgba(255, 255, 255, 0.11);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.15rem;
  list-style: none;
  padding: 0;
  margin-block-start: 1.15rem;
  padding-block-start: 0.95rem;
  border-block-start: 1px solid rgba(255, 255, 255, 0.14);
}

.trust-strip li {
  font-size: 0.84rem;
  color: #cfdbe9;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.trust-strip li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-bright);
  flex-shrink: 0;
}

.hero-media {
  position: relative;
  padding: 7px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.hero-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 9px;
}

/* Editorial Sections */
.section {
  padding-block: clamp(32px, 5vw, 72px);
}

.kicker {
  display: inline-block;
  margin-block-end: 0.45rem;
  font: 700 0.78rem/1 system-ui, sans-serif;
  letter-spacing: 0.14em;
  color: var(--gold);
}

.kicker-light {
  color: var(--gold-pale);
}

.editorial-split {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(20px, 4.5vw, 60px);
  align-items: start;
}

.section-head p,
.section-head-wide p,
.section-lead {
  margin-block-start: 0.65rem;
  color: var(--muted);
  max-width: 48ch;
}

.section-head-wide {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  margin-block-end: clamp(20px, 3vw, 34px);
}

/* Hairline Ledger (No Cards) */
.ledger {
  list-style: none;
  padding: 0;
  border-block-start: 1px solid var(--line);
}

.ledger li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 0.9rem;
  padding-block: 1rem;
  border-block-end: 1px solid var(--line);
  align-items: start;
}

.ledger-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--stone);
  color: var(--gold);
  border: 1px solid var(--line);
}

.ledger-icon svg {
  width: 20px;
  height: 20px;
}

.ledger p {
  margin-block-start: 0.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Supporting Image Dossier Showcase */
.dossier-band {
  background: var(--stone);
  border-block: 1px solid var(--line);
}

.dossier-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(22px, 4.5vw, 56px);
  align-items: center;
}

.supporting-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(8, 21, 41, 0.12);
}

.supporting-media figcaption {
  margin-block-start: 0.65rem;
  font-size: 0.86rem;
  color: var(--muted);
}

.dossier-list {
  margin-block-start: 1.1rem;
  padding-block-start: 1rem;
  border-block-start: 1px solid var(--line);
}

.dossier-list ul {
  list-style: none;
  padding: 0;
}

.dossier-list li {
  position: relative;
  padding-inline-start: 1.25rem;
  color: var(--ink);
  font-size: 0.96rem;
}

.dossier-list li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

/* Architectural Timeline */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  border-block-start: 1px solid var(--line);
  padding-block-start: 1.25rem;
}

.step-index {
  display: inline-block;
  font: 700 0.85rem/1 system-ui, sans-serif;
  color: var(--gold);
  margin-block-end: 0.55rem;
}

.steps p {
  margin-block-start: 0.35rem;
  color: var(--muted);
  font-size: 0.94rem;
}

/* Bahrain & Saudi Channels */
.location-band {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.markets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 4vw, 48px);
}

.market-col {
  padding-block-start: 1rem;
  border-block-start: 2px solid var(--navy);
}

.market-tag {
  display: inline-block;
  font: 700 0.74rem/1 system-ui, sans-serif;
  letter-spacing: 0.12em;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  background: var(--stone);
  color: var(--navy);
  margin-block-end: 0.6rem;
}

.market-col p {
  margin-block-start: 0.45rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.official-links {
  list-style: none;
  padding: 0;
  margin-block-start: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.15rem;
}

.official-links a {
  font-size: 0.9rem;
  font-weight: 600;
}

.notice {
  margin-block-start: 1.25rem;
  padding: 0.85rem 1.05rem;
  border-inline-start: 3px solid var(--gold);
  background: var(--ivory);
  color: var(--ink);
  font-size: 0.92rem;
}

/* Accordions */
.disclosures details {
  border-block-end: 1px solid var(--line);
}

.disclosures details:first-child {
  border-block-start: 1px solid var(--line);
}

.disclosures summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 48px;
  padding-block: 0.7rem;
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  list-style: none;
}

.disclosures summary::-webkit-details-marker {
  display: none;
}

.disclosures summary::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--gold);
  flex-shrink: 0;
}

.disclosures details[open] summary::after {
  content: '−';
}

.details-body {
  padding-block-end: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.details-body p + p {
  margin-block-start: 0.55rem;
}

/* Fee & Compliance Band */
.fee-band {
  background: var(--navy);
  color: #ffffff;
}

.fee-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  gap: clamp(20px, 4vw, 52px);
  align-items: start;
}

.fee-band h2,
.fee-band h3 {
  color: #ffffff;
}

.fee-band p {
  color: #d6e0ee;
  margin-block-start: 0.45rem;
}

.fee-quote {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--gold-pale) !important;
  margin-block: 0.65rem 1.25rem !important;
}

.compliance-panel {
  padding: 1.25rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--dark-line);
}

.compliance-panel .button {
  margin-block-start: 1.15rem;
  width: 100%;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: #d6e0ee;
  border-block-start: 1px solid var(--dark-line);
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 1.5rem;
  padding-block: 1.75rem 2.25rem;
}

.footer-copy {
  max-width: 66ch;
}

.footer-copy p {
  margin-block-start: 0.45rem;
  font-size: 0.88rem;
  color: #cfdbe9;
}

.footer-meta {
  color: #b8c6d8 !important;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  flex-shrink: 0;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #e4ebf5;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Sticky mobile bar */
.sticky {
  display: none;
}

.sticky[hidden] {
  display: none !important;
}

@media (max-width: 960px) {
  .editorial-split,
  .dossier-grid,
  .fee-grid,
  .markets {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-head-wide {
    flex-direction: column;
    align-items: start;
    gap: 0.5rem;
  }

  .footer {
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .bar {
    min-height: 58px;
  }

  .bar-nav .nav-pill {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-block: 1.1rem 1.25rem;
  }

  .hero h1 {
    font-size: 1.78rem;
  }

  [dir=rtl] .hero h1 {
    font-size: 1.65rem;
  }

  .hero .lead {
    margin-block-start: 0.5rem;
    font-size: 0.93rem;
    line-height: 1.5;
  }

  .actions {
    margin-block-start: 0.9rem;
    gap: 0.55rem;
  }

  .actions .button,
  .actions .button-ghost {
    min-height: 44px;
    padding: 0.5rem 0.95rem;
    font-size: 0.9rem;
  }

  .trust-strip {
    margin-block-start: 0.85rem;
    padding-block-start: 0.7rem;
    gap: 0.35rem 0.85rem;
  }

  .trust-strip li {
    font-size: 0.78rem;
  }

  .hero-media {
    padding: 5px;
  }

  .hero-media img {
    aspect-ratio: 16 / 10;
  }

  .section {
    padding-block: 26px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .sticky {
    display: block;
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 999;
    padding: 0.55rem 1rem max(0.55rem, env(safe-area-inset-bottom));
    background: rgba(8, 21, 41, 0.96);
    border-block-start: 1px solid var(--dark-line);
  }

  .sticky .button {
    width: 100%;
  }

  .site-footer {
    padding-block-end: calc(4.75rem + env(safe-area-inset-bottom));
  }
}
