/* ==========================================================================
   Homepage
   Loaded on / only.

   A daylight page with one dark band: the Zero Flare feature uses that page's
   night palette and nothing else here is dark. Brand: petroleum blue, gold,
   Montserrat for display, Roboto for text, a thin gold rule under headings.

   Everything reads without JavaScript. The banner is its poster frame until
   home.js attaches the loop; the chapter strip is static text until then.
   ========================================================================== */

.hp {
  --hp-blue: var(--d-blue);
  --hp-gold: var(--d-gold);
  --hp-ink: var(--d-ink);
  --hp-text: var(--d-text);
  --hp-canvas: var(--d-surface);
  --hp-line: var(--d-line);
  --hp-night: #080e18;
  --hp-night-2: #111c2c;
  --hp-night-ink: #eaf2f9;
  --hp-night-muted: #97adc2;
  --hp-display: var(--d-display);
  --hp-body: var(--d-body);

  color: var(--hp-ink);
  overflow-x: clip;
}

/* The theme sets a global `transition: all .2s`, which freezes anything
   animated and makes progress bars lag. Opt out here; components that want a
   transition declare their own. */
.hp, .hp * { transition: none; }

.hp-section { padding: 110px 0; }

/* --- Shared type --------------------------------------------------------- */

.hp-eyebrow {
  display: inline-block;
  font: 600 12px/1.3 var(--hp-display);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--hp-blue);
  margin-bottom: 14px;
}
.hp-eyebrow--gold { color: var(--hp-gold); }
.hp-eyebrow--muted { color: var(--hp-night-muted); }

.hp-h2, .hp-statement {
  font-family: var(--hp-display);
  color: var(--hp-ink);
  letter-spacing: -.01em;
  margin: 0;
  text-wrap: balance;
}
.hp-h2 { font-size: 34px; font-weight: 700; line-height: 1.15; }
.hp-statement { font-size: 36px; font-weight: 600; line-height: 1.2; max-width: 24ch; }
.hp-h2::after, .hp-statement::after {
  content: ""; display: block; width: 56px; height: 3px; background: var(--hp-gold); margin-top: 18px;
}
.hp-h2--light { color: var(--hp-night-ink); }

.hp-text { font: 400 17px/1.7 var(--hp-body); color: var(--hp-text); max-width: 60ch; margin: 22px 0 0; }
.hp-intro .hp-text { margin-top: 0; }
.hp-text--light { color: #c3d2df; font-weight: 300; }

.hp-link {
  display: inline-flex; align-items: center; gap: 8px;
  font: 700 13px/1 var(--hp-display); letter-spacing: .08em; text-transform: uppercase;
  color: var(--hp-blue);
  border-bottom: 2px solid var(--hp-gold); padding-bottom: 6px; margin-top: 26px;
}
.hp-link::after { content: "→"; }
[dir="rtl"] .hp-link::after { content: "←"; }
.hp-link:hover, .hp-link:focus { color: var(--hp-ink); text-decoration: none; }

.hp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 30px; }
.hp-actions .hp-link { margin-top: 0; }

