/* ==========================================================================
   iStar Technology Limited - Official Website Revamp Style System
   Design System Tokens, Typography, Layout & Responsive Components
   ========================================================================== */

:root {
  /* Brand Primary Colors */
  --primary: #0062e0;
  --primary-hover: #0050b8;
  --primary-active: #003f91;
  --primary-light: #e8f2fe;
  --primary-subtle: #f3f8ff;
  --primary-glow: rgba(0, 98, 224, 0.25);

  /* Secondary & Accents */
  --accent-cyan: #06b6d4;
  --accent-teal: #0d9488;
  --accent-red: #ef4444;

  /* Neutrals & Dark Tones */
  --navy-950: #070d18;
  --navy-900: #0b1322;
  --navy-850: #0e192d;
  --navy-800: #14223b;
  --navy-700: #1e3256;
  --navy-600: #2c4472;

  /* Typography Colors */
  --text-title: #0c1c38;
  --text-headline: #111e33;
  --text-body: #4b586e;
  --text-muted: #5d6b82; /* 4.7:1 or better on every light background here (was #6b7a90, 4.4:1) */
  --text-light: #8fa0b5;
  --text-white: #ffffff;
  --text-white-muted: rgba(255, 255, 255, 0.72);

  /* Backgrounds & Surfaces */
  --bg-page: #f8fafd;
  --bg-card: #ffffff;
  --bg-subtle: #f1f5fa;
  --bg-border: #e2e8f0;
  --bg-border-light: #edf2f7;

  /* Shadows */
  --shadow-xs: 0 1px 3px rgba(12, 28, 56, 0.05);
  --shadow-sm: 0 4px 8px -2px rgba(12, 28, 56, 0.06);
  --shadow-md: 0 12px 24px -4px rgba(12, 28, 56, 0.08);
  --shadow-lg: 0 20px 40px -8px rgba(12, 28, 56, 0.12);
  --shadow-pill: 0 6px 18px rgba(0, 98, 224, 0.28);
  --shadow-card-hover: 0 16px 32px rgba(0, 98, 224, 0.09);

  /* Layout */
  --max-width: 1360px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.18s ease;
  --transition-normal: 0.28s var(--ease-spring);
  --transition-slow: 0.45s var(--ease-spring);
}

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

/* Titles use Schibsted Grotesk; descriptions and UI text use Familjen Grotesk */
h1, h2, h3, h4,
.role-title,
.stat-num,
.metric-counter {
  font-family: 'Schibsted Grotesk', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html {
  font-family: 'Familjen Grotesk', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-body);
  background-color: var(--bg-page);
  scroll-behavior: smooth;
  /* Section links and search results land below the sticky header, not under it. */
  scroll-padding-top: var(--header-h, 77px);
  /* No grey flash on tap; no font inflation when a phone turns to landscape. */
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100svh;
  overflow-x: hidden;
  line-height: 1.6;
}

img, svg {
  display: block;
  max-width: 100%;
}

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

/* Taps fire at once (no double-tap-zoom wait). A long press on a control
   doesn't select its label; body text stays selectable. */
a,
button,
input,
select,
textarea,
label,
[role="button"] {
  touch-action: manipulation;
}
button,
[role="button"],
.btn-pill,
.btn-contact {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
/* iOS zooms into any field under 16px and never zooms back out. */
input,
select,
textarea {
  font-size: max(16px, 1em);
}

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

input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(12, 28, 56, 0.06);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 20px;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

/* Desktop Nav Menu */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0 auto;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-size: 0.938rem;
  font-weight: 500;
  color: var(--text-body);
  padding: 8px 0;
  transition: color var(--transition-fast);
  display: inline-flex;
  align-items: center;
}

@media (hover: hover) and (pointer: fine) {
  .nav-link:hover {
    color: var(--primary);
  }
}

.nav-link.active {
  color: var(--primary);
  font-weight: 600;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--primary);
  border-radius: 3px 3px 0 0;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 0.938rem;
  font-weight: 600;
  color: #ffffff;
  background-color: var(--primary);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-pill);
  transition: all var(--transition-normal);
}

@media (hover: hover) and (pointer: fine) {
  .btn-contact:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0, 98, 224, 0.35);
  }
}

