/* ============================================================
   SAMADROCK — OFFICIAL CORPORATE DESIGN SYSTEM
   Version 2.0 — The Gateway to Private Sector Investment
   ============================================================

   TABLE OF CONTENTS
   01. Reset & Base
   02. Design Tokens
   03. Typography System
   04. Layout & Container
   05. Navigation
   06. Hero Carousel
   07. Stats Strip
   08. Section Patterns & Reveals
   09. Cards & Pillars
   10. Sectors Grid
   11. Timeline
   12. Ecosystem
   13. Partners Strip
   14. Page Hero (inner pages)
   15. Why Egypt Grid
   16. Contact & Forms
   17. Footer
   18. Animations
   19. Responsive
   20. Accessibility
   ============================================================ */

/* ── 01. RESET & BASE ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; }

/* ── 02. DESIGN TOKENS ────────────────────────────────────── */
:root {
  /* Colour */
  --white:           #FFFFFF;
  --off-white:       #FAF9F7;
  --stone-50:        #F4F2EE;
  --stone-100:       #EAE6DF;
  --stone-200:       #D4CCBF;
  --stone-400:       #9E9488;
  --stone-600:       #6B6258;
  --charcoal:        #1A1918;
  --charcoal-90:     rgba(26,25,24,.90);
  --charcoal-80:     rgba(26,25,24,.80);
  --charcoal-65:     rgba(26,25,24,.65);
  --charcoal-45:     rgba(26,25,24,.45);
  --charcoal-25:     rgba(26,25,24,.25);
  --charcoal-12:     rgba(26,25,24,.12);
  --charcoal-06:     rgba(26,25,24,.06);
  --gold:            #C9A96E;
  --gold-dark:       #A07E40;
  --gold-light:      #E8D29A;
  --gold-pale:       rgba(201,169,110,.12);
  --gold-pale-hover: rgba(201,169,110,.20);

  /* Typography */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  /* Fluid type scale */
  --text-hero:  clamp(44px, 6.5vw, 88px);
  --text-h1:    clamp(38px, 5.5vw, 72px);
  --text-h2:    clamp(30px, 3.8vw, 52px);
  --text-h3:    clamp(22px, 2.5vw, 34px);
  --text-h4:    clamp(18px, 1.8vw, 24px);
  --text-lead:  clamp(17px, 1.4vw, 20px);
  --text-base:  clamp(15px, 1.1vw, 17px);
  --text-sm:    14px;
  --text-xs:    12px;
  --text-label: 11px;

  /* Spacing */
  --section-y:     clamp(80px, 10vw, 140px);
  --section-y-sm:  clamp(56px, 6vw, 88px);
  --gap-lg:        clamp(32px, 4vw, 64px);
  --gap-md:        clamp(20px, 2.5vw, 40px);
  --gap-sm:        clamp(12px, 1.5vw, 24px);

  /* Container */
  --container:        1400px;
  --container-narrow:  920px;
  --gutter:           clamp(24px, 4.5vw, 72px);

  /* Border */
  --border:       1px solid var(--charcoal-12);
  --border-light: 1px solid var(--charcoal-06);
  --border-gold:  1px solid rgba(201,169,110,.35);
  --radius-sm:    6px;
  --radius:       12px;
  --radius-lg:    20px;
  --radius-xl:    32px;

  /* Shadows */
  --shadow-sm:  0 1px 4px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow:     0 4px 16px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,.04);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.10), 0 4px 12px rgba(0,0,0,.06);
  --shadow-xl:  0 24px 64px rgba(0,0,0,.12), 0 8px 24px rgba(0,0,0,.06);
  --shadow-card-hover: 0 16px 48px rgba(0,0,0,.09), 0 4px 14px rgba(0,0,0,.04);
  --overlay-hero: linear-gradient(105deg, rgba(12,10,9,.84) 0%, rgba(12,10,9,.66) 48%, rgba(12,10,9,.42) 100%);
  --overlay-hero-bottom: linear-gradient(to bottom, rgba(12,10,9,.70) 0%, rgba(12,10,9,.86) 100%);

  /* Motion */
  --ease-out:  cubic-bezier(.16, 1, .3, 1);
  --ease-circ: cubic-bezier(.16, .84, .44, 1);
  --dur-fast:  200ms;
  --dur-base:  400ms;
  --dur-slow:  700ms;
  --dur-enter: 900ms;
}

/* ── 03. TYPOGRAPHY SYSTEM ────────────────────────────────── */
.font-display { font-family: var(--font-display); }
.font-body    { font-family: var(--font-body); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--charcoal);
}

.text-hero { font-size: var(--text-hero); }
.text-h1   { font-size: var(--text-h1); }
.text-h2   { font-size: var(--text-h2); }
.text-h3   { font-size: var(--text-h3); }
.text-h4   { font-size: var(--text-h4); }
.text-lead { font-size: var(--text-lead); font-weight: 400; line-height: 1.65; }
.text-base { font-size: var(--text-base); }
.text-sm   { font-size: var(--text-sm); }
.text-xs   { font-size: var(--text-xs); }

.text-muted  { color: var(--charcoal-65); }
.text-faint  { color: var(--charcoal-45); }
.text-white  { color: #fff; }
.text-gold   { color: var(--gold); }

.text-italic { font-style: italic; }

/* Section label / pill tag */
.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--charcoal-65);
  border: 1px solid var(--charcoal-12);
  background: var(--white);
  padding: 6px 14px;
  border-radius: 40px;
  line-height: 1;
}

.label--gold {
  color: var(--gold-dark);
  border-color: rgba(201,169,110,.30);
  background: var(--gold-pale);
}

/* Overline/eyebrow */
.overline {
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 16px;
}

