/* ==========================================================================
   MPMC website — home page refresh (v3)
   Built to the MPMC Brand Standards (Sept 2026). Plain CSS, no build step.
   Source: design handoff/design_handoff_home_refresh/README.md
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Primary */
  --navy: #004070;
  --sky: #00A4DD;
  /* Secondary */
  --ash: #2E3B3D;
  --steel: #8AA3A7;
  --smoke: #E6E6E6;
  /* Accents (use sparingly) */
  --spark: #E79C25;
  --ether: #00BFB6;
  --ember: #B61225;
  /* Derived */
  --sky-light: #80D2EE;
  --on-navy: #dce9f3;
  --on-navy-2: #cfdeea;
  --text: #2E3B3D;
  --text-2: #3d4a4c;
  --text-3: #4a5759;
  --bg-alt: #F2F2F2;
  --hero-navy: #00233f;
  --on-sky: #002640;
  --rule: #c9d3d5;
  --footer-text: #d5dcdd;
  --footer-muted: #aab7b9;

  /* Type. Barlow for everything; the accent face is only for large headers
     and figures. Brand spec is Microgamma Extd D (Adobe Fonts) — if MPMC
     licenses it, add the Adobe embed and it takes over automatically;
     otherwise Michroma (Google) is the stand-in, then Barlow. */
  --font-body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-accent: 'Microgamma Extd D', 'Michroma', 'Barlow', sans-serif;

  /* Layout */
  --container: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --section-pad: clamp(72px, 9vw, 112px);
  --ease: 150ms ease;

  /* Double-hex pattern (60°/120° hexagon outline, white at 5–6%), tiled at
     56×100 and 168×300. */
  --hex-a: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2256%22 height=%22100%22%3E%3Cpath d=%22M28 66L0 50L0 16L28 0L56 16L56 50L28 66L28 100%22 fill=%22none%22 stroke=%22%23ffffff%22 stroke-opacity=%220.06%22 stroke-width=%222%22/%3E%3C/svg%3E");
  --hex-b: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2256%22 height=%22100%22%3E%3Cpath d=%22M28 66L0 50L0 16L28 0L56 16L56 50L28 66L28 100%22 fill=%22none%22 stroke=%22%23ffffff%22 stroke-opacity=%220.05%22 stroke-width=%221%22/%3E%3C/svg%3E");
  --hex-c: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2256%22 height=%22100%22%3E%3Cpath d=%22M28 66L0 50L0 16L28 0L56 16L56 50L28 66L28 100%22 fill=%22none%22 stroke=%22%23ffffff%22 stroke-opacity=%220.05%22 stroke-width=%222%22/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: #ffffff;
  overflow-x: hidden;
}

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

a { color: var(--navy); transition: color var(--ease), background-color var(--ease), border-color var(--ease); }
a:hover { color: var(--sky); }

h1, h2, h3, p { margin: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section { padding-top: var(--section-pad); padding-bottom: var(--section-pad); }
.section--tight { padding-top: clamp(64px, 8vw, 100px); padding-bottom: clamp(64px, 8vw, 100px); }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--smoke); }
.section--rule-top { border-top: 1px solid var(--smoke); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Section eyebrow: 28×3 Sky bar + 14px/700 uppercase label at .18em */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--navy); margin-bottom: 18px;
}
.eyebrow::before { content: ""; display: block; width: 28px; height: 3px; background: var(--sky); flex: none; }
.eyebrow--light { color: var(--sky-light); }
.eyebrow--plain::before { display: none; }