.hp-btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 13px/1 var(--hp-display); letter-spacing: .08em; text-transform: uppercase;
  padding: 16px 24px; border-radius: 4px; border: 0;
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.hp-btn:hover, .hp-btn:focus { text-decoration: none; }
.hp-btn--gold { background: var(--hp-gold); color: var(--hp-ink); }
.hp-btn--gold:hover, .hp-btn--gold:focus { background: #fff; color: var(--hp-ink); }
.hp-btn--blue { background: var(--hp-blue); color: #fff; }
.hp-btn--blue:hover, .hp-btn--blue:focus { background: var(--hp-ink); color: #fff; }
.hp-btn--dark { background: var(--hp-ink); color: #fff; }
.hp-btn--dark:hover, .hp-btn--dark:focus { background: var(--hp-blue); color: #fff; }
.hp-btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.75); }
.hp-btn--ghost:hover, .hp-btn--ghost:focus { color: var(--hp-ink); background: #fff; }
/* A play triangle points right in both languages, like every media player. */
.hp-btn--play::before {
  content: ""; width: 0; height: 0;
  border-left: 9px solid currentColor;
  border-top: 6px solid transparent; border-bottom: 6px solid transparent;
}

.hp a:focus-visible, .hp button:focus-visible, .hp [tabindex]:focus-visible {
  outline: 2px solid var(--hp-gold); outline-offset: 3px;
}

/* --- 1 · Banner ---------------------------------------------------------- */

/* The site nav is fixed and transparent over this, as it was over the old
   slider; the copy is anchored to the bottom so the nav never covers it. */
.hp-hero {
  position: relative;
  height: 100vh; height: 100svh;
  min-height: 680px; max-height: 1100px;
  overflow: hidden;
  background: #1b2738;
  color: #fff;
}
.hp-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hp-hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(5,16,28,.72) 0%, rgba(5,16,28,.28) 48%, rgba(5,16,28,0) 72%),
    linear-gradient(0deg, rgba(5,16,28,.6) 0%, rgba(5,16,28,0) 42%),
    linear-gradient(180deg, rgba(5,16,28,.45) 0%, rgba(5,16,28,0) 22%);
}
[dir="rtl"] .hp-hero__scrim {
  background:
    linear-gradient(270deg, rgba(5,16,28,.72) 0%, rgba(5,16,28,.28) 48%, rgba(5,16,28,0) 72%),
    linear-gradient(0deg, rgba(5,16,28,.6) 0%, rgba(5,16,28,0) 42%),
    linear-gradient(180deg, rgba(5,16,28,.45) 0%, rgba(5,16,28,0) 22%);
}

.hp-hero__inner {
  position: absolute; left: 0; right: 0; bottom: 190px;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 30px;
}
.hp-hero__copy { max-width: 620px; }
.hp-hero__title {
  font: 800 60px/1.04 var(--hp-display); letter-spacing: -.02em;
  color: #fff; margin: 0; text-wrap: balance;
}
.hp-hero__title em { font-style: normal; color: var(--hp-gold); }
.hp-hero__sub { font: 300 19px/1.55 var(--hp-body); color: rgba(255,255,255,.9); margin: 20px 0 0; max-width: 46ch; }

.hp-hero__ctrl { display: flex; align-items: center; gap: 12px; font: 500 12px/1 var(--hp-body); color: rgba(255,255,255,.85); font-variant-numeric: tabular-nums; }
.hp-hero__ctrl[hidden] { display: none; }
.hp-hero__toggle {
  width: 44px; height: 44px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: rgba(5,16,28,.3); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.75);
  display: grid; place-items: center;
}
.hp-hero__toggle::before { content: ""; width: 12px; height: 14px; border-left: 4px solid #fff; border-right: 4px solid #fff; }
.hp-hero__toggle.is-paused::before {
  width: 0; height: 0; border-right: 0;
  border-left: 13px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent;
  margin-left: 4px;
}

.hp-hero__chapters { position: absolute; left: 0; right: 0; bottom: 0; }
.hp-chapters { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.hp-chapter {
  position: relative; background: rgba(255,255,255,.94); color: var(--hp-ink);
  padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 6px;
  transition: background-color .25s;
}
.hp-chapter[role="button"] { cursor: pointer; }
.hp-chapter.is-on { background: #fff; }
.hp-chapter__bar { position: absolute; left: 0; right: 0; top: 0; height: 4px; background: #dde6ed; }
.hp-chapter__bar::after {
  content: ""; position: absolute; inset-block: 0; inset-inline-start: 0;
  width: calc(var(--p, 0) * 100%); background: var(--hp-gold);
}
.hp-chapter__num { font: 600 11px/1 var(--hp-display); letter-spacing: .12em; text-transform: uppercase; color: var(--hp-text); }
.hp-chapter__title { font: 700 16px/1.3 var(--hp-display); }
.hp-chapter__text { font: 400 14px/1.45 var(--hp-body); color: var(--hp-text); }

/* --- Opening curtain -----------------------------------------------------
   Petroleum blue. The logo writes itself in, Arabic from the right and
   English from the left, over the gold rule from the headings; the rule then
   runs out to the edges like a horizon and the blue parts along it onto the
   banner film, which opens on a desert horizon. */

/* The site's generic spinner is replaced by the curtain on this page. */
#preloader { display: none !important; }

.hp-curtain { display: none; }
.hp-curtain-on .hp-curtain { display: block; position: fixed; inset: 0; z-index: 100000; pointer-events: none; }
.hp-curtain-on body { overflow: hidden; }

.hp-curtain__panel {
  position: absolute; left: 0; right: 0; height: 50%;
  display: flex; justify-content: center;
  transition: transform 1s cubic-bezier(.76,0,.24,1);
}
.hp-curtain__panel--top { top: 0; align-items: flex-end; padding-bottom: 30px;
  background: linear-gradient(180deg, #012a44 0%, #01446b 70%, #015a8d 100%); }
.hp-curtain__panel--bottom { bottom: 0; align-items: flex-start; padding-top: 26px;
  background: linear-gradient(0deg, #012a44 0%, #01446b 70%, #015a8d 100%); }
.hp-curtain.is-open .hp-curtain__panel--top { transform: translateY(-100%); }
.hp-curtain.is-open .hp-curtain__panel--bottom { transform: translateY(100%); transition-delay: .03s; }

.hp-curtain__logo { position: relative; width: min(340px, 72vw); aspect-ratio: 400 / 96; }
.hp-curtain__logo img { position: absolute; inset: 0; width: 100%; height: 100%; transition: clip-path 1s cubic-bezier(.65,0,.35,1); }
/* Arabic line is the top 52% of the artwork, English the rest. */
.hp-curtain__ar { clip-path: inset(0 0 48% 100%); }
.hp-curtain__en { clip-path: inset(52% 100% 0 0); transition-delay: .25s !important; }
.hp-curtain.is-play .hp-curtain__ar { clip-path: inset(0 0 48% 0); }
.hp-curtain.is-play .hp-curtain__en { clip-path: inset(52% 0 0 0); }

.hp-curtain__tag {
  font: 600 12px/1 var(--hp-display, 'Montserrat', sans-serif); letter-spacing: .34em; text-transform: uppercase;
  color: rgba(255,255,255,.82); opacity: 0; transform: translateY(6px);
  transition: opacity .6s ease .85s, transform .6s ease .85s;
}
[dir="rtl"] .hp-curtain__tag { letter-spacing: 0; }
.hp-curtain.is-play .hp-curtain__tag { opacity: 1; transform: none; }

.hp-curtain__horizon {
  position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px;
  background: #f1c42b; transform: scaleX(0);
  transition: transform .7s cubic-bezier(.65,0,.35,1) .5s, opacity .4s ease;
}
.hp-curtain.is-play .hp-curtain__horizon { transform: scaleX(.12); }
.hp-curtain.is-open .hp-curtain__horizon { transform: scaleX(1); transition: transform .45s cubic-bezier(.65,0,.35,1), opacity .5s ease .75s; opacity: 0; }

/* Page-load entrance. home.js arms it under the site preloader and runs it
   only once it has seen an animation frame; .hp-intro-done lands every
   element in place with no transition, so nothing can stay hidden. */
.hp-intro-armed .hp-hero__copy > *,
.hp-intro-armed .hp-hero__ctrl,
.hp-intro-armed .hp-chapter { opacity: 0; transform: translateY(22px); }
.hp-intro-armed .hp-hero__video { transform: scale(1.08); }
.hp-intro-armed .hp-hero__scrim { opacity: .4; }

.hp-intro-run .hp-hero__copy > *,
.hp-intro-run .hp-hero__ctrl,
.hp-intro-run .hp-chapter {
  opacity: 1; transform: none;
  transition: opacity .7s ease, transform .9s cubic-bezier(.22,1,.36,1);
}
.hp-intro-run .hp-hero__video { transform: none; transition: transform 2.4s cubic-bezier(.22,1,.36,1); }
.hp-intro-run .hp-hero__scrim { opacity: 1; transition: opacity 1.2s ease; }
.hp-intro-run .hp-hero__copy > :nth-child(1) { transition-delay: .15s; }
.hp-intro-run .hp-hero__copy > :nth-child(2) { transition-delay: .27s; }
.hp-intro-run .hp-hero__copy > :nth-child(3) { transition-delay: .42s; }
.hp-intro-run .hp-hero__copy > :nth-child(4) { transition-delay: .54s; }
.hp-intro-run .hp-chapter:nth-child(1) { transition-delay: .7s; }
.hp-intro-run .hp-chapter:nth-child(2) { transition-delay: .8s; }
.hp-intro-run .hp-chapter:nth-child(3) { transition-delay: .9s; }
.hp-intro-run .hp-hero__ctrl { transition-delay: 1s; }

.hp-intro-done .hp-hero__copy > *,
.hp-intro-done .hp-hero__ctrl,
.hp-intro-done .hp-chapter,
.hp-intro-done .hp-hero__video,
.hp-intro-done .hp-hero__scrim { opacity: 1 !important; transform: none !important; transition: none !important; }
/* The chapter strip keeps its own background fade once the intro is over. */
.hp-intro-done .hp-chapter { transition: background-color .25s !important; }

/* --- 2 · Who we are ------------------------------------------------------ */

.hp-intro__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 72px; align-items: end; }

/* --- 3 · Featured story (Zero Flare night palette) ------------------------ */

.hp-feature {
  position: relative; overflow: hidden;
  background: var(--hp-night);
  color: var(--hp-night-ink);
}

/* Footage fills the far half; a night gradient carries the copy side and
   fades into it, so the band reads as one picture rather than two boxes. */
.hp-feature__media { position: absolute; inset-block: 0; inset-inline-end: 0; width: 58%; }
.hp-feature__video { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.85) brightness(.82); }
.hp-feature__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--hp-night) 0%, rgba(8,14,24,.55) 32%, rgba(8,14,24,0) 62%),
              linear-gradient(0deg, rgba(8,14,24,.45) 0%, rgba(8,14,24,0) 35%);
}
[dir="rtl"] .hp-feature__media::after {
  background: linear-gradient(270deg, var(--hp-night) 0%, rgba(8,14,24,.55) 32%, rgba(8,14,24,0) 62%),
              linear-gradient(0deg, rgba(8,14,24,.45) 0%, rgba(8,14,24,0) 35%);
}

.hp-feature__inner { position: relative; padding-top: 110px; padding-bottom: 110px; }
.hp-feature__copy { max-width: 540px; display: flex; flex-direction: column; align-items: flex-start; }
.hp-feature__copy .hp-btn { margin-top: 36px; }

.hp-milestones { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; width: 100%; border-top: 1px solid rgba(154,192,224,.22); }
.hp-milestone { display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 0 0; }
[dir="rtl"] .hp-milestone { padding: 18px 0 0 18px; }
.hp-milestone + .hp-milestone { border-inline-start: 1px solid rgba(154,192,224,.22); padding-inline-start: 18px; }
.hp-milestone__year { font: 600 12px/1 var(--hp-display); letter-spacing: .14em; color: var(--hp-night-muted); }
.hp-milestone__value { font: 700 17px/1.25 var(--hp-display); color: #fff; }
.hp-milestone:last-child .hp-milestone__value { color: var(--hp-gold); }
.hp-milestone__text { font: 400 13px/1.45 var(--hp-body); color: var(--hp-night-muted); }

/* --- 4 · People & in-country value -------------------------------------- */

.hp-people { background: var(--hp-canvas); }
.hp-people__grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: center; }
.hp-figure__value {
  display: block; font: 300 168px/.9 var(--hp-display); color: var(--hp-blue);
  letter-spacing: -.04em; font-variant-numeric: tabular-nums; margin-top: 12px;
}
.hp-figure__value small { font-size: .38em; font-weight: 500; color: var(--hp-gold); letter-spacing: 0; vertical-align: .95em; margin-inline-start: .08em; }
.hp-figure__caption {
  display: block; max-width: 280px; margin-top: 20px; padding-top: 16px;
  border-top: 3px solid var(--hp-gold);
  font: 500 15px/1.4 var(--hp-display); color: var(--hp-ink);
}

.hp-stats { list-style: none; margin: 72px 0 0; padding: 36px 0 0; border-top: 1px solid var(--hp-line); display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.hp-stat { display: flex; flex-direction: column; gap: 10px; }
.hp-stat__value { font: 300 46px/1 var(--hp-display); color: var(--hp-blue); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.hp-stat__label { font: 400 14px/1.45 var(--hp-body); color: var(--hp-text); max-width: 24ch; }
.hp-stat__label::before { content: ""; display: block; width: 28px; height: 2px; background: var(--hp-gold); margin-bottom: 10px; }

/* Icons draw themselves in as the figure counts up. Drawn is the default:
   only a stat home.js has armed starts hidden, and .is-done lands the final
   state with no transition in case transitions never advance. */
.hp-ico { width: 44px; height: 44px; fill: none; stroke: var(--hp-blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.hp-ico .hp-ico__accent { stroke: var(--hp-gold); stroke-width: 2.2; }
.hp-stat { transition: none; }
.hp-stat .hp-ico { transition: transform .3s cubic-bezier(.22,1,.36,1); }
.hp-stat:hover .hp-ico { transform: translateY(-3px); }
.hp-stat.is-armed .hp-ico * { stroke-dasharray: 1; stroke-dashoffset: 1; }
.hp-stat.is-in .hp-ico * { stroke-dashoffset: 0; transition: stroke-dashoffset 1.3s cubic-bezier(.65,0,.35,1); }
.hp-stat.is-in .hp-ico .hp-ico__accent { transition-delay: .55s; }
.hp-stat.is-done .hp-ico *:not(.hp-ico__accent) { stroke-dashoffset: 0 !important; transition: none !important; }

/* Idle loops, one per icon, small enough to read as life rather than
   motion. They start after the draw-in and run on staggered, unequal
   cycles so the row never moves in step. */
.hp-ico g { transform-box: fill-box; }
.hp-ico__float  { transform-origin: 50% 50%;  animation: hp-float 4.6s ease-in-out 2.2s infinite; }
.hp-ico__level  { transform-origin: 50% 50%;  animation: hp-level 5.2s ease-in-out 2.5s infinite; }
.hp-ico__nod    { transform-origin: 50% 100%; animation: hp-nod 5.8s ease-in-out 2.8s infinite; }
.hp-ico__swing  { transform-box: view-box; transform-origin: 24px 5px; animation: hp-swing 5s ease-in-out 3.1s infinite; }
.hp-ico__twinkle { transform-origin: 50% 50%; animation: hp-twinkle 5s ease-in-out 3.1s infinite; }

/* The gold stroke of every icon redraws itself on a loop: it draws in,
   holds, then runs off in the same direction, so it reads as ink being laid
   down rather than blinking. Staggered so the four never draw together. */
.hp-ico .hp-ico__accent { stroke-dasharray: 1; animation: hp-ink 4.4s cubic-bezier(.65,0,.35,1) 2.6s infinite; }
.hp-stat:nth-child(2) .hp-ico__accent { animation-delay: 3.7s; }
.hp-stat:nth-child(3) .hp-ico__accent { animation-delay: 4.8s; }
.hp-stat:nth-child(4) .hp-ico__accent { animation-delay: 5.9s; }
@keyframes hp-ink {
  0%   { stroke-dashoffset: 1; }
  38%  { stroke-dashoffset: 0; }
  72%  { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -1; }
}

@keyframes hp-float   { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
@keyframes hp-level   { 0%, 100% { transform: translateY(0); } 45% { transform: translateY(-4px); } 60% { transform: translateY(-3.5px); } }
@keyframes hp-nod     { 0%, 70%, 100% { transform: rotate(0); } 80% { transform: rotate(-6deg); } 90% { transform: rotate(2deg); } }
@keyframes hp-swing   { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
@keyframes hp-twinkle { 0%, 40%, 100% { transform: scale(1); } 48% { transform: scale(1.18); } 56% { transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
  .hp-ico .hp-ico__accent, .hp-ico__float, .hp-ico__level, .hp-ico__nod, .hp-ico__swing, .hp-ico__twinkle { animation: none; }
}

/* --- 5 · Community ------------------------------------------------------- */

.hp-community { display: grid; grid-template-columns: 1fr 1fr; }
.hp-community__photo {
  min-height: 520px; background-color: #c7a77a;
  background-image: linear-gradient(180deg, #d9c6a2 0%, #c7a77a 55%, #8f6f47 100%);
  background-size: cover;
  /* Keep the face in frame however the panel crops. */
  background-position: 62% 30%;
}
.hp-community__body { padding: 100px 7vw 100px 64px; align-self: center; }
[dir="rtl"] .hp-community__body { padding: 100px 64px 100px 7vw; }
/* What we support: an unboxed row, icon over label, divided by hairlines. */
.hp-areas-title { font: 600 12px/1.3 var(--hp-display); letter-spacing: .2em; text-transform: uppercase; color: var(--hp-blue); margin: 40px 0 0; }
[dir="rtl"] .hp-areas-title { letter-spacing: 0; }
.hp-areas {
  list-style: none; margin: 16px 0 0; padding: 20px 0 0;
  border-top: 1px solid var(--hp-line);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.hp-area {
  display: flex; flex-direction: column; gap: 12px;
  padding-inline: 16px;
  font: 600 13px/1.35 var(--hp-display); color: var(--hp-ink);
}
.hp-area:first-child { padding-inline-start: 0; }
.hp-area + .hp-area { border-inline-start: 1px solid var(--hp-line); }
.hp-area i { font-size: 24px; color: var(--hp-blue); }

.hp-community__body .hp-actions { margin-top: 40px; }

/* --- 6 · Business with us ---------------------------------------------- */

.hp-business { background: var(--hp-blue); color: #fff; padding: 100px 0; position: relative; overflow: hidden; }
.hp-business::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 90% at 100% 0%, rgba(255,255,255,.08), rgba(255,255,255,0) 60%);
  pointer-events: none;
}
/* Survey-map contours: two sets of hairline rings, offset like real
   contour lines, faded out before they reach the copy. Each set drifts
   outward by exactly one ring spacing per cycle, so the loop has no seam.
   The offsets are registered properties so the browser can animate them;
   where @property is unsupported the rings simply stay still. */
@property --hp-r1 { syntax: '<length>'; inherits: false; initial-value: 0px; }
@property --hp-r2 { syntax: '<length>'; inherits: false; initial-value: 0px; }

.hp-business::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  --hp-c1: 88% 18%; --hp-c2: 64% 108%;
  background:
    repeating-radial-gradient(circle at var(--hp-c1),
      rgba(255,255,255,.08) var(--hp-r1), rgba(255,255,255,.08) calc(var(--hp-r1) + 1px),
      rgba(255,255,255,0) calc(var(--hp-r1) + 1.5px), rgba(255,255,255,0) calc(var(--hp-r1) + 34px)),
    repeating-radial-gradient(ellipse 120% 90% at var(--hp-c2),
      rgba(241,196,43,.07) var(--hp-r2), rgba(241,196,43,.07) calc(var(--hp-r2) + 1px),
      rgba(241,196,43,0) calc(var(--hp-r2) + 1.5px), rgba(241,196,43,0) calc(var(--hp-r2) + 46px));
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 28%, #000 62%);
          mask-image: linear-gradient(90deg, transparent 0%, transparent 28%, #000 62%);
  animation: hp-ripple-1 7s linear infinite, hp-ripple-2 12s linear infinite;
  animation-play-state: paused;
}
[dir="rtl"] .hp-business::after {
  --hp-c1: 12% 18%; --hp-c2: 36% 108%;
  -webkit-mask-image: linear-gradient(270deg, transparent 0%, transparent 28%, #000 62%);
          mask-image: linear-gradient(270deg, transparent 0%, transparent 28%, #000 62%);
}
/* Runs only while the band is on screen (home.js adds .is-visible). */
.hp-business.is-visible::after { animation-play-state: running; }
@keyframes hp-ripple-1 { from { --hp-r1: 0px; } to { --hp-r1: 34px; } }
@keyframes hp-ripple-2 { from { --hp-r2: 0px; } to { --hp-r2: 46px; } }
@media (prefers-reduced-motion: reduce) {
  .hp-business::after, .hp-business.is-visible::after { animation: none; }
}
.hp-business__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.35fr; gap: 72px; align-items: center; }
.hp-business .hp-text--light { color: rgba(255,255,255,.82); }
.hp-link--light { color: #fff; }
.hp-link--light:hover, .hp-link--light:focus { color: var(--hp-gold); }

.hp-routes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255,255,255,.18); }
.hp-routes li { border-bottom: 1px solid rgba(255,255,255,.18); }
.hp-routes li:nth-child(odd) { border-inline-end: 1px solid rgba(255,255,255,.18); }
.hp-route {
  display: grid; grid-template-columns: 34px 1fr 18px; gap: 16px; align-items: start;
  padding: 28px 26px; height: 100%; color: #fff;
  transition: background-color .25s;
}
.hp-route:hover, .hp-route:focus { background: rgba(255,255,255,.07); color: #fff; text-decoration: none; }
.hp-route__icon { font-size: 26px; color: var(--hp-gold); line-height: 1; padding-top: 2px; }
.hp-route__body { display: flex; flex-direction: column; gap: 6px; }
.hp-route__title { font: 700 16px/1.3 var(--hp-display); }
.hp-route__text { font: 400 14px/1.5 var(--hp-body); color: rgba(255,255,255,.75); }
.hp-route__go { font-size: 14px; color: rgba(255,255,255,.6); padding-top: 4px; transition: transform .25s, color .25s; }
.hp-route:hover .hp-route__go, .hp-route:focus .hp-route__go { color: var(--hp-gold); transform: translateX(4px); }
[dir="rtl"] .hp-route__go.fa-arrow-right { transform: scaleX(-1); }
[dir="rtl"] .hp-route:hover .hp-route__go.fa-arrow-right { transform: scaleX(-1) translateX(4px); }

/* --- 6 · News ------------------------------------------------------------ */

.hp-news { background: var(--hp-canvas); }
.hp-news__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.hp-news__head .hp-link { margin-top: 0; }
.hp-news__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; margin-top: 44px; }
.hp-card { background: #fff; border-radius: 6px; overflow: hidden; box-shadow: 0 1px 0 var(--hp-line); }
.hp-card__link { display: flex; flex-direction: column; height: 100%; color: inherit; }
.hp-card__link:hover, .hp-card__link:focus { text-decoration: none; color: inherit; }
.hp-card__img {
  display: block; aspect-ratio: 16 / 10; background-color: #dfe7ee;
  background-size: cover; background-position: center;
}
.hp-card__body { display: flex; flex-direction: column; gap: 12px; padding: 24px; }
.hp-card__date { font: 500 12px/1 var(--hp-body); letter-spacing: .06em; text-transform: uppercase; color: var(--hp-text); }
.hp-card__title { font: 600 17px/1.4 var(--hp-display); color: var(--hp-ink); }
.hp-card__link:hover .hp-card__title { color: var(--hp-blue); }

/* --- Arabic -------------------------------------------------------------- */

[dir="rtl"] .hp-eyebrow,
[dir="rtl"] .hp-chapter__num,
[dir="rtl"] .hp-btn,
[dir="rtl"] .hp-link { letter-spacing: 0; }

/* --- Responsive ---------------------------------------------------------- */

@media (max-width: 1199px) {
  .hp-hero__title { font-size: 50px; }
  .hp-community__body { padding-inline: 48px; }
}

@media (max-width: 991px) {
  .hp-section { padding: 80px 0; }
  .hp-intro__grid, .hp-people__grid { grid-template-columns: 1fr; gap: 32px; }
  .hp-statement { font-size: 32px; }
  .hp-community { grid-template-columns: 1fr; }
  .hp-community__photo { min-height: 320px; }
  .hp-community__body, [dir="rtl"] .hp-community__body { padding: 72px 24px; }
  .hp-news__grid { grid-template-columns: 1fr 1fr; }
  .hp-business { padding: 80px 0; }
  .hp-business__grid { grid-template-columns: 1fr; gap: 40px; }
  .hp-news__grid .hp-card:first-child { grid-column: 1 / -1; }
  .hp-feature__media { width: 64%; }
  .hp-stats { grid-template-columns: 1fr 1fr; }
  .hp-figure__value { font-size: 132px; }
}

/* Phone: the chapter strip shrinks to three progress bars and the copy sits
   above them; chapter text is still in the DOM for screen readers. */
@media (max-width: 767px) {
  .hp-hero { min-height: 600px; }
  .hp-hero__inner { bottom: 64px; flex-direction: column; align-items: stretch; }
  .hp-hero__title { font-size: 38px; }
  .hp-hero__sub { font-size: 16px; }
  .hp-hero__ctrl { align-self: flex-end; }
  .hp-hero__chapters { bottom: 28px; }
  .hp-chapters { gap: 8px; }
  .hp-chapter { background: transparent; padding: 0; height: 4px; }
  .hp-chapter.is-on { background: transparent; }
  .hp-chapter__bar { background: rgba(255,255,255,.35); border-radius: 4px; overflow: hidden; }
  .hp-chapter__num, .hp-chapter__title, .hp-chapter__text {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
  }
  .hp-h2 { font-size: 28px; }
  .hp-statement { font-size: 27px; }
  .hp-feature__inner { padding-top: 260px; padding-bottom: 72px; }
  .hp-feature__media { inset-inline: 0; inset-block: 0 auto; width: 100%; height: 300px; }
  .hp-feature__media::after, [dir="rtl"] .hp-feature__media::after { background: linear-gradient(0deg, var(--hp-night) 0%, rgba(8,14,24,0) 60%); }
  .hp-milestones { grid-template-columns: 1fr; }
  .hp-milestone, [dir="rtl"] .hp-milestone { padding: 14px 0; }
  .hp-milestone + .hp-milestone { border-inline-start: 0; padding-inline-start: 0; border-top: 1px solid rgba(154,192,224,.22); }
  .hp-stats { grid-template-columns: 1fr 1fr; gap: 28px 20px; margin-top: 48px; }
  .hp-stat__value { font-size: 36px; }
  .hp-figure__value { font-size: 112px; }
  .hp-areas { grid-template-columns: 1fr 1fr; row-gap: 22px; }
  .hp-area:nth-child(odd) { padding-inline-start: 0; border-inline-start: 0; }
  .hp-news__grid { grid-template-columns: 1fr; }
  .hp-routes { grid-template-columns: 1fr; }
  .hp-routes li:nth-child(odd) { border-inline-end: 0; }
  .hp-route { padding: 22px 4px; }
}