/* ── 04. LAYOUT & CONTAINER ───────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding-block: var(--section-y);
}

.section--sm {
  padding-block: var(--section-y-sm);
}

.section--white { background: var(--white); }
.section--off   { background: var(--off-white); }
.section--stone { background: var(--stone-50); }
.section--dark  { background: var(--charcoal); color: #fff; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-lg); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-md); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap-md); }

/* ── 05. NAVIGATION ───────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              padding var(--dur-base) var(--ease-out);
}

.nav.is-transparent .nav-inner {
  padding-block: 24px;
}

.nav.is-scrolled {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 1px 0 var(--charcoal-06), 0 4px 24px rgba(0,0,0,.05);
}

.nav.is-scrolled .nav-inner {
  padding-block: 14px;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 24px;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  transition: padding var(--dur-base) var(--ease-out);
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo img {
  height: 36px;
  width: auto;
  object-fit: contain;
  transition: filter var(--dur-base) var(--ease-out), opacity var(--dur-base);
}

.nav.is-transparent .nav-logo img {
  filter: brightness(0) invert(1);
}

.nav.is-scrolled .nav-logo img {
  filter: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--dur-fast), background var(--dur-fast);
  letter-spacing: .01em;
  white-space: nowrap;
}

.nav.is-transparent .nav-link { color: rgba(255,255,255,.82); }
.nav.is-transparent .nav-link:hover { color: #fff; background: rgba(255,255,255,.10); }

.nav.is-scrolled .nav-link { color: var(--charcoal-65); }
.nav.is-scrolled .nav-link:hover { color: var(--charcoal); background: var(--stone-50); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-nav-cta {
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  transition: all var(--dur-fast);
  white-space: nowrap;
  letter-spacing: .01em;
}

.nav.is-transparent .btn-nav-cta {
  border-color: rgba(255,255,255,.50);
  color: #fff;
}

.nav.is-transparent .btn-nav-cta:hover {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.80);
}

.nav.is-scrolled .btn-nav-cta {
  background: var(--charcoal);
  color: #fff;
  border-color: var(--charcoal);
}

.nav.is-scrolled .btn-nav-cta:hover {
  background: #333;
  border-color: #333;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
  border-radius: var(--radius-sm);
  transition: background var(--dur-fast);
}

.nav-hamburger span {
  display: block;
  height: 1.5px;
  border-radius: 2px;
  transition: all 300ms var(--ease-out);
}

.nav.is-transparent .nav-hamburger span { background: #fff; }
.nav.is-scrolled .nav-hamburger span { background: var(--charcoal); }

.nav-hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile Menu */
.nav-mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 100px var(--gutter) 48px;
  transform: translateX(100%);
  transition: transform 400ms var(--ease-circ);
  overflow-y: auto;
}

.nav-mobile-menu.is-open {
  transform: translateX(0);
}

.nav-mobile-link {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  color: var(--charcoal);
  padding: 16px 0;
  border-bottom: var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color var(--dur-fast);
}

.nav-mobile-link:hover { color: var(--gold); }

.nav-mobile-cta {
  margin-top: 32px;
  padding: 18px 32px;
  background: var(--charcoal);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  letter-spacing: .02em;
}

/* ── 06. HERO CAROUSEL ────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
  background: var(--charcoal);
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1600ms ease;
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
}

.hero-slide.is-active .hero-slide-bg {
  animation: heroKenBurns 10s ease-in-out forwards;
}

@keyframes heroKenBurns {
  from { transform: scale(1.00); }
  to   { transform: scale(1.07); }
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(12,10,9,.55) 0%,
    rgba(12,10,9,.35) 50%,
    rgba(12,10,9,.18) 100%
  );
}

.hero-slide-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-inline: var(--gutter);
  padding-top: 100px;
  max-width: var(--container);
  margin-inline: auto;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
}

.hero-slide-inner {
  max-width: 680px;
}

.hero-slide-label {
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: .20em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 800ms 200ms var(--ease-out), transform 800ms 200ms var(--ease-out);
}

.hero-slide-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1.5px;
  background: var(--gold);
  flex-shrink: 0;
}

.hero-slide.is-active .hero-slide-label {
  opacity: 1;
  transform: translateY(0);
}

.hero-slide-headline {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: #fff;
  text-shadow: 0 2px 32px rgba(0,0,0,.55);
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 900ms 400ms var(--ease-out), transform 900ms 400ms var(--ease-out);
}

.hero-slide.is-active .hero-slide-headline {
  opacity: 1;
  transform: translateY(0);
}

.hero-slide-sub {
  font-size: var(--text-lead);
  color: rgba(255,255,255,.82);
  text-shadow: 0 1px 16px rgba(0,0,0,.50);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 520px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 800ms 600ms var(--ease-out), transform 800ms 600ms var(--ease-out);
}

.hero-slide.is-active .hero-slide-sub {
  opacity: 1;
  transform: translateY(0);
}

.hero-slide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms 800ms var(--ease-out), transform 700ms 800ms var(--ease-out);
}

.hero-slide.is-active .hero-slide-actions {
  opacity: 1;
  transform: translateY(0);
}

/* ── Hero content class aliases (homepage HTML uses these) ── */
.hero-content {
  max-width: 680px;
}

.hero-label {
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: .20em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 800ms 200ms var(--ease-out), transform 800ms 200ms var(--ease-out);
}

.hero-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1.5px;
  background: var(--gold);
  flex-shrink: 0;
}

.hero-slide.is-active .hero-label {
  opacity: 1;
  transform: translateY(0);
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: #fff;
  text-shadow: 0 2px 32px rgba(0,0,0,.55);
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 900ms 400ms var(--ease-out), transform 900ms 400ms var(--ease-out);
}

.hero-slide.is-active .hero-title {
  opacity: 1;
  transform: translateY(0);
}

.hero-sub {
  font-size: var(--text-lead);
  color: rgba(255,255,255,.82);
  text-shadow: 0 1px 16px rgba(0,0,0,.50);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 520px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 800ms 600ms var(--ease-out), transform 800ms 600ms var(--ease-out);
}

.hero-slide.is-active .hero-sub {
  opacity: 1;
  transform: translateY(0);
}

.hero-slide-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms 800ms var(--ease-out), transform 700ms 800ms var(--ease-out);
}

.hero-slide.is-active .hero-slide-cta {
  opacity: 1;
  transform: translateY(0);
}

/* Hero controls */
.hero-controls {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--container);
  padding-inline: var(--gutter);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  z-index: 10;
}

.hero-progress,
.hero-progress-bars {
  display: flex;
  gap: 8px;
  align-items: center;
}

.hero-arrows {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-arrows .hero-arrow {
  position: static;
  transform: none;
  opacity: 1;
  top: auto;
  left: auto;
  right: auto;
  width: 36px;
  height: 36px;
}

.hero-progress-bar {
  position: relative;
  width: 48px;
  height: 2px;
  background: rgba(255,255,255,.25);
  border-radius: 2px;
  cursor: pointer;
  transition: width var(--dur-fast);
  overflow: hidden;
}

.hero-progress-bar.is-active { width: 72px; }

.hero-progress-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  background: var(--gold);
  border-radius: 2px;
  width: 0%;
  transition: none;
}

.hero-progress-bar.is-active .hero-progress-fill {
  animation: progressFill var(--hero-duration, 7000ms) linear forwards;
}

@keyframes progressFill {
  from { width: 0%; }
  to   { width: 100%; }
}

.hero-counter {
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: .12em;
  color: rgba(255,255,255,.55);
}

.hero-counter strong { color: rgba(255,255,255,.90); }

