:root {
  --bg: #f3f7fc;
  --bg-soft: #edf4fb;
  --panel: rgba(255, 255, 255, 0.98);
  --panel-soft: #f7fbff;
  --panel-alt: #eaf3fc;
  --text: #162334;
  --muted: #5a697c;
  --line: rgba(22, 35, 52, 0.10);
  --line-strong: rgba(30, 136, 229, 0.22);
  --accent: #1e88e5;
  --accent-strong: #1565c0;
  --accent-soft: rgba(30, 136, 229, 0.10);
  --accent-glow: rgba(30, 136, 229, 0.16);
  --accent-2: #c48b4f;
  --white: #ffffff;
  --shadow: 0 20px 44px rgba(17, 33, 52, 0.08);
  --shadow-strong: 0 28px 60px rgba(17, 33, 52, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(30, 136, 229, 0.08), transparent 28%),
    linear-gradient(180deg, #f8fbfe 0%, #f2f7fc 100%);
}

main {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--accent-strong);
}

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

button,
a,
input,
textarea,
select {
  font: inherit;
}

button:focus-visible,
a:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid rgba(30, 136, 229, 0.28);
  outline-offset: 3px;
}

section[id] {
  scroll-margin-top: 112px;
}

.container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(22, 35, 52, 0.08);
  box-shadow: 0 8px 24px rgba(20, 40, 67, 0.04);
}

.nav-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  width: clamp(112px, 12vw, 142px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(20, 40, 67, 0.08));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.site-nav a {
  position: relative;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.45rem;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--accent), rgba(30, 136, 229, 0.25));
  transition: transform 0.18s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  box-shadow: 0 10px 24px rgba(17, 33, 52, 0.06);
  cursor: pointer;
}

.hero,
.page-hero {
  position: relative;
  padding: 6rem 0 4.75rem;
}

.hero::before,
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(30, 136, 229, 0.12), transparent 25%),
    radial-gradient(circle at 10% 0%, rgba(30, 136, 229, 0.08), transparent 28%);
  pointer-events: none;
}

.page-hero.compact {
  padding: 5rem 0 3.4rem;
  background: linear-gradient(180deg, rgba(30, 136, 229, 0.08), rgba(30, 136, 229, 0.02) 56%, transparent 100%);
}

.hero-grid,
.two-col,
.contact-grid {
  display: grid;
  gap: 2rem;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: center;
}

.hero-copy,
.hero-card,
.page-hero .container,
.section > .container {
  position: relative;
  z-index: 1;
}

.hero-copy h1,
.section h2,
.page-hero h1 {
  margin: 0;
  color: var(--text);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.hero-copy h1,
.page-hero h1 {
  font-size: clamp(2.65rem, 5vw, 5rem);
  max-width: 11ch;
}

.section h2 {
  font-size: clamp(2rem, 3vw, 3.2rem);
  max-width: 15ch;
}

.eyebrow,
.org-tier-label,
.org-eyebrow,
.reference-meta-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  color: var(--accent-strong);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.77rem;
  font-weight: 800;
}

.eyebrow::before,
.org-tier-label::before,
.org-eyebrow::before {
  content: '';
  width: 0.8rem;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
}

.lead,
.section p,
.card p,
.note,
.reference-meta-value,
.org-copy,
.org-subheading {
  color: var(--muted);
  line-height: 1.75;
}

.lead {
  max-width: 64ch;
  margin: 1.35rem 0 0;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 2rem 0 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  letter-spacing: -0.01em;
  box-shadow: 0 12px 24px rgba(17, 33, 52, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
}

.btn-secondary {
  color: var(--accent-strong);
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(30, 136, 229, 0.18);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(17, 33, 52, 0.12);
}

.btn-primary:hover {
  color: var(--white);
}

.btn-secondary:hover {
  background: rgba(30, 136, 229, 0.08);
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 1.8rem 0 0;
  display: grid;
  gap: 0.85rem;
}

.hero-points li {
  position: relative;
  padding-left: 1.65rem;
  color: var(--muted);
  line-height: 1.7;
}

.hero-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 8px rgba(30, 136, 229, 0.12);
}

