@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');


/* =========================================================
   RMPL — WHO WE ARE
   Self-contained page styles (nav, hero, sections, footer)
   NEW LIGHT PALETTE — matches Industrial Challenges page
   ========================================================= */

:root {
  --bg: #ffffff;
  --bg-2: #f5fafc;
  --surface: #ffffff;
  --surface-2: #f3f8fb;

  --navy: #0b2b52;
  --white: #ffffff;
  --text: #34495e;
  --muted: #6b7d8d;

  --green: #1ca854;
  --blue: #1568c9;
  --teal: #1c9aa8;
  --cyan: #2f9fe0;

  --border: rgba(21,104,201,.20);
  --border-soft: rgba(21,104,201,.12);

  --max: 1440px;

  --accent: var(--blue);
  --accent-soft: rgba(21,104,201,.08);

  --panel-bg: #eef6fb;
  --pale-blue: #dcebfa;
  --pale-green: #e6f6ec;

  --footer-bg: #0b2f66;
  --footer-bg-2: #082049;
  --footer-border: rgba(255,255,255,.14);
  --footer-text: #cfe0f5;
}


/* =========================================================
   RESET
========================================================= */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 10px;
}

body {
  margin: 0;

  background:
    radial-gradient(
      ellipse 900px 500px at 15% 0%,
      rgba(21,104,201,.05),
      transparent 68%
    ),
    radial-gradient(
      ellipse 850px 500px at 90% 35%,
      rgba(28,168,84,.04),
      transparent 68%
    ),
    var(--bg);

  color: var(--text);

  font-family: 'Montserrat', Arial, sans-serif;

  line-height: 1.65;

  overflow-x: hidden;

  -webkit-font-smoothing: antialiased;

  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.who-page {
  min-height: 100vh;
}


/* =========================================================
   NAVBAR — identical system to homepage
========================================================= */

.site-header {
  height: 116px;
  position: relative;
  z-index: 1000;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--border);
}

.nav-shell {
  width: min(calc(100% - 76px), var(--max));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  flex: 0 0 180px;
  display: flex;
  align-items: center;
}

.brand-logo {
  width: 170px;
  height: 72px;
  object-fit: contain;
  object-position: left center;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 2vw, 32px);
  white-space: nowrap;
}

.main-nav > a,
.nav-dropdown-trigger {
  position: relative;
  padding: 10px 0;
  color: var(--navy);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  background: none;
  border: 0;
  cursor: pointer;
}

.main-nav > a:hover,
.main-nav > a.active,
.nav-dropdown-trigger:hover,
.nav-dropdown-trigger.page-active {
  color: var(--blue);
}

.main-nav > a.active::after,
.nav-dropdown-trigger.page-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 2px;
  background: var(--blue);
}

.nav-dropdown { position: relative; }

.dropdown-arrow {
  display: inline-block;
  margin-left: 5px;
  transition: transform .3s ease;
}

.nav-dropdown:hover .dropdown-arrow,
.nav-dropdown:focus-within .dropdown-arrow,
.nav-dropdown.is-open .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 2px);
  left: 50%;
  width: 280px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 20px 50px rgba(11,42,69,.14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -8px);
  transition: opacity .25s ease, visibility .25s ease, transform .3s ease;
}

.nav-dropdown:hover > .dropdown-menu,
.nav-dropdown:focus-within > .dropdown-menu,
.nav-dropdown.is-open > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.dropdown-item,
.submenu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  color: var(--navy);
  background: transparent;
  border: 0;
  border-radius: 7px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
  transition: color .25s ease, background .25s ease, padding-left .25s ease;
}

.dropdown-item:hover,
.submenu-item:hover {
  color: var(--green);
  background: rgba(22,166,115,.07);
  padding-left: 21px;
}

.dropdown-submenu { position: relative; }
.submenu-trigger { width: 100%; }

.submenu-arrow {
  font-size: 20px;
  color: var(--muted);
  transition: transform .25s ease, color .25s ease;
}

.dropdown-submenu:hover .submenu-arrow,
.dropdown-submenu:focus-within .submenu-arrow,
.dropdown-submenu.is-open .submenu-arrow {
  color: var(--green);
  transform: translateX(3px);
}