.hero-scroll-hint {
  position: absolute;
  bottom: 48px;
  right: var(--gutter);
  writing-mode: vertical-rl;
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
}

.hero-scroll-hint::after {
  content: '';
  display: block;
  width: 1.5px;
  height: 48px;
  background: rgba(255,255,255,.30);
  animation: scrollHintPulse 2s ease-in-out infinite;
}

@keyframes scrollHintPulse {
  0%, 100% { opacity: .40; }
  50%       { opacity: 1; }
}

/* Hero nav arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.30);
  background: rgba(255,255,255,.08);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--dur-base), background var(--dur-fast), border-color var(--dur-fast);
  backdrop-filter: blur(8px);
}

.hero:hover .hero-arrow { opacity: 1; }

.hero-arrow:hover {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.60);
}

.hero-arrow--prev { left: 24px; }
.hero-arrow--next { right: 24px; }

.hero-arrow svg { width: 18px; height: 18px; stroke-width: 2; }

/* ── 07. STATS STRIP ──────────────────────────────────────── */
.stats-strip {
  background: var(--charcoal);
  padding-block: 40px;
  border-top: 1px solid rgba(255,255,255,.06);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  padding: 24px 32px;
  text-align: center;
  position: relative;
}

.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: rgba(255,255,255,.10);
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 400;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 400;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.stat-value span {
  color: #fff;
}

.stat-suffix {
  color: var(--gold);
}

.stat-label {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.45);
  letter-spacing: .04em;
  line-height: 1.4;
}

/* ── 08. SECTION PATTERNS & REVEALS ──────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }
.reveal-delay-5 { transition-delay: 500ms; }

.section-header {
  margin-bottom: var(--gap-lg);
}

.section-header--center {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: var(--gap-lg);
}

.section-title {
  font-size: var(--text-h2);
  margin-top: 16px;
  margin-bottom: 16px;
}

.section-lead {
  font-size: var(--text-lead);
  color: var(--charcoal-65);
  line-height: 1.65;
  max-width: 640px;
}

.section-header--center .section-lead {
  margin-inline: auto;
}

.divider-gold {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin-top: 24px;
}

.section-header--center .divider-gold {
  margin-inline: auto;
}

/* ── 09. BUTTONS ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: .02em;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  transition: all 220ms var(--ease-out);
  white-space: nowrap;
  cursor: pointer;
}

.btn svg { width: 16px; height: 16px; transition: transform 220ms var(--ease-out); flex-shrink: 0; }
.btn:hover svg { transform: translateX(3px); }

.btn--primary {
  background: var(--charcoal);
  color: #fff;
  border-color: var(--charcoal);
}
.btn--primary:hover {
  background: #2e2c2a;
  border-color: #2e2c2a;
}

.btn--gold {
  background: var(--gold);
  color: var(--charcoal);
  border-color: var(--gold);
  font-weight: 700;
}
.btn--gold:hover {
  background: #bfa060;
  border-color: #bfa060;
}

.btn--outline {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal-25);
}
.btn--outline:hover {
  background: var(--stone-50);
  border-color: var(--charcoal-45);
}

.btn--outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.45);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.80);
}

.btn--outline-gold {
  background: transparent;
  color: var(--gold-dark);
  border-color: rgba(201,169,110,.45);
}
.btn--outline-gold:hover {
  background: var(--gold-pale);
  border-color: var(--gold);
}

.btn--lg {
  padding: 17px 36px;
  font-size: var(--text-base);
}

.btn--sm {
  padding: 9px 18px;
  font-size: var(--text-xs);
}

/* Icon button */
.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--charcoal-12);
  background: transparent;
  color: var(--charcoal-65);
  transition: all var(--dur-fast);
}

.btn-icon:hover {
  background: var(--stone-50);
  border-color: var(--charcoal-25);
  color: var(--charcoal);
}

/* ── CARDS & PILLARS ──────────────────────────────────────── */
.card {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 40px);
  transition: border-color var(--dur-fast), box-shadow var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out);
  min-height: 100%;
}

.card:hover {
  border-color: var(--charcoal-25);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.card--gold:hover {
  border-color: rgba(201,169,110,.40);
  box-shadow: 0 4px 24px rgba(201,169,110,.12);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--stone-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--charcoal-65);
  transition: background var(--dur-fast), color var(--dur-fast);
}

.card:hover .card-icon {
  background: var(--gold-pale);
  color: var(--gold-dark);
}

.card-icon svg { width: 22px; height: 22px; }

.card-title {
  font-family: var(--font-display);
  font-size: var(--text-h4);
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 10px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.card-body {
  font-size: var(--text-sm);
  color: var(--charcoal-65);
  line-height: 1.65;
}

.card-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: var(--gold-pale);
  border: 1px solid rgba(201,169,110,.20);
  padding: 4px 10px;
  border-radius: 40px;
  margin-bottom: 16px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--charcoal-65);
  margin-top: 20px;
  transition: color var(--dur-fast), gap var(--dur-fast);
}

.card-link:hover { color: var(--charcoal); gap: 10px; }
.card-link svg { width: 14px; height: 14px; }

/* ── 10. SECTORS GRID ─────────────────────────────────────── */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}

.sector-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 3/2;
  cursor: pointer;
  display: flex;
  align-items: flex-end;
}

.sector-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 600ms var(--ease-out);
}

.sector-card:hover .sector-card-bg {
  transform: scale(1.05);
}

.sector-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,10,9,.80) 0%, rgba(12,10,9,.30) 60%, transparent 100%);
  transition: background 400ms;
}

.sector-card:hover .sector-card-overlay {
  background: linear-gradient(to top, rgba(12,10,9,.88) 0%, rgba(12,10,9,.40) 60%, transparent 100%);
}

.sector-card-content {
  position: relative;
  padding: clamp(20px, 2.5vw, 32px);
  color: #fff;
  width: 100%;
}

.sector-card-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
}

.sector-card-title {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.sector-card-desc {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.65);
  line-height: 1.5;
  margin-top: 8px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 400ms var(--ease-out), opacity 300ms;
  opacity: 0;
}

.sector-card:hover .sector-card-desc {
  max-height: 80px;
  opacity: 1;
}

.sector-card-arrow {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.30);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.70);
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 300ms, transform 300ms var(--ease-out), background 200ms, border-color 200ms;
}

.sector-card:hover .sector-card-arrow {
  opacity: 1;
  transform: scale(1);
}

.sector-card-arrow svg { width: 14px; height: 14px; }

/* ── 11. TIMELINE ─────────────────────────────────────────── */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 1.5px;
  background: linear-gradient(to bottom, var(--gold), var(--stone-200));
}