.h2 {
  font-weight: 800;
  font-size: clamp(32px, 3.4vw, 46px);
  line-height: 1.08;
  letter-spacing: -.01em;
  color: var(--navy);
  text-wrap: balance;
}
.h2--light { color: #ffffff; }

.accent { font-family: var(--font-accent); font-weight: 400; }

.lead { font-size: 18px; color: var(--text-2); text-wrap: pretty; }

/* Two-column header used by History / Facilities / Technology */
.split-head {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  margin-bottom: 44px;
}
.split-head .h2 { max-width: 640px; }

/* Watermark hex icon (5–7%) */
.watermark { position: absolute; opacity: .05; pointer-events: none; user-select: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  border-radius: 2px;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
  cursor: pointer;
}
.btn--nav { background: var(--navy); color: #ffffff; padding: 12px 22px; font-size: 15px; }
.btn--nav:hover { background: var(--sky); color: #ffffff; }
.btn--primary { background: var(--sky); color: var(--on-sky); font-size: 18px; padding: 16px 30px; }
.btn--primary:hover { background: #ffffff; color: var(--navy); }
.btn--primary.btn--lg { padding: 18px 34px; }
.btn--ghost {
  color: #ffffff; font-weight: 600; font-size: 18px; padding: 15px 28px;
  border: 1.5px solid rgba(255, 255, 255, .45);
}
.btn--ghost:hover { border-color: var(--sky); color: var(--sky-light); }

/* Underlined text link */
.link-underline {
  display: inline-block;
  font-weight: 700; font-size: 16px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--navy); text-decoration: none;
  border-bottom: 3px solid var(--sky); padding-bottom: 4px;
}
.link-underline:hover { color: var(--sky); }
.link-underline--light { color: #ffffff; font-size: 15px; }
.link-underline--light:hover { color: var(--sky-light); }

/* ---------- Header ---------- */
.site-header { background: #ffffff; border-bottom: 1px solid var(--smoke); position: relative; z-index: 20; }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-top: 22px; padding-bottom: 22px;
}
.site-header__logo { display: block; flex: none; }
.site-header__logo img { height: 48px; width: auto; }

.site-nav {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: clamp(18px, 2.4vw, 34px);
  font-size: 15px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.site-nav a { color: var(--navy); text-decoration: none; }
.site-nav a:hover { color: var(--sky); }
.site-nav .btn--nav { color: #ffffff; }

.nav-toggle {
  display: none;
  appearance: none; background: none; border: 1px solid var(--smoke); border-radius: 2px;
  width: 44px; height: 44px; padding: 0; cursor: pointer; color: var(--navy);
  align-items: center; justify-content: center;
}
.nav-toggle:hover { border-color: var(--sky); color: var(--sky); }
.nav-toggle__bars { position: relative; display: block; width: 22px; height: 2px; background: currentColor; }
.nav-toggle__bars::before, .nav-toggle__bars::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: currentColor;
  transition: transform var(--ease), top var(--ease);
}
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 800px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #ffffff; border-bottom: 1px solid var(--smoke);
    box-shadow: 0 16px 36px rgba(0, 64, 112, .12);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 16px var(--gutter); border-top: 1px solid var(--smoke); }
  .site-nav .btn--nav { margin: 16px var(--gutter) 20px; padding: 14px 22px; text-align: center; border-top: 0; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--hero-navy); color: #ffffff; overflow: hidden; }
.hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(0, 40, 72, .96) 0%, rgba(0, 52, 92, .86) 48%, rgba(0, 64, 112, .40) 100%);
}
.hero__pattern {
  position: absolute; inset: 0; opacity: .9;
  background-image: var(--hex-a), var(--hex-b);
  background-size: 56px 100px, 168px 300px;
}
.hero__inner {
  position: relative; z-index: 2;
  padding-top: clamp(56px, 9vw, 120px);
  padding-bottom: clamp(96px, 12vw, 170px);
}
.hero__eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: 14px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--sky-light); margin-bottom: 26px;
}
.hero__eyebrow::before { content: ""; display: block; width: 36px; height: 3px; background: var(--sky); flex: none; }
.hero__title {
  font-family: var(--font-accent); font-weight: 400;
  font-size: clamp(32px, 4.4vw, 62px); line-height: 1.12; letter-spacing: -.01em;
  text-transform: uppercase; margin: 0 0 28px; max-width: 980px; text-wrap: balance;
}
.hero__lead {
  font-size: clamp(18px, 1.6vw, 22px); line-height: 1.55; color: var(--on-navy);
  margin: 0 0 40px; max-width: 620px; text-wrap: pretty;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__accent {
  position: absolute; right: 0; bottom: 0; z-index: 2;
  width: 38%; height: 18px; background: var(--sky);
  clip-path: polygon(18px 0, 100% 0, 100% 100%, 0 100%);
}

/* ---------- Proof strip ---------- */
.proof { border-bottom: 1px solid var(--smoke); }
.proof__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.proof__item { padding: 34px 28px; border-right: 1px solid var(--smoke); }
.proof__item:first-child { padding-left: 0; }
.proof__item:last-child { border-right: 0; }
.proof__figure { font-family: var(--font-accent); font-size: 34px; color: var(--navy); line-height: 1.1; }
.proof__label { font-size: 15px; font-weight: 600; color: var(--text-3); margin-top: 8px; }
@media (max-width: 720px) {
  .proof__item { padding-left: 0; padding-right: 0; border-right: 0; border-bottom: 1px solid var(--smoke); }
  .proof__item:last-child { border-bottom: 0; }
}

/* ---------- Who We Are ---------- */
.about { position: relative; overflow: hidden; }
.about .watermark { left: -140px; bottom: -160px; width: 520px; }
.about__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
  padding-top: clamp(72px, 9vw, 120px);
  padding-bottom: clamp(72px, 9vw, 120px);
}
.about .eyebrow { margin-bottom: 20px; }
.about .h2 { margin-bottom: 24px; }
.about__copy p { color: var(--text-2); margin-bottom: 18px; text-wrap: pretty; }
.about__copy p:last-of-type { margin-bottom: 30px; }
.about__media { position: relative; }
.about__photo {
  aspect-ratio: 5 / 4; overflow: hidden; background: var(--smoke);
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__bar { position: absolute; left: 0; bottom: -18px; width: 44%; height: 18px; background: var(--navy); }

/* ---------- History ---------- */
.history__head { margin-bottom: 52px; }
.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 32px 0;
}
.timeline__step { position: relative; padding-right: 28px; }
.timeline__track { display: flex; align-items: center; margin-bottom: 22px; }
.timeline__marker {
  width: 18px; height: 18px; flex: none; background: var(--navy);
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
}
.timeline__line { flex: 1; height: 2px; background: var(--rule); }
.timeline__step--last .timeline__marker { background: var(--sky); }
.timeline__step--last .timeline__line { background: transparent; }
.timeline__year {
  font-family: var(--font-accent); font-size: clamp(26px, 2.4vw, 34px);
  color: var(--navy); line-height: 1.1; margin-bottom: 10px;
}
.timeline__title { font-weight: 800; font-size: 19px; color: var(--text); margin-bottom: 8px; }
.timeline__body { font-size: 16px; color: var(--text-3); text-wrap: pretty; }