.btn-contact svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

@media (hover: hover) and (pointer: fine) {
  .btn-contact:hover svg {
    transform: translateX(3px);
  }
}

.btn-search {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  color: var(--text-body);
  transition: all var(--transition-fast);
}

@media (hover: hover) and (pointer: fine) {
  .btn-search:hover {
    background-color: var(--bg-subtle);
    color: var(--primary);
  }
}

.btn-search svg {
  width: 20px;
  height: 20px;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  padding: 6px;
  border-radius: 8px;
  color: var(--text-title);
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: currentColor;
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(180deg, #e4e9f0 0%, #eef0f2 50%, #f4efe8 100%);
  overflow: hidden;
}

/* Stock photo anchored right, fading into the background behind the copy */
.hero-media {
  position: absolute;
  top: 0;
  right: 0;
  width: 64%;
  height: 100%;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
}

/* Handwritten slogan set over the sky */
.hero-slogan {
  position: absolute;
  bottom: 6%;
  right: 2%;
  font-family: 'Mr Dafoe', cursive;
  font-size: clamp(1.7rem, 2.2vw, 2.3rem);
  line-height: 1.02;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
  transform: rotate(-5deg);
  pointer-events: none;
}

.hero-slogan::after {
  content: '';
  display: block;
  width: 72%;
  height: 2px;
  margin: 6px 0 0 auto;
  border-radius: 2px;
  background: currentColor;
  transform: rotate(-5deg);
}

.hero-container {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 500px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 520px;
  padding: 32px 0 36px;
  z-index: 2;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--text-title);
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--text-title);
  max-width: 500px;
  margin-bottom: 26px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
}

.btn-pill.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: var(--shadow-pill);
}

@media (hover: hover) and (pointer: fine) {
  .btn-pill.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 98, 224, 0.38);
  }
}

.btn-pill.btn-primary .arrow-icon {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

@media (hover: hover) and (pointer: fine) {
  .btn-pill.btn-primary:hover .arrow-icon {
    transform: translateX(4px);
  }
}

.btn-pill.btn-outline {
  background-color: #ffffff;
  color: var(--text-title);
  border: 1.5px solid #cbd5e1;
  box-shadow: var(--shadow-xs);
}

@media (hover: hover) and (pointer: fine) {
  .btn-pill.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
  }
}

.play-icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
}

.play-icon-circle svg {
  width: 11px;
  height: 11px;
  margin-left: 1.5px;
}

/* ==========================================================================
   Vision, Mission & Five Pillars Section
   ========================================================================== */
.overview-section {
  padding: 40px 0 36px 0;
  background-color: #ffffff;
  border-bottom: 1px solid var(--bg-border-light);
}

.overview-card-container {
  display: grid;
  grid-template-columns: 1.15fr 1.25fr 2.4fr;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 30px rgba(12, 28, 56, 0.05);
  border: 1px solid var(--bg-border-light);
  overflow: hidden;
}

.overview-col {
  padding: 32px 28px;
  position: relative;
}

.overview-col:not(:last-child) {
  border-right: 1px solid var(--bg-border-light);
}

.col-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}

.tag-line {
  display: inline-block;
  width: 24px;
  height: 2px;
  background-color: var(--primary);
  border-radius: 2px;
}

.col-header-flex {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 12px;
}

.col-icon-box {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.col-title {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-title);
  letter-spacing: -0.015em;
}

.col-desc {
  font-size: 0.938rem;
  line-height: 1.55;
  color: var(--text-body);
}

/* Five Pillars Grid */
.pillars-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 8px;
}

.pillar-item {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8px 4px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

@media (hover: hover) and (pointer: fine) {
  .pillar-item:hover {
    background-color: var(--primary-subtle);
    transform: translateY(-2px);
  }
}

.pillar-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  color: var(--primary);
  transition: all var(--transition-fast);
}

@media (hover: hover) and (pointer: fine) {
  .pillar-item:hover .pillar-circle {
    background-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 98, 224, 0.25);
  }
}

.pillar-circle svg {
  width: 26px;
  height: 26px;
}

.pillar-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 4px;
}

