/*
Theme Name:  MS Group
Theme URI:   https://www.ms-group.co
Author:      MS Group
Author URI:  https://www.ms-group.co
Description: Official MS GROUP website theme. Version B — Final. Dark navy and gold. Playfair Display + Outfit typography.
Version:     2.4.10 — 2026-05-14 hero video replaced with new 60s reel (6 brand clips)
License:     Private
Text Domain: msgroup

=============================================================
COLOUR PALETTE
=============================================================
Navy Primary:   #0f1e30   ~ Pantone 2767 C
Navy Mid:       #162843
Navy Light:     #1e3454
Navy Card:      #132236
Navy Deep:      #09131e
Gold:           #c9a84c   ~ Pantone 7559 C
Gold Bright:    #e2c070
Gold Muted:     #9a7d3a
Text Off-White: #dce8f5

=============================================================
TYPOGRAPHY
=============================================================
Logo:      Barlow 800
Headings:  Playfair Display 400 + italic
Body/UI:   Outfit 200-600
Labels:    DM Mono 300-400
=============================================================
*/

/* ── RESET & ROOT ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
img, svg, video { max-width: 100%; height: auto; }

:root {
  --bg:         #0f1e30;
  --bg-mid:     #162843;
  --bg-light:   #1e3454;
  --bg-card:    #132236;
  --bg-deep:    #09131e;
  --gold:       #c9a84c;
  --gold-hi:    #e2c070;
  --gold-lo:    #9a7d3a;
  --gold-glow:  rgba(201,168,76,0.1);
  --gold-rule:  rgba(201,168,76,0.25);
  --white:      #dce8f5;
  --white-70:   rgba(220,232,245,0.72);
  --white-40:   rgba(220,232,245,0.42);
  --white-15:   rgba(220,232,245,0.15);
  --white-08:   rgba(220,232,245,0.08);
  /* Brand fonts */
  --serif: 'Playfair Display', Georgia, serif;
  --sans:  'Outfit', system-ui, sans-serif;
  --mono:  'DM Mono', monospace;
  /* Logo-only font, matches brand document */
  --logo-font: 'Barlow', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--white);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}

/* ── NAV ─────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 5rem;
  background: rgba(9,19,30,0.94);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--gold-rule);
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

/* Transparent PNG logo — Good Times font, gold on transparent */
.logo-img {
  display: block;
  height: 52px;        /* display height — width scales automatically */
  width: auto;
  max-width: 100%;     /* never overflow parent */
}

/* Hide legacy text-logo fallback elements */
.logo-mark, .logo-divider, .logo-sub { display: none; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}
.nav-menu a {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-menu a:hover { color: var(--gold); }
.nav-menu .cta-link {
  background: var(--gold);
  color: var(--bg-deep) !important;
  padding: 0.5rem 1.4rem;
  font-weight: 600;
  transition: background 0.2s !important;
}
.nav-menu .cta-link:hover { background: var(--gold-hi) !important; }

/* Hamburger toggle — hidden on desktop, shown in mobile media query */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
  width: 2.6rem; height: 2.6rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.3s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── HERO ─────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 72px;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  top: 72px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.5;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 4rem 5rem 5rem;
  position: relative;
  z-index: 1;
}
.hero-left::after {
  content: '';
  position: absolute;
  right: 0; top: 12%; bottom: 12%;
  width: 1px;
  background: var(--gold-rule);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-rule);
  padding: 0.35rem 0.9rem;
  background: var(--gold-glow);
  margin-bottom: 2rem;
  width: -webkit-fit-content;
  width: fit-content;
}

.hero-h1 {
  font-family: var(--serif);
  font-size: clamp(3rem, 5vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
}

.hero-tagline {
  font-family: var(--sans);
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  font-weight: 300;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
}

.hero-lead {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--white-70);
  max-width: 46ch;
  margin-bottom: 3rem;
  border-left: 2px solid var(--gold-lo);
  padding-left: 1.4rem;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.btn-primary {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--bg-deep);
  padding: 0.9rem 2.2rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--gold-hi); transform: translateY(-1px); }

.btn-ghost {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white-70);
  border: 1px solid var(--white-15);
  padding: 0.9rem 2.2rem;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.hero-right {
  background: var(--bg-mid);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.globe-wrap {
  position: relative;
  width: 75%;
  max-width: 460px;
  z-index: 1;
}
.globe-svg {
  width: 100%;
  animation: gentleFloat 10s ease-in-out infinite;
}
@keyframes gentleFloat {
  0%, 100% { transform: translateY(0) rotate(-0.5deg); }
  50%       { transform: translateY(-14px) rotate(0.5deg); }
}

.chip {
  position: absolute;
  background: rgba(9,19,30,0.85);
  border: 1px solid var(--gold-rule);
  backdrop-filter: blur(10px);
  padding: 0.65rem 1.1rem;
  animation: chipBob 7s ease-in-out infinite;
}
.chip-val {
  display: block;
  font-family: var(--sans);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.1;
  letter-spacing: 0.02em;
}
.chip-lbl {
  font-size: 0.56rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white-40);
}
.chip-1 { top: 14%; left: 2%; animation-delay: 0s; }
.chip-2 { top: 58%; right: 2%; animation-delay: -2.5s; }
.chip-3 { bottom: 14%; left: 8%; animation-delay: -5s; }
@keyframes chipBob {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-9px); }
}

