:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-alt: #eaf0f8;
  --text: #132033;
  --muted: #57687f;
  --line: #d5deea;
  --brand: #143b72;
  --brand-soft: #e6eefb;
  --accent: #2d67b2;
  --shadow: 0 20px 50px rgba(19, 32, 51, 0.08);
  --radius: 20px;
  --radius-sm: 12px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f6f8fc 0%, #eef3f9 100%);
  line-height: 1.65;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(244, 247, 251, 0.92);
  border-bottom: 1px solid rgba(213, 222, 234, 0.8);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.brand-mark {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand);
}

.brand-sub {
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 34rem;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
}

.main-nav a {
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
}

.main-nav a.active,
.main-nav a:hover {
  color: var(--brand);
  background: var(--brand-soft);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 0.6rem 1rem;
  color: var(--brand);
  font-weight: 700;
}

.hero {
  padding: 4rem 0 3rem;
}

.hero-panel,
.page-hero-panel {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 2rem;
  background: radial-gradient(circle at top right, rgba(45, 103, 178, 0.12), transparent 35%), var(--surface);
  border: 1px solid rgba(213, 222, 234, 0.9);
  border-radius: 32px;
  box-shadow: var(--shadow);
  padding: 2.25rem;
}

.page-hero {
  padding: 2.5rem 0 1rem;
}

.page-hero-panel-full {
  grid-template-columns: 1fr;
}

.page-hero-panel-full p {
  max-width: none;
}

.hero-copy-block h1,
.page-hero-panel h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.1;
}

.hero-copy-block p,
.page-hero-panel p {
  color: var(--muted);
  max-width: 60ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.button,
.button-secondary,
.page-btn {
  border: 0;
  border-radius: 999px;
  padding: 0.8rem 1.15rem;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.button {
  background: var(--brand);
  color: #fff;
}

.button:hover,
.page-btn.active {
  background: #0f2f5d;
  color: #fff;
  text-decoration: none;
}

.button-secondary,
.page-btn {
  background: var(--surface-alt);
  color: var(--brand);
}

.hero-visual {
  display: grid;
  gap: 1rem;
}

.hero-media {
  align-self: stretch;
}

.hero-photo {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-visual-card,
.stat-card,
.card,
.list-card,
.activity-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-visual-card {
  padding: 1.25rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
  color: var(--accent);
  font-weight: 800;
}

.people-group-label {
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.stat-card {
  padding: 1rem;
}

.stat-card strong {
  display: block;
  font-size: 1.9rem;
  color: var(--brand);
}

.section {
  padding: 1.5rem 0 3.5rem;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.section h2,
.group-block h2,
.detail-content h2 {
  margin: 0.3rem 0 0;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
}

.section-intro {
  color: var(--muted);
  max-width: 70ch;
}

.card-grid,
.list-grid,
.facility-grid {
  display: grid;
  gap: 1.2rem;
}

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

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

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

.card img,
.activity-card img {
  border-radius: calc(var(--radius) - 2px) calc(var(--radius) - 2px) 0 0;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.card-body,
.list-card,
.activity-content {
  padding: 1.2rem;
}

.compact-card {
  padding: 1.2rem;
}

.tag-list,
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
}

.tag-list li {
  padding: 0.4rem 0.7rem;
  background: var(--brand-soft);
  color: var(--brand);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline-item {
  padding: 1rem 0 1.25rem;
  border-bottom: 1px solid var(--line);
}

.timeline-item:last-child {
  border-bottom: 0;
}

.detail-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.4rem;
  margin-bottom: 1.6rem;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.detail-media img {
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.bullet-list {
  padding-left: 1.2rem;
}

.group-block {
  margin-bottom: 2.8rem;
}

.people-heading {
  margin-bottom: 1rem;
}

.people-list {
  display: grid;
  gap: 1.6rem;
}

.person-entry {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid var(--line);
}

.people-list .person-entry:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.person-media {
  max-width: 220px;
}

.person-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--line);
}

.person-body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.55rem;
}

.avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.role,
.muted,
.page-note {
  color: var(--muted);
}

.filters-panel {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.filter-row select {
  min-width: 12rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  background: var(--surface);
  color: var(--text);
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.4rem;
}

.activity-card {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  overflow: hidden;
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 1rem;
}

.gallery-strip img {
  border-radius: 14px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.contact-card {
  padding: 1.2rem;
}

.site-footer {
  margin-top: 3rem;
  background: #10233f;
  color: rgba(255, 255, 255, 0.88);
  padding: 2.5rem 0 1rem;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 1fr;
  gap: 1.5rem;
}

.footer-list {
  margin: 0;
  padding-left: 1rem;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.95rem;
}

.empty-state {
  padding: 1rem;
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: 16px;
}

@media (max-width: 980px) {
  .hero-panel,
  .page-hero-panel,
  .detail-section,
  .activity-card,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .list-grid,
  .facility-grid,
  .people-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .person-entry {
    grid-template-columns: 1fr;
  }

  .person-media {
    max-width: 180px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

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

  .card-grid,
  .list-grid,
  .facility-grid,
  .people-grid,
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero,
  .section,
  .page-hero {
    padding-top: 1.2rem;
  }

  .hero-panel,
  .page-hero-panel {
    padding: 1.3rem;
    border-radius: 24px;
  }
}