:root {
  --blue-900: #003f77;
  --blue-800: #0a4a86;
  --blue-700: #0e5d9f;
  --blue-600: #0c6bb3;
  --blue-500: #0e82c9;
  --navy-900: #012a59;
  --white: #f9fbff;
  --ice: #edf4fc;
  --gray-100: #dfe7f0;
  --gray-300: #9fb0c0;
  --gray-600: #4d5f74;
  --gray-900: #1d2b3a;
  --shadow: 0 18px 40px rgba(0, 30, 58, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background: var(--white);
  color: var(--gray-900);
  line-height: 1.6;
}

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

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

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

.section-shell {
  padding: 52px 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, #0a5f90 0%, #0a4e7a 100%);
  box-shadow: 0 4px 14px rgba(1, 25, 42, 0.22), inset 0 -1px 0 rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding-top: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: #f9fbff;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.28);
  background: transparent;
  width: 100%;
  position: relative;
}

.nav-brand-wrap {
  margin-right: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-left: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,0.38);
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  padding: 10px 11px;
  cursor: pointer;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: #fff;
  border-radius: 999px;
}

.nav-brand-label {
  color: #f9fbff;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  font-family: 'Montserrat', sans-serif;
  text-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 7px 14px rgba(0,0,0,0.06);
  position: relative;
  white-space: nowrap;
}


.main-nav a {
  position: relative;
  color: #f9fbff;
  transition: opacity 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: #ffffff;
  opacity: 1;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.9);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: white;
  color: var(--blue-900);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.btn-secondary {
  background: var(--blue-900);
  color: white;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(1, 53, 92, 0.98) 0%, rgba(7, 76, 127, 0.98) 34%, rgba(9, 100, 171, 0.96) 52%, rgba(9, 85, 146, 0.98) 100%),
    linear-gradient(155deg, rgba(255,255,255,0.08), rgba(255,255,255,0));
  padding-bottom: 0;
  min-height: 560px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.18) 1.2px, transparent 1.5px);
  background-size: 18px 18px;
  opacity: 0.20;
}

.hero::after {
  content: '';
  position: absolute;
  right: -12%;
  top: -10%;
  width: 44%;
  height: 120%;
  background: linear-gradient(180deg, rgba(255,255,255,0.20), rgba(255,255,255,0.04));
  clip-path: polygon(29% 0%, 100% 0%, 100% 100%, 0% 100%);
  transform: skew(-16deg);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.04), rgba(255,255,255,0.04));
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 210px minmax(0,1fr) 60px;
  align-items: center;
  min-height: 280px;
  padding-top: 6px;
  gap: 6px;
  margin-bottom: 0;
}

.hero-brand {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 330px;
  margin-left: -12px;
  margin-top: 0;
}

.hero-brand img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 20px rgba(0,0,0,0.08));
}

.hero-copy {
  padding-top: 0;
  text-align: center;
  margin-bottom: 0;
  margin-left: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.hero-copy h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.0rem, 2.6vw, 4.2rem);
  line-height: 0.90;
  letter-spacing: -0.08em;
  font-weight: 900;
  text-shadow: 0 12px 18px rgba(0,0,0,0.06);
  transform: translateX(8px);
}

.fb-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255,255,255,0.12);
  font-weight: 900;
  font-size: 1.75rem;
  line-height: 1;
}

.social-handle {
  font-size: clamp(1rem, 1.25vw, 1.8rem);
}

.hero-people {
  position: relative;
  z-index: 2;
  margin-top: 0;
  padding-bottom: 0;
}

.people-row {
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0;
  padding: 0;
  margin-top: 0;
}

.person {
  width: 33.3333%;
  max-width: 33.3333%;
  height: clamp(250px, 27vw, 390px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
  background: transparent;
  margin-top: 0;
}

.person img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: saturate(0.85) contrast(1.02);
  margin-bottom: 0;
  display: block;
}

.person--a { transform: translateY(0); }
.person--b { transform: translateY(0); }
.person--c { transform: translateY(0); }

.about {
  background: var(--white);
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading.center {
  text-align: center;
}

.eyebrow {
  display: inline-block;
  color: var(--blue-700);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  font-weight: 800;
  margin-bottom: 12px;
}

.section-heading h2 {
  margin: 0;
  color: var(--navy-900);
  font-size: clamp(1.8rem, 3.2vw, 3.2rem);
  line-height: 1.04;
  letter-spacing: -0.06em;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
}

.about-copy {
  font-size: 1rem;
  color: var(--gray-600);
  max-width: 720px;
}

.about-copy p {
  margin: 0 0 18px;
}

.about-panel {
  display: grid;
  gap: 18px;
  background: linear-gradient(180deg, rgba(14, 90, 158, 0.06), rgba(14, 90, 158, 0.01));
  border: 1px solid rgba(14, 90, 158, 0.12);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.panel-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(17, 57, 89, 0.08);
}

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

.panel-item strong {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--blue-900);
  color: white;
  font-size: 1.2rem;
}