.timeline-item {
  position: relative;
  padding-bottom: 48px;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -40px;
  top: 6px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--white);
  border: 2.5px solid var(--gold);
  box-shadow: 0 0 0 4px rgba(201,169,110,.15);
  z-index: 1;
}

.timeline-year {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: .06em;
  margin-bottom: 6px;
}

.timeline-title {
  font-family: var(--font-display);
  font-size: var(--text-h4);
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.timeline-body {
  font-size: var(--text-sm);
  color: var(--charcoal-65);
  line-height: 1.65;
  max-width: 480px;
}

/* ── 12. ECOSYSTEM ────────────────────────────────────────── */
.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}

.ecosystem-card {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color var(--dur-fast), box-shadow var(--dur-base);
}

.ecosystem-card:hover {
  border-color: rgba(201,169,110,.35);
  box-shadow: 0 4px 24px rgba(201,169,110,.10);
}

.ecosystem-card--parent {
  background: var(--charcoal);
  border-color: var(--charcoal);
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 32px 40px;
}

.ecosystem-card--parent:hover {
  background: #2a2826;
}

.ecosystem-parent-label {
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.ecosystem-parent-name {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.01em;
}

.ecosystem-parent-desc {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.55);
  line-height: 1.6;
  max-width: 480px;
}

.ecosystem-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .85;
}

.ecosystem-sub-name {
  font-family: var(--font-display);
  font-size: var(--text-h4);
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.ecosystem-sub-role {
  font-size: var(--text-sm);
  color: var(--charcoal-65);
  line-height: 1.5;
}

/* ── 13. PARTNERS STRIP ───────────────────────────────────── */
.partners-strip {
  padding-block: 48px;
  border-top: var(--border-light);
  border-bottom: var(--border-light);
  overflow: hidden;
}

.partners-logos {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.partners-logos-track {
  display: flex;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
  width: max-content;
  animation: partnersScroll 32s linear infinite;
}

.partners-strip:hover .partners-logos-track {
  animation-play-state: paused;
}

@keyframes partnersScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.partner-logo {
  flex-shrink: 0;
  opacity: .5;
  filter: grayscale(1);
  transition: opacity .3s, filter .3s;
}

.partner-logo:hover {
  opacity: 1;
  filter: none;
}

@media (prefers-reduced-motion: reduce) {
  .partners-logos-track { animation: none; }
}

/* ── 14. PAGE HERO (inner pages) ──────────────────────────── */
.page-hero {
  position: relative;
  background: var(--charcoal);
  overflow: hidden;
  padding-top: 160px;
  padding-bottom: clamp(72px, 8vw, 112px);
  min-height: clamp(460px, 58vh, 680px);
  display: flex;
  align-items: flex-end;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 1;
  transform: scale(1.01);
  transition: transform 1200ms var(--ease-out), opacity 700ms var(--ease-out);
}

.page-hero-overlay {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(12,10,9,.15) 0%, rgba(12,10,9,.55) 100%);
  z-index: 0;
  pointer-events: none;
}

.page-hero:hover .page-hero-bg {
  transform: scale(1.04);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  animation: fadeUp 800ms 120ms var(--ease-out) both;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.page-hero-breadcrumb {
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-shadow: 0 1px 18px rgba(0,0,0,.45);
}

.page-hero-breadcrumb-link {
  color: rgba(255,255,255,.76);
  transition: color var(--dur-fast);
}

.page-hero-breadcrumb-link:hover {
  color: #fff;
}

.page-hero-title {
  font-size: var(--text-h1);
  color: #fff;
  margin-bottom: 20px;
  max-width: 640px;
  text-shadow: 0 2px 28px rgba(0,0,0,.45);
}

.page-hero-lead {
  font-size: var(--text-lead);
  color: rgba(255,255,255,.82);
  max-width: 560px;
  line-height: 1.65;
  text-shadow: 0 1px 18px rgba(0,0,0,.50);
}

.page-hero-sub {
  font-size: var(--text-lead);
  color: rgba(255,255,255,.84);
  max-width: 620px;
  line-height: 1.70;
  text-shadow: 0 1px 20px rgba(0,0,0,.55);
}

.page-hero .btn {
  box-shadow: 0 12px 34px rgba(0,0,0,.18);
}

/* ── 15. WHY EGYPT GRID ───────────────────────────────────── */
.why-egypt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}

.why-card {
  padding: clamp(28px, 3vw, 40px);
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: border-color var(--dur-fast), box-shadow var(--dur-base);
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 400ms var(--ease-out);
}

.why-card:hover::before { transform: scaleX(1); }

.why-card:hover {
  border-color: rgba(201,169,110,.30);
  box-shadow: 0 8px 32px rgba(0,0,0,.06);
}

.why-stat {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.why-stat span { color: var(--gold); }

.why-card-title {
  font-family: var(--font-display);
  font-size: var(--text-h4);
  font-weight: 500;
  color: var(--charcoal);
  margin: 12px 0 10px;
  letter-spacing: -0.01em;
}

.why-card-body {
  font-size: var(--text-sm);
  color: var(--charcoal-65);
  line-height: 1.65;
}

/* ── 16. CONTACT & FORMS ──────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--charcoal-80);
  letter-spacing: .01em;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--charcoal-12);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--charcoal);
  font-size: var(--text-base);
  font-family: var(--font-body);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
  outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,169,110,.14);
}

.form-input::placeholder,
.form-textarea::placeholder { color: var(--charcoal-45); }

.form-textarea {
  resize: vertical;
  min-height: 140px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-grid .form-group--full { grid-column: 1 / -1; }

/* Contact info */
.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: var(--border-light);
}

.contact-info-item:last-child { border-bottom: none; }

.contact-info-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold-dark);
}

.contact-info-icon svg { width: 18px; height: 18px; }

.contact-info-label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--charcoal-45);
  margin-bottom: 4px;
}

.contact-info-value {
  font-size: var(--text-base);
  color: var(--charcoal);
  font-weight: 500;
  line-height: 1.5;
}

/* ── 17. FOOTER ───────────────────────────────────────────── */
.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,.60);
  padding-top: clamp(72px, 8vw, 112px);
  padding-bottom: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 32px;
}

.footer-brand-logo {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .85;
  margin-bottom: 16px;
}

.footer-brand-tagline {
  font-family: var(--font-display);
  font-size: 15px;
  font-style: italic;
  color: rgba(255,255,255,.45);
  line-height: 1.5;
  margin-bottom: 24px;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.45);
  transition: all var(--dur-fast);
}

.footer-social-link:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.25);
  color: #fff;
}

.footer-social-link svg { width: 16px; height: 16px; }

.footer-col-title {
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.90);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.50);
  transition: color var(--dur-fast);
  letter-spacing: .01em;
}