/* ---------- Markets ---------- */
.markets__head { margin-bottom: 44px; }
.markets__head .h2 { max-width: 640px; }
.markets__featured {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 20px; margin-bottom: 20px;
}
.market-card {
  position: relative; overflow: hidden;
  background: var(--navy); color: #ffffff;
  display: flex; flex-direction: column;
}
.market-card__photo { aspect-ratio: 16 / 9; overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%); }
.market-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.market-card__body { position: relative; padding: clamp(28px, 3.4vw, 44px); flex: 1; }
.market-card__body .watermark { right: -70px; bottom: -70px; width: 260px; opacity: .07; }
.market-card__body > :not(.watermark) { position: relative; }
.market-card__label {
  font-size: 14px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--sky-light); margin-bottom: 14px;
}
.market-card__title {
  font-family: var(--font-accent); font-weight: 400;
  font-size: clamp(24px, 2.3vw, 32px); line-height: 1.15; text-transform: uppercase;
  margin-bottom: 16px;
}
.market-card__copy { font-size: 17px; line-height: 1.6; color: var(--on-navy); margin-bottom: 26px; max-width: 520px; }

.markets__more { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.mini-card { background: #ffffff; padding: 32px 30px; border-top: 4px solid var(--navy); }
.mini-card__title { font-weight: 800; font-size: 24px; color: var(--navy); margin-bottom: 10px; }
.mini-card__copy { font-size: 16px; color: var(--text-3); }

/* ---------- Capabilities ---------- */
.capabilities__head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap;
  margin-bottom: 44px;
}
.capabilities__head .h2 { max-width: 620px; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; max-width: 460px; }
.tag { font-size: 14px; font-weight: 600; color: var(--text); border: 1px solid var(--rule); padding: 7px 14px; }

.capabilities__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.cap-card {
  display: block; text-decoration: none; color: inherit;
  background: #ffffff; border: 1px solid var(--smoke);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.cap-card:hover { color: inherit; border-color: var(--sky); box-shadow: 0 16px 36px rgba(0, 64, 112, .12); }
.cap-card__photo { aspect-ratio: 3 / 2; overflow: hidden; background: var(--smoke); }
.cap-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.cap-card__body { padding: 26px 26px 30px; }
.cap-card__num, .tile__num { font-family: var(--font-accent); font-size: 13px; color: var(--sky); margin-bottom: 12px; }
.cap-card__title { font-weight: 800; font-size: 23px; line-height: 1.2; color: var(--navy); margin-bottom: 10px; }
.cap-card__copy { font-size: 16px; color: var(--text-3); }

/* ---------- Facilities ---------- */
.facilities__sites {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 20px; margin-bottom: 20px;
}
.site-card {
  background: #ffffff; border: 1px solid var(--smoke); border-top: 4px solid var(--navy);
  padding: clamp(28px, 3.4vw, 40px); display: flex; flex-direction: column;
}
.site-card__label, .delivery__label {
  font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--sky); margin-bottom: 10px;
}
.site-card__title { font-weight: 800; font-size: 28px; color: var(--navy); margin-bottom: 20px; }
.site-card__figure { display: flex; align-items: baseline; gap: 12px; margin-bottom: 22px; }
.site-card__figure strong {
  font-family: var(--font-accent); font-weight: 400;
  font-size: clamp(30px, 3vw, 42px); color: var(--navy); line-height: 1;
}
.site-card__figure span { font-size: 15px; font-weight: 600; color: var(--text-3); }
.facts { margin: 0; }
.facts div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 13px 0; border-top: 1px solid var(--smoke);
}
.facts dt { font-size: 16px; color: var(--text-2); margin: 0; }
.facts dd { font-weight: 700; font-size: 16px; color: var(--navy); white-space: nowrap; margin: 0; }
.site-card__note { margin-top: 18px; font-size: 15px; color: var(--text-3); text-wrap: pretty; }