.submenu-menu {
  position: absolute;
  top: -8px;
  left: calc(100% + 8px);
  width: 310px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 20px 50px rgba(11,42,69,.14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-8px);
  transition: opacity .25s ease, visibility .25s ease, transform .3s ease;
}

.dropdown-submenu:hover > .submenu-menu,
.dropdown-submenu:focus-within > .submenu-menu,
.dropdown-submenu.is-open > .submenu-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px !important;
  background: var(--blue) !important;
  color: #fff !important;
  border: 1px solid var(--blue) !important;
  border-radius: 9px;
  font-weight: 700 !important;
  transition: background .3s ease, border-color .3s ease, transform .3s ease;
}

.nav-cta:hover {
  background: var(--navy) !important;
  border-color: var(--navy) !important;
  transform: translateY(-1px);
}

.mobile-menu {
  display: none;
  border: 0;
  background: none;
  color: var(--navy);
  font-size: 24px;
  cursor: pointer;
}

/* =========================================================
   SHARED SECTION CARD
========================================================= */

.section-card {
  width: min(calc(100% - 36px), var(--max));
  margin: 10px auto 0;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: #fff;
  box-shadow: var(--shadow);
}

.section-kicker {
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 19px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.heading-rule {
  width: 52px;
  height: 2px;
  margin: 21px 0 24px;
  background: linear-gradient(90deg, var(--green), var(--blue));
}

/* =========================================================
   PAGE HERO
========================================================= */

.page-hero {
  width: min(calc(100% - 76px), 1280px);
  margin: 0 auto;
  padding: 60px 20px 70px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 44px;
  text-align: left;
}

.hero-copy {
  max-width: 560px;
}

.page-eyebrow,
.section-kicker {
  margin-bottom: 14px;
  color: var(--green);
  font-size: 11px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.page-hero h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -.045em;
  font-weight: 700;
}

.page-hero h1 span {
  color: var(--green);
}

.page-hero-rule,
.heading-rule {
  width: 52px;
  height: 3px;
  margin: 22px 0;
  background: linear-gradient(90deg, var(--green), var(--blue));
  border-radius: 2px;
}

.page-hero p {
  max-width: 480px;
  margin: 0;
  color: black;
  font-size: 14px;
  line-height: 1.8;
}

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.hero-tagline {
  margin: 0 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: right;
}

.hero-tagline::after {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  margin: 8px 0 0 auto;
  background: var(--green);
}

.hero-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  overflow: hidden;
  isolation: isolate;
}

.hero-frame::before {
  content: "";
  position: absolute;
  inset: -10% -10%;
  z-index: 1;
 
  opacity: .85;
  transform: skewX(-14deg);
  pointer-events: none;
}

.hero-frame img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* =========================================================
   ABOUT CARD
========================================================= */

.about-card {
  width: min(calc(100% - 76px), 1280px);
  margin: 0 auto 18px;
  padding: 44px clamp(24px, 5vw, 56px) 48px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 24px 60px -30px rgba(11,43,82,.22);
}

.about-card-grid {
  display: grid;
  grid-template-columns: 1.15fr .95fr;
  gap: 40px;
  align-items: start;
}

.about-card h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  line-height: 1.18;
  letter-spacing: -.03em;
  font-weight: 700;
}

.about-card .section-kicker {
  color: var(--blue);
}

.about-card .heading-rule {
  margin: 18px 0 22px;
  background: var(--blue);
}

.about-copy p {
  margin: 0 0 16px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.85;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.about-copy strong {
  color: var(--navy);
  font-weight: 700;
}

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

.about-stat {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--panel-bg);
}

.about-stat-icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--blue);
}

.about-stat-icon svg {
  width: 17px;
  height: 17px;
}

.about-stat-label {
  display: block;
  color: var(--blue);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
}

.about-stat-value {
  display: block;
  margin-top: 3px;
  color: var(--navy);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.45;
}


/* =========================================================
   TWO DOMAINS
========================================================= */

.divisions-section {
  width: min(calc(100% - 76px), 1280px);
  margin: 64px auto 0;
}

.divisions-heading {
  margin-bottom: 30px;
  text-align: center;
}