.footer-link:hover { color: rgba(255,255,255,.90); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-legal {
  font-size: var(--text-xs);
  color: rgba(255,255,255,.30);
  letter-spacing: .02em;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-link {
  font-size: var(--text-xs);
  color: rgba(255,255,255,.30);
  transition: color var(--dur-fast);
  letter-spacing: .02em;
}

.footer-legal-link:hover { color: rgba(255,255,255,.60); }

/* ── 18. ANIMATIONS ───────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-32px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* CTA Section */
.cta-section {
  position: relative;
  overflow: hidden;
  padding-block: clamp(80px, 10vw, 128px);
  background: var(--charcoal);
}

.cta-section-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .30;
  transform: scale(1.01);
  transition: transform 1200ms var(--ease-out);
}

.cta-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(12,10,9,.72), rgba(12,10,9,.88));
  pointer-events: none;
}

.cta-section:hover .cta-section-bg {
  transform: scale(1.04);
}

.cta-section-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}

.cta-section-title {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta-section-sub {
  font-size: var(--text-lead);
  color: rgba(255,255,255,.82);
  margin-bottom: 40px;
  line-height: 1.6;
}

.cta-section-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Values grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--charcoal-06);
  border: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.value-item {
  background: var(--white);
  padding: clamp(24px, 2.5vw, 36px);
  text-align: center;
  transition: background var(--dur-fast);
}

.value-item:hover { background: var(--stone-50); }

.value-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  color: var(--gold-dark);
}

.value-icon svg { width: 20px; height: 20px; }

.value-name {
  font-family: var(--font-display);
  font-size: var(--text-h4);
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.value-desc {
  font-size: var(--text-xs);
  color: var(--charcoal-65);
  line-height: 1.6;
}

/* Big intro section */
.intro-section {
  padding-block: var(--section-y);
}

.intro-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: .20em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.intro-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--charcoal);
  margin-bottom: 24px;
  max-width: 840px;
}

.intro-body {
  font-size: var(--text-lead);
  color: var(--charcoal-65);
  line-height: 1.70;
  max-width: 640px;
  margin-bottom: 36px;
}

/* Number badge */
.number-badge {
  font-family: var(--font-display);
  font-size: clamp(80px, 12vw, 160px);
  font-weight: 400;
  color: var(--stone-100);
  line-height: 1;
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
  transition: color var(--dur-slow);
}

/* Quote/testimonial */
.blockquote {
  border-left: 3px solid var(--gold);
  padding-left: 28px;
  margin-block: 32px;
}

.blockquote p {
  font-family: var(--font-display);
  font-size: var(--text-h4);
  font-style: italic;
  font-weight: 400;
  color: var(--charcoal-80);
  line-height: 1.55;
  margin-bottom: 12px;
}

.blockquote cite {
  font-size: var(--text-sm);
  color: var(--charcoal-65);
  font-style: normal;
  letter-spacing: .04em;
}

/* ── 19. RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .sectors-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  .ecosystem-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .why-egypt-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item + .stat-item::before {
    top: 0; bottom: 0; height: 1px; width: 100%;
    left: 0; top: auto;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-hamburger { display: flex; }
  .hero-scroll-hint { display: none; }
  .hero-arrow { display: none; }
  .sectors-grid { grid-template-columns: 1fr; }
  .why-egypt-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .ecosystem-grid { grid-template-columns: 1fr; }
  .ecosystem-card--parent { padding: 24px; }
  .hero-controls { bottom: 28px; }
  .cta-section-actions { flex-direction: column; align-items: center; }
}

@media (max-width: 560px) {
  .stats-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-legal-links { gap: 12px; }
}

/* Utility classes */
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--gap-sm); }
.gap-md { gap: var(--gap-md); }
.mt-sm { margin-top: var(--gap-sm); }
.mt-md { margin-top: var(--gap-md); }
.mt-lg { margin-top: var(--gap-lg); }
.mb-sm { margin-bottom: var(--gap-sm); }
.mb-md { margin-bottom: var(--gap-md); }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
.text-center { text-align: center; }
.w-full { width: 100%; }

/* ── 20. ACCESSIBILITY ────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .hero-slide-bg { animation: none !important; }
  .hero-progress-fill { animation: none !important; width: 100% !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Language switcher and RTL support */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  flex-shrink: 0;
}

.nav.is-scrolled .lang-switch,
.lang-switch--compact {
  border-color: var(--charcoal-12);
  background: var(--stone-50);
}

.lang-switch--compact {
  display: none;
}

.lang-switch button {
  min-width: 34px;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  color: rgba(255,255,255,.72);
  transition: background var(--dur-fast), color var(--dur-fast);
}

.nav.is-scrolled .lang-switch button,
.lang-switch--compact button {
  color: var(--charcoal-65);
}

.lang-switch button.is-active {
  background: var(--gold);
  color: var(--charcoal);
}

.lang-switch--mobile {
  margin-bottom: 24px;
  align-self: flex-start;
  border-color: var(--charcoal-12);
  background: var(--stone-50);
}

.lang-switch--mobile button {
  color: var(--charcoal-65);
}

.lang-switch--floating {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2000;
  border-color: var(--charcoal-12);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow);
}

.lang-switch--floating button {
  color: var(--charcoal-65);
}

body.is-rtl .lang-switch--floating {
  right: auto;
  left: 20px;
}

body.is-rtl {
  direction: rtl;
  font-family: Tahoma, Arial, var(--font-body);
}

body.is-rtl h1,
body.is-rtl h2,
body.is-rtl h3,
body.is-rtl h4,
body.is-rtl h5,
body.is-rtl h6,
body.is-rtl .font-display,
body.is-rtl .hero-slide-headline,
body.is-rtl .hero-title,
body.is-rtl .section-title,
body.is-rtl .intro-title,
body.is-rtl .page-hero-title,
body.is-rtl .card-title {
  font-family: Georgia, Tahoma, Arial, serif;
  letter-spacing: 0;
}

body.is-rtl .label,
body.is-rtl .overline,
body.is-rtl .footer-col-title,
body.is-rtl .hero-slide-label,
body.is-rtl .hero-label,
body.is-rtl .partners-label,
body.is-rtl .contact-info-label,
body.is-rtl .form-label,
body.is-rtl .card-tag {
  letter-spacing: .04em;
}

body.is-rtl .hero-slide-content {
  text-align: right;
}

body.is-rtl .hero-slide-label::before {
  order: 2;
}

body.is-rtl .hero-scroll-hint {
  right: auto;
  left: var(--gutter);
}

body.is-rtl .hero-arrow--prev { left: auto; right: 24px; }
body.is-rtl .hero-arrow--next { right: auto; left: 24px; }

body.is-rtl .sector-card-arrow {
  right: auto;
  left: 24px;
}