.delivery {
  background: var(--navy); color: #ffffff;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
}
.delivery__body { position: relative; padding: clamp(28px, 3.4vw, 44px); overflow: hidden; }
.delivery__body .watermark { right: -60px; bottom: -60px; width: 240px; opacity: .07; }
.delivery__body > :not(.watermark) { position: relative; }
.delivery__label { color: var(--sky-light); }
.delivery__title { font-weight: 800; font-size: 28px; margin-bottom: 20px; }
.delivery__points { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 16px; color: var(--on-navy); }
.delivery__points li { display: flex; gap: 12px; }
.delivery__points li::before { content: "\2014"; color: var(--sky); font-weight: 700; flex: none; }
.delivery__photo { min-height: 280px; clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%); }
.delivery__photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Values ---------- */
.values { position: relative; background: var(--navy); color: #ffffff; overflow: hidden; }
.values__pattern { position: absolute; inset: 0; background-image: var(--hex-c), var(--hex-b); background-size: 56px 100px, 168px 300px; }
.values .container { position: relative; }
.values .h2 { max-width: 680px; margin-bottom: 52px; }
.values__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 1px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .16);
}
.value { background: var(--navy); padding: 34px 30px; }
.value__title { font-family: var(--font-accent); font-weight: 400; font-size: 18px; text-transform: uppercase; margin-bottom: 14px; }
.value__copy { font-size: 16px; color: var(--on-navy-2); }