.divisions-heading .section-kicker {
  color: var(--blue);
}

.divisions-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.16;
  letter-spacing: -.035em;
}

.divisions-heading h2 span {
  color: var(--green);
}

.divisions-heading .heading-rule {
  margin: 16px auto 12px;
}

.divisions-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
}

.divisions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.division-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
}

.division-card.pts {
  --accent: var(--blue);
}

.division-card.hms {
  --accent: var(--green);
}

.division-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.division-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.division-media::after {
  content: "";
  position: absolute;
  inset: 0;
  
}

.division-card.pts .division-media::before {
  content: "";
  position: absolute;
  inset: -20% -20% auto auto;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle, rgba(21,104,201,.35), transparent 70%);
  z-index: 1;
}

.division-card.hms .division-media::before {
  content: "";
  position: absolute;
  inset: -25% -15% auto auto;
  width: 60%;
  height: 90%;
  background: linear-gradient(135deg, rgba(28,168,84,.55), transparent 60%);
  z-index: 1;
}

.division-body {
  padding: 22px 24px 24px;
}

.division-kicker {
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.division-card h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.division-card p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
  max-width: 420px;
}

.division-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1.5px solid var(--accent);
  border-radius: 20px;
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 600;
  transition: background .25s ease, color .25s ease;
}

.division-btn:hover {
  background: var(--accent);
  color: var(--white);
}

.division-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border-soft);
}

.division-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 8px;
  text-align: center;
  border-left: 1px solid var(--border-soft);
}

.division-feature:first-child {
  border-left: 0;
}

.division-feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.division-feature-icon svg {
  width: 20px;
  height: 20px;
}

.division-feature span {
  color: var(--navy);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.35;
}


/* =========================================================
   LEADERSHIP
========================================================= */

.leadership-section {
  width: min(calc(100% - 76px), 1280px);
  margin: 56px auto 0;
  padding: 0 0 64px;
}

.leadership-heading {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.leadership-heading .section-kicker { color: var(--blue); }

.leadership-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.16;
  letter-spacing: -.035em;
}

.leadership-heading h2 span { color: var(--green); }

.leadership-heading .heading-rule {
  margin: 16px auto 12px;
  background: linear-gradient(90deg, var(--green), var(--blue));
}

.leadership-heading p {
  max-width: 650px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.75;
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.leadership-card {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  min-height: 330px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.leadership-card.hms { --accent: var(--green); }
.leadership-card.pts { --accent: var(--blue); }

.leadership-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 45px -25px rgba(11,43,82,.28);
}

.leadership-card-photo {
  min-height: 330px;
  overflow: hidden;
  background: var(--panel-bg);
}

.leadership-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.leadership-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 28px;
}

.leadership-division {
  margin-bottom: 9px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.leadership-card h3 {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: -.025em;
}

.leadership-card .leadership-role {
  margin: 0;
  color: var(--accent);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.5;
}

.leadership-summary {
  margin: 15px 0 22px;
  color: var(--text);
  font-size: 12.5px;
  line-height: 1.7;
}

.leadership-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1.5px solid var(--accent);
  border-radius: 20px;
  background: transparent;
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}

.leadership-btn:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-1px);
}


/* =========================================================
   LEADERSHIP PROFILE MODALS
========================================================= */

.profile-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(11,43,82,.55);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease;
}

.profile-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.profile-window {
  width: min(920px, 100%);
  max-height: min(780px, calc(100vh - 56px));
  overflow-y: auto;
  position: relative;
  padding: 42px clamp(24px, 5vw, 52px) 48px;
  border: 1px solid var(--accent);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 35px 100px rgba(11,43,82,.28);
  transform: translateY(12px) scale(.985);
  transition: transform .3s ease;
}

.profile-modal.is-open .profile-window { transform: translateY(0) scale(1); }
.profile-window.pts { --accent: var(--blue); }
.profile-window.hms { --accent: var(--green); }

.profile-close {
  position: absolute;
  top: 17px;
  right: 19px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  color: var(--muted);
  font-size: 21px;
  line-height: 1;
  cursor: pointer;
  transition: color .25s ease, border-color .25s ease, transform .25s ease;
}