body.is-rtl .stat-item + .stat-item::before {
  left: auto;
  right: 0;
}

body.is-rtl .timeline {
  padding-left: 0;
  padding-right: 40px;
}

body.is-rtl .timeline::before {
  left: auto;
  right: 8px;
}

body.is-rtl .timeline-dot {
  left: auto;
  right: -40px;
}

body.is-rtl .blockquote {
  border-left: 0;
  border-right: 3px solid var(--gold);
  padding-left: 0;
  padding-right: 28px;
}

body.is-rtl .nav-mobile-menu {
  transform: translateX(-100%);
}

body.is-rtl .nav-mobile-menu.is-open {
  transform: translateX(0);
}

body.is-rtl .form-select {
  background-position: left 16px center;
  padding-right: 16px;
  padding-left: 44px;
}

.policy-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(260px, 1fr);
  gap: var(--gap-lg);
  align-items: start;
}

.policy-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.policy-card {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 40px);
}

.policy-card h2,
.policy-card h3 {
  margin-bottom: 14px;
}

.policy-card p,
.policy-card li {
  color: var(--charcoal-65);
  font-size: var(--text-base);
  line-height: 1.75;
}

.policy-card ul {
  list-style: disc;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

body.is-rtl .policy-card ul {
  padding-left: 0;
  padding-right: 20px;
}

.policy-aside {
  position: sticky;
  top: 110px;
  background: var(--charcoal);
  color: rgba(255,255,255,.66);
  border-radius: var(--radius);
  padding: 28px;
}

.policy-aside-title {
  color: var(--white);
  font-family: var(--font-display);
  font-size: var(--text-h4);
  margin-bottom: 12px;
}

.policy-aside p {
  font-size: var(--text-sm);
  line-height: 1.7;
}

.notice-box {
  background: var(--gold-pale);
  border: var(--border-gold);
  border-radius: var(--radius);
  padding: 20px;
  color: var(--gold-dark);
  font-size: var(--text-sm);
  line-height: 1.7;
}

@media (max-width: 900px) {
  .policy-layout {
    grid-template-columns: 1fr;
  }
  .policy-aside {
    position: static;
  }
}

@media (max-width: 768px) {
  .lang-switch--compact {
    display: inline-flex;
  }
  .lang-switch:not(.lang-switch--mobile) {
    margin-left: auto;
  }
  body.is-rtl .lang-switch:not(.lang-switch--mobile) {
    margin-left: 0;
    margin-right: auto;
  }
}

/* ── STATIC LANGUAGE SWITCHER (bilingual /en/ + /ar/ architecture) ── */
.lang-switch-static {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  user-select: none;
}
.lang-switch-static__active {
  color: var(--gold);
  cursor: default;
}
.lang-switch-static__sep {
  color: var(--charcoal-25);
  font-weight: 300;
  font-size: 13px;
  line-height: 1;
}
.lang-switch-static__alt {
  color: var(--charcoal-65);
  padding: 3px 7px;
  border-radius: 4px;
  transition: color .2s, background .2s;
  font-family: var(--font-body);
}
.lang-switch-static__alt:hover {
  color: var(--charcoal);
  background: var(--stone-50);
}
/* On transparent (dark hero) nav */
.nav.is-transparent .lang-switch-static__active  { color: var(--gold); }
.nav.is-transparent .lang-switch-static__sep      { color: rgba(255,255,255,.22); }
.nav.is-transparent .lang-switch-static__alt      { color: rgba(255,255,255,.60); }
.nav.is-transparent .lang-switch-static__alt:hover{ color: #fff; background: rgba(255,255,255,.10); }
/* Arabic alt uses a slightly different font weight to distinguish from EN */
.lang-switch-static__alt[lang="ar"]  { font-size: 13px; letter-spacing: 0; font-weight: 600; }
.lang-switch-static__active[lang="ar"] { font-size: 13px; letter-spacing: 0; }

/* ── DROPDOWN NAV ─────────────────────────────────────────── */
.nav-dropdown {
  position: relative;
}
.nav-link--dropdown {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-chevron {
  width: 14px;
  height: 14px;
  display: inline-block;
  transition: transform .2s var(--ease-out);
  flex-shrink: 0;
}
.nav-dropdown:hover .nav-chevron,
.nav-dropdown.is-open .nav-chevron { transform: rotate(180deg); }

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 200px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 40px rgba(0,0,0,.12), 0 1px 0 rgba(0,0,0,.06);
  border: 1px solid rgba(26,25,24,.06);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s var(--ease-out), visibility .18s, transform .18s var(--ease-out);
  z-index: 300;
  pointer-events: none;
}
.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown.is-open .nav-dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.nav-dropdown-item {
  display: block;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--charcoal-65);
  border-radius: var(--radius-sm);
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.nav-dropdown-item:hover { background: var(--stone-50); color: var(--charcoal); }
.nav-dropdown-item--active { color: var(--charcoal); font-weight: 600; }
.nav-dropdown-divider { height: 1px; background: var(--border-light); margin: 6px 0; border:none; }

/* Mobile accordion groups */
.nav-mobile-group { border-bottom: 1px solid rgba(26,25,24,.1); }
.nav-mobile-group-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  color: var(--charcoal);
  padding: 16px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: right;
}
.nav-mobile-group-toggle svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  transition: transform .25s;
}
.nav-mobile-group.is-open .nav-mobile-group-toggle svg { transform: rotate(180deg); }
.nav-mobile-group-items {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s var(--ease-out);
}
.nav-mobile-group.is-open .nav-mobile-group-items { max-height: 400px; }
.nav-mobile-group-link {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--charcoal-65);
  padding: 9px 0 9px 16px;
  transition: color .15s;
}
.nav-mobile-group-link:hover { color: var(--charcoal); }

/* ── CAREERS PAGE COMPONENTS ─────────────────────────────── */
.pathway-card {
  background: var(--white);
  border: var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: box-shadow .3s, transform .3s, border-color .3s;
  display: flex;
  flex-direction: column;
}
.pathway-card:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,.08);
  transform: translateY(-4px);
  border-color: var(--gold-light);
}
.pathway-card-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.pathway-card-title {
  font-size: var(--text-h4);
  color: var(--charcoal);
  margin-bottom: 10px;
}
.pathway-card-desc {
  font-size: var(--text-sm);
  color: var(--charcoal-65);
  line-height: 1.70;
  flex: 1;
}