.panel-item span {
  font-weight: 700;
  color: var(--gray-900);
}

.program {
  background: linear-gradient(180deg, #eef5fd 0%, #f7fbff 100%);
}

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

.program-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(19, 82, 134, 0.08);
  border-radius: 25px;
  padding: 22px 18px;
  box-shadow: 0 10px 28px rgba(12, 45, 75, 0.06);
}

.program-number {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--blue-700);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  font-weight: 800;
}

.program-card h3 {
  margin: 0 0 12px;
  font-size: 1.15rem;
  color: var(--navy-900);
}

.program-card p {
  margin: 0;
  color: var(--gray-600);
}

.candidates {
  background: linear-gradient(180deg, #ffffff 0%, #eff5fb 100%);
}

.candidate-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 18px 18px;
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
}

.candidate-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  text-align: left;
  align-self: stretch;
}

.candidate-image {
  position: relative;
  height: 250px;
  min-height: 250px;
  background: transparent;
  overflow: hidden;
  border-radius: 0;
  flex-shrink: 0;
}

.candidate-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: saturate(0.9) contrast(1.02);
}

.candidate-image.placeholder {
  background: #ffffff;
  height: 250px;
  min-height: 250px;
}

.placeholder {
  width: 100%;
  height: 100%;
  min-height: 250px;
  display: block;
  background: #ffffff;
  border: 0;
}

.candidate-body {
  padding: 8px 6px 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 118px;
  justify-content: flex-start;
}

.candidate-number {
  color: var(--blue-700);
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 0.7rem;
  text-transform: lowercase;
  margin-bottom: 0;
  opacity: 0.95;
}

.candidate-name {
  margin: 0;
  font-size: 1rem;
  line-height: 1.28;
  color: var(--navy-900);
  display: block;
}

.candidate-role {
  margin: 0;
  font-size: 0.8rem;
  color: var(--gray-600);
  font-weight: 600;
  line-height: 1.32;
  display: block;
}

.candidate-card .placeholder + .candidate-body {
  padding-top: 12px;
}

.site-footer {
  background: #032c52;
  color: rgba(255,255,255,0.9);
  padding: 26px 0;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-logo {
  width: 62px;
  height: 62px;
}

.footer-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  text-align: center;
}

.footer-copy strong {
  font-size: 1.1rem;
}

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 28px;
    gap: 18px;
  }

  .hero-brand {
    width: 200px;
    margin: 0 auto;
  }

  .hero-copy {
    text-align: center;
    padding-top: 0;
  }

  .social-line {
    justify-content: center;
  }

  .hero-people {
    margin-top: 8px;
  }

  .people-row {
    gap: 12px;
  }

  .person {
    width: 30vw;
    height: 36vw;
    min-height: 220px;
  }

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

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

@media (max-width: 760px) {
  .nav-wrap {
    padding: 12px 0;
  }

  .main-nav {
    width: 100%;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 10px 18px;
    font-size: 0.9rem;
    position: relative;
  }

  .nav-brand-wrap {
    display: none;
    margin-right: 0;
    padding-left: 0;
    flex: 1 1 auto;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px 14px;
    background: rgba(6, 72, 112, 0.98);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    box-shadow: 0 16px 30px rgba(0,0,0,0.18);
    z-index: 50;
  }

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

  .nav-toggle {
    display: inline-block;
    flex-shrink: 0;
  }

  .hero {
    min-height: auto;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
  }

  .hero-inner {
    min-height: auto;
    padding-bottom: 0;
  }

  .hero-brand {
    width: 170px;
  }

  .hero-copy h1 {
    font-size: clamp(2.3rem, 11vw, 4.3rem);
  }

  .hero-people {
    margin-top: auto;
    display: flex;
    align-items: flex-end;
    width: 100%;
  }

  .people-row {
    gap: 0;
    flex-wrap: nowrap;
    padding: 0;
    align-items: flex-end;
    width: 100%;
    display: flex;
  }

  .person {
    width: 33.333%;
    flex: 1 1 33.333%;
    height: clamp(170px, 35vw, 260px);
    min-height: 170px;
    margin: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
  }

  .person img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
  }

  .about-grid,
  .program-grid,
  .candidate-grid {
    grid-template-columns: 1fr;
  }

  .candidate-image {
    height: 300px;
  }

  .footer-wrap {
    flex-direction: column;
    text-align: center;
  }
}