.pillar-desc {
  font-size: 0.725rem;
  line-height: 1.35;
  color: var(--text-muted);
}

/* ==========================================================================
   Section: Our Presence
   ========================================================================== */
.presence-section {
  padding: 48px 0 54px 0;
  background-color: #ffffff;
  border-bottom: 1px solid var(--bg-border-light);
}

.presence-grid-wrap {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: start;
}

.presence-info {
  display: flex;
  flex-direction: column;
}

.section-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text-title);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 0.938rem;
  line-height: 1.6;
  color: var(--text-body);
  margin-bottom: 24px;
}

.btn-explore-presence {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-title);
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-full);
  align-self: flex-start;
  transition: all var(--transition-fast);
}

@media (hover: hover) and (pointer: fine) {
  .btn-explore-presence:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
  }
}

.btn-explore-presence svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
}

@media (hover: hover) and (pointer: fine) {
  .btn-explore-presence:hover svg {
    transform: translateX(3px);
  }
}

/* Countries Grid */
.countries-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.country-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(12, 28, 56, 0.04);
  border: 1px solid var(--bg-border-light);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {
  .country-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(0, 98, 224, 0.3);
  }
}

.country-thumb-wrap {
  width: 100%;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  position: relative;
  background-color: #e2e8f0;
}

.country-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

@media (hover: hover) and (pointer: fine) {
  .country-card:hover .country-thumb-img {
    transform: scale(1.08);
  }
}

.country-body {
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.country-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.country-flag-icon {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
  object-fit: cover;
  flex-shrink: 0;
}

.country-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-title);
  white-space: nowrap;
}

.country-text {
  font-size: 0.725rem;
  line-height: 1.4;
  color: var(--text-body);
}

/* ==========================================================================
   Section: Our Impact
   ========================================================================== */
.impact-section {
  position: relative;
  padding: 60px 0;
  background-color: var(--navy-900);
  background-image: linear-gradient(rgba(11, 19, 34, 0.88), rgba(7, 13, 24, 0.94)), url('../assets/images/stock/impact.jpg');
  background-size: cover;
  background-position: center;
  color: #ffffff;
  overflow: hidden;
}

.impact-grid {
  display: grid;
  grid-template-columns: 1.3fr 2.7fr;
  gap: 48px;
  align-items: center;
}

.impact-content {
  display: flex;
  flex-direction: column;
}

.impact-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 12px;
}

.impact-tag .tag-line {
  background-color: rgba(255, 255, 255, 0.5);
}

.impact-title {
  font-size: 2.15rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 16px;
}

.impact-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-white-muted);
}

/* Impact Metrics */
.impact-metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}

.impact-metric-col {
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.impact-metric-col:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 10%;
  bottom: 10%;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.18);
}

.metric-icon-wrap {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 14px;
  color: #ffffff;
}

.metric-icon-wrap svg {
  width: 32px;
  height: 32px;
  stroke-width: 1.8;
}

.metric-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.metric-subtext {
  font-size: 0.813rem;
  line-height: 1.4;
  color: var(--text-white-muted);
  margin-bottom: 10px;
}

.metric-counter {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  background: linear-gradient(135deg, #ffffff 0%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   Section: Our Businesses / Portfolio
   ========================================================================== */
.businesses-section {
  padding: 80px 0;
  background-color: var(--bg-page);
}

.section-header-centered {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px auto;
}

.section-header-centered .section-tag {
  justify-content: center;
}

.section-header-centered .section-title {
  font-size: 2.25rem;
  margin-bottom: 14px;
}

/* Filter Tabs */
.portfolio-filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-tab {
  padding: 8px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-body);
  background-color: #ffffff;
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

@media (hover: hover) and (pointer: fine) {
  .filter-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
  }
}

.filter-tab.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 98, 224, 0.28);
}

/* Business Ventures Grid */
.businesses-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.venture-card {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--bg-border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
}

@media (hover: hover) and (pointer: fine) {
  .venture-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(0, 98, 224, 0.35);
  }
}

.venture-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.venture-badge {
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background-color: var(--primary-light);
  color: var(--primary);
}

.venture-monogram {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--primary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.1rem;
}

.venture-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-title);
  margin-bottom: 8px;
}

