:root {
  --navy: #061f38;
  --blue: #0b4d88;
  --teal: #1fb7a6;
  --mint: #c8f3ed;
  --ink: #102033;
  --muted: #64748b;
  --line: rgba(15, 23, 42, 0.1);
  --paper: #f7fbff;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(8, 31, 57, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

.shell {
  overflow: hidden;
}

.container {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(6, 31, 56, 0.86);
  backdrop-filter: blur(18px);
  color: var(--white);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 14px;
}

.back-button {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.back-button:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.14);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 206px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(31, 183, 166, 0.95), rgba(11, 77, 136, 0.94));
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius);
}

.brand-logo-home {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-left: 6px;
  border: 1px solid rgba(23, 105, 167, 0.16);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(25, 74, 116, 0.1);
}

.brand-logo-home img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand-name {
  display: block;
  font-size: 15px;
  font-weight: 800;
}

.brand-sub {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
  flex: 1;
  border: 1px solid rgba(23, 105, 167, 0.1);
  border-radius: var(--radius);
  padding: 4px;
  background: rgba(247, 252, 255, 0.92);
}

.nav-links a {
  border-radius: var(--radius);
  padding: 9px 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 180ms ease, color 180ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  border: 0;
  border-radius: var(--radius);
  padding: 12px 18px;
  background: var(--teal);
  color: #04213a;
  font-weight: 850;
  white-space: nowrap;
  box-shadow: 0 16px 32px rgba(31, 183, 166, 0.28);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover,
.nav-cta:hover {
  transform: translateY(-2px);
  background: #37d0bd;
  box-shadow: 0 20px 42px rgba(31, 183, 166, 0.34);
}

.nav-cta {
  min-width: 142px;
  padding-inline: 14px;
}

.btn.secondary {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  box-shadow: none;
}

.btn.dark {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 16px 34px rgba(6, 31, 56, 0.22);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 22px;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 640px;
  padding: 94px 0 54px;
  background:
    linear-gradient(90deg, rgba(3, 20, 37, 0.92) 0%, rgba(3, 28, 51, 0.78) 45%, rgba(5, 43, 71, 0.36) 100%),
    var(--hero-image) center/cover;
  color: var(--white);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  background: linear-gradient(180deg, transparent, var(--paper));
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.62fr);
  align-items: center;
  gap: 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--mint);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--teal);
}

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

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(44px, 6.8vw, 86px);
  line-height: 0.98;
  letter-spacing: 0;
  color: #f8fbff;
  text-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
}