.hero-caption {
  position: absolute;
  bottom: 2.5rem; left: 2.5rem; right: 2.5rem;
}
.hero-caption p {
  font-size: 0.84rem;
  font-weight: 300;
  font-style: italic;
  color: var(--white-40);
  line-height: 1.6;
  border-left: 2px solid var(--gold-lo);
  padding-left: 1rem;
}

/* ── STATS BAR ────────────────────────────────────────── */
.stats-bar {
  background: var(--bg-deep);
  border-top: 1px solid var(--gold-rule);
  border-bottom: 1px solid var(--gold-rule);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
}
.stat {
  padding: 3rem 2rem;
  text-align: center;
  border-right: 1px solid var(--white-08);
  transition: background 0.3s;
}
.stat:hover { background: var(--gold-glow); }
.stat:last-child { border-right: none; }
.stat-num {
  display: block;
  font-family: var(--sans);
  font-size: clamp(2.2rem, 3.2vw, 3.6rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}
.stat-lbl {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white-40);
}

/* ── COMMON ───────────────────────────────────────────── */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.section-h2 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 3.6vw, 3.8rem);
  font-weight: 400;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 1.4rem;
  letter-spacing: -0.01em;
}
.section-h2 em {
  font-style: italic;
  color: var(--gold);
}

.section-body {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--white-70);
  max-width: 54ch;
}

/* ── ABOUT ────────────────────────────────────────────── */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
}
.about-intro {
  padding: 7rem 4rem 7rem 5rem;
  background: var(--bg);
  position: relative;
}
.about-intro::after {
  content: '';
  position: absolute;
  right: 0; top: 10%; bottom: 10%;
  width: 1px;
  background: var(--gold-rule);
}
.about-pillars {
  padding: 7rem 5rem 7rem 4rem;
  background: var(--bg-mid);
  display: flex;
  flex-direction: column;
}

.pillar {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1.2rem;
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--white-08);
  align-items: start;
  cursor: default;
}
.pillar:first-child { padding-top: 0; }
.pillar:last-child  { border-bottom: none; padding-bottom: 0; }
.pillar:hover .p-num   { color: var(--gold-hi); }
.pillar:hover .p-title { color: var(--gold); }

.p-num {
  font-family: var(--sans);
  font-size: 0.58rem;
  font-weight: 600;
  color: var(--gold-lo);
  letter-spacing: 0.08em;
  padding-top: 0.2rem;
  transition: color 0.2s;
}
.p-title {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.45rem;
  transition: color 0.2s;
  letter-spacing: 0.01em;
}
.p-text {
  font-size: 0.87rem;
  font-weight: 300;
  color: var(--white-70);
  line-height: 1.75;
}

/* ── PHILOSOPHY ───────────────────────────────────────── */
.philosophy {
  background: var(--bg-light);
  border-top: 1px solid var(--gold-rule);
  border-bottom: 1px solid var(--gold-rule);
  padding: 7rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  width: 100%;
}
.philosophy::before {
  content: 'MSG';
  position: absolute;
  font-family: var(--sans);
  font-size: 28vw;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(201,168,76,0.04);
  top: 50%; left: 50%;
  transform: translate(-50%, -52%);
  pointer-events: none;
  user-select: none;
  line-height: 1;
}
.philosophy .eyebrow { justify-content: center; }
.philosophy .eyebrow::before { display: none; }

.phil-quote {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.8vw, 2.6rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.45;
  color: var(--white);
  max-width: 820px;
  margin: 0 auto 2rem;
  position: relative;
}
.phil-attr {
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-lo);
}

/* ── SECTORS ──────────────────────────────────────────── */
.sectors {
  background: var(--bg);
  padding: 7rem 5rem;
  width: 100%;
}
.sectors-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 4rem;
}
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--white-08);
  width: 100%;
}
.sector-card {
  padding: 2.2rem;
  border-right: 1px solid var(--white-08);
  border-bottom: 1px solid var(--white-08);
  transition: background 0.25s;
  position: relative;
  overflow: hidden;
  cursor: default;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.sector-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 2px; height: 0;
  background: var(--gold);
  transition: height 0.3s ease;
}
.sector-card:hover::before { height: 100%; }
.sector-card:hover { background: var(--bg-card); }
.sector-card:nth-child(3n)  { border-right: none; }
.sector-card:nth-child(n+4) { border-bottom: none; }

.sector-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}
.sector-name {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
}

/* ── PORTFOLIO ────────────────────────────────────────── */
.portfolio {
  background: var(--bg-mid);
  border-top: 1px solid var(--gold-rule);
  padding: 7rem 5rem;
  width: 100%;
}
.portfolio-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 1.5rem;
}
.portfolio-sub-label {
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 3rem 0 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--gold-rule);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--white-08);
  width: 100%;
  margin-bottom: 0;
}
.port-item {
  padding: 2rem 1.75rem;
  border-right: 1px solid var(--white-08);
  border-bottom: 1px solid var(--white-08);
  transition: background 0.2s;
  cursor: default;
}
.port-item:hover { background: var(--gold-glow); }
.port-item:nth-child(4n)  { border-right: none; }
.port-item:nth-child(n+9) { border-bottom: none; }
.port-item.row2:nth-child(4n)  { border-right: none; }
.port-item.row2:last-child { border-right: none; }

