/* ================================================================
   EMERGE GLOBAL — HOMEPAGE
   Brand: #165E96 | #18A4DA | #373734
   Fonts: Barlow Condensed (≈ Bebas Neue Pro) | Source Sans 3 (≈ URW DIN)
   Note: Replace font @imports with Bebas Neue Pro + URW DIN in production
================================================================ */

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

:root {
  --blue-dark:   #165E96;
  --blue-light:  #18A4DA;
  --charcoal:    #373734;
  --white:       #ffffff;
  --off-white:   #f5f7fa;
  --grey-mid:    #dde3ea;
  --font-title:  'Barlow Condensed', sans-serif;
  --font-body:   'Source Sans 3', sans-serif;

  /* Layout tokens — one max width and one gutter across every template. */
  --maxw:        1400px;
  --maxw-narrow: 1100px;
  --gut:         clamp(20px, 5vw, 80px);
  --ease:        cubic-bezier(.22,.61,.36,1);
  --t:           300ms var(--ease);
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.wrap-narrow { max-width: var(--maxw-narrow); margin: 0 auto; padding: 0 var(--gut); }

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--charcoal); background: var(--white); overflow-x: hidden; }

/* ── NAVIGATION ───────────────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: #165E96;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 88px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-logo img { height: 76px; display: block; }
.nav-logo-fallback {
  font-family: var(--font-title); font-size: 30px; font-weight: 700;
  color: #fff; letter-spacing: 2px; text-decoration: none;
}
.nav-logo-fallback span { color: var(--blue-light); }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.82); text-decoration: none;
  font-family: var(--font-body); font-size: 15px; transition: color .2s;
}
.nav-links a:hover { color: #fff; }
.nav-cta {
  background: #fff !important; color: var(--blue-dark) !important;
  padding: 10px 22px; border-radius: 4px;
  font-weight: 700 !important; font-size: 14px !important;
  transition: background .2s, color .2s !important;
}
.nav-cta:hover { background: var(--blue-light) !important; color: #fff !important; }

/* Hamburger toggle (hidden on desktop) */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent; border: none; cursor: pointer;
  padding: 10px; flex-direction: column; justify-content: space-between;
  z-index: 120;
}
.nav-toggle span {
  display: block; height: 2px; width: 100%;
  background: #fff; border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

/* Request Brochure nav button */
.nav-brochure {
  background: var(--blue-light) !important; color: #fff !important;
  border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
}
.nav-brochure:hover { background: #0f8fc0 !important; color: #fff !important; }
.nav-brochure svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ── REQUEST BROCHURE MODAL ───────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(6,20,38,.72);
  display: flex; align-items: center; justify-content: center;
  padding: 24px; opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal {
  position: relative; background: #fff; border-radius: 16px; overflow: hidden;
  width: 100%; max-width: 920px; max-height: 92vh; overflow-y: auto;
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  transform: translateY(18px); transition: transform .25s ease;
  box-shadow: 0 30px 80px rgba(0,0,0,.4);
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal-visual { background: #0d2438; }
.modal-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.modal-close {
  position: absolute; top: 16px; right: 16px; z-index: 3;
  width: 40px; height: 40px; border-radius: 50%; border: none; cursor: pointer;
  background: #0d2438; color: #fff; font-size: 22px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.modal-close:hover { background: var(--blue-dark); }
.modal-form { padding: 42px 42px 46px; }
.modal-form h2 {
  font-family: var(--font-title); font-weight: 700; font-size: 34px;
  text-transform: uppercase; color: var(--charcoal); letter-spacing: .5px; margin-bottom: 8px;
}
.modal-sub { color: #6b7685; font-size: 15px; line-height: 1.6; margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-field label {
  display: block; font-size: 13px; font-weight: 700;
  color: var(--charcoal); margin-bottom: 6px;
}
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--grey-mid); border-radius: 8px;
  font-family: var(--font-body); font-size: 15px; color: var(--charcoal); background: #fff;
  transition: border-color .2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--blue-light);
}
.form-field textarea { resize: vertical; min-height: 92px; }
.modal-submit {
  background: var(--blue-dark); color: #fff; border: none; border-radius: 40px;
  padding: 15px 36px; font-family: var(--font-body); font-weight: 700; font-size: 15px;
  cursor: pointer; transition: background .2s; margin-top: 6px;
}
.modal-submit:hover { background: var(--blue-light); }
.form-success {
  display: none; color: var(--blue-dark); font-weight: 600; font-size: 16px;
  line-height: 1.6; padding: 24px 0;
}
@media (max-width: 760px) {
  .modal { grid-template-columns: 1fr; }
  .modal-visual { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .modal-form { padding: 34px 22px 38px; }
  .modal-form h2 { font-size: 28px; }
}

/* ── HERO — VIDEO ─────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: rgba(5, 15, 30, 0.62);
}
/* Fallback if video doesn't load */
.hero-fallback {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(135deg, #0a1e37 0%, var(--blue-dark) 60%, #1a7ab8 100%);
}
.hero-content {
  position: relative; z-index: 2;
  width: 100%; padding: 0 5%;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(24,164,218,0.25);
  border: 1px solid rgba(24,164,218,0.5);
  color: rgba(255,255,255,0.9);
  font-family: var(--font-body); font-size: 13px; font-weight: 600;
  letter-spacing: 2.5px; text-transform: uppercase;
  padding: 7px 18px; border-radius: 2px; margin-bottom: 28px;
}
.hero h1 {
  font-family: var(--font-title); font-weight: 700;
  font-size: clamp(64px, 10vw, 120px);
  color: #fff; line-height: .95;
  text-transform: uppercase; letter-spacing: 2px;
  margin-bottom: 24px;
  text-shadow: 0 2px 40px rgba(0,0,0,0.4);
}
.hero h1 em { color: var(--blue-light); font-style: normal; display: block; }
.hero p {
  font-size: clamp(17px, 2vw, 22px); color: rgba(255,255,255,.82);
  line-height: 1.6; max-width: 640px;
  margin-bottom: 44px; font-weight: 300;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 64px; justify-content: center; }
.btn-primary {
  background: #fff; color: var(--blue-dark);
  padding: 16px 38px; border-radius: 4px;
  font-family: var(--font-body); font-size: 16px; font-weight: 700;
  text-decoration: none; transition: background .2s, transform .15s, color .2s;
  display: inline-block;
}
.btn-primary:hover { background: var(--blue-light); color: #fff; transform: translateY(-2px); }
.btn-ghost {
  border: 2px solid rgba(255,255,255,.55); color: #fff;
  padding: 14px 36px; border-radius: 4px;
  font-family: var(--font-body); font-size: 16px; font-weight: 600;
  text-decoration: none; transition: border-color .2s, background .2s;
  display: inline-block;
}
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.hero-stats {
  display: flex; gap: 48px; flex-wrap: wrap;
  justify-content: center;
  padding-top: 36px; border-top: 1px solid rgba(255,255,255,.18);
  width: 100%; max-width: 700px;
}
.hero-stat .number {
  font-family: var(--font-title); font-size: 52px; font-weight: 700;
  color: var(--blue-light); line-height: 1; display: block;
}
.hero-stat .label {
  font-size: 12px; color: rgba(255,255,255,.6);
  text-transform: uppercase; letter-spacing: 2px;
  margin-top: 4px; display: block;
}
/* Scroll cue */
.scroll-cue {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,.5); font-size: 11px; letter-spacing: 2px;
  text-transform: uppercase; font-family: var(--font-body);
  animation: bounce 2s ease-in-out infinite;
}
.scroll-cue::after {
  content: '↓'; font-size: 22px; color: rgba(255,255,255,.4);
}
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }

/* ── CARRIER NETWORK STRIP ────────────────────────────────────── */
.carrier-strip {
  background: var(--off-white);
  padding: 28px 5%;
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 12px 36px;
  border-bottom: 1px solid var(--grey-mid);
}
.carrier-label {
  font-size: 11px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: #aaa;
  white-space: nowrap; flex-basis: 100%; text-align: center;
  margin-bottom: 4px;
}
.carrier-logo {
  height: 28px; width: auto; max-width: 90px;
  object-fit: contain; filter: grayscale(100%); opacity: 0.55;
  transition: filter .3s, opacity .3s;
}
.carrier-logo:hover { filter: grayscale(0%); opacity: 1; }

/* ── GENERIC SECTION ──────────────────────────────────────────── */
section { padding: 96px 5%; }
.eyebrow {
  display: block; font-size: 11px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--blue-light); margin-bottom: 16px;
}
h2 {
  font-family: var(--font-title); font-weight: 700;
  font-size: clamp(38px, 5.5vw, 64px); line-height: 1.0;
  text-transform: uppercase; color: var(--charcoal); margin-bottom: 20px;
}
.intro-text {
  font-size: 18px; color: #5e6e82; line-height: 1.7;
  max-width: 620px; margin-bottom: 56px; font-weight: 300;
}

/* ── GROWTH ENGINE ────────────────────────────────────────────── */
.growth-engine {
  background: var(--white);
  padding: 64px 5% 36px;
  border-top: 1px solid var(--grey-mid);
}
.growth-engine-header {
  max-width: none; margin-bottom: 48px;
}
.growth-engine .eyebrow { color: var(--blue-light); }
.growth-engine h2 {
  color: var(--charcoal);
  font-size: clamp(34px, 5.4vw, 132px);
  white-space: nowrap; letter-spacing: 1px;
}
.growth-engine .intro-text {
  color: #5e6e82; margin-bottom: 0;
  max-width: 900px; font-size: 20px; line-height: 1.75;
}
/* Hub-and-spoke interactive layout */
.growth-engine-header { margin-left: auto; margin-right: auto; text-align: center; }
.growth-engine-header .intro-text { margin-left: auto; margin-right: auto; }
.engine-hub {
  display: grid;
  grid-template-columns: 1fr minmax(400px, 540px) 1fr;
  gap: 56px; align-items: center;
  max-width: 1900px; margin: 0 auto;
}
.engine-col { display: flex; flex-direction: column; gap: 28px; align-items: stretch; }

/* Central wheel + overlay */
.engine-wheel { position: relative; display: flex; justify-content: center; align-items: center; }
.engine-wheel img { width: 100%; max-width: 100%; height: auto; display: block; }
.wheel-overlay {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.wheel-seg {
  fill: #fff; fill-opacity: 0;
  cursor: pointer; transition: fill-opacity .25s ease;
}
.wheel-seg.seg-active { fill-opacity: 0.22; }

/* Description boxes */
.engine-step {
  background: var(--off-white);
  border: 1px solid var(--grey-mid);
  border-left: 5px solid var(--grey-mid);
  border-radius: 12px; padding: 30px 34px;
  width: 100%;
  cursor: default; opacity: .78;
  transition: opacity .25s ease, transform .25s ease, box-shadow .25s ease,
              border-color .25s ease, background .25s ease;
}
.engine-step.active {
  opacity: 1; background: #fff;
  border-color: var(--grey-mid); border-left-color: var(--blue-light);
  transform: translateY(-5px) scale(1.035);
  box-shadow: 0 18px 48px rgba(22,94,150,.2);
}
.step-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 10px; }
.step-num {
  font-family: var(--font-title); font-size: 46px; font-weight: 700;
  color: var(--grey-mid); line-height: 1; transition: color .25s ease;
}
.engine-step.active .step-num { color: var(--blue-light); }
.engine-step h3 {
  font-family: var(--font-title); font-size: 25px; font-weight: 700;
  text-transform: uppercase; color: var(--charcoal); letter-spacing: .5px;
}
.engine-step p { font-size: 16px; color: #6b7685; line-height: 1.65; font-weight: 300; }
.engine-hint {
  text-align: center; font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  color: #aab2bd; margin-top: 48px;
}

/* ── SERVICES CARD GRID ───────────────────────────────────────── */
.services {
  background: var(--white);
  padding: 56px 5% 100px;
}
.services-header {
  max-width: none; margin: 0 auto 56px; text-align: center;
}
.services-header .eyebrow { color: var(--blue-light); }
.services-header h2 {
  color: var(--charcoal); margin-bottom: 16px;
  font-size: clamp(30px, 4.3vw, 108px); white-space: nowrap;
}
.services-header p { color: #6b7685; font-size: 17px; font-weight: 300; max-width: 560px; margin: 0 auto; }

.service-cards {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 22px; max-width: 1600px; margin: 0 auto;
}
.service-card {
  position: relative; border-radius: 16px; overflow: hidden;
  aspect-ratio: 3 / 4; display: flex; align-items: flex-end;
  box-shadow: 0 12px 34px rgba(6,20,38,.14);
}
.service-card img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform .6s ease; z-index: 0;
}
.service-card::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(6,20,38,.92) 0%, rgba(6,20,38,.45) 38%, rgba(6,20,38,.05) 72%);
}
.service-card:hover img { transform: scale(1.06); }
.service-card.fit-contain { background: #0d2438; }
.service-card.fit-contain img { object-fit: contain; }
.service-card-body { position: relative; z-index: 2; padding: 32px 30px; width: 100%; }
.service-card-title {
  font-family: var(--font-title); font-weight: 700;
  font-size: 31px; line-height: 1.02; color: #fff;
  text-transform: uppercase; letter-spacing: .5px; margin-bottom: 22px;
}
.service-card-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.svc-btn {
  padding: 12px 22px; border-radius: 6px;
  font-family: var(--font-body); font-size: 14px; font-weight: 700;
  text-decoration: none; transition: background .2s, color .2s, border-color .2s;
}
.svc-btn-primary { background: #fff; color: var(--blue-dark); }
.svc-btn-primary:hover { background: var(--blue-light); color: #fff; }
.svc-btn-ghost { border: 2px solid rgba(255,255,255,.65); color: #fff; }
.svc-btn-ghost:hover { background: rgba(255,255,255,.15); border-color: #fff; }

/* ── SERVICES DETAIL ("A Closer Look") ────────────────────────── */
.services-detail {
  background: var(--off-white);
  padding: 90px 5% 100px;
  border-top: 1px solid var(--grey-mid);
}
.services-detail-header { text-align: center; max-width: none; margin: 0 auto 56px; }
.services-detail .eyebrow { color: var(--blue-light); }
.services-detail h2 { color: var(--charcoal); font-size: clamp(28px, 4.15vw, 114px); white-space: nowrap; }
.tile-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 34px 26px; max-width: 1440px; margin: 0 auto; text-align: left;
}
.tile-item { min-width: 0; }
.tile-box-title, .tile-title { overflow-wrap: break-word; }
.tile-box {
  aspect-ratio: 1 / 1; border-radius: 10px; overflow: hidden;
  background: linear-gradient(150deg, #1a3450 0%, #0b1a28 100%);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 22px; margin-bottom: 16px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.tile-item:hover .tile-box { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(6,20,38,.28); }
.tile-visual { min-height: 56px; display: flex; align-items: flex-start; gap: 8px; flex-wrap: wrap; }
.tile-visual svg { width: 54px; height: 54px; stroke: #fff; fill: none; }
.tile-logo-chip {
  background: #fff; border-radius: 7px; padding: 7px 10px;
  display: inline-flex; align-items: center;
}
.tile-logo-chip img { height: 22px; width: auto; display: block; }
.tile-box-title {
  font-family: var(--font-title); font-weight: 700; font-size: 25px;
  color: #fff; line-height: 1.02; letter-spacing: .3px; text-transform: uppercase;
}
.tile-title {
  font-family: var(--font-title); font-weight: 700; font-size: 19px;
  text-transform: uppercase; color: var(--charcoal); letter-spacing: .3px; margin-bottom: 8px;
}
.tile-desc { font-size: 14px; color: #5e6e82; line-height: 1.6; font-weight: 300; margin-bottom: 14px; }
.tile-cta {
  color: var(--blue-light); font-weight: 700; font-size: 14px; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px; transition: color .2s, gap .2s;
}
.tile-cta:hover { color: var(--blue-dark); gap: 10px; }

/* ── GLOBAL REACH ─────────────────────────────────────────────── */
.global-reach {
  background: var(--blue-dark);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center; padding: 96px 5%;
}
.global-reach .eyebrow { color: rgba(255,255,255,.5); }
.global-reach h2 { color: #fff; }
.global-reach .intro-text { color: rgba(255,255,255,.72); margin-bottom: 32px; }
.hubs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin-bottom: 40px;
}
.hub-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; color: rgba(255,255,255,.82);
}
.hub-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue-light); flex-shrink: 0;
}
.map-img { width: 100%; height: auto; border-radius: 12px; }

/* ── PHOTO ROW ────────────────────────────────────────────────── */
.photo-row {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 0; overflow: hidden;
}
.photo-item {
  position: relative; overflow: hidden;
  height: 340px;
}
.photo-item img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transition: transform .6s ease;
  display: block;
}
.photo-item:hover img { transform: scale(1.04); }
.photo-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(10,30,55,.85) 0%, transparent 100%);
  padding: 20px 20px 16px;
  font-family: var(--font-title); font-size: 16px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px; color: #fff;
}

/* ── EMERGE CONNECTED ─────────────────────────────────────────── */
.emerge-connected {
  background: var(--white);
  padding: 96px 5%;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
  border-top: 1px solid var(--grey-mid);
}
.emerge-connected .eyebrow { color: var(--blue-light); }
.emerge-connected h2 { color: var(--charcoal); }
.emerge-connected .intro-text { color: #5e6e82; margin-bottom: 24px; }
.connected-logo { height: 60px; display: block; margin-bottom: 32px; }
.connected-quote {
  border-left: 3px solid var(--blue-light);
  padding-left: 20px; margin-bottom: 36px;
  font-size: 17px; color: #6b7685;
  line-height: 1.7; font-weight: 300; font-style: italic;
}
.connected-pillars {
  display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px;
}
.connected-pillar {
  display: flex; align-items: flex-start; gap: 16px;
}
.pillar-icon {
  width: 44px; height: 44px; border-radius: 8px;
  background: var(--off-white); border: 1px solid var(--grey-mid);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.pillar-text h5 {
  font-family: var(--font-title); font-size: 17px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .5px;
  color: var(--charcoal); margin-bottom: 3px;
}
.pillar-text p { font-size: 14px; color: #6b7685; line-height: 1.55; font-weight: 300; }
.connected-visual {
  position: relative; border-radius: 16px; overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--off-white);
  border: 1px solid var(--grey-mid);
  display: flex; align-items: center; justify-content: center;
}
.connected-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.connected-visual-placeholder {
  text-align: center; color: #aaa; padding: 40px;
}
.connected-visual-placeholder .big-icon { font-size: 60px; display: block; margin-bottom: 16px; }
.connected-visual-placeholder p { font-size: 14px; line-height: 1.6; }

/* ── GROWTH SOLUTIONS ─────────────────────────────────────────── */
.growth-solutions {
  background: var(--off-white);
  padding: 96px 5%;
  border-top: 1px solid var(--grey-mid);
}
.growth-solutions-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center; margin-bottom: 72px;
}
.growth-solutions h2 { color: var(--charcoal); }
.growth-solutions .eyebrow { color: var(--blue-light); }
.growth-solutions .intro-text { color: #5e6e82; margin-bottom: 40px; }
.growth-pillars {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.growth-pillar {
  background: var(--white); border-radius: 10px;
  padding: 28px 24px; border-top: 3px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.growth-pillar:hover { border-top-color: var(--blue-light); box-shadow: 0 8px 32px rgba(22,94,150,.1); }
.growth-pillar-icon { font-size: 28px; margin-bottom: 14px; display: block; }
.growth-pillar h4 {
  font-family: var(--font-title); font-size: 19px; font-weight: 700;
  text-transform: uppercase; color: var(--charcoal); margin-bottom: 8px; letter-spacing: .5px;
}
.growth-pillar p { font-size: 14px; color: #6b7685; line-height: 1.6; font-weight: 300; }
.launchpad-banner {
  background: var(--blue-dark); border-radius: 12px;
  padding: 48px 56px; display: flex; align-items: center;
  justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.launchpad-banner h3 {
  font-family: var(--font-title); font-size: clamp(28px, 3vw, 40px);
  font-weight: 700; text-transform: uppercase; color: #fff; margin-bottom: 8px;
}
.launchpad-banner p { font-size: 16px; color: rgba(255,255,255,.7); font-weight: 300; max-width: 520px; }

/* ── MEET THE TEAM ────────────────────────────────────────────── */
.team {
  background: var(--off-white);
  padding: 120px 5%;
  border-top: 1px solid var(--grey-mid);
  text-align: center;
}
.team .eyebrow { color: var(--blue-light); }
.team h2 { color: var(--charcoal); }
.team-intro {
  color: #5e6e82; font-size: 18px; font-weight: 300; line-height: 1.7;
  max-width: 620px; margin: 0 auto 64px;
}
.team-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 48px 32px; max-width: 1200px; margin: 0 auto;
}
.team-member { text-align: center; }
.team-photo {
  width: 200px; height: 200px; border-radius: 50%;
  overflow: hidden; margin: 0 auto 22px;
  background: var(--grey-mid);
  box-shadow: 0 10px 30px rgba(22,94,150,.12);
}
.team-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: grayscale(100%) contrast(1.03);
  transition: transform .45s ease;
}
.team-member:hover .team-photo img { transform: scale(1.06); }
.team-name {
  font-family: var(--font-title); font-size: 22px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .5px; color: var(--charcoal); line-height: 1.1;
}
.team-role {
  font-size: 14px; color: var(--blue-dark); font-weight: 600;
  margin-top: 5px; letter-spacing: .3px;
}

/* ── TESTIMONIALS ─────────────────────────────────────────────── */
.testimonials {
  background: var(--blue-dark);
  padding: 100px 5%;
  text-align: center;
}
.testimonials .eyebrow { color: rgba(255,255,255,.55); }
.testimonials h2 { color: #fff; }
.testimonials-intro {
  color: rgba(255,255,255,.72); font-size: 18px; font-weight: 300;
  line-height: 1.7; max-width: 560px; margin: 0 auto 56px;
}
.testimonial-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; max-width: 1200px; margin: 0 auto;
  text-align: left;
}
.testimonial-card {
  background: #fff; border-radius: 14px;
  padding: 34px 30px; display: flex; flex-direction: column;
  box-shadow: 0 10px 40px rgba(0,0,0,.18);
}
.testimonial-stars {
  color: #f5a623; font-size: 17px; letter-spacing: 3px; margin-bottom: 18px;
}
.testimonial-quote {
  font-size: 16px; color: var(--charcoal); line-height: 1.7;
  font-weight: 400; margin-bottom: 26px; flex-grow: 1;
}
.testimonial-quote::before { content: '\201C'; color: var(--blue-light); font-weight: 700; }
.testimonial-quote::after  { content: '\201D'; color: var(--blue-light); font-weight: 700; }
.testimonial-person { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-light));
  color: #fff; font-family: var(--font-title); font-weight: 700; font-size: 18px;
  display: flex; align-items: center; justify-content: center; letter-spacing: 1px;
}
.testimonial-name {
  font-family: var(--font-title); font-size: 17px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .5px; color: var(--charcoal); line-height: 1.1;
}
.testimonial-role { font-size: 13px; color: #6b7685; margin-top: 3px; }

/* ── ACCREDITATIONS ───────────────────────────────────────────── */
.accreditations {
  background: var(--white); padding: 56px 5%;
  border-top: 1px solid var(--grey-mid);
  text-align: center;
}
.accred-row {
  display: flex; align-items: center; justify-content: center;
  gap: 72px; flex-wrap: wrap; margin-top: 32px;
}
.accred-logo {
  height: 80px; width: auto; max-width: 160px;
  object-fit: contain;
  filter: grayscale(100%); opacity: 0.45;
  transition: filter .3s, opacity .3s;
}
.accred-logo:hover { filter: grayscale(0%); opacity: 1; }

/* ── CTA BANNER ───────────────────────────────────────────────── */
.cta-banner {
  background: var(--white);
  padding: 104px 5%; text-align: center;
  border-top: 1px solid var(--grey-mid);
}
.cta-banner h2 { color: var(--charcoal); margin-bottom: 20px; }
.cta-banner p {
  color: #5e6e82; font-size: 20px; font-weight: 300;
  margin-bottom: 44px; max-width: 520px; margin-left: auto; margin-right: auto;
}
.cta-banner .btn-primary { font-size: 18px; padding: 20px 52px; background: var(--blue-dark); color: #fff; }
.cta-banner .btn-primary:hover { background: var(--blue-light); }
.cta-note {
  display: block; margin-top: 16px;
  font-size: 13px; color: #aab0bb;
  letter-spacing: .5px;
}

/* ── FOOTER (sitemap style) ───────────────────────────────────── */
.site-footer {
  background: #2b2f33;
  color: rgba(255,255,255,.7);
  padding: 76px 5% 40px;
}
.footer-top {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 40px; max-width: 1400px; margin: 0 auto 44px;
}
.footer-brand .footer-logo { height: 48px; display: block; margin-bottom: 16px; }
.footer-tagline { font-size: 15px; color: rgba(255,255,255,.55); line-height: 1.5; max-width: 260px; }
.footer-col h2 {
  font-family: var(--font-body); font-size: 15px; font-weight: 700;
  color: #fff; margin-bottom: 22px; letter-spacing: .3px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.footer-col a, .footer-linklike {
  color: rgba(255,255,255,.68); text-decoration: none; font-size: 15px;
  transition: color .2s; background: none; border: none; padding: 0;
  cursor: pointer; font-family: var(--font-body); text-align: left;
}
.footer-col a:hover, .footer-linklike:hover { color: #fff; }
.footer-divider { max-width: 1400px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,.14); }
.footer-legal {
  max-width: 1400px; margin: 0 auto; padding-top: 32px;
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 40px; flex-wrap: wrap;
}
.footer-legal-text { font-size: 13px; line-height: 2; color: rgba(255,255,255,.5); max-width: 660px; }
.footer-legal-text p { margin-bottom: 14px; }
.footer-legal-text a { color: rgba(255,255,255,.6); text-decoration: none; }
.footer-legal-text a:hover { color: #fff; }
.footer-socials { display: flex; gap: 14px; }
.footer-socials a {
  width: 44px; height: 44px; border-radius: 50%; background: var(--blue-dark);
  display: flex; align-items: center; justify-content: center; color: #fff;
  transition: background .2s, transform .2s;
}
.footer-socials a:hover { background: var(--blue-light); transform: translateY(-3px); }
.footer-socials svg { width: 19px; height: 19px; fill: #fff; }

/* ── REVEAL ANIMATIONS ────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: .1s; }
.d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; }
.d4 { transition-delay: .4s; }

/* ── RESPONSIVE ───────────────────────────────────────────────── */

/* Tablet — collapse two-column layouts to one */
@media (max-width: 960px) {
  .global-reach,
  .emerge-connected,
  .growth-solutions-grid { grid-template-columns: 1fr; gap: 44px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px 40px; }
  .footer-brand { grid-column: 1 / -1; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .service-cards { grid-template-columns: repeat(2, 1fr); }
  .tile-grid { grid-template-columns: repeat(3, 1fr); }

  /* Growth Engine hub → wheel on top, boxes stacked below in 1→6 order */
  .engine-hub { grid-template-columns: 1fr; gap: 20px; max-width: 560px; }
  .engine-col { display: contents; }
  .engine-wheel { order: -1; max-width: 360px; margin: 0 auto 16px; }
  .engine-step { max-width: 100%; opacity: 1; cursor: default; }
  .engine-step.active { transform: none; }
  .engine-step .step-num { color: var(--blue-light); }
  .engine-step[data-step="entry"]        { order: 1; }
  .engine-step[data-step="storage"]      { order: 2; }
  .engine-step[data-step="distribution"] { order: 3; }
  .engine-step[data-step="finalmile"]    { order: 4; }
  .engine-step[data-step="visibility"]   { order: 5; }
  .engine-step[data-step="optimisation"] { order: 6; }
  .engine-hint { display: none; }
  .growth-engine h2 { white-space: normal; }
  .services-header h2 { white-space: normal; }
  .services-detail h2 { white-space: normal; }
}

/* Collapse nav into a hamburger menu */
@media (max-width: 1180px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 88px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--blue-dark);
    padding: 8px 5% 22px;
    border-top: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 14px 26px rgba(0,0,0,.28);
    transform: translateY(-14px); opacity: 0; pointer-events: none;
    transition: transform .28s ease, opacity .28s ease;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block; padding: 15px 4px; font-size: 16px;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .nav-cta {
    display: inline-block; text-align: center; margin-top: 16px;
    padding: 14px 22px !important; border-bottom: none !important;
  }
}

/* Small tablet / large phone — collapse remaining grids */
@media (max-width: 760px) {
  .carousel-slide { grid-template-columns: 1fr; gap: 36px; padding: 40px 6% 56px; }
  .slide-visual { order: -1; }
  .slide-blob { max-width: 320px; }
  .engine-steps { grid-template-columns: 1fr; }
  .growth-pillars { grid-template-columns: 1fr; }
  .hubs { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; max-width: 480px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; max-width: 520px; }
}

/* Phones — typography, spacing and footer */
@media (max-width: 600px) {
  nav { padding: 0 4%; }
  section { padding: 64px 4%; }
  .growth-engine, .global-reach, .emerge-connected,
  .growth-solutions, .accreditations, .cta-banner { padding: 64px 4%; }
  .hero { min-height: 88vh; }
  .hero-content { padding: 0 4%; }
  .hero h1 { font-size: clamp(44px, 13vw, 64px); }
  .hero p { font-size: 17px; margin-bottom: 36px; }
  .hero-ctas { margin-bottom: 44px; }
  .hero-stats { gap: 20px 32px; padding-top: 28px; }
  .hero-stat .number { font-size: 40px; }
  .services-header { padding: 56px 4% 0; }
  .footer-legal { flex-direction: column; align-items: flex-start; gap: 28px; }
  .footer-carbon { text-align: left; }
  .accred-row { gap: 36px; }
  .accred-logo { height: 56px; }
  .launchpad-banner { padding: 32px 28px; }
  .team-photo { width: 150px; height: 150px; }
  .team-name { font-size: 19px; }
  .service-cards { grid-template-columns: 1fr; max-width: 440px; }
  .tile-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 14px; }
  .tile-box { padding: 15px; }
  .tile-visual { min-height: 40px; }
  .tile-visual svg { width: 38px; height: 38px; }
  .tile-logo-chip { padding: 5px 7px; }
  .tile-logo-chip img { height: 16px; }
  .tile-box-title { font-size: 16px; }
  .tile-title { font-size: 16px; }
  .tile-desc { font-size: 13px; }
}

/* ================================================================
   PRODUCTION ADDITIONS
   Everything below was added when the prototype was built into the
   live WordPress template. Keep it after the original rules.
================================================================ */

/* ── Accessibility helpers ────────────────────────────────────── */
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed !important; top: 12px; left: 12px;
  width: auto; height: auto; z-index: 2000;
  clip: auto; clip-path: none;
  background: #fff; color: var(--blue-dark);
  padding: 12px 20px; border-radius: 4px;
  font-weight: 700; text-decoration: none;
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
}

/* Visible keyboard focus everywhere, without adding an outline on mouse click. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--blue-light);
  outline-offset: 2px;
  border-radius: 3px;
}
nav a:focus-visible,
nav button:focus-visible,
footer a:focus-visible,
footer button:focus-visible,
.hero a:focus-visible,
.cta-banner a:focus-visible,
.global-reach a:focus-visible {
  outline-color: #fff;
}

/* ── Navigation ───────────────────────────────────────────────── */
/* Sized for a full site menu: tighter gaps, nothing allowed to wrap out
   of the bar, and the logo capped so it cannot squeeze the links. */
nav .nav-logo { flex: 0 1 auto; min-width: 0; }
nav .nav-logo img, nav .emg-logo { max-width: min(260px, 26vw); height: auto; max-height: 56px; width: auto; }
.nav-links { gap: clamp(14px, 1.5vw, 30px); flex-wrap: nowrap; min-width: 0; }
.nav-links > li { flex: 0 0 auto; }
.nav-links a, .nav-cta, .nav-brochure { white-space: nowrap; }
.nav-cta { padding: 10px 18px; }

/* Replaces the inline box-shadow the prototype set from JavaScript. */
nav { transition: box-shadow .2s ease; }
nav.is-scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.25); }

/* WordPress menu items arrive as <li class="menu-item">; match the
   prototype's link styling regardless of the classes WP adds. */
.nav-links li a { color: rgba(255,255,255,.82); text-decoration: none; }
.nav-links li.current-menu-item > a { color: #fff; }

/* ── Hero ─────────────────────────────────────────────────────── */
/* Still image stand-in used when no hero video is present. */
img.hero-video { object-fit: cover; }

/* ── Section heading resets ───────────────────────────────────── */
/* These were <div>s in the prototype and are now real headings. */
.service-card-title,
.tile-title,
.modal-form h2 { margin-top: 0; }

.reach-body {
  color: rgba(255,255,255,.85);
  font-size: 16px; line-height: 1.7; font-weight: 400;
  margin-bottom: 16px;
}
.reach-footnote {
  color: rgba(255,255,255,.7);
  font-size: 15px; line-height: 1.7; font-weight: 300;
  margin-bottom: 40px;
}
.connected-strapline {
  font-size: 20px; font-weight: 600;
  color: var(--charcoal); margin-bottom: 16px;
}
.emerge-connected .intro-text { margin-bottom: 16px; }
.emerge-connected .intro-text:last-of-type { margin-bottom: 36px; }

/* Button colour variants, replacing the prototype's inline styles. */
.btn-on-blue  { background: #fff; color: var(--blue-dark); }
.btn-on-blue:hover  { background: var(--blue-light); color: #fff; }
.btn-on-white { background: var(--blue-dark); color: #fff; }
.btn-on-white:hover { background: var(--blue-light); color: #fff; }

/* ── Testimonials ─────────────────────────────────────────────── */
/* Now marked up as <blockquote> with a nested <footer> for the attribution.
   The site footer is scoped to .site-footer so its dark styling cannot
   leak into this one. */
blockquote.testimonial-card { margin: 0; }

/* ── Modal ────────────────────────────────────────────────────── */
/* The dialog is now hidden with the [hidden] attribute so it is removed
   from the accessibility tree, not just made transparent. */
.modal-overlay[hidden] { display: none; }
body.modal-open { overflow: hidden; }

/* Honeypot: off-screen for people, still fillable by bots. */
.form-hp {
  position: absolute !important;
  left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}

.form-message { display: none; font-size: 16px; line-height: 1.6; padding: 16px 0 0; }
.form-message.form-success {
  display: block; color: var(--blue-dark);
  font-weight: 600; padding: 24px 0;
}
.form-message.form-error {
  display: block; color: #b3261e; font-weight: 600;
}
.modal-submit[disabled] { opacity: .6; cursor: wait; }
.form-field-comments { margin-bottom: 22px; }

/* ── Third-party form plugins inside the modal ────────────────────
   Styles Gravity Forms, WPForms and Contact Form 7 fields to match the
   built-in form. Harmless when no plugin form is used.
   ------------------------------------------------------------------ */
.modal-plugin-form input[type="text"],
.modal-plugin-form input[type="email"],
.modal-plugin-form input[type="tel"],
.modal-plugin-form input[type="url"],
.modal-plugin-form select,
.modal-plugin-form textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--grey-mid); border-radius: 8px;
  font-family: var(--font-body); font-size: 15px;
  color: var(--charcoal); background: #fff;
  transition: border-color .2s;
}
.modal-plugin-form input:focus,
.modal-plugin-form select:focus,
.modal-plugin-form textarea:focus {
  border-color: var(--blue-light); outline: none;
}
.modal-plugin-form label {
  display: block; font-size: 13px; font-weight: 700;
  color: var(--charcoal); margin-bottom: 6px;
}
.modal-plugin-form textarea { min-height: 110px; resize: vertical; }
.modal-plugin-form input[type="submit"],
.modal-plugin-form button[type="submit"],
.modal-plugin-form .gform_button,
.modal-plugin-form .wpforms-submit {
  width: 100%; background: var(--blue-dark); color: #fff;
  border: none; border-radius: 8px;
  padding: 15px 36px;
  font-family: var(--font-body); font-weight: 700; font-size: 15px;
  cursor: pointer; transition: background .2s; margin-top: 6px;
}
.modal-plugin-form input[type="submit"]:hover,
.modal-plugin-form button[type="submit"]:hover,
.modal-plugin-form .gform_button:hover,
.modal-plugin-form .wpforms-submit:hover { background: var(--blue-light); }
.modal-plugin-form .gform_fields,
.modal-plugin-form .wpforms-field-container { display: grid; gap: 16px; }
.modal-plugin-form ul { list-style: none; margin: 0; padding: 0; }

/* ── Growth Engine keyboard support ───────────────────────────── */
.engine-step:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 4px; }

/* ── WordPress admin bar ──────────────────────────────────────── */
/* Stops the sticky nav from hiding underneath the admin bar for logged-in users. */
body.admin-bar nav { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar nav { top: 46px; }
}

/* ── Reduced motion ───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal { opacity: 1; transform: none; }
  .hero-video { display: none; }
  .scroll-cue { display: none; }
}

/* ── Print ────────────────────────────────────────────────────── */
@media print {
  nav, .scroll-cue, .modal-overlay, .hero-video, .footer-socials { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  body { color: #000; background: #fff; }
}

/* Keep the dialog heading clear of the close button. */
.modal-form h2 { padding-right: 56px; }