.lead {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-card {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  padding: 24px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 18px;
}

.hero-card h2 {
  font-size: 24px;
  line-height: 1.15;
}

.metric-strip {
  position: relative;
  z-index: 4;
  margin-top: -54px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.64);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.metric {
  padding: 24px;
  background: rgba(255, 255, 255, 0.78);
}

.metric strong {
  display: block;
  color: var(--navy);
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1;
}

.metric span {
  color: var(--muted);
  font-weight: 760;
  font-size: 13px;
}

section {
  padding: 76px 0;
}

body[data-page="team"] {
  background: #071f38;
}

body[data-page="team"] .page-hero + section {
  background:
    linear-gradient(180deg, #071f38 0%, #0a2b49 54%, #071f38 100%);
  color: #ffffff;
}

body[data-page="team"] .page-hero + section .section-head h2 {
  color: #ffffff;
}

body[data-page="team"] .page-hero + section .section-head p {
  color: rgba(232, 242, 250, 0.78);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(280px, 0.52fr);
  align-items: end;
  gap: 44px;
  margin-bottom: 36px;
}

.section-head h2,
.page-title h1 {
  color: var(--navy);
  font-size: clamp(34px, 4.3vw, 58px);
  line-height: 1.04;
}

.section-head p,
.page-title p {
  color: var(--muted);
  font-size: 18px;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.balanced.count-3 {
  grid-template-columns: 1.34fr 0.83fr 0.83fr;
}

.grid.balanced.count-5 .card:last-child {
  grid-column: span 2;
}

.card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 46px rgba(8, 31, 57, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.card:hover {
  transform: translateY(-4px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  border-color: rgba(31, 183, 166, 0.5);
  box-shadow: 0 22px 60px rgba(8, 31, 57, 0.12);
}

.tilt-card {
  transform-style: preserve-3d;
  will-change: transform;
}

.photo-story {
  padding-top: 70px;
  background:
    radial-gradient(circle at 82% 4%, rgba(223, 248, 244, 0.82), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f4fbff 100%);
}

.photo-story,
.warm-band,
body[data-page="team"] .page-hero + section {
  position: relative;
}

.photo-story::before,
.warm-band::before,
body[data-page="team"] .page-hero + section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0%, rgba(18, 169, 155, 0.11) 12%, transparent 24%),
    linear-gradient(90deg, transparent 48%, rgba(250, 180, 82, 0.12) 58%, transparent 70%);
  pointer-events: none;
}

.photo-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr 0.82fr;
  grid-auto-rows: 240px;
  gap: 16px;
}

.photo-tile {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius);
  box-shadow: 0 22px 70px rgba(25, 74, 116, 0.12);
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.photo-tile.large {
  grid-row: span 2;
}

.photo-tile:hover {
  transform: translateY(-4px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  box-shadow: 0 30px 90px rgba(25, 74, 116, 0.18);
}

.photo-tile img {
  width: 100%;
  height: 112%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.photo-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 46%, rgba(7, 31, 56, 0.7));
}

.photo-tile figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 1;
  color: #ffffff;
  font-weight: 900;
  font-size: 18px;
}

.warm-band {
  background:
    radial-gradient(circle at 8% 12%, rgba(223, 248, 244, 0.8), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #eff9ff 100%);
}

.moment-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.moment-card {
  overflow: hidden;
  border: 1px solid rgba(23, 105, 167, 0.12);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 18px 58px rgba(25, 74, 116, 0.1);
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.moment-card:hover {
  transform: translateY(-5px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  box-shadow: 0 28px 78px rgba(25, 74, 116, 0.16);
}

.moment-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 420ms ease;
}

.moment-card div {
  padding: 22px;
}

.moment-card h3 {
  color: var(--navy);
  font-size: 24px;
  line-height: 1.15;
}

.moment-card p {
  color: var(--muted);
}

.moment-slider {
  position: relative;
  overflow: hidden;
  min-height: 470px;
  border: 1px solid rgba(23, 105, 167, 0.12);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 22px 70px rgba(25, 74, 116, 0.12);
}

.moment-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  opacity: 0;
  pointer-events: none;
  transform: translateX(24px);
  transition: opacity 380ms ease, transform 380ms ease;
}

.moment-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.moment-slide img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
}

.moment-slide div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px;
}

.moment-slide h3 {
  color: var(--navy);
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.04;
}

.moment-slide p {
  color: var(--muted);
  font-size: 18px;
}

.moment-controls {
  position: absolute;
  left: 44px;
  bottom: 30px;
  display: flex;
  gap: 9px;
  z-index: 2;
}

.moment-dot {
  width: 38px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(8, 52, 93, 0.22);
  cursor: pointer;
}

.moment-dot.active {
  background: var(--teal);
}

.team-card.card {
  border-color: rgba(255, 255, 255, 0.11);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035)),
    #071f38;
  box-shadow: 0 22px 60px rgba(6, 31, 56, 0.18);
}

.team-card.card:hover {
  border-color: rgba(109, 217, 207, 0.36);
  transform: translateY(-3px);
}

.team-card h3 {
  color: #ffffff;
}

.team-card p {
  color: rgba(232, 242, 250, 0.78);
}

.icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border-radius: var(--radius);
  border: 1px solid rgba(11, 77, 136, 0.12);
  background: #ffffff;
  color: var(--blue);
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(8, 31, 57, 0.08);
}

.card h3 {
  color: var(--navy);
  font-size: 22px;
  line-height: 1.18;
}

.card p,
.card li {
  color: var(--muted);
}

.feature-band {
  background:
    linear-gradient(135deg, rgba(6, 31, 56, 0.96), rgba(11, 77, 136, 0.9)),
    url("https://img1.wsimg.com/isteam/ip/cab27234-70e1-4469-850f-7a42f4d5c08a/blob-35fcc43.png/:/cr=t:23.42%25,l:0%25,w:100%25,h:53.15%25/rs=w:1280,h:962") center/cover;
  color: var(--white);
}

.feature-band .section-head h2,
.feature-band .card h3 {
  color: var(--white);
}

.feature-band .section-head p,
.feature-band .card p,
.feature-band .card li {
  color: rgba(255, 255, 255, 0.76);
}

.feature-band .card {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.72fr);
  gap: 42px;
  align-items: center;
}