/* ---------- Technology & AI ---------- */
.technology { position: relative; overflow: hidden; }
.technology .watermark { right: -160px; top: -120px; width: 560px; }
.technology .container { position: relative; }
.technology .split-head { gap: clamp(32px, 5vw, 72px); margin-bottom: 48px; }
.technology .eyebrow { margin-bottom: 20px; }
.technology .split-head .h2 { max-width: none; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.tile { background: #ffffff; border: 1px solid var(--smoke); padding: 30px 28px; }
.tile__num { margin-bottom: 14px; }
.tile__title { font-weight: 800; font-size: 21px; line-height: 1.25; color: var(--navy); margin-bottom: 10px; }
.tile__copy { font-size: 16px; color: var(--text-3); text-wrap: pretty; }

/* ---------- Contact CTA ---------- */
.cta { position: relative; background: var(--navy); color: #ffffff; overflow: hidden; }
.cta__bar { height: 10px; background: linear-gradient(90deg, #004070 0%, #00A4DD 50%, #004070 100%); }
.cta .watermark { right: -60px; top: -40px; width: 420px; opacity: .06; }
.cta__inner {
  position: relative;
  display: flex; justify-content: space-between; align-items: center; gap: 36px; flex-wrap: wrap;
  padding-top: clamp(64px, 8vw, 100px); padding-bottom: clamp(64px, 8vw, 100px);
}
.cta__text { max-width: 700px; }
.cta__title {
  font-family: var(--font-accent); font-weight: 400;
  font-size: clamp(26px, 2.8vw, 40px); line-height: 1.2; text-transform: uppercase;
  margin-bottom: 16px; text-wrap: balance;
}
.cta__phones { font-size: 19px; color: var(--on-navy); }
.cta__phones a { color: inherit; text-decoration: none; }
.cta__phones a:hover { color: #ffffff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ash); color: var(--footer-text); }
.site-footer__inner { padding-top: 56px; padding-bottom: 28px; }
.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .12);
  font-size: 15px; line-height: 1.7;
}
.site-footer__logo { height: 40px; width: auto; margin-bottom: 20px; }
.site-footer__heading {
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--steel); margin-bottom: 12px;
}
.site-footer address { font-style: normal; }
.site-footer address a { color: inherit; text-decoration: none; }
.site-footer__links { display: flex; flex-direction: column; gap: 8px; }
.site-footer__links .site-footer__heading { margin-bottom: 4px; }
.site-footer__links a { color: var(--footer-text); text-decoration: none; }
.site-footer__links a:hover { color: #ffffff; }
.site-footer__bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 22px; font-size: 14px; color: var(--footer-muted);
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* ---------- Inner pages ---------- */
.site-nav a[aria-current="page"] { color: var(--sky); }

.page-hero { position: relative; background: var(--hero-navy); color: #ffffff; overflow: hidden; }
.page-hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero__inner { position: relative; z-index: 2; padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(72px, 9vw, 120px); }
.page-hero .hero__title { font-size: clamp(30px, 3.6vw, 52px); }
.page-hero .hero__lead { margin-bottom: 0; max-width: 720px; }
.technology--page .tiles { grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); }

/* Home page section teasers: a "read more" line inside the linked card */
.cap-card__link {
  display: inline-block; margin-top: 16px;
  font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--navy); border-bottom: 3px solid var(--sky); padding-bottom: 3px;
  transition: color var(--ease);
}
.cap-card:hover .cap-card__link { color: var(--sky); }
.explore .capabilities__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (min-width: 1200px) { .explore .capabilities__grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .explore .capabilities__grid { grid-template-columns: 1fr; } }

/* ---------- Inner page components ---------- */
.page-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }

.section-head { margin-bottom: 44px; }
.section-head .h2 { max-width: 720px; }
.section-head .lead { max-width: 720px; margin-top: 20px; }

.prose { max-width: 720px; }
.prose p { color: var(--text-2); margin-bottom: 18px; text-wrap: pretty; }
.prose p:last-child { margin-bottom: 0; }

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.split .eyebrow { margin-bottom: 20px; }
.split .h2 { margin-bottom: 24px; }
.split__copy p { color: var(--text-2); margin-bottom: 18px; text-wrap: pretty; }
.split__copy .hex-list { margin-top: 26px; }
.split__copy .link-underline { margin-top: 12px; }
.split__photo { position: relative; }
.split__frame {
  aspect-ratio: 5 / 4; overflow: hidden; background: var(--smoke);
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
}
.split__frame img { width: 100%; height: 100%; object-fit: cover; }
.split__bar { position: absolute; left: 0; bottom: -18px; width: 44%; height: 18px; background: var(--navy); }
.split--photo-first .split__photo { order: -1; }
.split--photo-first .split__frame { clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%); }
.split--photo-first .split__bar { left: auto; right: 0; }
@media (max-width: 919px) { .split--photo-first .split__photo { order: 0; } }

.hex-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.hex-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 17px; color: var(--text-2); }
.hex-list li::before {
  content: ""; flex: none; width: 14px; height: 14px; margin-top: 7px; background: var(--sky);
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
}
.hex-list--compact li { font-size: 16px; gap: 12px; }
.hex-list--compact li::before { width: 12px; height: 12px; margin-top: 7px; }
.hex-list--light li { color: var(--on-navy); }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.card-grid--wide { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.mini-card--bordered { border: 1px solid var(--smoke); border-top: 4px solid var(--navy); }
.mini-card .hex-list { margin-top: 16px; }
.mini-card__num { font-family: var(--font-accent); font-size: 13px; color: var(--sky); margin-bottom: 12px; }

.quote {
  border-left: 4px solid var(--sky); margin: 0; padding: 6px 0 6px 28px;
  font-size: clamp(20px, 1.8vw, 24px); line-height: 1.45; font-weight: 500; color: var(--navy); text-wrap: pretty;
}

.facts--card { margin-top: 8px; }

.link-list { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 28px; }

/* Contact */
.contact-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(32px, 5vw, 72px); align-items: start;
}
.contact-grid > :first-child { grid-column: span 1; }
@media (min-width: 1100px) { .contact-grid { grid-template-columns: 3fr 2fr; } }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 18px; }
.field { display: block; }
.field--full { grid-column: 1 / -1; }
.field__label {
  display: block; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--navy); margin-bottom: 8px;
}
.field__label small { font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--text-3); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 17px; line-height: 1.4; padding: 13px 16px;
  border: 1px solid var(--rule); border-radius: 0; background: #ffffff; color: var(--text);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(0, 164, 221, .2); }