.profile-close:hover {
  color: var(--accent, var(--blue));
  border-color: var(--accent, var(--blue));
  transform: rotate(90deg);
}

.profile-kicker {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.profile-window h3 {
  max-width: 760px;
  margin: 0;
  padding-right: 45px;
  color: var(--navy);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: -.03em;
}

.profile-role {
  margin: 9px 0 0;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
}

.profile-rule {
  width: 42px;
  height: 2px;
  margin: 22px 0 25px;
  background: var(--accent);
}

.profile-body p {
  margin: 0 0 18px;
  color: var(--text);
  font-size: 13.5px;
  line-height: 1.82;
}

.profile-body p:last-child { margin-bottom: 0; }
.profile-body strong { color: var(--navy); font-weight: 700; }

.profile-quote {
  margin-top: 26px !important;
  padding: 18px 20px;
  border-left: 2px solid var(--accent);
  background: var(--panel-bg);
  color: var(--navy) !important;
  font-size: 13.5px !important;
  font-weight: 600;
}

body.modal-open { overflow: hidden; }


/* =========================================================
   VALUES
========================================================= */

.values-section {
  width: min(calc(100% - 76px), 1280px);
  margin: 20px auto 0;
  padding: 44px 0 60px;
}

.values-heading {
  margin-bottom: 30px;
  text-align: center;
}

.values-heading .section-kicker {
  color: var(--green);
}

.values-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  letter-spacing: -.03em;
}

.values-heading .heading-rule {
  margin: 16px auto 0;
}

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

.value-card {
  padding: 28px 20px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  text-align: center;
}

.value-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--panel-bg);
  color: var(--blue);
}

.value-card:nth-child(2) .value-icon {
  color: var(--navy);
}

.value-card:nth-child(3) .value-icon {
  color: var(--teal);
}

.value-card:nth-child(4) .value-icon {
  color: var(--green);
}

.value-icon svg {
  width: 21px;
  height: 21px;
}

.value-card h3 {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: 14.5px;
  font-weight: 700;
}

.value-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}


/* =========================================================
   CTA BANNER
========================================================= */

.cta-banner {
  width: min(calc(100% - 76px), 1280px);
  margin: 8px auto 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 32px;
  border-radius: 16px;
  background: var(--pale-blue);
  border: 1px solid var(--border);
}

.cta-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.cta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--blue);
}

.cta-icon svg {
  width: 21px;
  height: 21px;
}

.cta-text {
  border-left: 2px solid var(--green);
  padding-left: 18px;
}

.cta-text h3 {
  margin: 0;
  color: var(--navy);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.cta-text p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12.5px;
}

.cta-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 20px;
  background: var(--blue);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  transition: background .25s ease, transform .25s ease;
}

.cta-btn:hover {
  background: var(--navy);
  transform: translateY(-1px);
}



/* =========================================================
   FOOTER
========================================================= */

.site-footer {
  margin-top: 10px;
  padding: 0;
  background: linear-gradient(135deg, #075da9bb 0%, #0874c8 55%, #0058a8 100%);
  color: #ffffff;
}

.footer-grid {
  padding: 36px max(30px, calc((100% - var(--max)) / 2)) 28px;
  display: grid;
  grid-template-columns: 1.15fr .9fr .8fr;
  gap: 40px;
}

.footer-grid h3 {
  color: #ffffff;
  margin: 0;
}

.footer-grid > div > p {
  margin: 0 0 1.25rem;
  font-size: .86rem;
  color: rgba(255,255,255,.88);
}

.footer-grid .smallcaps {
  text-transform: uppercase;
  font-size: .74rem !important;
}

.footer-title {
  color: #ffffff;
  text-transform: uppercase;
  font-size: .92rem;
  margin-bottom: 20px;
}

.footer-grid a {
  color: #ffffff;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin: 14px 0;
}

.footer-links a {
  font-size: 13px;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--green);
}

.footer-links a::before {
  content: "›";
  color: var(--green);
  margin-right: 10px;
}

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

.footer-social a {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #ffffff;
  transition: transform .32s cubic-bezier(.22, 1, .36, 1), border-color .32s ease;
}

.footer-social a:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.75);
}