.media-panel {
  position: relative;
}

.media-panel img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.floating-note {
  position: absolute;
  right: -12px;
  bottom: 24px;
  max-width: 250px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 50px rgba(8, 31, 57, 0.15);
}

.floating-note strong {
  display: block;
  color: var(--navy);
  font-size: 24px;
}

.list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.list li {
  position: relative;
  padding-left: 32px;
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 14px;
  height: 14px;
  border: 4px solid rgba(31, 183, 166, 0.22);
  border-radius: 50%;
  background: var(--teal);
  background-clip: content-box;
}

.page-hero {
  padding: 92px 0 54px;
  background:
    linear-gradient(120deg, rgba(6, 31, 56, 0.96), rgba(10, 67, 112, 0.84)),
    var(--page-image) center/cover;
  color: var(--white);
}

.tabs-shell {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.people-tabs {
  border-color: rgba(6, 31, 56, 0.14);
  background:
    linear-gradient(135deg, rgba(7, 31, 56, 0.98), rgba(10, 58, 93, 0.95)),
    var(--paper);
}

.people-tabs .tabs-nav {
  background: rgba(255, 255, 255, 0.06);
}

.people-tabs .tab-button {
  color: rgba(255, 255, 255, 0.74);
}

.people-tabs .tab-button:hover,
.people-tabs .tab-button.active {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.people-tabs .tab-panel h2 {
  color: #ffffff;
}

.people-tabs .tab-panel p {
  color: rgba(232, 242, 250, 0.76);
}

.tabs-nav {
  display: flex;
  gap: 1px;
  overflow-x: auto;
  padding: 10px;
  background: rgba(6, 31, 56, 0.05);
}

.tab-button {
  flex: 0 0 auto;
  border: 0;
  border-radius: var(--radius);
  padding: 13px 16px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  transition: background 220ms ease, color 220ms ease, transform 220ms ease;
}

.tab-button:hover,
.tab-button.active {
  background: var(--navy);
  color: var(--white);
}

.tab-panel {
  display: none;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 28px;
  align-items: center;
  padding: 30px;
  animation: tabFade 260ms ease both;
}

.tab-panel.active {
  display: grid;
}

.tab-panel.team-panel {
  grid-template-columns: 1fr;
}

@keyframes tabFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tab-media {
  overflow: hidden;
  border-radius: var(--radius);
  background: #dceeff;
}

.tab-media img,
.person-photo {
  width: 100%;
}

.tab-media img {
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform 700ms ease;
}

.contain-media {
  background: #ffffff;
}

.contain-media img {
  object-fit: contain;
  padding: 18px;
}

.tab-panel.active .tab-media img {
  transform: scale(1.025);
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.mini-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.mini-card strong {
  display: block;
  color: var(--navy);
}

.page-title {
  max-width: 900px;
}

.page-title h1 {
  color: var(--white);
}

.page-title p {
  color: rgba(255, 255, 255, 0.82);
}

.timeline {
  display: grid;
  gap: 14px;
  counter-reset: item;
}

.timeline-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.timeline-item::before {
  counter-increment: item;
  content: counter(item, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--mint);
  font-weight: 900;
}

.team-card {
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr);
  gap: 18px;
  min-height: 230px;
}

.person-photo-wrap {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  width: 136px;
  height: 156px;
  border-radius: var(--radius);
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #ffffff;
  box-shadow: inset 0 0 0 12px #ffffff, 0 16px 34px rgba(0, 0, 0, 0.22);
}

.person-photo-wrap::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid rgba(11, 77, 136, 0.08);
  pointer-events: none;
}

.person-photo {
  width: auto;
  height: auto;
  max-width: calc(100% - 20px);
  max-height: calc(100% - 20px);
  display: block;
  object-fit: contain;
  object-position: center top;
  background: #ffffff;
  filter: saturate(0.88) contrast(1.02) brightness(1.03);
  transition: filter 260ms ease, transform 260ms ease;
}

.team-card:hover .person-photo,
.person-slide:hover .person-photo {
  filter: saturate(1.06) contrast(1.04) brightness(1.04);
  animation: portraitPulse 520ms ease both;
}

@keyframes portraitPulse {
  0% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  28% { transform: translate3d(1px, -1px, 0) rotate(0.35deg) scale(1.012); }
  56% { transform: translate3d(-1px, 1px, 0) rotate(-0.25deg) scale(1.018); }
  100% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1.012); }
}

