/* ============================================================
   DESIGN SYSTEM — H.E. Mohamed bin Hadi Al Hussaini
   Premium Financial Authority Website
   ============================================================ */

/* ---------- Custom Properties ---------- */
:root {
  /* Primary */
  --navy:        #0a1628;
  --navy-deep:   #060e1a;
  --navy-mid:    #12243d;
  --navy-light:  #1a3355;

  /* Gold / Champagne */
  --gold:        #c9a84c;
  --gold-light:  #d4ba6a;
  --gold-dark:   #a88a32;
  --champagne:   #f0e6c8;

  /* Blue Accents */
  --blue-accent:  #2d7dd2;
  --blue-light:   #5ba4e6;
  --blue-gradient: linear-gradient(135deg, #1a3355 0%, #2d7dd2 100%);

  /* Neutrals */
  --white:       #ffffff;
  --off-white:   #f7f8fa;
  --grey-100:    #eef0f4;
  --grey-200:    #dce0e8;
  --grey-300:    #b0b8c9;
  --grey-500:    #6b7a90;
  --grey-700:    #3a4558;
  --grey-900:    #1a1f2e;

  /* Glass */
  --glass-bg:    rgba(255,255,255,0.08);
  --glass-border:rgba(255,255,255,0.15);
  --glass-bg-light: rgba(255,255,255,0.65);
  --glass-border-light: rgba(255,255,255,0.35);

  /* Shadows */
  --shadow-sm:   0 2px 8px rgba(10,22,40,0.06);
  --shadow-md:   0 4px 24px rgba(10,22,40,0.10);
  --shadow-lg:   0 8px 48px rgba(10,22,40,0.14);
  --shadow-xl:   0 16px 64px rgba(10,22,40,0.18);
  --shadow-gold: 0 4px 24px rgba(201,168,76,0.20);

  /* Typography */
  --font-primary:  'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-display:  'Poppins', 'Inter', sans-serif;

  /* Spacing Scale */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;
  --space-4xl: 10rem;

  /* Radius */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --radius-xl: 40px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 0.2s;
  --duration-md: 0.4s;
  --duration-slow: 0.7s;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  color: var(--grey-900);
  background: var(--off-white);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--duration-fast) ease;
}

ul, ol { list-style: none; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 3rem);  letter-spacing: -0.015em; }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem);  letter-spacing: -0.01em; }
h4 { font-size: clamp(1.1rem, 2vw, 1.5rem); }
h5 { font-size: 1.1rem; }

p { font-size: 1.05rem; color: var(--grey-700); }
.lead { font-size: 1.25rem; line-height: 1.8; color: var(--grey-500); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-md);
}
.section-label::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--gold);
}

/* ---------- Layout Utilities ---------- */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}
.container-narrow {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section-padding {
  padding: var(--space-3xl) 0;
}
.section-padding-lg {
  padding: var(--space-4xl) 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  align-items: center;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--duration-md) var(--ease-out);
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--gold-light);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1.5px solid var(--gold);
  color: var(--gold);
  background: transparent;
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--navy);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
}
.btn-white:hover {
  background: var(--champagne);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover {
  background: var(--navy-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-md) var(--ease-out);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
}

.card-glass-light {
  background: var(--glass-bg-light);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border-light);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
}

/* ---------- PASSWORD GATE ---------- */
#password-gate {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-deep);
  overflow: hidden;
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
#password-gate.gate-exit {
  opacity: 0;
  transform: scale(1.08);
  pointer-events: none;
}

.gate-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.gate-bg canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.gate-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(10,22,40,0.4) 0%, rgba(6,14,26,0.95) 70%);
}

.gate-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 480px;
  padding: var(--space-xl);
}

.gate-emblem {
  width: 72px;
  height: 72px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  color: var(--gold);
  font-size: 1.6rem;
  font-weight: 300;
  font-family: var(--font-display);
  animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(201,168,76,0.15); }
  50%      { box-shadow: 0 0 40px rgba(201,168,76,0.3); }
}

.gate-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--grey-300);
  margin-bottom: var(--space-xs);
}

.gate-subtitle {
  font-size: 0.85rem;
  color: var(--grey-500);
  margin-bottom: var(--space-xl);
  letter-spacing: 0.05em;
}

.gate-input-wrap {
  position: relative;
  margin-bottom: var(--space-md);
}

