:root {
  --bg: #f4f6f8;
  --text: #0f172a;
  --muted: #475569;
  --card: #ffffff;
  --brand: #1f3c88;
  --brand-dark: #163172;
  --chip: #eef2f7;
  --border: #e2e8f0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.55;
  background: var(--bg);
  color: var(--text);
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(15, 23, 42, 0.95);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.site-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.95rem;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.16);
}

.site-nav a.active {
  background: #ffffff;
  color: var(--brand-dark);
}

.container {
  width: min(1100px, calc(100% - 32px));
  margin: 28px auto 40px;
  display: grid;
  gap: 18px;
}

.section-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  padding: 24px;
  min-height: calc(100svh - 96px);
  scroll-margin-top: 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.snap-panel {
  scroll-snap-align: none;
  scroll-snap-stop: normal;
}

h2 {
  margin: 0 0 10px;
  color: var(--brand-dark);
}

.section-card p {
  margin: 0;
  color: var(--muted);
  max-width: 72ch;
}

.person-grid {
  margin-top: 18px;
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.person-card {
  background: #fbfdff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
}

.person-card-clickable {
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.person-card-clickable:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.14);
}

.person-card-clickable:focus-visible {
  outline: 3px solid #8db2ff;
  outline-offset: 2px;
}

.person-card h3 {
  margin: 0 0 4px;
  color: #0b1f55;
}

.person-card p {
  max-width: none;
}

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

.role {
  color: #7c3aed;
  font-weight: 700;
  margin-bottom: 10px;
}

.profile-photo {
  width: 148px;
  height: 148px;
  margin: 0 auto 16px;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
  object-fit: cover;
  display: block;
}
.tags {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  grid-template-columns: repeat(3, max-content);
  justify-content: center;
}

.tags span {
  text-align: center;
  background: var(--chip);
  color: #274162;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.9rem;
}

.social-links {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.open-profile {
  font-size: 0.85rem;
  font-weight: 700;
  color: #35527b;
}

.linkedin-link {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0a66c2;
  color: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.linkedin-link svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}

.linkedin-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 14px rgba(10, 102, 194, 0.3);
}

.media-placeholder {
  margin-top: 12px;
  width: 100%;
  min-height: 220px;
  border: 2px dashed #b4c0d3;
  border-radius: 12px;
  background: #f3f7fc;
  color: #47648c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.back-link {
  text-decoration: none;
  color: #fff;
  background: var(--brand);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  display: inline-block;
}

.top-back-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 50;
  margin-top: 0;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    aspect-ratio: 16 / 9;
    margin-top: 1rem;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.presentation-image {
    width: 75%;
    max-width: 800px;
    border-radius: 12px;
    margin-top: 1rem;
    display: block;
}

.hero-content {
    text-align: center;
    padding: 60px 20px;
}