.footer-social svg {
  width: 20px;
  height: 20px;
}

.footer-bottom {
  padding: 18px max(30px, calc((100% - var(--max)) / 2));
  margin-top: 0;
  border-top: 1px solid rgba(255,255,255,.22);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  color: rgba(255,255,255,.82);
  font-size: .76rem;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1180px) {
  .nav-shell {
    width: calc(100% - 40px);
  }

  .main-nav {
    gap: 18px;
  }

  .main-nav > a {
    font-size: 13.5px;
  }

  .hero-shell {
    grid-template-columns: 42% 58%;
    min-height: 500px;
  }

  .hero-art {
    min-height: 500px;
    padding: 25px 0;
  }

  .hero-image {
    height: 400px;
  }

  .brand {
    flex-basis: 160px;
  }

  .division-grid {
    grid-template-columns: 1fr;
  }

  .division {
    padding-bottom: 28px;
  }
}

@media (max-width: 980px) {
  .site-header {
    height: 96px;
  }

  .brand-logo {
    width: 155px;
    height: 68px;
  }

  .hero-shell {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 50px 30px 30px;
  }

  .hero h1 {
    max-width: 750px;
    font-size: clamp(3rem, 7vw, 4.5rem);
  }

  .hero-art {
    height: auto;
    min-height: auto;
    padding: 10px 30px 40px;
  }

  .hero-image {
    width: 100%;
    max-width: 680px;
    height: 480px;
  }

  .mission-grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 30px;
  }

  .mission-item:nth-child(3) {
    border-right: 0;
  }

  .vision-flow {
    flex-wrap: wrap;
    gap: 18px;
  }

  .flow-line {
    width: 40px;
  }

  .diagram-wrap {
    max-width: 510px;
  }

  .process-diagram .diagram-item {
    transform:
      translate(-50%, -50%)
      rotate(var(--angle))
      translateY(-195px)
      rotate(calc(var(--angle) * -1));
  }

  .health-diagram .diagram-item {
    transform:
      translate(-50%, -50%)
      rotate(var(--angle))
      translateY(-184px)
      rotate(calc(var(--angle) * -1));
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 760px) {
  .site-header {
    height: 82px;
  }

  .section-heading {
    gap: 10px;
  }

  .section-heading > span {
    width: 36px;
  }

  .section-heading p {
    font-size: 16px;
    letter-spacing: 1px;
  }

  .nav-shell {
    width: calc(100% - 30px);
  }

  .brand {
    flex-basis: 150px;
  }

  .brand-logo {
    width: 145px;
    height: 62px;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    padding: 10px 18px 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 25px rgba(11,42,69,.08);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav > a {
    width: 100%;
    padding: 14px 4px;
    text-align: left;
    border-bottom: 1px solid var(--border);
  }

  .main-nav .nav-cta {
    margin-top: 10px;
    text-align: center;
    justify-content: center;
  }

  .mobile-menu {
    display: block;
  }

  .dropdown-menu,
  .submenu-menu {
    display: none;
    position: static;
    width: 100%;
    margin-top: 5px;
    transform: none;
    box-shadow: none;
  }
.nav-dropdown.is-open > .dropdown-menu {
  display: block;
}

.dropdown-submenu.is-open > .submenu-menu {
  display: block;
}
  .nav-dropdown:hover > .dropdown-menu,
  .nav-dropdown:focus-within > .dropdown-menu,
  .nav-dropdown.is-open > .dropdown-menu {
    transform: none;
  }

  .submenu-menu {
    margin-left: 0;
    padding-left: 16px;
  }

  .section-card {
    width: min(calc(100% - 20px), var(--max));
    border-radius: 12px;
  }

  .hero-copy {
    padding: 42px 22px 26px;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 11vw, 4rem);
  }

  .hero-copy p {
    font-size: 14px;
  }

  .hero-art {
    min-height: auto;
    height: auto;
    padding: 0 12px 25px;
  }

  .hero-image {
    width: 100%;
    max-width: 680px;
    height: 330px;
    border-radius: 16px;
  }

  .mission,
  .vision {
    padding-left: 18px;
    padding-right: 18px;
  }

  .mission-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mission-item {
    padding: 0 12px 24px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .mission-item:nth-child(odd) {
    border-right: 1px solid var(--border);
  }

  .mission-item:nth-last-child(-n+2) {
    border-bottom: 0;
  }

  .mission-item:last-child {
    grid-column: 1 / -1;
    border-right: 0;
  }

  .vision-text {
    font-size: 14px;
  }

  .vision-flow {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px 10px;
  }

  .flow-line {
    display: none;
  }

  .vision-node {
    min-width: 0;
  }

  .divisions {
    padding-bottom: 24px;
  }

  .division-grid {
    padding: 0 12px;
  }

  .division {
    padding: 20px 8px 24px;
  }

  .diagram-wrap {
    max-width: 300px;
  }

  /* Labels and hover-tooltips don't work on touch, and 12 (or 8)
     text labels can't fit around a small mobile ring anyway.
     Below 760px the ring shows icons only — tapping one fills
     the .diagram-caption panel underneath instead. */

  .process-diagram .diagram-item {
    width: 40px;
    transform:
      translate(-50%, -50%)
      rotate(var(--angle))
      translateY(-128px)
      rotate(calc(var(--angle) * -1));
  }

  .health-diagram .diagram-item {
    width: 40px;
    transform:
      translate(-50%, -50%)
      rotate(var(--angle))
      translateY(-124px)
      rotate(calc(var(--angle) * -1));
  }

  .diagram-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .diagram-icon svg {
    width: 20px;
    height: 20px;
  }

  .diagram-item > span {
    display: none;
  }

  .diagram-item.is-active .diagram-icon {
    border-color: var(--blue);
    background: rgba(30,127,224,.08);
    color: var(--blue);
  }

  .diagram-center {
    width: 29%;
  }

  .diagram-center-inner strong {
    font-size: 19px;
  }

  .diagram-center-inner small {
    font-size: 5.5px;
  }

  .diagram-tooltip {
    display: none;
  }

  .diagram-caption {
    display: block;
    max-width: 300px;
    margin: 14px auto 0;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    text-align: left;
  }

  .diagram-caption-title {
    display: block;
    margin-bottom: 4px;
    color: var(--navy);
    font-size: 12.5px;
    font-weight: 700;
  }

  .diagram-caption-desc {
    margin: 0;
    color: var(--muted);
    font-size: 11.5px;
    line-height: 1.55;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}/* =========================================================
   LEADERSHIP DIRECTORY + PROFILE MODALS
========================================================= */

.profile-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(11,43,82,.55);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease;
}

.profile-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.profile-window {
  width: min(920px, 100%);
  max-height: min(780px, calc(100vh - 56px));
  overflow-y: auto;
  position: relative;
  padding: 42px clamp(24px, 5vw, 52px) 48px;
  border: 1px solid var(--accent);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 35px 100px rgba(11,43,82,.28);
  transform: translateY(12px) scale(.985);
  transition: transform .3s ease;
}

.profile-modal.is-open .profile-window {
  transform: translateY(0) scale(1);
}

.profile-window.directory {
  padding: 36px clamp(20px, 4vw, 40px) 40px;
}

.profile-window.pts {
  --accent: var(--blue);
}

.profile-window.hms {
  --accent: var(--green);
}

.profile-close {
  position: absolute;
  top: 17px;
  right: 19px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  color: var(--muted);
  font-size: 21px;
  line-height: 1;
  cursor: pointer;
  transition: color .25s ease, border-color .25s ease, transform .25s ease;
}

.profile-close:hover {
  color: var(--accent, var(--blue));
  border-color: var(--accent, var(--blue));
  transform: rotate(90deg);
}

.profile-kicker {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.profile-window h3 {
  max-width: 760px;
  margin: 0;
  padding-right: 45px;
  color: var(--navy);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: -.03em;
}

.profile-role {
  margin: 9px 0 0;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
}

.profile-rule {
  width: 42px;
  height: 2px;
  margin: 22px 0 25px;
  background: var(--accent);
}

.profile-body p {
  margin: 0 0 18px;
  color: var(--text);
  font-size: 13.5px;
  line-height: 1.82;
}

.profile-body p:last-child {
  margin-bottom: 0;
}

.profile-body strong {
  color: var(--navy);
  font-weight: 700;
}

.profile-quote {
  margin-top: 26px !important;
  padding: 18px 20px;
  border-left: 2px solid var(--accent);
  background: var(--panel-bg);
  color: var(--navy) !important;
  font-size: 13.5px !important;
  font-weight: 600;
}

.directory-heading {
  margin-bottom: 20px;
}

.directory-heading .section-kicker {
  color: var(--blue);
}

.directory-heading h3 {
  padding-right: 0;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
}

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

.leader-card {
  position: relative;
  padding: 26px 24px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--panel-bg);
  cursor: pointer;
  text-align: left;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.leader-card.pts {
  --accent: var(--blue);
}

.leader-card.hms {
  --accent: var(--green);
}

.leader-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 18px 40px -20px rgba(11,43,82,.3);
}

.leader-number {
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
}

.leader-division {
  margin-top: 14px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.leader-card h4 {
  margin: 8px 0 6px;
  color: var(--navy);
  font-size: 1.15rem;
  letter-spacing: -.02em;
}

.leader-role {
  margin: 0;
  color: var(--accent);
  font-size: 11.5px;
  font-weight: 600;
}

.leader-summary {
  margin: 14px 0 0;
  color: var(--text);
  font-size: 12px;
  line-height: 1.65;
}

.leader-open {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
}

body.modal-open {
  overflow: hidden;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {
  .nav-shell { width: calc(100% - 48px); }
  .main-nav { gap: 20px; }
  .main-nav > a, .nav-dropdown-trigger { font-size: 12px; }
  .nav-cta { padding: 10px 18px !important; }
  .about-card-grid { grid-template-columns: 1fr; }
  .leadership-grid { grid-template-columns: 1fr; }
  .leadership-card { grid-template-columns: .8fr 1.2fr; }
}

@media (max-width: 900px) {
  .site-header { height: 82px; }
  .brand { flex-basis: auto; }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 24px;
    right: 24px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(11,43,82,.14);
    white-space: normal;
  }

  .main-nav.open { display: flex; }

  .main-nav > a, .nav-dropdown-trigger {
    width: 100%;
    padding: 12px 10px;
    text-align: left;
    font-size: 13px;
  }

  .mobile-menu { display: block; }

  .dropdown-menu, .submenu-menu {
    position: static;
    width: 100%;
    transform: none;
    box-shadow: none;
    border-radius: 7px;
  }

  .dropdown-menu {
    display: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-dropdown.is-open > .dropdown-menu { display: block; }

  .submenu-menu {
    display: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .dropdown-submenu.is-open > .submenu-menu { display: block; }

  /* FIX 1: the desktop hover / focus-within / is-open rules set
     transform: translate(-50%, 0) with specificity (0,3,0), which beats the
     plain `transform: none` reset above. That shoved the opened dropdown half
     its width to the LEFT, off the panel. Re-reset at equal specificity. */
  .nav-dropdown:hover > .dropdown-menu,
  .nav-dropdown:focus-within > .dropdown-menu,
  .nav-dropdown.is-open > .dropdown-menu,
  .dropdown-submenu:hover > .submenu-menu,
  .dropdown-submenu:focus-within > .submenu-menu,
  .dropdown-submenu.is-open > .submenu-menu {
    transform: none;
  }

  .dropdown-menu { left: auto; top: auto; margin: 4px 0 6px; }
  .submenu-menu  { left: auto; top: auto; margin: 4px 0 4px 12px; width: auto; }

  /* FIX 2: the inline <style> in the HTML head (padding: 0, inline-flex)
     loads after this file and was overriding the mobile padding, so
     "Who We Are" / "Process Technology" sat 8px left of Home / Mission.
     Higher specificity here wins without touching the head style. */
  .main-nav .nav-dropdown-trigger {
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
  }
  .main-nav .nav-dropdown-trigger > a { flex: 1; padding: 12px 0; }
  .main-nav .dropdown-arrow-button {
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    justify-content: center;
  }

  /* FIX 3: long menu (dropdowns expanded) should scroll, not run off-screen */
  .main-nav { max-height: calc(100vh - 100px); overflow-y: auto; }

  .page-hero {
    width: calc(100% - 48px);
    grid-template-columns: 1fr;
    padding: 44px 10px 54px;
    gap: 28px;
  }

  .hero-visual { align-items: flex-start; }
  .hero-tagline { text-align: left; }
  .hero-tagline::after { margin: 8px auto 0 0; }

  .about-card { width: calc(100% - 48px); padding: 32px 24px 36px; }
  .divisions-section, .leadership-section, .values-section { width: calc(100% - 48px); }
  .divisions-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }

  .cta-banner {
    width: calc(100% - 48px);
    flex-direction: column;
    align-items: flex-start;
  }

}

@media (max-width: 700px) {
  .page-hero h1 { font-size: clamp(2.2rem, 11vw, 3.2rem); }
  .about-stats { grid-template-columns: 1fr; }
  .division-features { grid-template-columns: 1fr; }
  .division-feature { border-left: 0; border-top: 1px solid var(--border-soft); }
  .division-feature:first-child { border-top: 0; }
}

@media (max-width: 520px) {
  .page-hero p { font-size: 13px; }
  .about-copy p, .profile-body p { font-size: 13px; }
  .values-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .leadership-card { grid-template-columns: 1fr; }
  .leadership-card-photo { min-height: 280px; height: 280px; }
  .leadership-card-body { padding: 26px 24px 30px; }
}

@media (max-width: 520px) {
  .leadership-section { padding-bottom: 48px; }
  .leadership-card-photo { min-height: 250px; height: 250px; }
  .leadership-card-body { padding: 24px 20px 28px; }
  .leadership-btn { width: 100%; justify-content: center; }
  .profile-modal { padding: 14px; }
  .profile-window { max-height: calc(100vh - 28px); padding: 36px 22px 32px; border-radius: 14px; }
  .profile-close { top: 12px; right: 12px; width: 36px; height: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  .main-nav > a, .nav-dropdown-trigger, .nav-cta, .dropdown-menu,
  .submenu-menu, .dropdown-item, .submenu-item, .division-btn,
  .leadership-btn, .cta-btn, .leader-card, .profile-close, .footer-social a {
    transition: none !important;
  }
}
/* =========================================================
   CONTACT FORM — MATCHES HOMEPAGE
========================================================= */

.section-card {
  width: min(calc(100% - 36px), var(--max));
  margin: 10px auto 0;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 18px 45px -30px rgba(11,42,69,.22);
}

.contact-section {
  padding: 28px 42px 40px;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.section-heading > span {
  width: 82px;
  height: 1px;
  background: rgba(22,166,115,.45);
}

.section-heading p {
  margin: 0;
  color: var(--blue);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-align: center;
}

.contact-intro {
  max-width: 620px;
  margin: 18px auto 28px;
  text-align: center;
}

.contact-intro h2 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -.02em;
}

.contact-intro h2 span {
  color: var(--blue);
}

.contact-intro p {
  margin: 0;
  color: var(--text);
  font-size: 14px;
}

.contact-form {
  max-width: 780px;
  margin: 0 auto;
  text-align: left;
}

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

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-field-full {
  grid-column: 1 / -1;
}

.contact-field > span {
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: #fff;
  color: var(--navy);
  font-family: inherit;
  font-size: 14px;
  transition: border-color .25s ease, box-shadow .25s ease;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.contact-field textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-submit {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  width: 100%;
  justify-content: center;
  border: 1px solid var(--blue);
  border-radius: 9px;
  background: var(--blue);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background .3s ease, transform .3s ease, box-shadow .3s ease;
}

.contact-submit:hover {
  background: var(--navy);
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -8px rgba(21,104,201,.4);
}

.contact-submit:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none;
}

.contact-submit span {
  font-size: 18px;
  line-height: .7;
}

.form-status {
  margin: 14px 0 0;
  min-height: 18px;
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

@media (max-width: 760px) {
  .contact-section {
    width: calc(100% - 30px);
    padding: 24px 20px 30px;
  }

  .section-heading {
    gap: 10px;
  }

  .section-heading > span {
    width: 45px;
  }

  .section-heading p {
    font-size: 16px;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
  }
}