.gate-input-wrap input {
  width: 100%;
  padding: 1rem 1.5rem;
  font-family: var(--font-primary);
  font-size: 1rem;
  color: var(--white);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  outline: none;
  transition: all var(--duration-md) ease;
  letter-spacing: 0.15em;
  text-align: center;
}
.gate-input-wrap input::placeholder {
  color: var(--grey-500);
  letter-spacing: 0.1em;
}
.gate-input-wrap input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
  background: rgba(255,255,255,0.1);
}
.gate-input-wrap input.error {
  border-color: #e74c3c;
  animation: shake 0.5s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-8px); }
  40%, 80% { transform: translateX(8px); }
}

.gate-btn {
  width: 100%;
  padding: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--duration-md) var(--ease-out);
}
.gate-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201,168,76,0.3);
}

.gate-error-msg {
  color: #e74c3c;
  font-size: 0.85rem;
  margin-top: var(--space-sm);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gate-error-msg.visible { opacity: 1; }

/* ---------- NAVIGATION ---------- */
.nav-main {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  padding: 1.25rem 0;
  transition: all var(--duration-md) var(--ease-out);
}
.nav-main.scrolled {
  background: rgba(10,22,40,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.75rem 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav-brand-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
}
.nav-brand-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--white);
  letter-spacing: 0.02em;
}
.nav-brand-text span {
  display: block;
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--gold-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.02em;
  transition: color var(--duration-fast) ease;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width var(--duration-md) var(--ease-out);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav Overlay */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 8999;
  background: rgba(10,22,40,0.98);
  backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--white);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s var(--ease-out);
}
.nav-mobile.open a {
  opacity: 1;
  transform: translateY(0);
}
.nav-mobile a:hover { color: var(--gold); }

/* ---------- HERO SECTIONS ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-deep);
}

.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.page-hero .hero-bg img {
  object-position: center 25%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(10,22,40,0.93) 0%,
    rgba(10,22,40,0.78) 40%,
    rgba(10,22,40,0.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: var(--space-3xl) 0;
  padding-top: calc(var(--space-3xl) + 80px);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.2rem;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.35);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: var(--space-lg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero h1 {
  color: var(--white);
  max-width: 700px;
  margin-bottom: var(--space-md);
  text-shadow: 0 2px 16px rgba(0,0,0,0.3);
}

.hero .lead {
  color: rgba(255,255,255,0.78);
  max-width: 560px;
  margin-bottom: var(--space-xl);
  text-shadow: 0 1px 8px rgba(0,0,0,0.15);
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* Page Hero (smaller) */
.page-hero {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: flex-end;
  padding-top: 100px;
  padding-bottom: var(--space-3xl);
  background: var(--navy-deep);
  overflow: hidden;
}
.page-hero .hero-overlay {
  background: linear-gradient(180deg,
    rgba(10,22,40,0.55) 0%,
    rgba(10,22,40,0.88) 60%,
    rgba(10,22,40,0.97) 100%);
}

/* Page Hero text colors — ALL inner pages */
.page-hero h1 {
  color: var(--white);
  max-width: 700px;
  margin-bottom: var(--space-md);
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.page-hero .lead {
  color: rgba(255,255,255,0.75);
  max-width: 580px;
  margin-bottom: var(--space-md);
}
.page-hero p {
  color: rgba(255,255,255,0.7);
}
.page-hero .hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.2rem;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: var(--space-lg);
}
.page-hero .hero-tag svg {
  stroke: var(--gold-light);
}
.page-hero > .container {
  position: relative;
  z-index: 2;
}