.people-tabs .team-card h3,
.feature-band .team-card h3,
.team-card.card h3 {
  color: #ffffff;
}

.people-tabs .team-card p,
.feature-band .team-card p,
.team-card.card p {
  color: rgba(232, 242, 250, 0.78);
}

.people-carousel {
  display: grid;
  gap: 18px;
}

.carousel-track {
  position: relative;
  min-height: 430px;
}

.person-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(210px, 0.42fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035)),
    #071f38;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  opacity: 0;
  pointer-events: none;
  transform: translateX(18px) scale(0.985);
  transition: opacity 360ms ease, transform 360ms ease;
}

.person-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) scale(1);
}

.person-portrait {
  display: grid;
  place-items: center;
  min-height: 330px;
  border-radius: var(--radius);
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #ffffff;
  box-shadow: inset 0 0 0 16px #ffffff;
}

.person-portrait .person-photo {
  max-width: min(78%, 280px);
  max-height: 78%;
}

.person-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.person-copy h3 {
  margin-bottom: 14px;
  color: #ffffff;
  font-size: clamp(28px, 4vw, 50px);
  line-height: 1.02;
}

.person-copy p {
  max-width: 760px;
  color: rgba(232, 242, 250, 0.8);
  font-size: 17px;
  line-height: 1.72;
}

.carousel-controls {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 14px;
}

.carousel-btn,
.carousel-dot {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 30px;
  line-height: 1;
}

.carousel-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(109, 217, 207, 0.5);
  background: rgba(109, 217, 207, 0.16);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  min-width: 0;
}

.carousel-dot {
  width: 34px;
  height: 7px;
  border-radius: 999px;
  padding: 0;
}

.carousel-dot.active {
  border-color: rgba(109, 217, 207, 0.86);
  background: var(--teal);
}

.role {
  color: var(--teal);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.quote {
  border-left: 4px solid var(--teal);
  padding-left: 22px;
  color: var(--navy);
  font-size: 25px;
  line-height: 1.28;
}

.placeholder-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.placeholder {
  min-height: 116px;
  border: 1px dashed rgba(11, 77, 136, 0.28);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(200, 243, 237, 0.26));
  padding: 18px;
  color: var(--muted);
  font-weight: 760;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0;
}

.proof-strip div {
  border: 1px solid rgba(11, 77, 136, 0.14);
  background: rgba(255, 255, 255, 0.78);
  border-radius: 14px;
  padding: 16px;
  box-shadow: var(--shadow-soft);
}

.proof-strip strong {
  display: block;
  color: var(--green);
  font-size: 1.45rem;
  line-height: 1;
  margin-bottom: 7px;
}

.proof-strip span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
  font-weight: 800;
}

.form {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 8px;
}