.venture-desc {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-body);
  margin-bottom: 18px;
  flex-grow: 1;
}

.venture-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--bg-border-light);
}

.venture-location {
  font-size: 0.775rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.venture-link {
  font-size: 0.813rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {
  .venture-link:hover {
    text-decoration: underline;
  }
}

/* ==========================================================================
   Section: About Us & Strategic Pillars Detailed
   ========================================================================== */
.about-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-content .section-title {
  font-size: 2.25rem;
  margin-bottom: 20px;
}

.about-highlight-box {
  background: var(--primary-subtle);
  border-left: 4px solid var(--primary);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-weight: 600;
  color: var(--text-title);
  margin: 20px 0;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.stat-item {
  background: var(--bg-page);
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--bg-border-light);
}

.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-body);
}

/* About Visual Stack */
.about-visual {
  position: relative;
}

.about-card-hero {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: #ffffff;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.about-card-hero::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 98, 224, 0.4) 0%, transparent 70%);
}

.about-card-hero h3 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.about-card-hero p {
  color: var(--text-white-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.core-values-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
}

.value-check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-check-icon svg {
  width: 12px;
  height: 12px;
  stroke: #ffffff;
  stroke-width: 2.5;
}

/* ==========================================================================
   Section: News & Insights
   ========================================================================== */
.news-section {
  padding: 80px 0;
  background-color: var(--bg-page);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--bg-border-light);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

@media (hover: hover) and (pointer: fine) {
  .news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
  }
}

.news-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #1e3a5f 0%, #0062e0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.25rem;
  position: relative;
  overflow: hidden;
}

.news-thumb-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-image: radial-gradient(#ffffff 2px, transparent 2px);
  background-size: 16px 16px;
}

.news-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.775rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.news-category {
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.news-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-title);
  margin-bottom: 10px;
}

.news-excerpt {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-body);
  margin-bottom: 18px;
  flex-grow: 1;
}

.news-read-more {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

@media (hover: hover) and (pointer: fine) {
  .news-read-more:hover {
    text-decoration: underline;
  }
}

/* ==========================================================================
   Section: Careers & Global Culture
   ========================================================================== */
.careers-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.careers-banner {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-850) 60%, var(--primary) 140%);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  color: #ffffff;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.careers-content h3 {
  font-size: 2.15rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.careers-content p {
  color: var(--text-white-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.careers-roles-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.role-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(10px);
  transition: all var(--transition-fast);
}

@media (hover: hover) and (pointer: fine) {
  .role-card:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateX(4px);
  }
}

.role-title {
  font-size: 0.938rem;
  font-weight: 700;
  color: #ffffff;
}

.role-location {
  font-size: 0.775rem;
  color: rgba(255, 255, 255, 0.7);
}

.btn-apply-sm {
  font-size: 0.813rem;
  font-weight: 700;
  color: #93c5fd;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   Section: Contact & Consultation
   ========================================================================== */
.contact-section {
  padding: 80px 0;
  background-color: var(--bg-page);
}

.contact-card-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--bg-border-light);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
}