.port-sector {
  font-family: var(--sans);
  font-size: 0.54rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-lo);
  margin-bottom: 0.6rem;
}
.port-name {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.35rem;
  line-height: 1.2;
}
.port-desc {
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--white-70);
  line-height: 1.6;
  margin-bottom: 0.9rem;
}
.port-badge {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.2rem 0.65rem;
  border: 1px solid var(--gold-rule);
  color: var(--gold);
}
.port-badge.incubating {
  border-color: rgba(220,232,245,0.2);
  color: var(--white-40);
}

/* ── HOW WE OPERATE ───────────────────────────────────── */
.how {
  background: var(--bg);
  padding: 7rem 5rem;
  width: 100%;
}
.how-hdr {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 5rem;
}
.how-hdr .eyebrow { justify-content: center; }
.how-hdr .eyebrow::before { display: none; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 2.4rem;
  left: 12.5%; right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0.25;
}
.step { padding: 0 2rem; text-align: center; }
.step-ring {
  width: 4.8rem;
  height: 4.8rem;
  border-radius: 50%;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  position: relative;
  z-index: 1;
  background: var(--bg);
  transition: background 0.3s;
}
.step:hover .step-ring { background: var(--gold-glow); }
.step-num {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.08em;
}
.step-title {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.75rem;
  letter-spacing: 0.01em;
}
.step-text {
  font-size: 0.83rem;
  font-weight: 300;
  color: var(--white-70);
  line-height: 1.75;
}

/* ── GLOBAL FOOTPRINT ─────────────────────────────────── */
.footprint {
  background: var(--bg-mid);
  border-top: 1px solid var(--white-08);
  padding: 7rem 5rem;
  width: 100%;
}
.footprint-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 4rem;
}
.countries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--white-08);
}
.country-item {
  padding: 1.5rem 2rem;
  border-right: 1px solid var(--white-08);
  border-bottom: 1px solid var(--white-08);
  transition: background 0.2s;
  cursor: default;
}
.country-item:hover { background: var(--gold-glow); }
.country-item:nth-child(4n) { border-right: none; }
.country-item:nth-child(n+9) { border-bottom: none; }
.country-flag { font-size: 1.3rem; margin-bottom: 0.4rem; display: block; }
.country-name {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.country-note {
  font-size: 0.7rem;
  font-weight: 300;
  color: var(--white-40);
  margin-top: 0.2rem;
}

/* Landmark deployments */
.landmarks {
  margin-top: 3rem;
  padding: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--gold-rule);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: center;
}
.landmark-label {
  font-family: var(--sans);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  writing-mode: vertical-lr;
  transform: rotate(180deg);
}
.landmark-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.landmark-tag {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--white-70);
  background: var(--white-08);
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--white-08);
}

/* ── LEADERSHIP ───────────────────────────────────────── */
.leadership {
  background: var(--bg);
  border-top: 1px solid var(--white-08);
  padding: 7rem 5rem;
  width: 100%;
}
.leadership-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 4rem;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--white-08);
  padding: 2.2rem;
  transition: border-color 0.3s, background 0.3s;
  cursor: default;
}
.team-card:hover {
  border-color: var(--gold-rule);
  background: var(--bg-light);
}
.tm-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.2rem;
  letter-spacing: 0.01em;
}
.tm-role {
  font-family: var(--sans);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
  line-height: 1.5;
}
.tm-bio {
  font-size: 0.84rem;
  font-weight: 300;
  color: var(--white-70);
  line-height: 1.78;
}

/* ── MS MEA SECTION ───────────────────────────────────── */
.mea {
  background: var(--bg-light);
  border-top: 1px solid var(--gold-rule);
  padding: 7rem 5rem;
  width: 100%;
  position: relative;
  overflow: hidden;
}
.mea::before {
  content: 'MEA';
  position: absolute;
  font-family: var(--sans);
  font-size: 28vw;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: rgba(201,168,76,0.04);
  bottom: -2rem; right: -2rem;
  pointer-events: none;
  line-height: 1;
}
.mea-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
  position: relative;
  z-index: 1;
}
.mea-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}
.mea-stat {
  background: var(--bg-card);
  border: 1px solid var(--gold-rule);
  padding: 1.8rem;
}
.mea-stat-val {
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.mea-stat-lbl {
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--white-70);
  line-height: 1.5;
}

.mea-right { display: flex; flex-direction: column; gap: 0; }
.mea-point {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--white-08);
  align-items: start;
}
.mea-point:first-child { padding-top: 0; }
.mea-point:last-child { border-bottom: none; padding-bottom: 0; }
.mea-num {
  font-family: var(--sans);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.02em;
}
.mea-point-title {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.45rem;
  letter-spacing: 0.01em;
}
.mea-point-text {
  font-size: 0.84rem;
  font-weight: 300;
  color: var(--white-70);
  line-height: 1.7;
}

/* ── CTA ──────────────────────────────────────────────── */
.cta {
  background: var(--bg-deep);
  border-top: 1px solid var(--gold-rule);
  padding: 9rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  width: 100%;
}
.cta::before {
  content: 'MS GROUP';
  position: absolute;
  font-family: var(--sans);
  font-size: 14vw;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(201,168,76,0.04);
  top: 50%; left: 50%;
  transform: translate(-50%, -52%);
  pointer-events: none;
  user-select: none;
  line-height: 1;
  white-space: nowrap;
}
.cta::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, var(--gold) 50%, transparent 90%);
  opacity: 0.5;
}
.cta-inner { position: relative; z-index: 1; }
.cta .eyebrow { justify-content: center; }