.hero-card,
.card,
.contact-card,
.table-card,
.gallery-card,
.org-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 1.5rem;
  display: grid;
  gap: 1rem;
}

.mini-card {
  padding: 1.15rem 1.2rem;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(30, 136, 229, 0.08), rgba(30, 136, 229, 0.04));
  border: 1px solid rgba(30, 136, 229, 0.10);
}

.mini-card span,
.contact-card span {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mini-card strong {
  font-size: 1.08rem;
  line-height: 1.45;
  color: var(--text);
}

.mini-card.highlight {
  background: linear-gradient(180deg, rgba(30, 136, 229, 0.14), rgba(30, 136, 229, 0.08));
}

.section {
  padding: 5.4rem 0;
}

.section.alt {
  background: linear-gradient(180deg, rgba(30, 136, 229, 0.04), rgba(30, 136, 229, 0.02));
  border-top: 1px solid rgba(22, 35, 52, 0.06);
  border-bottom: 1px solid rgba(22, 35, 52, 0.06);
}

.two-col {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: start;
}

.section-head {
  max-width: 780px;
  margin-bottom: 2.25rem;
}

.section-head h2 {
  position: relative;
  padding-bottom: 0.95rem;
}

.section-head h2::after {
  content: '';
  display: block;
  width: 82px;
  height: 4px;
  margin-top: 0.95rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), rgba(30, 136, 229, 0.28));
}

.cards.three,
.gallery-grid,
.org-grid,
.reference-grid {
  display: grid;
  gap: 1.35rem;
}

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

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

.card {
  position: relative;
  overflow: hidden;
  padding: 1.65rem;
  min-height: 100%;
  border-top: 4px solid rgba(30, 136, 229, 0.45);
}

.card::before,
.reference-card-featured::before,
.org-card::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, rgba(30, 136, 229, 0.95), rgba(196, 139, 79, 0.75));
}

.card h3 {
  margin: 0 0 0.8rem;
  font-size: 1.18rem;
  line-height: 1.32;
  color: var(--text);
}

.card strong {
  color: var(--text);
}

.table-stack,
.reference-stack {
  display: grid;
  gap: 1.6rem;
}

.table-block .eyebrow,
.reference-block .eyebrow {
  margin-bottom: 0.9rem;
}

.table-card {
  overflow: hidden;
  border-radius: 24px;
}

.table-wrap {
  overflow-x: auto;
}

.site-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  table-layout: fixed;
}

.site-table th,
.site-table td {
  padding: 1.1rem 1.25rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(22, 35, 52, 0.08);
}

.site-table th {
  background: rgba(30, 136, 229, 0.10);
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-table td {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.96);
}

.site-table tbody tr:nth-child(even) td {
  background: rgba(244, 249, 255, 0.95);
}

.site-table tbody tr:last-child td {
  border-bottom: none;
}

.reference-card h3 {
  margin-bottom: 0.9rem;
  font-size: 1.24rem;
}

.reference-card p {
  margin: 0.35rem 0 0;
}

.reference-card strong {
  color: var(--text);
}

.single-reference-grid {
  grid-template-columns: 1fr;
}

.reference-card-featured {
  max-width: 760px;
  padding: 1.8rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(245, 250, 255, 0.96));
  border-top-color: rgba(196, 139, 79, 0.72);
}

.reference-meta {
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
}

.reference-meta-row {
  display: grid;
  gap: 0.35rem;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(22, 35, 52, 0.08);
}

.reference-meta-row:first-child {
  padding-top: 0;
  border-top: none;
}

.reference-meta-label {
  margin: 0;
  letter-spacing: 0.08em;
}

.reference-meta-label::before {
  display: none;
}

.reference-meta-value {
  color: var(--text);
  font-weight: 700;
}

.leadership-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(241, 247, 255, 0.72));
}