.contact-sidebar {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: #ffffff;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-sidebar h3 {
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.contact-sidebar p {
  color: var(--text-white-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 32px;
}

.office-locations-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.office-item {
  display: flex;
  gap: 12px;
}

.office-pin-icon {
  width: 22px;
  height: 22px;
  color: var(--accent-cyan);
  flex-shrink: 0;
  margin-top: 2px;
}

.office-city {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.office-addr {
  font-size: 0.813rem;
  color: var(--text-white-muted);
  line-height: 1.4;
}

.contact-form-wrap {
  padding: 48px;
}

.contact-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* After sending: a confirmation, or what to do if it failed */
.form-status {
  margin: 0;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.95rem;
  line-height: 1.5;
}
.form-status[data-ok="yes"] {
  background: var(--primary-light);
  color: var(--text-title);
}
.form-status[data-ok="no"] {
  background: #fdecec;
  color: #9f1d1d;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-title);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--bg-border);
  border-radius: var(--radius-sm);
  background-color: var(--bg-page);
  color: var(--text-title);
  outline: none;
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px var(--primary-glow);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--navy-950);
  color: var(--text-white-muted);
  padding: 64px 0 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .brand-logo-img {
  height: 44px;
  width: auto;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 340px;
  margin-bottom: 20px;
}

.footer-col-title {
  font-size: 0.938rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.03em;
  margin-bottom: 18px;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-link {
  font-size: 0.875rem;
  color: var(--text-white-muted);
  transition: color var(--transition-fast);
}

@media (hover: hover) and (pointer: fine) {
  .footer-nav-link:hover {
    color: #ffffff;
  }
}

.footer-newsletter-form {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.footer-input {
  flex-grow: 1;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-size: 0.875rem;
}

.footer-input:focus {
  outline: none;
  border-color: var(--primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.813rem;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.social-link {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all var(--transition-fast);
}

@media (hover: hover) and (pointer: fine) {
  .social-link:hover {
    background: var(--primary);
    transform: translateY(-2px);
  }
}

.social-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ==========================================================================
   Modals & Drawers
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background-color: rgba(7, 13, 24, 0.75);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 760px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateY(20px) scale(0.96);
  transition: transform var(--transition-normal);
  position: relative;
}

.modal-overlay.active .modal-box {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-title);
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
}

@media (hover: hover) and (pointer: fine) {
  .modal-close-btn:hover {
    background: #e2e8f0;
    transform: rotate(90deg);
  }
}

/* Video Player Modal Box */
.video-modal-body {
  padding: 0;
  background-color: #000000;
}

.video-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  background-color: #000000;
}

/* Search Modal Spotlight */
.search-modal-box {
  max-width: 640px;
  border-radius: var(--radius-md);
  padding: 16px;
}

.search-input-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--bg-border);
}

.search-input-wrap svg {
  width: 22px;
  height: 22px;
  color: var(--text-muted);
}

.search-input-wrap input {
  width: 100%;
  border: none;
  outline: none;
  font-size: 1.15rem;
  color: var(--text-title);
}

.search-results-list {
  max-height: 340px;
  overflow-y: auto;
  padding: 12px 0;
  list-style: none;
}

.search-result-item:focus-visible {
  background-color: var(--primary-subtle);
  outline: 2px solid var(--primary);
  outline-offset: -2px;
}

.search-result-item {
  width: 100%;
  text-align: left;
  font: inherit;
  color: inherit;
  gap: 12px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: background var(--transition-fast);
}

@media (hover: hover) and (pointer: fine) {
  .search-result-item:hover {
    background-color: var(--primary-subtle);
  }
}

/* Country Details Drawer */
.country-modal-content {
  padding: 36px;
}

.country-modal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.country-modal-header h3 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-title);
}

/* ==========================================================================
   Real-content Components (ESG, Ventures, Programs, About, Team)
   ========================================================================== */
.metric-caption {
  margin-top: 4px;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--text-white-muted);
}

/* ESG */
.esg-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.esg-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.esg-card {
  background: var(--bg-page);
  border: 1px solid var(--bg-border-light);
  border-radius: var(--radius-md);
  padding: 28px 24px;
}

.esg-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-title);
  margin-bottom: 8px;
}

.esg-card > p {
  font-size: 0.875rem;
  line-height: 1.55;
  margin-bottom: 18px;
}

.esg-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.esg-icon svg {
  width: 24px;
  height: 24px;
}

.esg-icon--env { background: #e7f7ef; color: #15803d; }
.esg-icon--social { background: var(--primary-light); color: var(--primary); }
.esg-icon--gov { background: #efeafd; color: #6d28d9; }
.esg-icon--aware { background: #fff4e5; color: #c2410c; }

.esg-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--bg-border);
}

.esg-list li {
  font-size: 0.813rem;
  line-height: 1.45;
  color: var(--text-body);
}

.esg-list strong {
  display: block;
  color: var(--text-title);
  font-weight: 700;
}

/* Venture cards with photos */
.venture-card {
  padding: 0;
  overflow: hidden;
}

.venture-photo {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-subtle);
}

.venture-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

@media (hover: hover) and (pointer: fine) {
  .venture-card:hover .venture-photo img {
    transform: scale(1.05);
  }
}

.venture-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  flex-grow: 1;
}