/* Recruitment timeline */
.recruit-timeline {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
  overflow-x: auto;
  padding-bottom: 8px;
}
.recruit-timeline::before {
  content: '';
  position: absolute;
  top: 26px;
  left: 26px;
  right: 26px;
  height: 1px;
  background: var(--gold-light);
}
.recruit-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  min-width: 90px;
  gap: 12px;
  position: relative;
}
.recruit-step-dot {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-dark);
  letter-spacing: .06em;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.recruit-step-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: .04em;
  line-height: 1.3;
}
@media(max-width:768px) {
  .recruit-timeline { flex-direction: column; align-items: flex-start; gap: 0; }
  .recruit-timeline::before { top: 0; bottom: 0; left: 25px; right: auto; width: 1px; height: auto; }
  .recruit-step { flex-direction: row; text-align: left; gap: 16px; padding: 12px 0; }
}

/* Vacancy empty state */
.vacancy-empty {
  padding: 64px 48px;
  background: var(--stone-50);
  border-radius: var(--radius-xl);
  text-align: center;
  border: 1px dashed var(--gold-light);
}
.vacancy-empty-title { font-size: var(--text-h4); color: var(--charcoal); margin-bottom: 12px; }
.vacancy-empty-text { font-size: var(--text-base); color: var(--charcoal-65); max-width: 580px; margin: 0 auto 28px; line-height: 1.75; }

/* People grid */
.people-discipline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.people-discipline-item {
  padding: 16px 18px;
  background: var(--white);
  border: var(--border-light);
  border-radius: var(--radius);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: border-color .2s, box-shadow .2s;
}
.people-discipline-item:hover { border-color: var(--gold-light); box-shadow: 0 4px 16px rgba(0,0,0,.05); }
.people-discipline-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
@media(max-width:900px) { .people-discipline-grid { grid-template-columns: repeat(3, 1fr); } }
@media(max-width:600px) { .people-discipline-grid { grid-template-columns: repeat(2, 1fr); } }

/* Graduate disciplines list */
.grad-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.grad-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-sm);
  color: var(--charcoal);
  padding: 10px 14px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: var(--border-light);
}
.grad-list li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
@media(max-width:600px) { .grad-list { grid-template-columns: 1fr; } }

/* Value pillars (Why Join) */
.value-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.value-pillar {
  padding: 28px;
  background: var(--white);
  border: var(--border-light);
  border-radius: var(--radius-lg);
  transition: box-shadow .3s, border-color .3s;
}
.value-pillar:hover { box-shadow: 0 8px 32px rgba(0,0,0,.07); border-color: var(--gold-light); }
.value-pillar-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.value-pillar-title { font-size: var(--text-base); font-weight: 600; color: var(--charcoal); margin-bottom: 8px; }
.value-pillar-desc { font-size: var(--text-sm); color: var(--charcoal-65); line-height: 1.65; }
@media(max-width:900px) { .value-pillars { grid-template-columns: repeat(2, 1fr); } }
@media(max-width:600px) { .value-pillars { grid-template-columns: 1fr; } }

/* Insights / News cards */
.insight-card {
  background: var(--white);
  border: var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow .3s, transform .3s;
  display: flex;
  flex-direction: column;
}
.insight-card:hover { box-shadow: 0 16px 48px rgba(0,0,0,.09); transform: translateY(-3px); }
.insight-card-img { height: 200px; object-fit: cover; width: 100%; }
.insight-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.insight-card-tag { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 10px; }
.insight-card-title { font-size: var(--text-base); font-weight: 600; color: var(--charcoal); margin-bottom: 8px; line-height: 1.4; }
.insight-card-date { font-size: var(--text-xs); color: var(--charcoal-50); margin-top: auto; padding-top: 16px; }

/* ESG pillars */
.esg-pillar {
  padding: 32px;
  border-radius: var(--radius-lg);
  border: var(--border-light);
  background: var(--white);
}
.esg-pillar-icon { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.esg-pillar-title { font-size: var(--text-h4); color: var(--charcoal); margin-bottom: 10px; }
.esg-pillar-desc { font-size: var(--text-sm); color: var(--charcoal-65); line-height: 1.70; }

/* Capability cards */
.capability-card {
  padding: 32px 28px;
  background: var(--white);
  border: var(--border-light);
  border-radius: var(--radius-lg);
  transition: box-shadow .3s, transform .3s, border-color .3s;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
.capability-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-3px); border-color: var(--gold-light); }
.capability-card-num { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--gold); text-transform: uppercase; margin-bottom: 16px; }
.capability-card-title { font-size: var(--text-h4); color: var(--charcoal); margin-bottom: 10px; }
.capability-card-desc { font-size: var(--text-sm); color: var(--charcoal-65); line-height: 1.70; flex: 1; }

.component-grid,
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.dark-link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-lg);
  color: var(--white);
  transition: background var(--dur-fast), border-color var(--dur-fast), transform var(--dur-fast);
}

.dark-link-card:hover {
  background: rgba(255,255,255,.13);
  border-color: rgba(255,255,255,.26);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .page-hero {
    min-height: 440px;
    padding-top: 136px;
    padding-bottom: 64px;
  }

  .page-hero-title,
  .page-hero-sub,
  .page-hero-lead {
    max-width: 100%;
  }
}

/* ============================================================
   CORPORATE SECTION
   Process flows, accordions and governance components.
   Used by /en/corporate/* and /ar/corporate/*
   ============================================================ */

/* ── PROCESS FLOW ────────────────────────────────────────── */
.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px 4px;
  margin-top: var(--gap-lg);
  position: relative;
}
/* explicit column counts: auto-fit produced orphan rows and left dotted
   connectors pointing into empty space at the end of a wrapped row */
.flow--5 { grid-template-columns: repeat(5, 1fr); }
.flow--6 { grid-template-columns: repeat(3, 1fr); }
.flow-step:nth-child(4n)::after { display: none; }
.flow--5 .flow-step:nth-child(4n)::after { display: block; }
.flow--5 .flow-step:nth-child(5n)::after { display: none; }
.flow--6 .flow-step:nth-child(4n)::after { display: block; }
.flow--6 .flow-step:nth-child(3n)::after { display: none; }

@media (max-width: 1100px) and (min-width: 861px) {
  .flow, .flow--5, .flow--6 { grid-template-columns: repeat(3, 1fr); }
  .flow-step::after { display: block; }
  .flow-step:nth-child(3n)::after { display: none; }
}

.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 8px 6px 0;
  position: relative;
}

/* dotted connector between steps on the same row */
.flow-step::after {
  content: '';
  position: absolute;
  top: 86px;
  /* logical inset so the connector points at the next step in both LTR and RTL */
  inset-inline-start: calc(50% + 42px);
  inset-inline-end: calc(-50% + 42px);
  height: 0;
  border-top: 1px dashed var(--charcoal-20, rgba(26,25,24,.22));
  z-index: 0;
}
.flow-step:last-child::after { display: none; }

