:root {
  --ink: #0b1824;
  --navy-grey: #182832;
  --graphite: #343a40;
  --paper: #f4f5f5;
  --white: #fff;
  --bronze: #b59256;
  --line-light: rgba(255, 255, 255, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section { scroll-margin-top: 90px; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", "Noto Sans Arabic", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.page-shell { width: min(100%, 1540px); padding-inline: clamp(24px, 5vw, 84px); }

.site-header {
  border-bottom: 1px solid var(--line-light);
  color: var(--white);
  transition: background-color .35s ease, box-shadow .35s ease;
}
.site-header.scrolled { background: rgba(11, 24, 36, .96); box-shadow: 0 12px 40px rgba(0,0,0,.12); }
.navbar { min-height: 92px; padding: 0; }
.brand { display: inline-flex; align-items: center; gap: 14px; color: var(--white); }
.brand-logo {
  display: block;
  width: clamp(164px, 14vw, 190px);
  flex: 0 0 auto;
}
.brand-logo img { display: block; width: 100%; height: auto; }
.navbar-nav { gap: clamp(8px, 1.2vw, 25px); }
.navbar .nav-link { padding: 12px 0 !important; color: rgba(255,255,255,.72); font-size: 12px; font-weight: 500; letter-spacing: .025em; }
.navbar .nav-link:hover, .navbar .nav-link:focus { color: var(--white); }
.language-switch { display: flex; align-items: center; gap: 9px; margin-inline-start: clamp(20px, 3vw, 48px); padding-inline-start: clamp(20px, 2.2vw, 34px); border-inline-start: 1px solid var(--line-light); }
.language-switch button { border: 0; padding: 8px 0; background: none; color: rgba(255,255,255,.45); font-size: 11px; letter-spacing: .12em; }
.language-switch button.active { color: var(--bronze); }
.language-switch span { width: 1px; height: 10px; background: rgba(255,255,255,.3); }
.navbar-toggler { width: 40px; height: 40px; border: 0; box-shadow: none !important; }
.navbar-toggler span { display: block; width: 24px; height: 1px; margin: 7px auto; background: var(--white); }

.hero { position: relative; min-height: 860px; height: 100svh; color: var(--white); background: var(--ink); isolation: isolate; }
.hero-media, .hero-shade { position: absolute; inset: 0; }
.hero-media { z-index: -3; background: url("../img/al-wafra-hero.webp") center / cover no-repeat; }
.hero-shade {
  z-index: -2;
  background: linear-gradient(90deg, rgba(6,16,26,.96) 0%, rgba(8,21,32,.84) 38%, rgba(7,18,29,.38) 72%, rgba(6,15,24,.64) 100%),
              linear-gradient(0deg, rgba(4,13,21,.65) 0%, transparent 45%);
}
.hero-inner { position: relative; height: 100%; display: flex; align-items: center; }
.hero-copy { max-width: 790px; padding-top: 56px; }
.eyebrow { margin: 0 0 30px; color: var(--bronze); font-size: 11px; font-weight: 600; letter-spacing: .25em; text-transform: uppercase; }
.hero h1 { margin: 0; line-height: .98; letter-spacing: -.045em; }
.hero h1 span { display: block; font-size: clamp(48px, 6.3vw, 98px); font-weight: 500; }
.hero h1 span:last-child { margin-top: 12px; color: rgba(255,255,255,.78); font-size: clamp(24px, 2.5vw, 39px); font-weight: 400; letter-spacing: .055em; }
.hero-lead { margin: 38px 0 13px; color: var(--white); font-size: clamp(18px, 1.45vw, 23px); font-weight: 500; }
.hero-text { max-width: 630px; margin: 0 0 38px; color: rgba(255,255,255,.63); font-size: 14px; line-height: 1.85; }
.primary-link { display: inline-flex; align-items: center; gap: 54px; border-bottom: 1px solid var(--bronze); padding: 0 0 13px; color: var(--white); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.primary-link i { color: var(--bronze); font-size: 17px; font-style: normal; transition: transform .25s; }
.primary-link:hover i { transform: translate(4px,-4px); }
.hero-facts { position: absolute; inset-inline-start: clamp(24px, 5vw, 84px); bottom: 42px; display: flex; }
.hero-facts > div { min-width: 170px; padding: 3px 34px 0 0; margin-inline-end: 34px; border-inline-end: 1px solid var(--line-light); }
.hero-facts > div:last-child { border: 0; }
.hero-facts small, .hero-facts strong { display: block; }
.hero-facts small { margin-bottom: 9px; color: rgba(255,255,255,.42); font-size: 9px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.hero-facts strong { font-size: 14px; font-weight: 500; }
.hero-facts strong span { font-size: 11px; font-weight: 400; }
.hero-facts .metric-value { display: inline-flex; align-items: baseline; gap: 4px; }
.number-token, .numeric-value, .ltr-value { direction: ltr; unicode-bidi: isolate; }
.number-token, .numeric-value { font-variant-numeric: tabular-nums; }
.scroll-cue { position: absolute; right: 5vw; bottom: 42px; width: 40px; height: 48px; border: 1px solid rgba(255,255,255,.26); }
.scroll-cue span { position: absolute; left: 50%; top: 11px; width: 1px; height: 16px; background: var(--bronze); animation: scroll 1.8s ease-in-out infinite; }
@keyframes scroll { 0%,100% { transform: translate(-50%,0); opacity:.35; } 50% { transform: translate(-50%,9px); opacity:1; } }

.section-pad { padding-block: clamp(96px, 9vw, 150px); }
.section-kicker { margin: 0 0 24px; color: var(--bronze); font-size: 10px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; }
.section-title { margin: 0 0 34px; color: var(--ink); font-size: clamp(36px, 4vw, 62px); font-weight: 500; line-height: 1.12; letter-spacing: -.045em; }

.about { background: var(--paper); }
.about-image-wrap { position: relative; max-width: 720px; margin-inline-end: clamp(0px, 3vw, 45px); }
.about-image { display: block; width: 100%; height: clamp(430px, 48vw, 660px); object-fit: cover; filter: saturate(.74) contrast(1.04); }
.image-caption { position: absolute; right: 0; bottom: 0; display: flex; align-items: center; gap: 20px; min-width: 265px; padding: 18px 22px; background: var(--ink); color: rgba(255,255,255,.62); font-size: 9px; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; }
.image-caption span:first-child { color: var(--bronze); }
.about-copy { max-width: 620px; margin-inline: clamp(30px, 5vw, 90px) 0; padding-block: 30px; }
.about-copy .lead-copy { margin-bottom: 26px; color: var(--ink); font-size: clamp(18px, 1.6vw, 24px); line-height: 1.65; }
.about-copy > p:not(.section-kicker):not(.lead-copy) { margin-bottom: 19px; color: #5e686f; font-size: 14px; line-height: 1.9; }
.about-signature { display: flex; align-items: center; gap: 20px; margin-top: 35px; }
.about-signature span { width: 48px; height: 1px; background: var(--bronze); }
.about-signature small { color: #6f767b; font-size: 9px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.about-principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; padding-top: 28px; border-top: 1px solid #d5d9db; }
.about-principles small { display: block; margin-bottom: 10px; color: var(--bronze); font-size: 8px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.about-principles p { margin: 0; color: #667077; font-size: 10px; line-height: 1.7; }

.services { background: var(--white); }
.section-heading { margin-bottom: 64px; }
.heading-note { max-width: 420px; margin: 0 0 5px auto; color: #6e777d; font-size: 13px; line-height: 1.8; }
.capability-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #d9dddf; border-bottom: 1px solid #d9dddf; }
.capability { min-height: 280px; padding: 32px clamp(22px, 2.4vw, 38px) 38px; border-inline-end: 1px solid #d9dddf; }
.capability:last-child { border: 0; }
.capability-number { display: block; margin-bottom: 75px; color: var(--bronze); font-size: 10px; font-weight: 600; letter-spacing: .13em; }
.capability h3 { max-width: 230px; min-height: 48px; margin: 0 0 18px; color: var(--ink); font-size: 18px; font-weight: 500; line-height: 1.45; }
.capability p { max-width: 240px; margin: 0; color: #747d82; font-size: 12px; line-height: 1.8; }
.governance-panel { display: grid; grid-template-columns: .8fr 1.45fr; gap: 36px 72px; margin-top: 70px; padding: 54px 0 0; border-top: 1px solid #d9dddf; }
.governance-heading h3 { max-width: 420px; margin: 0; color: var(--ink); font-size: clamp(27px, 2.6vw, 42px); font-weight: 500; line-height: 1.25; letter-spacing: -.035em; }
.process-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin: 0; padding: 0; border-top: 1px solid #d9dddf; list-style: none; }
.process-list li { display: grid; grid-template-columns: 38px 1fr; gap: 8px; min-height: 92px; padding: 20px 20px 20px 0; border-bottom: 1px solid #d9dddf; }
.process-list li:nth-child(odd) { border-inline-end: 1px solid #d9dddf; }
.process-list li:nth-child(even) { padding-inline-start: 20px; }
.process-list span { color: var(--bronze); font-size: 9px; font-weight: 600; letter-spacing: .12em; }
.process-list p { margin: 0; color: var(--ink); font-size: 12px; line-height: 1.7; }
.compliance-note { grid-column: 2; max-width: 760px; margin: -5px 0 0; padding-inline-start: 20px; border-inline-start: 2px solid var(--bronze); color: #6e777d; font-size: 12px; line-height: 1.85; }

.venture { position: relative; overflow: hidden; background: var(--ink); color: var(--white); }
.venture-grid { position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 70px 70px; mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent); }
.venture::before { content: ""; position: absolute; top: -270px; left: 50%; width: 620px; height: 620px; border: 1px solid rgba(181,146,86,.12); border-radius: 50%; transform: translateX(-50%); }
.venture .section-title { color: var(--white); }
.venture-intro .section-kicker { margin-bottom: 17px; }
.venture-copy { max-width: 860px; margin: 52px auto 58px; color: rgba(255,255,255,.62); font-size: 15px; line-height: 1.95; text-align: center; }
.vision-pillars { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 930px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,.17); border-bottom: 1px solid rgba(255,255,255,.17); }
.vision-pillars > div { display: flex; align-items: flex-start; gap: 20px; min-height: 168px; padding: 29px 26px; border-inline-end: 1px solid rgba(255,255,255,.17); }
.vision-pillars > div:last-child { border: 0; }
.vision-pillars span { color: var(--bronze); font-size: 9px; font-weight: 600; letter-spacing: .16em; }
.vision-pillars strong { display: block; margin-bottom: 12px; color: rgba(255,255,255,.9); font-size: 13px; font-weight: 500; letter-spacing: .04em; }
.vision-pillars p { margin: 0; color: rgba(255,255,255,.46); font-size: 11px; line-height: 1.75; }

.company { background: var(--paper); }
.company-layout { align-items: stretch; }
.company-heading { position: sticky; top: 140px; max-width: 360px; padding-inline-end: 30px; }
.company-heading > p:not(.section-kicker) { max-width: 300px; color: #747d82; font-size: 13px; line-height: 1.8; }
.legal-seal { display: inline-flex; align-items: center; gap: 13px; width: 118px; height: 54px; margin-top: 36px; padding: 0 14px; border: 1px solid rgba(181,146,86,.65); color: var(--bronze); }
.legal-seal > span { font-size: 14px; font-weight: 600; }
.legal-seal small { padding-inline-start: 12px; border-inline-start: 1px solid rgba(181,146,86,.38); font-size: 7px; font-weight: 600; line-height: 1.5; letter-spacing: .12em; }
.company-record { margin: 0; border-top: 1px solid #ccd2d5; }
.company-record > div { display: grid; grid-template-columns: minmax(150px, 32%) 1fr; gap: 30px; padding: 25px 0; border-bottom: 1px solid #ccd2d5; }
.company-record dt { color: #858c90; font-size: 9px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.company-record dd { margin: 0; color: var(--ink); font-size: 14px; font-weight: 500; line-height: 1.7; }
.record-note { color: #788187; font-size: 11px; font-weight: 400; }

.contact { position: relative; background: var(--navy-grey); color: var(--white); }
.contact-topline { width: 100%; height: 5px; background: linear-gradient(90deg, var(--bronze) 0 21%, rgba(181,146,86,.14) 21%); }
.contact-inner { padding-block: clamp(95px, 10vw, 150px); }
.contact h2 { margin: 0; font-size: clamp(42px, 5.6vw, 82px); font-weight: 400; line-height: 1.08; letter-spacing: -.05em; }
.contact h2 span { display: inline-block; margin-top: 13px; color: rgba(255,255,255,.62); font-size: .34em; letter-spacing: .015em; }
.contact-copy { max-width: 650px; margin: 38px 0 0; color: rgba(255,255,255,.55); font-size: 14px; line-height: 1.9; }
.contact-details { max-width: 420px; margin-inline-start: auto; border-top: 1px solid rgba(255,255,255,.18); }
.contact-details > * { display: grid; grid-template-columns: 92px 1fr; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.contact-details small { color: var(--bronze); font-size: 8px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.contact-details span { color: rgba(255,255,255,.85); font-size: 13px; line-height: 1.65; }
.contact-details .phone-number { direction: ltr; unicode-bidi: isolate; text-align: start; }
.contact-details .ltr-value { text-align: start; }
.contact-details a:hover span { color: var(--bronze); }

.site-footer { padding-block: 50px 28px; background: var(--ink); color: var(--white); }
.footer-top, .footer-bottom { display: flex; align-items: center; justify-content: space-between; }
.footer-top { padding-bottom: 44px; }
.footer-top p { margin: 0; color: rgba(255,255,255,.42); font-size: 9px; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; }
.footer-top p span { margin-inline: 9px; color: var(--bronze); }
.footer-bottom { padding-top: 22px; border-top: 1px solid rgba(255,255,255,.11); }
.footer-bottom small { color: rgba(255,255,255,.3); font-size: 9px; }
.footer-bottom a { display: inline-flex; align-items: center; gap: 12px; color: rgba(255,255,255,.55); font-size: 9px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.footer-bottom a i { color: var(--bronze); }

html[dir="rtl"] body { font-family: "Noto Sans Arabic", "Manrope", sans-serif; }
html[dir="rtl"] .hero h1 { letter-spacing: 0; }
html[dir="rtl"] .hero h1 span:last-child,
html[dir="rtl"] .section-kicker,
html[dir="rtl"] .company-record dt,
html[dir="rtl"] .footer-top p { letter-spacing: 0; }
html[dir="rtl"] .vision-pillars strong,
html[dir="rtl"] .contact h2 span { letter-spacing: 0; }
html[dir="rtl"] .heading-note { margin-left: 0; margin-right: auto; }
html[dir="rtl"] .about-signature small { letter-spacing: 0; }
html[dir="rtl"] .about-principles small { letter-spacing: 0; }
html[dir="rtl"] .capability h3 { min-height: 58px; }

@media (max-width: 991.98px) {
  .navbar { min-height: 76px; }
  .navbar-collapse { position: fixed; inset: 76px 0 auto; padding: 28px 24px 34px; background: rgba(11,24,36,.985); border-top: 1px solid var(--line-light); }
  .navbar-nav { align-items: flex-start !important; }
  .navbar .nav-link { font-size: 15px; padding: 10px 0 !important; }
  .language-switch { margin: 20px 0 0; padding: 20px 0 0; border-inline-start: 0; border-top: 1px solid var(--line-light); }
  .hero { min-height: 760px; }
  .hero-copy { padding-top: 0; }
  .hero-facts { right: 24px; bottom: 32px; }
  .scroll-cue { display: none; }
  .about-image-wrap { margin: 0; }
  .about-copy { max-width: 100%; margin: 50px 0 0; padding: 0; }
  .section-heading { margin-bottom: 42px; }
  .heading-note { margin: 30px 0 0; }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .capability { border-bottom: 1px solid #d9dddf; }
  .capability:nth-child(2) { border-inline-end: 0; }
  .capability:nth-child(n+3) { border-bottom: 0; }
  .governance-panel { grid-template-columns: 1fr; gap: 38px; }
  .compliance-note { grid-column: 1; }
  .company-heading { position: static; max-width: 600px; margin-bottom: 55px; }
  .contact-details { max-width: 100%; margin: 55px 0 0; }
}
@media (max-width: 640px) {
  .page-shell { padding-inline: 20px; }
  .brand-logo { width: 158px; }
  .hero { min-height: 720px; }
  .hero-media { background-position: 62% center; }
  .hero-copy { margin-top: -80px; }
  .eyebrow { max-width: 280px; margin-bottom: 22px; line-height: 1.7; }
  .hero h1 span { font-size: clamp(42px, 13vw, 62px); }
  .hero h1 span:last-child { max-width: 330px; font-size: 21px; line-height: 1.3; }
  .hero-lead { margin-top: 28px; font-size: 17px; }
  .hero-text { display: none; }
  .hero-facts { inset-inline: 20px; bottom: 28px; display: grid; grid-template-columns: repeat(3, 1fr); }
  .hero-facts > div { min-width: 0; margin: 0; padding: 0 12px; }
  .hero-facts > div:first-child { padding-inline-start: 0; }
  .hero-facts small { font-size: 7px; letter-spacing: .12em; }
  .hero-facts strong { font-size: 11px; }
  .hero-facts strong span { font-size: 9px; }
  .section-pad { padding-block: 78px; }
  .section-kicker { margin-bottom: 18px; }
  .section-title { margin-bottom: 28px; font-size: 37px; }
  .about-image { height: 420px; }
  .image-caption { min-width: 230px; }
  .about-copy { margin-top: 42px; }
  .about-copy .lead-copy { font-size: 17px; }
  .about-principles { grid-template-columns: 1fr; gap: 22px; }
  .capability-grid { display: block; }
  .capability { min-height: auto; padding: 27px 0 31px; border-inline-end: 0; border-bottom: 1px solid #d9dddf !important; }
  .capability:last-child { border-bottom: 0 !important; }
  .capability-number { margin-bottom: 32px; }
  .capability h3 { min-height: 0; }
  .governance-panel { margin-top: 50px; padding-top: 40px; }
  .process-list { grid-template-columns: 1fr; }
  .process-list li, .process-list li:nth-child(even) { min-height: auto; padding: 18px 0; border-inline-end: 0; }
  .compliance-note { margin-top: -10px; }
  .venture-copy { font-size: 13px; }
  .vision-pillars { grid-template-columns: 1fr; }
  .vision-pillars > div { min-height: 76px; padding: 18px 10px; border-inline-end: 0; border-bottom: 1px solid rgba(255,255,255,.17); }
  .vision-pillars > div:last-child { border-bottom: 0; }
  .company-heading { margin-bottom: 40px; padding: 0; }
  .company-record > div { grid-template-columns: 1fr; gap: 8px; padding: 21px 0; }
  .company-record dt { font-size: 8px; }
  .company-record dd { font-size: 13px; }
  .contact-inner { padding-block: 82px; }
  .contact h2 { font-size: 42px; }
  .contact-details > * { grid-template-columns: 76px 1fr; }
  .footer-top, .footer-bottom { align-items: flex-start; flex-direction: column; gap: 26px; }
  .footer-top p { max-width: 300px; line-height: 2; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