label {
  color: var(--navy);
  font-weight: 800;
  font-size: 14px;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 15px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.cta {
  padding: 70px 0;
  background:
    linear-gradient(135deg, rgba(6, 35, 63, 0.96), rgba(11, 77, 136, 0.9) 62%, rgba(31, 183, 166, 0.82)),
    url("https://img1.wsimg.com/isteam/ip/cab27234-70e1-4469-850f-7a42f4d5c08a/blob-7cd8b3c.png/:/cr=t:0%25,l:0%25,w:100%25,h:100%25/rs=w:900,m") center/cover;
  color: var(--white);
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
}

.cta h2 {
  margin-bottom: 8px;
  color: var(--white);
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.05;
}

.cta-inner > div:first-child {
  text-align: center;
}

.cta-phone {
  display: inline-flex;
  margin: 0 auto 14px;
  color: #ffffff;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 900;
}

.quick-contact a {
  color: #ffffff;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cta p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

footer {
  padding: 58px 0 28px;
  background: #041a2f;
  color: rgba(255, 255, 255, 0.72);
}

.footer-wide {
  display: grid;
  gap: 26px;
}

footer h3 {
  color: var(--white);
}

footer a {
  display: inline-flex;
  margin: 5px 14px 5px 0;
  color: rgba(255, 255, 255, 0.82);
}

.footer-about p {
  max-width: 100%;
  font-size: 18px;
}

.footer-contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-contact-row a {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.07);
  font-weight: 850;
}

.footer-pages {
  display: grid;
  gap: 8px;
}

.footer-pages div {
  display: flex;
  flex-wrap: wrap;
}

.footer-address {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.copyright {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .menu-toggle {
    display: block;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav.open .nav-links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 82px;
    display: grid;
    gap: 4px;
    padding: 12px;
    border-radius: var(--radius);
    background: rgba(6, 31, 56, 0.96);
    box-shadow: var(--shadow);
  }

  .hero,
  .page-hero {
    padding-top: 78px;
  }

  .hero {
    min-height: auto;
    padding-bottom: 44px;
  }

  .hero-card {
    display: none;
  }

  .hero-grid,
  .section-head,
  .split,
  .cta-inner,
  .tab-panel {
    grid-template-columns: 1fr;
  }

  .metrics,
  .grid.three,
  .grid.two,
  .footer-grid,
  .placeholder-row,
  .moment-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .moment-slide {
    grid-template-columns: 1fr;
  }

  .moment-slider {
    min-height: 720px;
  }

  .moment-slide img {
    height: 320px;
    min-height: 320px;
  }

  .grid.balanced.count-3 {
    grid-template-columns: 1fr;
  }

  .grid.balanced.count-5 .card:last-child {
    grid-column: auto;
  }

  .person-slide {
    grid-template-columns: 1fr;
  }

  .carousel-track {
    min-height: 650px;
  }

  .person-portrait {
    min-height: 260px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    min-height: auto;
  }

  .metrics,
  .grid.three,
  .grid.two,
  .footer-grid,
  .placeholder-row,
  .proof-strip,
  .moment-row {
    grid-template-columns: 1fr;
  }

  .photo-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }

  .moment-slider {
    min-height: 760px;
  }

  .moment-slide div {
    padding: 26px;
  }

  .photo-tile.large {
    grid-row: auto;
  }

  .team-card,
  .timeline-item {
    grid-template-columns: 1fr;
  }

  .carousel-track {
    min-height: 760px;
  }

  .person-slide {
    padding: 20px;
  }

  .person-copy h3 {
    font-size: 30px;
  }

  .person-copy p {
    font-size: 15px;
    line-height: 1.62;
  }

  .floating-note {
    position: static;
    margin-top: 14px;
  }

  .hero-actions,
  .actions {
    flex-direction: column;
  }

  .btn,
  .nav-cta {
    width: 100%;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Brighter national-healthcare-inspired visual pass. */
:root {
  --paper: #fbfdff;
  --navy: #08345d;
  --blue: #1769a7;
  --teal: #12a99b;
  --mint: #dff8f4;
  --ink: #102033;
  --muted: #5b6f82;
  --shadow: 0 22px 70px rgba(25, 74, 116, 0.12);
}

body,
body[data-page="team"] {
  background:
    linear-gradient(180deg, #ffffff 0%, #f3fbff 46%, #ffffff 100%);
}

.nav {
  border-bottom: 1px solid rgba(8, 52, 93, 0.1);
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  box-shadow: 0 10px 34px rgba(25, 74, 116, 0.08);
}

.brand-name,
.brand-sub,
.nav-links a,
.back-button,
.menu-toggle {
  color: var(--navy);
}

.brand-sub {
  color: rgba(8, 52, 93, 0.68);
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(23, 105, 167, 0.09);
  color: var(--blue);
}

.back-button,
.menu-toggle {
  border-color: rgba(8, 52, 93, 0.14);
  background: rgba(8, 52, 93, 0.04);
}

.hero {
  color: var(--navy);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 252, 255, 0.92) 47%, rgba(239, 252, 249, 0.55) 100%),
    var(--hero-image) center/cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(18, 169, 155, 0.12), transparent 32%),
    linear-gradient(315deg, rgba(250, 180, 82, 0.18), transparent 28%);
  z-index: -1;
}

.hero::after {
  background: linear-gradient(180deg, transparent, #ffffff);
}

h1,
.lead,
.hero-card h2,
.hero-card p {
  color: var(--navy);
  text-shadow: none;
}

.lead {
  color: #34536d;
}

.hero-card {
  border-color: rgba(23, 105, 167, 0.14);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 26px 80px rgba(25, 74, 116, 0.13);
}

.hero .btn.secondary,
.cta .btn.secondary {
  border-color: rgba(23, 105, 167, 0.2);
  background: rgba(255, 255, 255, 0.78);
  color: var(--navy);
}

.eyebrow {
  color: var(--teal);
}

.metrics {
  background: rgba(255, 255, 255, 0.88);
}

.metric-strip {
  margin-top: 0;
}

body[data-page="home"] .back-button {
  visibility: hidden;
}

.metric {
  background: #ffffff;
}

.card,
.mini-card,
.timeline-item {
  border-color: rgba(23, 105, 167, 0.11);
  background: #ffffff;
  box-shadow: 0 14px 42px rgba(25, 74, 116, 0.08);
}

.feature-band,
.cta {
  background:
    linear-gradient(135deg, rgba(237, 250, 255, 0.96), rgba(225, 248, 244, 0.94)),
    url("https://img1.wsimg.com/isteam/ip/cab27234-70e1-4469-850f-7a42f4d5c08a/blob-7cd8b3c.png/:/cr=t:0%25,l:0%25,w:100%25,h:100%25/rs=w:900,m") center/cover;
  color: var(--navy);
}

.feature-band .section-head h2,
.feature-band .card h3,
.cta h2 {
  color: var(--navy);
}

.feature-band .section-head p,
.feature-band .card p,
.feature-band .card li,
.cta p {
  color: #456176;
}

.feature-band .card {
  border-color: rgba(23, 105, 167, 0.12);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
}

.cta-phone,
.quick-contact a {
  color: var(--navy);
}

.page-hero {
  background:
    radial-gradient(circle at 84% 14%, rgba(223, 248, 244, 0.88), transparent 30%),
    linear-gradient(120deg, #ffffff 0%, #eef9ff 58%, #f7fffd 100%);
  color: var(--navy);
}

.page-title h1,
.page-title p {
  color: var(--navy);
}

body[data-page="team"] .page-hero + section {
  background:
    radial-gradient(circle at 20% 0%, rgba(223, 248, 244, 0.72), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f1f9ff 52%, #ffffff 100%);
  color: var(--ink);
}

body[data-page="team"] .page-hero {
  background:
    radial-gradient(circle at 78% 16%, rgba(223, 248, 244, 0.88), transparent 32%),
    linear-gradient(120deg, #ffffff 0%, #eef9ff 58%, #f7fffd 100%);
}

body[data-page="team"] .page-hero + section .section-head h2 {
  color: var(--navy);
}

body[data-page="team"] .page-hero + section .section-head p {
  color: var(--muted);
}

.people-tabs {
  border-color: rgba(23, 105, 167, 0.14);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(237, 250, 255, 0.94));
  box-shadow: 0 24px 80px rgba(25, 74, 116, 0.13);
}

.people-tabs .tabs-nav {
  background: rgba(23, 105, 167, 0.06);
}

.people-tabs .tab-button {
  color: var(--navy);
}

.people-tabs .tab-button:hover,
.people-tabs .tab-button.active {
  background: #ffffff;
  color: var(--blue);
  box-shadow: 0 10px 28px rgba(25, 74, 116, 0.1);
}

.people-tabs .tab-panel h2,
.people-tabs .tab-panel p,
.people-tabs .team-card h3,
.feature-band .team-card h3,
.team-card.card h3 {
  color: var(--navy);
}

.people-tabs .tab-panel p,
.people-tabs .team-card p,
.feature-band .team-card p,
.team-card.card p {
  color: #526a7d;
}

.person-slide,
.team-card.card {
  border-color: rgba(23, 105, 167, 0.12);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(244, 251, 255, 0.92));
  box-shadow: 0 22px 68px rgba(25, 74, 116, 0.12);
}

.person-copy h3 {
  color: var(--navy);
}

.person-copy p {
  color: #526a7d;
}

.person-portrait,
.person-photo-wrap {
  border-color: rgba(23, 105, 167, 0.1);
  background: linear-gradient(180deg, #ffffff, #f8fcff);
  box-shadow: inset 0 0 0 16px #ffffff, 0 16px 36px rgba(25, 74, 116, 0.12);
}

.carousel-btn,
.carousel-dot {
  border-color: rgba(23, 105, 167, 0.16);
  background: #ffffff;
  color: var(--navy);
}

.carousel-btn:hover {
  border-color: rgba(18, 169, 155, 0.5);
  background: var(--mint);
}

footer {
  background: #f6fbff;
  color: #526a7d;
}

footer h3,
.footer-address strong {
  color: var(--navy);
}

footer a {
  color: var(--blue);
}

.footer-contact-row a {
  border-color: rgba(23, 105, 167, 0.14);
  background: #ffffff;
}

.copyright {
  border-top-color: rgba(23, 105, 167, 0.12);
}