.cta-h2 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4.5vw, 5rem);
  font-weight: 400;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 1.2rem;
  letter-spacing: -0.01em;
}
.cta-h2 em {
  display: block;
  font-style: italic;
  color: var(--gold);
  font-size: 0.75em;
}
.cta-sub {
  font-size: 1rem;
  font-weight: 300;
  color: var(--white-70);
  max-width: 50ch;
  margin: 0 auto 3rem;
  line-height: 1.85;
}
.cta-btns { display: flex; gap: 1rem; justify-content: center; }

/* ── FOOTER ───────────────────────────────────────────── */
footer {
  background: #060e17;
  border-top: 1px solid var(--white-08);
  width: 100%;
}
.footer-inner {
  padding: 4.5rem 5rem 3rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  border-bottom: 1px solid var(--white-08);
}
.footer-logo-mark {
  font-family: var(--logo-font);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  display: block;
  margin-bottom: 0.75rem;
  text-decoration: none;
}
.footer-logo-img {
  display: block;
  height: 44px;
  width: auto;
  max-width: 100%;
  margin-bottom: 0.9rem;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.footer-logo-img:hover { opacity: 1; }
.footer-tagline {
  font-size: 0.8rem;
  font-weight: 300;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer-desc {
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--white-40);
  line-height: 1.75;
  max-width: 28ch;
}
.footer-col h4 {
  font-family: var(--sans);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-lo);
  margin-bottom: 1.25rem;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a {
  font-size: 0.83rem;
  font-weight: 300;
  color: var(--white-40);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  padding: 1.5rem 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p {
  font-family: var(--sans);
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: rgba(220,232,245,0.2);
}

/* ── SCROLL REVEAL ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.on { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }

.hero-tag    { animation: fUp 0.7s 0.2s both ease; }
.hero-h1     { animation: fUp 0.8s 0.35s both ease; }
.hero-tagline { animation: fUp 0.8s 0.5s both ease; }
.hero-lead   { animation: fUp 0.8s 0.6s both ease; }
.hero-btns   { animation: fUp 0.8s 0.75s both ease; }
.hero-right  { animation: fIn 1.1s 0.4s both ease; }

@keyframes fUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Portfolio company links */
.port-name a {
    transition: color 0.2s, border-color 0.2s;
}
.port-name a:hover {
    color: var(--gold) !important;
    border-color: var(--gold) !important;
}

/* ── INQUIRY MODAL ─────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(4,12,22,0.92);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.modal-overlay.open {
  opacity: 1; visibility: visible;
}
.modal-box {
  background: #0f1e30;
  border: 1px solid rgba(201,168,76,0.25);
  width: 100%; max-width: 560px;
  padding: 3rem 3rem 2.5rem;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.35s ease;
}
.modal-overlay.open .modal-box {
  transform: translateY(0);
}
.modal-close {
  position: absolute; top: 1.2rem; right: 1.4rem;
  background: none; border: none; cursor: pointer;
  color: rgba(220,232,245,0.4); font-size: 1.4rem; line-height: 1;
  transition: color 0.2s;
}
.modal-close:hover { color: var(--gold); }
.modal-logo {
  font-family: var(--logo); font-size: 1.1rem; font-weight: 800;
  letter-spacing: 0.14em; color: var(--white); margin-bottom: 0.3rem;
}
.modal-eyebrow {
  font-family: var(--mono); font-size: 0.55rem; font-weight: 400;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.8rem;
}
.modal-rule {
  width: 2rem; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-bottom: 1.8rem;
}
.modal-field {
  margin-bottom: 1.2rem;
}
.modal-field label {
  display: block; font-family: var(--mono);
  font-size: 0.55rem; font-weight: 400;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(220,232,245,0.45); margin-bottom: 0.5rem;
}
.modal-field input,
.modal-field textarea {
  width: 100%; background: rgba(22,40,67,0.8);
  border: 1px solid rgba(201,168,76,0.18);
  color: var(--white); font-family: var(--sans);
  font-size: 0.9rem; font-weight: 300;
  padding: 0.85rem 1rem;
  outline: none; transition: border-color 0.2s;
  box-sizing: border-box;
  border-radius: 0;
  -webkit-appearance: none;
}
.modal-field input:focus,
.modal-field textarea:focus {
  border-color: rgba(201,168,76,0.55);
}
.modal-field input::placeholder,
.modal-field textarea::placeholder {
  color: rgba(220,232,245,0.2);
}
.modal-field textarea {
  resize: vertical; min-height: 110px;
}
.modal-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.modal-submit {
  width: 100%; margin-top: 1.4rem;
  background: var(--gold); color: #09131e;
  border: none; cursor: pointer;
  font-family: var(--sans); font-size: 0.72rem;
  font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 1rem 0; transition: background 0.2s;
}
.modal-submit:hover { background: var(--gold-hi); }
.modal-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.modal-success {
  display: none; text-align: center; padding: 2rem 0;
}
.modal-success .check {
  font-size: 2rem; color: var(--gold); margin-bottom: 1rem;
}
.modal-success p {
  font-family: var(--serif); font-size: 1.1rem;
  font-style: italic; color: var(--white); line-height: 1.6;
}
.modal-success span {
  font-family: var(--mono); font-size: 0.6rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(220,232,245,0.4); display: block; margin-top: 0.8rem;
}
.modal-disclaimer {
  font-family: var(--mono); font-size: 0.52rem;
  letter-spacing: 0.08em; color: rgba(220,232,245,0.25);
  text-align: center; margin-top: 1rem; line-height: 1.6;
}
/* ═══════════════════════════════════════════════════════════
   ░░░  MOBILE RESPONSIVENESS  ░░░
   Added 2026-04-24 · v2.1
   Breakpoints:
     ≤ 960px   tablet / small laptop
     ≤ 720px   mobile (hamburger nav)
     ≤ 480px   small phone
   ═══════════════════════════════════════════════════════════ */

/* ───── TABLET & BELOW (≤ 960px) ────────────────────────── */
@media (max-width: 960px) {

  /* Nav */
  nav { padding: 1.1rem 2rem; }
  .nav-menu { gap: 1.4rem; }
  .nav-menu a { font-size: 0.68rem; letter-spacing: 0.12em; }
  .logo-img { height: 42px; }

  /* Hero — stack to single column */
  .hero { grid-template-columns: 1fr; }
  .hero-left { padding: 4.5rem 2.5rem 4rem; }
  .hero-left::after { display: none; } /* kill vertical gold rule when stacked */
  .hero-right { min-height: 60vh; padding: 3rem 2rem !important; }

  /* Stats bar — 4 → 2 cols, patch nth-child borders */
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stats-bar .stat { border-right: 1px solid var(--white-08); border-bottom: 1px solid var(--white-08); }
  .stats-bar .stat:nth-child(2n) { border-right: none; }
  .stats-bar .stat:nth-last-child(-n+2) { border-bottom: none; }

  /* About + Philosophy */
  .about { grid-template-columns: 1fr; }
  .about-intro  { padding: 5rem 2.5rem; }
  .about-intro::after { display: none; }
  .about-pillars { padding: 5rem 2.5rem; }
  .philosophy   { padding: 5rem 2.5rem; }

  /* Uniform section padding */
  .sectors, .portfolio, .how, .footprint, .leadership, .mea, .cta {
    padding: 5rem 2.5rem;
  }

  /* Two-column section headers collapse */
  .sectors-header,
  .portfolio-header,
  .footprint-header,
  .leadership-header {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
    margin-bottom: 3rem;
  }

  /* Sectors grid 3 → 2 cols, reset border rules */
  .sectors-grid { grid-template-columns: repeat(2, 1fr); }
  .sectors-grid .sector-card {
    border-right: 1px solid var(--white-08);
    border-bottom: 1px solid var(--white-08);
  }
  .sectors-grid .sector-card:nth-child(3n) { border-right: 1px solid var(--white-08); }
  .sectors-grid .sector-card:nth-child(2n) { border-right: none; }
  .sectors-grid .sector-card:nth-last-child(-n+2) { border-bottom: none; }
  .sectors-grid .sector-card:last-child:nth-child(odd) { border-right: none; }

  /* Portfolio grid 4 → 2 cols */
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid .port-item {
    border-right: 1px solid var(--white-08);
    border-bottom: 1px solid var(--white-08);
  }
  .portfolio-grid .port-item:nth-child(4n)  { border-right: 1px solid var(--white-08); }
  .portfolio-grid .port-item:nth-child(2n)  { border-right: none; }
  .portfolio-grid .port-item:nth-child(n+9) { border-bottom: 1px solid var(--white-08); }
  .portfolio-grid .port-item:nth-last-child(-n+2) { border-bottom: none; }
  .portfolio-grid .port-item:last-child:nth-child(odd) { border-right: none; }

  /* How-we-operate steps — drop the connector line and stack 2-up */
  .steps { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1rem; }
  .steps::before { display: none; }

  /* Countries grid 4 → 2 cols */
  .countries-grid { grid-template-columns: repeat(2, 1fr); }
  .countries-grid .country-item {
    border-right: 1px solid var(--white-08);
    border-bottom: 1px solid var(--white-08);
  }
  .countries-grid .country-item:nth-child(4n) { border-right: 1px solid var(--white-08); }
  .countries-grid .country-item:nth-child(2n) { border-right: none; }
  .countries-grid .country-item:nth-last-child(-n+2) { border-bottom: none; }

  /* Landmark deployments: undo vertical label */
  .landmarks { grid-template-columns: 1fr; gap: 1rem; padding: 2rem 1.5rem; }
  .landmark-label { writing-mode: horizontal-tb; transform: none; }

  /* Team 3 → 2 cols */
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }

  /* MS MEA section */
  .mea-inner { grid-template-columns: 1fr; gap: 3rem; }
  .mea-stats { grid-template-columns: 1fr 1fr; }

  /* Footer 4 → 2 cols */
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    padding: 3.5rem 2.5rem 2.5rem;
  }
  .footer-bottom {
    padding: 1.25rem 2.5rem;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  /* CTA tighter inner padding */
  .cta { padding: 6rem 2.5rem; }

  /* ─── Overrides for INLINE styles in content-home.php ─── */

  /* "How we invest" 5-col stats grid → 2 cols */
  .footprint > div[style*="repeat(5"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .footprint > div[style*="repeat(5"] > div {
    border-right: 1px solid var(--white-08) !important;
    border-bottom: 1px solid var(--white-08) !important;
  }
  .footprint > div[style*="repeat(5"] > div:nth-child(2n) {
    border-right: none !important;
  }
  .footprint > div[style*="repeat(5"] > div:nth-last-child(-n+1) {
    border-bottom: none !important;
  }

  /* Hero-right inline 3-col panels — tighten padding only */
  .hero-right > div[style*="repeat(3,1fr)"] > div {
    padding: 1rem 0.75rem !important;
  }
}


/* ───── MOBILE (≤ 720px) ────────────────────────────────── */
@media (max-width: 720px) {

  /* Nav bar */
  nav {
    padding: 0.85rem 1.25rem;
    flex-wrap: wrap;
  }
  .logo-img { height: 34px; }

  /* Show the hamburger, hide the horizontal menu until toggled */
  .nav-toggle { display: inline-flex; margin-left: auto; }

  .nav-menu {
    position: fixed;
    top: 56px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.25rem 1rem;
    background: rgba(9,19,30,0.97);
    -webkit-backdrop-filter: blur(22px);
    backdrop-filter: blur(22px);
    border-bottom: 1px solid var(--gold-rule);
    max-height: 0;
    overflow: hidden;
    pointer-events: none;
    transition: max-height 0.35s ease, padding 0.35s ease;
  }
  .nav-menu.open {
    max-height: calc(100vh - 56px);
    pointer-events: auto;
    padding: 1rem 1.25rem 1.5rem;
  }
  .nav-menu li { border-bottom: 1px solid var(--white-08); }
  .nav-menu li:last-child { border-bottom: none; margin-top: 0.75rem; }
  .nav-menu a {
    display: block;
    padding: 0.95rem 0.25rem;
    font-size: 0.82rem;
  }
  .nav-menu .cta-link {
    text-align: center;
    padding: 0.9rem 1rem;
  }
  body.nav-open { overflow: hidden; }

  /* Hero */
  .hero { padding-top: 64px; }
  .hero-left { padding: 3rem 1.25rem 3.25rem; }
  .hero-tag { margin-bottom: 1.5rem; }
  .hero-h1 { margin-bottom: 0.25rem; }
  .hero-lead { padding-left: 1rem; margin-bottom: 2rem; }
  .hero-btns { flex-wrap: wrap; gap: 0.75rem; }
  .btn-primary, .btn-ghost {
    padding: 0.85rem 1.5rem;
    font-size: 0.7rem;
  }

  /* Stats bar */
  .stat { padding: 1.75rem 0.75rem; }

  /* Sections — tighter horizontal padding */
  .sectors, .portfolio, .how, .footprint, .leadership, .mea, .cta,
  .philosophy, .about-intro, .about-pillars {
    padding: 4rem 1.25rem;
  }
  .cta { padding: 5rem 1.25rem; }

  /* Section headers margin */
  .sectors-header,
  .portfolio-header,
  .footprint-header,
  .leadership-header,
  .how-hdr { margin-bottom: 2.5rem; }

  /* Stack everything single-column */
  .sectors-grid { grid-template-columns: 1fr; }
  .sectors-grid .sector-card {
    border-right: none;
    border-bottom: 1px solid var(--white-08);
  }
  .sectors-grid .sector-card:last-child { border-bottom: none; }

  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-grid .port-item {
    border-right: none !important;
    border-bottom: 1px solid var(--white-08) !important;
  }
  .portfolio-grid .port-item:last-child { border-bottom: none !important; }

  .steps { grid-template-columns: 1fr; gap: 2rem; }
  .step { padding: 0 0.5rem; }
  .step-ring { width: 4.2rem; height: 4.2rem; margin-bottom: 1.25rem; }

  .countries-grid { grid-template-columns: 1fr 1fr; }
  .countries-grid .country-item { padding: 1.1rem 0.9rem; }

  .team-grid { grid-template-columns: 1fr; }
  .team-card { padding: 1.75rem 1.5rem; }

  .mea-stats { grid-template-columns: 1fr; }
  .mea-stat { padding: 1.4rem 1.25rem; }

  /* Philosophy & CTA watermarks quiet down */
  .philosophy::before { font-size: 42vw; }
  .cta::before { font-size: 22vw; }

  /* Footer — stack fully */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem 1.25rem 2rem;
  }
  .footer-bottom {
    padding: 1.25rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    text-align: left;
  }

  /* Modal */
  .modal-box { padding: 2.25rem 1.25rem 1.75rem; }
  .modal-row { grid-template-columns: 1fr; gap: 0; }

  /* ─── Inline-style overrides for mobile ─── */
  .footprint > div[style*="repeat(5"] {
    grid-template-columns: 1fr 1fr !important;
  }
  .footprint > div[style*="repeat(5"] > div {
    padding: 2rem 1rem !important;
  }

  .hero-right {
    padding: 2.5rem 1.25rem !important;
    min-height: auto;
  }
  .hero-right > div[style*="repeat(3"] > div {
    padding: 0.9rem 0.6rem !important;
  }
  .hero-right > div[style*="repeat(3"] [style*="font-size:2.6rem"],
  .hero-right > div[style*="repeat(3"] [style*="font-size: 2.6rem"] {
    font-size: 1.9rem !important;
  }
  .hero-right > div[style*="repeat(3"] [style*="font-size:1.7rem"],
  .hero-right > div[style*="repeat(3"] [style*="font-size: 1.7rem"] {
    font-size: 1.3rem !important;
  }

  /* Countries/flags grid in hero-right → single column (country names too wide for 3-col at 375px) */
  .hero-right > div[style*="rgba(220,232,245,0.08)"] {
    grid-template-columns: 1fr !important;
  }
  /* Remove inline border-right on country cells when stacked single-column */
  .hero-right > div[style*="rgba(220,232,245,0.08)"] > div[style*="border-right"] {
    border-right: none !important;
  }

  /* "Our Model" supporting statement in footprint — stack label above paragraph */
  .footprint > div[style*="auto 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }
}


/* ───── SMALL PHONE (≤ 480px) ───────────────────────────── */
@media (max-width: 480px) {

  .logo-img { height: 28px; }
  .nav-menu a { font-size: 0.78rem; }

  .hero-h1     { font-size: clamp(2.3rem, 9vw, 3.1rem); }
  .hero-tagline { font-size: 1rem; }
  .section-h2 { font-size: clamp(1.9rem, 7.5vw, 2.5rem); }
  .phil-quote { font-size: 1.25rem; }
  .cta-h2     { font-size: clamp(2rem, 8vw, 2.7rem); }

  /* Full-width stacked buttons read better at this size */
  .hero-btns    { flex-direction: column; align-items: stretch; }
  .btn-primary,
  .btn-ghost    { width: 100%; text-align: center; }
  .cta-btns     { flex-direction: column; align-items: stretch; }

  /* Stats bar single-column on very small */
  .stats-bar { grid-template-columns: 1fr; }
  .stats-bar .stat {
    border-right: none;
    border-bottom: 1px solid var(--white-08);
  }
  .stats-bar .stat:last-child { border-bottom: none; }

  .countries-grid { grid-template-columns: 1fr; }
  .countries-grid .country-item { border-right: none; }

  .modal-box    { padding: 2rem 1rem 1.5rem; }

  /* 5-col "How we invest" stats → single column on very small */
  .footprint > div[style*="repeat(5"] {
    grid-template-columns: 1fr !important;
  }
  .footprint > div[style*="repeat(5"] > div {
    border-right: none !important;
    border-bottom: 1px solid var(--white-08) !important;
  }
  .footprint > div[style*="repeat(5"] > div:last-child {
    border-bottom: none !important;
  }
}

/* ── NAV SCROLL EFFECT ─────────────────────────────────── */
#site-nav.scrolled {
  background: rgba(6,14,23,0.97);
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
}
/* ── SKIP LINK ──────────────────────────────────────────── */
.skip-link {
  position: absolute; top: -100%; left: 0;
  background: var(--gold); color: var(--bg-deep);
  padding: 0.6rem 1.2rem; font-family: var(--sans);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em;
  z-index: 9999; text-decoration: none; transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ═══════════════════════════════════════════════════════════════
   LIGHT SECTIONS  (v2.4.1)
   ───────────────────────────────────────────────────────────────
   Editorial light treatment for two mid-page sections, breaking
   up the dark navy run and adding document-style rhythm.

   Per MS GROUP corporate identity:
     off-white (#f5f5f0) + navy text + gold accents = editorial mode

   Applies to:  .sectors  ·  .how
   Page rhythm: hero · about · SECTORS · portfolio · HOW · footprint · leadership · cta
                                ↑                       ↑
                              LIGHT                   LIGHT
   ═══════════════════════════════════════════════════════════════ */

:root {
  --cream:      #f5f5f0;   /* MS GROUP editorial off-white  */
  --cream-edge: #ebebe2;   /* Slightly darker — card hover  */
  --navy-70:    rgba(15,30,48,0.72);
  --navy-50:    rgba(15,30,48,0.50);
  --navy-08:    rgba(15,30,48,0.10);
}

/* ─── Section backgrounds ──────────────────────────────────── */
.sectors,
.how {
  background: var(--cream);
  color: var(--bg);
  position: relative;
}

/* Subtle gold rule at the top of each light section — soft
   visual handoff from the dark section above. */
.sectors::before,
.how::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.45;
}

/* ─── Shared typography (scoped to light sections) ─────────── */
.sectors .section-h2,
.how .section-h2 {
  color: var(--bg);
}
.sectors .section-h2 em,
.how .section-h2 em {
  color: var(--gold-lo);          /* muted gold — passes AA on cream */
}
.sectors .section-body,
.how .section-body {
  color: var(--navy-70);
}
.sectors .eyebrow,
.how .eyebrow {
  color: var(--gold-lo);
}
.sectors .eyebrow::before,
.how .eyebrow::before {
  background: var(--gold-lo);
}

/* ─── SECTORS — grid borders & cards ───────────────────────── */
.sectors .sectors-grid {
  border-color: var(--navy-08);
}
.sectors .sector-card {
  border-right-color: var(--navy-08);
  border-bottom-color: var(--navy-08);
}
.sectors .sector-card:hover {
  background: var(--cream-edge);
}
.sectors .sector-name {
  color: var(--bg);
}

/* ─── HOW WE OPERATE — step rings & text ───────────────────── */
.how .step-ring {
  background: var(--cream);
  border-color: var(--gold);
}
.how .step:hover .step-ring {
  background: rgba(201,168,76,0.18);
}
.how .step-title {
  color: var(--bg);
}
.how .step-text {
  color: var(--navy-70);
}
/* Connecting line between rings — soften the gradient on cream */
.how .steps::before {
  background: linear-gradient(90deg, var(--gold-lo), transparent);
  opacity: 0.35;
}

/* ════════════════════════════════════════════════════════════════════ */
/*  v2.4.6 — Hero single-column + full-width Global Footprint Map       */
/*  Restructure: hero loses its right column; map gets its own section. */
/* ════════════════════════════════════════════════════════════════════ */

/* Collapse hero to a single, centred column so the lone text panel
   doesn't feel half-empty after hero-right was removed. Cap line length
   so the lead paragraph stays readable on widescreens. */
.hero {
  grid-template-columns: 1fr;
  min-height: auto;
}
.hero-left {
  max-width: 56rem;
  margin: 0 auto;
  padding: 6rem 3rem 5rem;
  text-align: left;
}
/* Hide the right-edge gold rule — nothing to the right anymore. */
.hero-left::after { display: none; }

/* ─── Full-width Global Footprint Map section ───────────────────────── */
.footprint-map {
  background: #000;
  padding: 5rem 0 4rem;
  position: relative;
}
.footprint-map::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.5;
}

.footprint-map-header {
  max-width: 56rem;
  margin: 0 auto 3rem;
  padding: 0 2rem;
  text-align: center;
}
.footprint-map .eyebrow {
  color: var(--gold);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footprint-map .section-h2 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
  margin: 0 0 1.5rem;
}
.footprint-map .section-h2 em {
  color: var(--gold);
  font-style: italic;
}
.footprint-map .section-body {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 300;
  color: rgba(220,232,245,0.65);
  line-height: 1.7;
  max-width: 42rem;
  margin: 0 auto 2.5rem;
}

/* 5 / 9 / 18 stat bar inside the header block */
.footprint-map-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid rgba(201,168,76,0.22);
  max-width: 42rem;
  margin: 0 auto;
}
.footprint-map-stats .fm-stat {
  padding: 1.6rem 1rem;
  text-align: center;
  border-right: 1px solid rgba(201,168,76,0.22);
}
.footprint-map-stats .fm-stat:last-child { border-right: none; }
.footprint-map-stats .fm-stat-num {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 3.5vw, 3rem);
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.footprint-map-stats .fm-stat-lbl {
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(220,232,245,0.45);
}

