:root {
  --ink: #1f2937;
  --muted: #667085;
  --pink: #c84e78;
  --blue: #6088b6;
  --green: #4d9b4d;
  --brand: var(--blue);
  --brand-strong: #355f8f;
  --accent: var(--pink);
  --support: var(--green);
  --surface: #ffffff;
  --soft: #f5f9fc;
  --line: #d8e5f1;
  --radius: 8px;
  --shadow: 0 16px 40px rgba(53, 95, 143, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
  background: var(--surface);
}

a {
  color: var(--brand);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--brand-strong);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.site-nav a,
.submenu-toggle {
  padding: 10px 12px;
  border-radius: var(--radius);
  color: #24324a;
  font-size: 0.94rem;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a.active,
.submenu-toggle:hover,
.has-submenu.open > .nav-row .submenu-toggle {
  background: rgba(96, 136, 182, 0.13);
  color: var(--brand-strong);
}

.nav-item {
  position: relative;
}

.nav-row {
  display: flex;
  align-items: center;
  gap: 2px;
}

.submenu-toggle {
  display: inline-grid;
  place-items: center;
  width: 34px;
  min-width: 34px;
  height: 38px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.submenu-toggle span {
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 190px;
  display: none;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.submenu a {
  display: block;
}

.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu,
.has-submenu.open .submenu {
  display: block;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--brand-strong);
}

.hero {
  min-height: min(620px, calc(100vh - 74px));
  display: grid;
  align-items: end;
  position: relative;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(53, 95, 143, 0.82), rgba(200, 78, 120, 0.22)),
    url("/assets/team-wide.png") center / cover;
}

.hero-inner {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 88px 0 76px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--brand-strong);
  line-height: 1.15;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 5rem);
}

.hero p {
  max-width: 680px;
  margin: 22px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.section {
  padding: 72px clamp(18px, 4vw, 56px);
}

.section.alt {
  background: var(--soft);
}

.wrap {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.intro {
  max-width: 780px;
  margin-bottom: 32px;
}

.intro h1 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.intro p,
.lead {
  color: var(--muted);
  font-size: 1.12rem;
}

.grid {
  display: grid;
  gap: 24px;
  align-items: start;
}

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

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

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

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(31, 41, 55, 0.06);
}

.card-body {
  padding: 24px;
}

.card img,
.media img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.news-feature {
  max-width: 760px;
}

.news-feature img {
  height: 360px;
}

.media {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  align-self: start;
}

.mission-copy p {
  margin: 16px 0 0;
}

.mission-copy strong {
  color: var(--brand-strong);
}

.mission-logo-card {
  min-height: 320px;
  display: grid;
  place-items: center;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(200, 78, 120, 0.1), rgba(77, 155, 77, 0.1)),
    #fff;
  box-shadow: var(--shadow);
}

.mission-logo-card img {
  width: min(360px, 100%);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: var(--radius);
  background: var(--support);
  color: #fff;
  font-weight: 750;
  text-decoration: none;
}

.button.secondary {
  background: #fff;
  color: var(--brand-strong);
  border: 1px solid var(--line);
}

.button:hover {
  background: #3f8a3f;
}

.button.secondary:hover {
  background: rgba(96, 136, 182, 0.1);
}

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

.list li {
  padding: 16px 18px;
  border-left: 4px solid var(--accent);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(31, 41, 55, 0.05);
}

.document-list a,
.contact-list a {
  display: block;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--brand-strong);
  font-weight: 750;
  text-decoration: none;
}

.document-library {
  display: grid;
  gap: 14px;
}

.document-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 22px;
}

.document-overview div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 24px rgba(31, 41, 55, 0.05);
}

.document-overview strong,
.document-overview span {
  display: block;
}

.document-overview strong {
  color: var(--brand-strong);
  font-size: 1.45rem;
  line-height: 1.1;
}

.document-overview span {
  margin-top: 4px;
  color: var(--muted);
}

.document-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 18px;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-button {
  min-height: 40px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--brand-strong);
  cursor: pointer;
  font: inherit;
  font-weight: 750;
}

.filter-button:hover,
.filter-button[aria-pressed="true"] {
  border-color: rgba(77, 155, 77, 0.42);
  background: rgba(77, 155, 77, 0.12);
  color: #2f7332;
}