.leadership-section-head {
  margin-bottom: 2.5rem;
}

.org-chart {
  display: grid;
  gap: 1.35rem;
}

.org-tier {
  display: grid;
  gap: 1rem;
}

.org-tier-board,
.org-tier-executive {
  justify-items: center;
}

.org-tier-head {
  display: grid;
  gap: 0.4rem;
}

.org-tier-head h3 {
  margin: 0;
  font-size: 1.16rem;
}

.org-tier-label,
.org-eyebrow {
  margin: 0;
}

.org-tier-label::before,
.org-eyebrow::before {
  display: none;
}

.org-connector {
  width: 46px;
  height: 46px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(22, 35, 52, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 247, 255, 0.96));
  color: var(--accent-strong);
  box-shadow: 0 12px 24px rgba(17, 33, 52, 0.06);
}

.org-connector span {
  font-size: 1.1rem;
  line-height: 1;
}

.org-card {
  position: relative;
  overflow: hidden;
  padding: 1.7rem;
  min-height: 100%;
}

.org-card-top {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.org-icon {
  width: 3.1rem;
  height: 3.1rem;
  flex: 0 0 3.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(30, 136, 229, 0.10);
  color: var(--accent-strong);
}

.org-icon svg {
  width: 1.42rem;
  height: 1.42rem;
}

.org-card h3,
.org-card h4 {
  margin: 0;
  color: var(--text);
}

.org-card h3 {
  font-size: 1.42rem;
}

.org-card h4 {
  font-size: 1.12rem;
  line-height: 1.35;
}

.org-copy,
.org-subheading {
  margin: 0;
}

.org-subheading {
  margin-bottom: 1rem;
  font-size: 0.96rem;
}

.org-role {
  margin: 0 0 0.4rem;
  color: var(--accent-2);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.org-name {
  margin: 0 0 0.8rem;
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 800;
}

.org-members {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.org-members li {
  padding-top: 0.7rem;
  color: #435265;
  line-height: 1.55;
  border-top: 1px solid rgba(22, 35, 52, 0.08);
}

.org-members li:first-child {
  padding-top: 0;
  border-top: none;
}

.org-members-inline {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.2rem;
}

.org-members-inline li {
  padding: 0.95rem 1rem;
  border-top: none;
  border-radius: 16px;
  background: rgba(30, 136, 229, 0.05);
  border: 1px solid rgba(30, 136, 229, 0.10);
  color: var(--text);
  font-weight: 700;
}

.org-card-board {
  width: min(100%, 1040px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 251, 255, 0.96));
}

.org-card-executive {
  width: min(100%, 740px);
  background: linear-gradient(180deg, rgba(17, 38, 67, 0.98), rgba(18, 44, 79, 0.98));
  border-color: rgba(196, 139, 79, 0.28);
  box-shadow: var(--shadow-strong);
}

.org-card-executive::before {
  background: linear-gradient(90deg, rgba(196, 139, 79, 0.95), rgba(249, 207, 151, 0.75));
}

.org-card-executive .org-icon {
  background: rgba(255, 255, 255, 0.10);
  color: #f8dfbf;
}

.org-card-executive h3,
.org-card-executive .org-eyebrow,
.org-card-executive .org-name {
  color: var(--white);
}

.org-card-executive .org-copy {
  color: rgba(255, 255, 255, 0.80);
}

.gallery-card {
  overflow: hidden;
  margin: 0;
}

.gallery-card[data-lightbox-trigger='true'] {
  cursor: zoom-in;
}

.gallery-card.wide {
  grid-column: 1 / -1;
}

.compliance-gallery {
  margin-top: 1.6rem;
}

.gallery-card img,
.gallery-card video {
  width: 100%;
  height: 280px;
  object-fit: cover;
  background: #dfe9f5;
}

.gallery-card.document-card img {
  height: auto;
  max-height: 560px;
  object-fit: contain;
  background: #fff;
}

.gallery-card figcaption {
  padding: 1rem 1.1rem 1.2rem;
  color: var(--muted);
  line-height: 1.6;
  border-top: 1px solid rgba(22, 35, 52, 0.08);
  background: rgba(248, 252, 255, 0.94);
}

body.lightbox-open {
  overflow: hidden;
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(9, 20, 33, 0.88);
}

.lightbox-dialog {
  width: min(100%, 1080px);
  display: grid;
  gap: 1rem;
  justify-items: center;
}

.lightbox-stage {
  width: min(100%, 1080px);
  max-height: calc(90vh - 7rem);
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: calc(90vh - 5rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 24px;
  background: #0d1622;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  cursor: zoom-in;
  transition: transform 0.18s ease;
}

.lightbox-image.zoomed {
  cursor: zoom-out;
}

.lightbox-caption {
  margin: 0;
  max-width: 70ch;
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
}

.lightbox-toolbar {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  display: flex;
  gap: 0.55rem;
}

.lightbox-action,
.lightbox-close {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(9, 20, 33, 0.78);
  color: #fff;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close {
  font-size: 1.7rem;
}

.lightbox-action {
  font-size: 1.35rem;
}

.lightbox-action:hover,
.lightbox-close:hover {
  background: rgba(9, 20, 33, 0.96);
}

.note {
  margin-top: 1.1rem;
  padding: 1rem 1.15rem;
  border-left: 4px solid rgba(30, 136, 229, 0.55);
  border-radius: 16px;
  background: rgba(30, 136, 229, 0.06);
}

.bullet-block {
  display: grid;
  gap: 1.25rem;
}

.bullet-block strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
  color: var(--text);
}

.contact-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  align-items: start;
}

.contact-card {
  padding: 1.6rem;
  display: grid;
  gap: 1.15rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(245, 250, 255, 0.96));
}