/* Map image at full container width, no max-width so it goes edge-to-edge */
.footprint-map-image {
  width: 100%;
  line-height: 0;
}
.footprint-map-image img {
  display: block;
  width: 100%;
  height: auto;
}

/* On narrow screens, give the map a touch of side padding so labels
   on the perimeter don't kiss the viewport edge. */
@media (max-width: 720px) {
  .footprint-map { padding: 3rem 0 2.5rem; }
  .footprint-map-header { padding: 0 1.25rem; margin-bottom: 2rem; }
  .footprint-map-image { padding: 0 0.5rem; }
}

/* ════════════════════════════════════════════════════════════════════ */
/*  v2.4.9 — Single-column hero, video full width below the text        */
/*  Text panel wider, centred; video sits beneath at native aspect      */
/*  (object-fit: contain), nothing cropped. Mobile = same single stack. */
/* ════════════════════════════════════════════════════════════════════ */

.hero {
  grid-template-columns: 1fr;
  min-height: auto;            /* let content size it, not 100vh */
  display: block;              /* simplest: just flow vertically */
}
/* Remove the auto-rule between columns (no second column anymore) */
.hero-left::after { display: none; }

.hero-left {
  max-width: 80rem;            /* wider — spans more of the page */
  margin: 0 auto;
  padding: 5rem 3rem 3rem;
  text-align: left;
}

/* Hero lead/headline width within the wider column.
   Keeps the paragraph readable while letting the headline + tagline
   stretch comfortably across. */
.hero .hero-lead {
  max-width: 60rem;
}

/* Video sits below the text, edge-to-edge on the section but contained
   so it isn't cropped. Black bars on the sides on very wide screens
   are intentional — they keep the brand-correct dark surround. */
.hero-video-wrap {
  width: 100%;
  background: #000;
  padding: 1.5rem 0 4rem;
  line-height: 0;
}
.hero-video {
  display: block;
  width: 100%;
  max-width: 1600px;           /* cap on very wide monitors */
  height: auto;                /* native aspect — no crop */
  margin: 0 auto;
  /* If you ever want to fit it differently, swap to: */
  /* object-fit: contain; aspect-ratio: 16/9; */
}

/* Mobile tweaks — same single-column layout, just tighter padding */
@media (max-width: 900px) {
  .hero-left {
    padding: 4rem 1.5rem 2rem;
  }
}
@media (max-width: 600px) {
  .hero-left {
    padding: 3rem 1.25rem 1.5rem;
  }
  .hero-video-wrap {
    padding: 1rem 0 2.5rem;
  }
}