/* ---------- Stats Bar ---------- */
.stats-bar {
  position: relative;
  z-index: 3;
  margin-top: -60px;
}
.stats-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.stat-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  box-shadow: var(--shadow-lg);
  transition: all var(--duration-md) var(--ease-out);
}
.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}
.stat-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.stat-number .counter-suffix {
  font-size: 1.8rem;
  color: var(--gold);
}
.stat-label {
  font-size: 0.82rem;
  color: var(--grey-500);
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* ---------- Section Styles ---------- */
.bg-navy { background: var(--navy-deep); }
.bg-navy > .container > .section-header h2,
.bg-navy > .container > .section-header h3,
.bg-navy > .container > h2,
.bg-navy > .container > h3 { color: var(--white); }
.bg-navy > .container > .section-header p,
.bg-navy > .container > .section-header .lead,
.bg-navy > .container > p,
.bg-navy > .container > .lead { color: rgba(255,255,255,0.65); }

/* Direct children that should be light on navy (not nested cards) */
.bg-navy .section-header h2,
.bg-navy .section-header h3,
.bg-navy .section-header h4 { color: var(--white); }
.bg-navy .section-header p,
.bg-navy .section-header .lead { color: rgba(255,255,255,0.65); }

/* Card-glass and glass components inside navy sections */
.bg-navy .card-glass h2,
.bg-navy .card-glass h3,
.bg-navy .card-glass h4 { color: var(--white); }
.bg-navy .card-glass p { color: rgba(255,255,255,0.65); }

/* Quote block text */
.bg-navy .quote-block h2,
.bg-navy .quote-block h3 { color: var(--white); }

/* Value cards */
.bg-navy .value-card h4 { color: var(--white); }
.bg-navy .value-card p { color: rgba(255,255,255,0.55); }

/* Quote cards */
.bg-navy .quote-card .quote-body { color: var(--white); }
.bg-navy .quote-card .quote-src { color: var(--gold-light); }

/* Explicitly reset text inside white-background cards inside .bg-navy */
.bg-navy .timeline-card h4,
.bg-navy .card h4,
.bg-navy .board-card h4,
.bg-navy .pillar h4 { color: var(--navy); }
.bg-navy .timeline-card p,
.bg-navy .card p,
.bg-navy .board-card p,
.bg-navy .pillar p { color: var(--grey-700); }
.bg-navy .timeline-card h3,
.bg-navy .card h3 { color: var(--navy); }

.bg-grey { background: var(--grey-100); }
.bg-white { background: var(--white); }

/* Divider */
.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 3px;
  margin: var(--space-md) 0;
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  padding: var(--space-lg) 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(201,168,76,0.25);
  transform: translateX(-50%);
}
.timeline-item {
  position: relative;
  width: 50%;
  padding: 0 var(--space-xl) var(--space-xl) 0;
}
.timeline-item:nth-child(even) {
  margin-left: 50%;
  padding: 0 0 var(--space-xl) var(--space-xl);
}
.timeline-dot {
  position: absolute;
  top: 0;
  width: 16px;
  height: 16px;
  background: var(--gold);
  border: 3px solid var(--navy-deep);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(201,168,76,0.2);
}
.timeline-item:nth-child(odd) .timeline-dot { right: -8px; }
.timeline-item:nth-child(even) .timeline-dot { left: -8px; }

.timeline-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-md) var(--ease-out);
}
.timeline-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.timeline-year {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

/* ---------- Quote Block ---------- */
.quote-block {
  position: relative;
  padding: var(--space-xl) var(--space-2xl);
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.quote-block::before {
  content: '\201C';
  position: absolute;
  top: -20px;
  left: 30px;
  font-size: 12rem;
  font-family: Georgia, serif;
  color: rgba(201,168,76,0.1);
  line-height: 1;
}
.quote-text {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  font-style: italic;
  color: var(--white);
  line-height: 1.6;
  position: relative;
  z-index: 1;
  margin-bottom: var(--space-md);
}
.quote-author {
  font-size: 0.9rem;
  color: var(--gold-light);
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* ---------- Icon Box ---------- */
.icon-box {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 1.4rem;
  margin-bottom: var(--space-sm);
}
.icon-box-gold {
  background: rgba(201,168,76,0.1);
  color: var(--gold);
}
.icon-box-navy {
  background: rgba(10,22,40,0.06);
  color: var(--navy);
}

/* ---------- Image Containers ---------- */
.img-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.img-frame img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform var(--duration-slow) var(--ease-out);
}
.img-frame:hover img {
  transform: scale(1.03);
}

.img-offset {
  position: relative;
}
.img-offset::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  right: -20px;
  bottom: -20px;
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  z-index: -1;
}

/* ---------- Interactive Map Placeholder ---------- */
.global-map-wrapper {
  position: relative;
  background: var(--navy-deep);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  overflow: hidden;
  min-height: 400px;
}
.global-map-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(45,125,210,0.08) 0%, transparent 70%);
}

.map-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(201,168,76,0.4);
  animation: map-pulse 2s ease-in-out infinite;
}
.map-dot::after {
  content: '';
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 50%;
  animation: map-ripple 2s ease-out infinite;
}

@keyframes map-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}
@keyframes map-ripple {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(3); opacity: 0; }
}

.map-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.3;
  transform-origin: left center;
}