.form__actions { margin-top: 22px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.btn--form { background: var(--navy); color: #ffffff; font-size: 17px; padding: 15px 30px; border: 0; font-family: inherit; }
.btn--form:hover { background: var(--sky); color: #ffffff; }
.btn--form[disabled] { opacity: .6; cursor: default; }
.form__status { font-size: 16px; color: var(--text-3); }
.form__status--error { color: var(--ember); font-weight: 600; }
.form__status--ok { color: var(--navy); font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-card { background: #ffffff; border: 1px solid var(--smoke); border-top: 4px solid var(--navy); padding: 28px 30px; }
.contact-card + .contact-card { margin-top: 20px; }
.contact-card__label { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sky); margin-bottom: 8px; }
.contact-card__title { font-weight: 800; font-size: 24px; color: var(--navy); margin-bottom: 12px; }
.contact-card address { font-style: normal; color: var(--text-2); line-height: 1.7; }
.contact-card address a { color: var(--navy); font-weight: 700; text-decoration: none; }
.contact-card address a:hover { color: var(--sky); }
.contact-card .link-underline { margin-top: 14px; font-size: 14px; }

/* Footer: two link columns */
.site-footer__grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
.site-footer__grid > :first-child { grid-column: span 1; }
@media (min-width: 1100px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; } }
.card-grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }

/* Delivery band, stacked: the fleet photo is a wide panorama, so run it full
   width under the text instead of cropping it into a half-width box. */
.delivery--stacked { grid-template-columns: 1fr; }
.delivery--stacked .delivery__photo { clip-path: none; min-height: 0; aspect-ratio: 1200 / 248; border-top: 4px solid var(--sky); }
@media (max-width: 720px) { .delivery--stacked .delivery__photo { aspect-ratio: 2 / 1; } }

/* ---------- Header dropdowns ---------- */
.site-nav__item { position: relative; }
.site-nav__item--has-menu > .site-nav__parent { padding-right: 16px; }
.site-nav__item--has-menu > .site-nav__parent::after {
  content: ""; position: absolute; right: 0; top: 50%;
  width: 6px; height: 6px; margin-top: -5px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}
.site-nav__item--has-menu > .site-nav__parent { position: relative; display: inline-block; }
/* invisible bridge so the pointer can travel from the link down to the menu */
.site-nav__item--has-menu::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 22px; }
.site-nav__menu {
  list-style: none; margin: 0; padding: 8px 0;
  position: absolute; left: -18px; top: calc(100% + 18px); z-index: 30;
  min-width: 240px; background: #ffffff;
  border: 1px solid var(--smoke); border-top: 3px solid var(--sky);
  box-shadow: 0 16px 36px rgba(0, 64, 112, .12);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  /* fade out, but flip visibility instantly on open so submenu links are focusable at once */
  transition: opacity var(--ease), transform var(--ease), visibility 0s linear 150ms;
}
.site-nav__item--has-menu:hover > .site-nav__menu,
.site-nav__item--has-menu:focus-within > .site-nav__menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.site-nav__menu li { margin: 0; }
.site-nav__menu a { display: block; padding: 10px 18px; font-size: 14px; letter-spacing: .06em; white-space: nowrap; }
.site-nav__menu a:hover, .site-nav__menu a:focus { background: var(--bg-alt); color: var(--sky); }
.site-nav__menu a[aria-current="page"] { color: var(--sky); }

@media (max-width: 800px) {
  .site-nav { max-height: calc(100vh - 93px); overflow-y: auto; }
  .site-nav__item { display: block; }
  .site-nav__item > a { display: block; }
  .site-nav__item--has-menu > .site-nav__parent { display: block; padding-right: var(--gutter); }
  .site-nav__item--has-menu > .site-nav__parent::after { display: none; }
  .site-nav__item--has-menu::after { display: none; }
  .site-nav__menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    min-width: 0; padding: 0; border: 0; box-shadow: none; background: var(--bg-alt);
  }
  .site-nav__menu a { padding: 12px var(--gutter) 12px calc(var(--gutter) + 18px); border-top: 1px solid var(--smoke); font-size: 14px; }
}