.venture-body .venture-name,
.venture-body .venture-desc {
  margin-bottom: 0;
}

/* The "Learn more" link covers the whole card, so any click on it opens the venture */
.venture-card .venture-link::after {
  content: '';
  position: absolute;
  inset: 0;
}

.pillar-item:focus-visible,
.country-card:focus-visible,
.venture-card:focus-within {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid var(--bg-border-light);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  box-shadow: var(--shadow-sm);
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-headline);
  margin-bottom: 18px;
}

.testimonial-card figcaption strong {
  display: block;
  color: var(--text-title);
  font-weight: 800;
}

.testimonial-card figcaption span {
  font-size: 0.813rem;
  color: var(--text-muted);
}

/* Programs */
.programs-section {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--primary-subtle) 0%, #ffffff 100%);
}

.programs-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.programs-intro .section-title {
  margin-bottom: 14px;
}

.programs-subtitle {
  margin: 32px 0 14px;
  font-size: 0.813rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.benefits-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.benefits-list li {
  background: #ffffff;
  border: 1px solid var(--bg-border-light);
  border-radius: var(--radius-sm);
  padding: 16px;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text-title);
}

.benefits-list span {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}

.programs-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.program-card {
  background: #ffffff;
  border: 1px solid var(--bg-border-light);
  border-radius: var(--radius-md);
  padding: 28px 30px;
  box-shadow: var(--shadow-sm);
}

.program-kicker {
  font-size: 0.725rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--primary);
}

.program-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-title);
  margin: 6px 0 10px;
}

.program-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
}

@media (hover: hover) and (pointer: fine) {
  .program-link:hover {
    text-decoration: underline;
  }
}

.program-card p,
.programs-mentors {
  font-size: 0.9rem;
  line-height: 1.6;
}

.programs-mentors strong {
  color: var(--text-title);
}

/* About */
.about-stats-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.about-stats-grid--3 .stat-label {
  font-size: 0.775rem;
  line-height: 1.45;
}

.about-photo {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: -64px;
}

.about-visual .about-card-hero {
  margin: 0 24px;
  padding: 32px;
}

.roadmap-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.roadmap-list li {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 14px;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--text-white-muted);
}

.roadmap-list strong {
  display: block;
  color: #ffffff;
}

.roadmap-year {
  font-weight: 800;
  color: #93c5fd;
}

/* Leadership */
.team-block {
  margin-top: 96px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.team-card img {
  width: 100%;
  aspect-ratio: 690 / 801;
  object-fit: cover;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  margin-bottom: 12px;
}

.team-card strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-title);
}

.team-card span {
  font-size: 0.775rem;
  line-height: 1.4;
  color: var(--text-muted);
}