.flow-num {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--charcoal);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  flex-shrink: 0;
  z-index: 2;
}

.flow-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--charcoal-06, rgba(26,25,24,.10));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal);
  z-index: 1;
  transition: border-color var(--dur-fast), box-shadow var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out);
}
.flow-icon svg { width: 30px; height: 30px; }

.flow-step:hover .flow-icon {
  border-color: var(--gold);
  box-shadow: 0 8px 28px rgba(201,169,110,.16);
  transform: translateY(-3px);
}

.flow-label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.45;
  max-width: 15ch;
}

.flow-note {
  font-size: var(--text-xs);
  color: var(--charcoal-50);
  line-height: 1.45;
  margin-top: -6px;
}

@media (max-width: 860px) {
  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow-step {
    flex-direction: row;
    text-align: left;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
  }
  /* vertical connector: needs top+bottom, not height:0 */
  .flow-step::after,
  .flow--5 .flow-step:nth-child(5n)::after,
  .flow--6 .flow-step:nth-child(3n)::after,
  .flow-step:nth-child(4n)::after {
    display: block;
    top: 58px; bottom: -12px;
    inset-inline-start: 26px; inset-inline-end: auto;
    width: 0; height: auto;
    border-top: none;
    border-inline-start: 1px dashed var(--charcoal-20, rgba(26,25,24,.22));
    border-left: none;
  }
  .flow-icon { width: 54px; height: 54px; }
  .flow-icon svg { width: 24px; height: 24px; }
  .flow-label { max-width: none; font-size: var(--text-sm); }
  /* must out-specify the .flow--5/.flow--6 rules above */
  .flow .flow-step:last-child::after,
  .flow--5 .flow-step:last-child::after,
  .flow--6 .flow-step:last-child::after { display: none; }
}
[dir="rtl"] .flow-step { text-align: center; }
[dir="rtl"] .flow-label { text-align: center; }
@media (max-width: 860px) {
  [dir="rtl"] .flow-step { flex-direction: row-reverse; text-align: right; }
  [dir="rtl"] .flow-label { text-align: right; }
}

/* ── ACCORDION (native <details>, no JS required) ─────────── */
.accordion { border-top: var(--border-light); }

.acc-item {
  border-bottom: var(--border-light);
}

.acc-item > summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 40px 22px 0;
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--charcoal);
  position: relative;
  transition: color var(--dur-fast);
}
.acc-item > summary::-webkit-details-marker { display: none; }
.acc-item > summary:hover { color: var(--gold-dark); }

.acc-item > summary::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 6px;
  width: 9px; height: 9px;
  border-right: 1.5px solid var(--charcoal-50);
  border-bottom: 1.5px solid var(--charcoal-50);
  transform: translateY(-70%) rotate(45deg);
  transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-fast);
}
.acc-item[open] > summary::after {
  transform: translateY(-30%) rotate(-135deg);
  border-color: var(--gold-dark);
}

.acc-panel {
  padding: 0 40px 26px 0;
  font-size: var(--text-sm);
  color: var(--charcoal-65);
  line-height: 1.75;
  max-width: 78ch;
}
.acc-panel p + p { margin-top: 12px; }

[dir="rtl"] .acc-item > summary { padding: 22px 0 22px 40px; }
[dir="rtl"] .acc-item > summary::after { right: auto; left: 6px; }
[dir="rtl"] .acc-panel { padding: 0 0 26px 40px; }

@media (prefers-reduced-motion: reduce) {
  .acc-item > summary::after { transition: none; }
}

/* ── DOCUMENT CONTROL MARKERS ────────────────────────────── */
.doc-marks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1px;
  background: var(--charcoal-06, rgba(26,25,24,.10));
  border: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: var(--gap-md);
}
.doc-mark {
  background: var(--white);
  padding: 26px 24px;
  transition: background var(--dur-fast);
}
.doc-mark:hover { background: var(--stone-50); }
.doc-mark-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--charcoal-50);
  margin-bottom: 8px;
}
.doc-mark-value {
  font-family: var(--font-display);
  font-size: var(--text-base);
  color: var(--charcoal);
  margin-bottom: 6px;
}
.doc-mark-desc {
  font-size: var(--text-xs);
  color: var(--charcoal-65);
  line-height: 1.6;
}

/* ============================================================
   COMMUNITY ENRICHMENT FUND (CEF)
   ============================================================ */

/* ── PRINCIPLE BAND — large statement on dark ─────────────── */
.principle-band {
  background: linear-gradient(105deg, var(--charcoal) 0%, #2a2420 100%);
  padding-block: clamp(72px, 9vw, 120px);
  position: relative;
  overflow: hidden;
}
.principle-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 70% 50%, rgba(201,169,110,.14) 0%, transparent 70%);
  pointer-events: none;
}
.principle-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.principle-statement {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 46px);
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: var(--white);
  max-width: 20ch;
}
.principle-statement em { color: var(--gold); font-style: italic; }
.principle-sub {
  font-size: var(--text-base);
  color: rgba(255,255,255,.62);
  line-height: 1.8;
  max-width: 60ch;
  margin-top: 28px;
}

/* ── SUPPORTING PRINCIPLES ───────────────────────────────── */
.tenets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: clamp(48px, 6vw, 72px);
}
.tenet {
  background: rgba(255,255,255,.03);
  padding: 32px 28px;
  transition: background var(--dur-base);
}
.tenet:hover { background: rgba(201,169,110,.08); }
.tenet-num {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  color: var(--gold);
  margin-bottom: 14px;
}
.tenet-text {
  font-size: var(--text-base);
  color: rgba(255,255,255,.80);
  line-height: 1.72;
}

/* ── AREA CHIPS — many examples, low visual weight ───────── */
.areas {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 12px;
  margin-top: var(--gap-lg);
}
.area {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  transition: border-color var(--dur-fast), transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.area:hover {
  border-color: rgba(201,169,110,.45);
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(201,169,110,.10);
}
.area-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  flex-shrink: 0;
}
.area-icon svg { width: 18px; height: 18px; }
.area-name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.35;
}

/* ── MEASUREMENT TABLE — placeholders until real data ────── */
.metrics {
  border-top: var(--border-light);
  margin-top: var(--gap-md);
}
.metric-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 18px 4px;
  border-bottom: var(--border-light);
  transition: background var(--dur-fast);
}
.metric-row:hover { background: var(--stone-50); }
.metric-name {
  font-size: var(--text-sm);
  color: var(--charcoal);
  font-weight: 500;
}
.metric-value {
  font-family: var(--font-display);
  font-size: var(--text-base);
  color: var(--charcoal-40);
  letter-spacing: .04em;
  white-space: nowrap;
}