.document-count {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  white-space: nowrap;
}

.document-tile {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 24px rgba(31, 41, 55, 0.06);
}

.document-tile[hidden] {
  display: none;
}

.document-tile h3 {
  font-size: 1.08rem;
}

.document-tile p {
  margin: 4px 0 0;
  color: var(--muted);
}

.document-tile .eyebrow {
  margin-bottom: 6px;
}

.document-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.document-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 9px;
  border-radius: var(--radius);
  background: rgba(96, 136, 182, 0.1);
  color: var(--brand-strong);
  font-size: 0.78rem;
  font-weight: 800;
}

.document-meta span:last-child {
  background: rgba(200, 78, 120, 0.1);
  color: var(--accent);
}

.document-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 70px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(200, 78, 120, 0.15), rgba(96, 136, 182, 0.16)),
    #fff;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 850;
  border: 1px solid rgba(200, 78, 120, 0.22);
}

.document-dropzone {
  min-height: 220px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 28px;
  border: 1px dashed rgba(96, 136, 182, 0.8);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(96, 136, 182, 0.12), rgba(77, 155, 77, 0.11)),
    #fff;
}

.document-dropzone strong {
  color: var(--brand-strong);
  font-size: 1.45rem;
}

.document-dropzone p {
  margin: 0;
  color: var(--muted);
}

.document-grid {
  display: grid;
  gap: 20px;
}

.document-card {
  max-width: 760px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

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

.document-card .button {
  margin-top: 12px;
}

.document-list a:hover,
.contact-list a:hover,
.card a:hover {
  color: var(--accent);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-heading p:last-child {
  color: var(--muted);
}

.governance-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.governance-strip article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 24px rgba(31, 41, 55, 0.05);
}

.governance-strip strong,
.governance-strip span {
  display: block;
}

.governance-strip strong {
  color: var(--support);
  font-size: 1.8rem;
  line-height: 1;
}

.governance-strip span {
  margin-top: 6px;
  color: var(--brand-strong);
  font-weight: 750;
}

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

.profile {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.featured-profile {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  box-shadow: 0 8px 24px rgba(31, 41, 55, 0.06);
}

.profile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 16px;
}

.featured-profile img {
  margin-bottom: 0;
}

.profile-content {
  min-width: 0;
}

.role-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  margin-bottom: 10px;
  border-radius: var(--radius);
  background: rgba(96, 136, 182, 0.1);
  color: var(--brand-strong);
  font-size: 0.78rem;
  font-weight: 800;
}

.profile p {
  margin: 4px 0 0;
  color: var(--muted);
}

.profile a {
  display: inline-block;
  margin-top: 10px;
  font-weight: 700;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

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

.gallery.mini {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
  padding: 36px clamp(18px, 4vw, 56px);
  background: var(--brand-strong);
  color: #eaf2fb;
}

.site-footer a {
  color: #fff;
}

.site-footer p {
  margin: 6px 0;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 8px;
}

@media (max-width: 840px) {
  .site-header {
    align-items: flex-start;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 18px;
    right: 18px;
    top: 70px;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: grid;
  }

  .nav-row {
    justify-content: space-between;
  }

  .submenu {
    position: static;
    display: none;
    min-width: 0;
    margin: 4px 0 4px 12px;
    padding: 4px;
    border: 0;
    box-shadow: none;
    background: rgba(96, 136, 182, 0.08);
  }

  .has-submenu.open .submenu {
    display: block;
  }

  .grid.two,
  .grid.three,
  .grid.four,
  .site-footer {
    grid-template-columns: 1fr;
  }

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

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

  .document-overview {
    grid-template-columns: 1fr;
  }

  .document-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .document-count {
    white-space: normal;
  }

  .document-tile {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .document-tile .button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .governance-strip,
  .profile-grid {
    grid-template-columns: 1fr;
  }

  .featured-profile {
    grid-template-columns: 1fr;
  }

  .featured-profile img {
    width: min(220px, 100%);
  }

  .section {
    padding: 52px 18px;
  }
}

@media (max-width: 520px) {
  .brand span {
    max-width: 190px;
  }

  .hero-inner {
    padding: 68px 0 52px;
  }

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