.news-more {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

@media (hover: hover) and (pointer: fine) {
  .office-addr a:hover {
    text-decoration: underline;
  }
}

@media (max-width: 1200px) {
  .esg-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .programs-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .esg-grid,
  .testimonials-grid,
  .benefits-list,
  .about-stats-grid--3 {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-visual .about-card-hero {
    margin: 0 12px;
    padding: 24px;
  }
}

/* Sections that continue the one above (Quotes under the ventures, Leadership under About) */
.quotes-section {
  padding-top: 0;
}

.quotes-section .testimonials-grid {
  margin-top: 0;
}

.leadership-section {
  padding-top: 0;
}

.leadership-section .team-block {
  margin-top: 16px;
}

/* News post page (posts written in the CMS) */
.news-article {
  padding: 140px 0 96px;
  background-color: #ffffff;
}

.news-article-inner {
  max-width: 760px;
}

.news-article-date {
  display: block;
  margin: 8px 0 28px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.news-article-cover {
  width: 100%;
  border-radius: var(--radius-lg);
  margin-bottom: 28px;
}

.news-article-lede {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--text-title);
  margin-bottom: 16px;
}

.news-article-body {
  font-size: 1rem;
  line-height: 1.75;
}

.news-article-body h2,
.news-article-body h3 {
  color: var(--text-title);
  margin: 32px 0 12px;
}

.news-article-body p,
.news-article-body ul,
.news-article-body ol {
  margin-bottom: 16px;
}

.news-article-body img {
  max-width: 100%;
  border-radius: var(--radius-md);
}

.news-article-back {
  margin-top: 40px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (min-width: 769px) {
  .nav-item--mobile {
    display: none;
  }
}

@media (max-width: 1200px) {
  .hero-title {
    font-size: 2.85rem;
  }
  .overview-card-container {
    grid-template-columns: 1fr 1fr;
  }
  .overview-col:nth-child(2) {
    border-right: none;
  }
  .overview-col:nth-child(3) {
    grid-column: span 2;
    border-top: 1px solid var(--bg-border-light);
  }
  .countries-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .businesses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .desktop-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .desktop-nav.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    max-height: calc(100dvh - 76px);
    overflow-y: auto;
    overscroll-behavior: contain;
    background-color: #ffffff;
    padding: 24px 24px calc(24px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 12px 24px rgba(12, 28, 56, 0.1);
    border-bottom: 1px solid #e2e8f0;
  }
  /* Stack: copy first, photo with its slogan underneath */
  .hero-section {
    display: flex;
    flex-direction: column;
  }
  .hero-media {
    position: relative;
    order: 2;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
  }
  .hero-bg {
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 16%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 16%);
  }
  .hero-slogan {
    bottom: 7%;
    right: 4%;
    font-size: clamp(1.3rem, 5vw, 2rem);
  }
  .hero-container {
    min-height: 0;
  }
  .presence-grid-wrap {
    grid-template-columns: 1fr;
  }
  .countries-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .impact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .contact-card-box {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .btn-contact {
    display: none;
  }
  .hero-title {
    font-size: 2.25rem;
  }
  .overview-card-container {
    grid-template-columns: 1fr;
  }
  .overview-col:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid var(--bg-border-light);
  }
  .overview-col:nth-child(3) {
    grid-column: span 1;
  }
  .pillars-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .countries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .impact-metrics-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .impact-metric-col:not(:last-child)::after {
    display: none;
  }
  .businesses-grid {
    grid-template-columns: 1fr;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .careers-banner {
    grid-template-columns: 1fr;
    padding: 36px 24px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* ==========================================================================
   Touch screens: standalone links get a finger-sized hit area (44px tall)
   without changing how they look. Links inside sentences stay as they are.
   ========================================================================== */
@media (pointer: coarse) {
  .venture-link,
  .program-link,
  .news-read-more,
  .office-addr a,
  .footer-nav-link,
  .social-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  /* the taller links carry the spacing the gap used to give */
  .footer-nav-list {
    gap: 0;
  }
}

/* ==========================================================================
   404 page
   ========================================================================== */
.not-found {
  padding: clamp(64px, 12vh, 140px) 0;
  background: linear-gradient(180deg, #e4e9f0 0%, #f4efe8 100%);
}
.not-found-inner {
  max-width: 720px;
}
.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* ==========================================================================
   News page and articles
   ========================================================================== */
.news-index {
  padding-top: 72px;
}
.news-filter {
  justify-content: center;
  margin: 0 auto 40px;
}
.news-card[hidden] {
  display: none;
}
.news-title a {
  color: inherit;
}
.news-thumb {
  display: block;
}
/* cards line up: three lines of summary at most */
.news-index .news-excerpt,
.news-more-reads .news-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-more-reads {
  padding-top: 0;
}
.news-more-reads .section-title {
  margin-bottom: 32px;
}
.news-article-body figure {
  margin: 32px 0;
}
.news-article-body figure img {
  width: 100%;
  border-radius: var(--radius-md, 12px);
}
/* The CMS writes each photo's real width and height on it (so the page
   doesn't jump while it loads); the height has to follow the column width. */
.news-article-body img {
  height: auto;
}
.news-article-body blockquote {
  margin: 32px 0 8px;
  padding: 4px 0 4px 20px;
  border-left: 4px solid var(--primary);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text-title);
}
.news-article-body blockquote + p > i:only-child {
  color: var(--text-muted);
}
.news-article-body a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.news-article-body ul,
.news-article-body ol {
  padding-left: 1.4em;
}
.news-article-body li {
  margin-bottom: 6px;
}
.news-article-body ul {
  list-style: disc;
}
.news-article-body ol {
  list-style: decimal;
}