/* ---------- Board Cards ---------- */
.board-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--gold);
  transition: all var(--duration-md) var(--ease-out);
  cursor: pointer;
  overflow: hidden;
}
.board-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-left-color: var(--blue-accent);
}

.board-card-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}
.board-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.board-card-expand {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-md) var(--ease-out);
}
.board-card.expanded .board-card-expand {
  max-height: 600px;
}

/* ---------- Media / Editorial ---------- */
.article-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-lg);
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-md) var(--ease-out);
}
.article-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.article-card-img {
  height: 100%;
  min-height: 220px;
}
.article-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-card-body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tag {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: rgba(201,168,76,0.1);
  color: var(--gold-dark);
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

/* ---------- Contact Form ---------- */
.form-group {
  margin-bottom: var(--space-md);
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1.2rem;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  color: var(--grey-900);
  background: var(--white);
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-sm);
  outline: none;
  transition: all var(--duration-fast) ease;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}
.form-group textarea {
  min-height: 160px;
  resize: vertical;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--navy-deep);
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--navy-deep), var(--gold), var(--navy-deep));
}

.footer-main {
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: var(--space-xl);
}

.footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  margin-top: var(--space-sm);
  line-height: 1.7;
}

.footer h5 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.footer-links li {
  margin-bottom: 0.6rem;
}
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--duration-fast) ease;
}
.footer-links a:hover { color: var(--gold-light); }

.footer-newsletter input {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--font-primary);
  font-size: 0.88rem;
  outline: none;
  margin-bottom: 0.75rem;
  transition: all var(--duration-fast) ease;
}
.footer-newsletter input::placeholder { color: var(--grey-500); }
.footer-newsletter input:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.1);
}
.footer-newsletter button {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--duration-md) var(--ease-out);
}
.footer-newsletter button:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.footer-map {
  margin-top: var(--space-lg);
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 180px;
}
.footer-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(0.8) brightness(0.7);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: var(--space-md) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
}
.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}
.footer-bottom a {
  color: var(--gold);
  font-weight: 500;
}
.footer-bottom a:hover { color: var(--gold-light); }

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--duration-md) var(--ease-out);
  z-index: 8000;
  cursor: pointer;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

/* ---------- Infographic Bars ---------- */
.info-bar {
  margin-bottom: var(--space-sm);
}
.info-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.info-bar-track {
  height: 8px;
  background: var(--grey-200);
  border-radius: 8px;
  overflow: hidden;
}
.info-bar-fill {
  height: 100%;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--gold), var(--blue-accent));
  width: 0;
  transition: width 1.5s var(--ease-out);
}

/* ---------- Vision Pillars ---------- */
.pillar {
  position: relative;
  padding: var(--space-xl);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all var(--duration-md) var(--ease-out);
}
.pillar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--blue-accent));
}
.pillar:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.pillar-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--grey-200);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

/* ---------- Case Study ---------- */
.case-study {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  padding: var(--space-xl);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-xl);
}
.case-study-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-accent);
  margin-bottom: var(--space-sm);
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}
.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}
.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}
.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.stagger-children.revealed > *:nth-child(1) { transition-delay: 0s; }
.stagger-children.revealed > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.revealed > *:nth-child(3) { transition-delay: 0.2s; }
.stagger-children.revealed > *:nth-child(4) { transition-delay: 0.3s; }
.stagger-children.revealed > *:nth-child(5) { transition-delay: 0.4s; }
.stagger-children.revealed > *:nth-child(6) { transition-delay: 0.5s; }
.stagger-children.revealed > * {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Page Transition ---------- */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--navy-deep);
  transform: scaleY(0);
  transform-origin: bottom;
}

/* ---------- Loading animation ---------- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Parallax */
.parallax-layer {
  will-change: transform;
}

/* ---------- RESPONSIVE UTILITY CLASSES ---------- */

/* Featured panel (2-col that stacks on mobile) */
.featured-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.featured-panel-body {
  padding: var(--space-xl);
}
.featured-panel-aside {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
}

/* Inline metric grids (responsive 3-col → 1-col) */
.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.metric-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

/* Sidebar layout (sticky on desktop, static on mobile) */
.sidebar-sticky {
  position: sticky;
  top: 100px;
}

/* Card grid inside grid-2 (2-col that stacks) */
.card-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

/* Reverse order on desktop for asymmetric layouts */
.grid-2-reverse > *:first-child { order: 2; }
.grid-2-reverse > *:last-child  { order: 1; }