.contact-card a {
  color: var(--text);
  font-weight: 700;
}

.site-footer {
  padding: 2rem 0 3rem;
  background: rgba(30, 136, 229, 0.04);
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  border-top: 1px solid rgba(22, 35, 52, 0.08);
  padding-top: 1.75rem;
}

.hero-card,
.card,
.contact-card,
.table-card,
.gallery-card,
.org-card,
.reference-card-featured,
.btn,
.mini-card,
.nav-toggle {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.hero-card:hover,
.card:hover,
.contact-card:hover,
.table-card:hover,
.gallery-card:hover,
.org-card:hover,
.reference-card-featured:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(17, 33, 52, 0.12);
}

.gallery-page .hero-actions .btn-secondary {
  background: rgba(255, 255, 255, 0.94);
}

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

.gallery-page .gallery-card img,
.gallery-page .gallery-card video {
  height: 340px;
}

@media (max-width: 1100px) {
  .cards.three,
  .gallery-grid,
  .org-grid-core {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid,
  .two-col,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy h1,
  .page-hero h1,
  .section h2 {
    max-width: none;
  }
}

@media (max-width: 820px) {
  .org-grid-core,
  .org-grid-support,
  .org-members-inline,
  .gallery-page .gallery-grid,
  .cards.three,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .org-card-board,
  .org-card-executive {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 4.4rem 0;
  }

  .hero,
  .page-hero {
    padding: 5rem 0 3.5rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 0.7rem);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(22, 35, 52, 0.08);
    box-shadow: 0 18px 32px rgba(17, 33, 52, 0.10);
  }

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

  .site-nav a::after {
    bottom: -0.3rem;
  }

  .hero-card,
  .card,
  .contact-card,
  .org-card,
  .reference-card-featured {
    border-radius: 22px;
  }

  .hero-card,
  .card,
  .contact-card,
  .org-card,
  .reference-card-featured,
  .table-card {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .brand img {
    width: 112px;
  }

  .hero-actions {
    gap: 0.75rem;
  }

  .footer-wrap {
    flex-direction: column;
  }

  .lightbox {
    padding: 1rem;
  }

  .lightbox-toolbar {
    top: 0.85rem;
    right: 0.85rem;
  }
}