/* Section text center block */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-xl);
}

/* Consistent spacing helpers */
.mt-sm { margin-top: var(--space-sm); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }

/* Entity list (stacked items in dark panel) */
.entity-list {
  display: grid;
  gap: 1.25rem;
}
.entity-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.entity-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}
.entity-icon {
  width: 40px;
  height: 40px;
  background: rgba(201,168,76,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.entity-name {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
}
.entity-desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

/* Dark panel */
.dark-panel {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  color: var(--white);
}

/* Outcome blocks in case studies */
.outcome-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.outcome-block {
  padding: 1.5rem;
  background: var(--grey-100);
  border-radius: var(--radius-md);
}
.outcome-block-dark {
  padding: 1.5rem;
  background: var(--navy);
  border-radius: var(--radius-md);
  color: var(--white);
}
.outcome-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.outcome-block-dark .outcome-value {
  color: var(--white);
}
.outcome-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-dark);
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.outcome-block-dark .outcome-label {
  color: var(--gold);
}
.outcome-desc {
  font-size: 0.85rem;
  margin-top: 0.3rem;
  color: var(--grey-500);
}
.outcome-block-dark .outcome-desc {
  color: rgba(255,255,255,0.5);
}

/* Resilience list */
.checklist {
  display: grid;
  gap: 0.75rem;
}
.checklist-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
}
.checklist-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Map container */
.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 260px;
  max-height: 360px;
  box-shadow: var(--shadow-md);
}
.contact-map iframe {
  width: 100%;
  height: 320px;
  border: none;
}

/* Contact info card */
.contact-info-card {
  display: flex;
  gap: 1.25rem;
  align-items: start;
  padding: 1.5rem;
  background: var(--grey-100);
  border-radius: var(--radius-md);
}
.contact-info-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: rgba(201,168,76,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Quick profile table */
.profile-table {
  display: grid;
  gap: 0.75rem;
}
.profile-row {
  display: flex;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--grey-200);
}
.profile-row:last-child { border-bottom: none; padding-bottom: 0; }
.profile-label { font-size: 0.85rem; color: var(--grey-500); }
.profile-value { font-size: 0.85rem; font-weight: 600; color: var(--navy); text-align: right; }

/* Values/principles cards */
.value-card {
  text-align: center;
  padding: var(--space-lg);
}
.value-card h4 { color: var(--white); font-size: 1rem; margin-bottom: 0.5rem; }
.value-card p  { font-size: 0.85rem; color: rgba(255,255,255,0.55); }

/* Governance step */
.gov-step {
  display: flex;
  gap: 1.25rem;
  align-items: start;
}
.gov-step-number {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: rgba(201,168,76,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gold);
}

/* Quote cards in media page */
.quote-card {
  padding: 2rem;
}
.quote-card .quote-mark {
  font-size: 3rem;
  color: rgba(201,168,76,0.2);
  font-family: Georgia, serif;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.quote-card p.quote-body {
  font-size: 1.05rem;
  color: var(--white);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.quote-card .quote-src {
  font-size: 0.85rem;
  color: var(--gold-light);
  font-weight: 600;
}

/* Event cards */
.event-card {
  padding: 0;
  overflow: hidden;
}
.event-card-visual {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.event-card-body {
  padding: 1.5rem;
}

/* Content card variants */
.content-card {
  padding: 2.5rem 2rem;
  text-align: center;
}
.content-card .icon-box {
  margin: 0 auto 1rem;
}

/* Border-top accent cards */
.accent-card-gold { border-top: 4px solid var(--gold); padding: 2.5rem; }
.accent-card-blue { border-top: 4px solid var(--blue-accent); padding: 2.5rem; }

/* Pillar list items */
.pillar-list {
  font-size: 0.88rem;
  color: var(--grey-700);
}
.pillar-list li {
  padding: 0.4rem 0 0.4rem 1.2rem;
  position: relative;
}
.pillar-list li::before {
  content: '\25C6';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.7rem;
}

/* Border-left cards */
.border-card {
  border-left: 3px solid var(--gold);
}
.border-card-blue { border-left: 3px solid var(--blue-accent); }
.border-card-navy { border-left: 3px solid var(--navy); }
.border-card-gold-dark { border-left: 3px solid var(--gold-dark); }

/* Stat grid small */
.stat-grid-sm {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: var(--space-lg);
}
