:root {
  --navy: #00002b;
  --navy-2: #000029;
  --navy-deep: #000029;
  --navy-footer: #0e1b4b;
  --header-bg: #191938;
  --green: #3acf6e;
  --green-light: #6bcc78;
  --white: #ffffff;
  --muted-light: rgba(255, 255, 255, 0.6);
  --body-text: #666666;
  --font-body: "Open Sans", Arial, sans-serif;
  --font-head: "Work Sans", Helvetica, Arial, Lucida, sans-serif;
  --font-role: "Inter", Helvetica, Arial, Lucida, sans-serif;
  --max-width: 1080px; /* ~1012 container + padding */
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--body-text);
  background: var(--navy);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  margin: 0 0 0.5em;
  line-height: 1;
  font-weight: 700;
}

p {
  margin: 0 0 1em;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 30px;
}

/* ============ Section backgrounds ============ */
.section-dark {
  background: var(--navy);
  color: var(--white);
}
.section-green {
  background: var(--green);
  color: var(--navy);
}
.section-light {
  background: var(--white);
  color: var(--body-text);
}

/* ============ Header ============ */
.site-header {
  background: var(--header-bg);
  position: sticky;
  top: 0;
  z-index: 100;
  height: 70px;
  display: flex;
  align-items: center;
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 30px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand img {
  display: block;
  height: 30px;
  width: auto;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 26px;
  align-items: center;
}

.main-nav > ul > li > a {
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li > a.active {
  color: var(--green);
}

.caret {
  font-size: 10px;
  position: relative;
  top: 1px;
}

.has-dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 200px;
  background: var(--header-bg);
  padding: 10px 0;
  margin: 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li a {
  display: block;
  padding: 8px 20px;
  color: var(--white);
  font-size: 13px;
}

.dropdown li a:hover {
  color: var(--green);
}

/* ============ Hero ============ */
.hero {
  padding: 100px 0 110px;
}

.hero h1 {
  font-size: 75px;
  line-height: 75px;
  font-weight: 700;
  color: var(--white);
  max-width: 1020px;
  margin: 0 0 40px;
  padding-bottom: 10px;
}

.hero h1 .green {
  color: var(--green);
}

.hero .kicker {
  color: var(--green);
  font-family: var(--font-head);
  font-size: 18px;
  line-height: 18px;
  font-weight: 700;
  margin: 0 0 10px;
  padding-bottom: 10px;
}

.hero-sub {
  color: var(--muted-light);
  font-size: 14px;
  line-height: 23.8px;
  max-width: 478px;
  margin: 0;
}

.hero-sub strong {
  color: var(--white);
  font-weight: 700;
}

/* ============ Phase sections ============ */
.phase {
  padding: 110px 0;
}

.phase-title {
  font-size: 76px;
  line-height: 76px;
  font-weight: 700;
  margin: 0 0 60px;
  padding-bottom: 10px;
}

.phase-title.dark {
  color: var(--navy-2);
}

.phase-title.light {
  color: var(--white);
}

.phase-title.green {
  color: var(--green-light);
  font-size: 50px;
  line-height: 60px;
}

.phase .sub {
  font-family: var(--font-head);
  font-weight: 700;
  margin: 0 0 14px;
  padding-bottom: 10px;
}

.phase .sub.dark {
  color: var(--navy);
  font-size: 40px;
  line-height: 40px;
}

.phase .sub.green-light {
  color: var(--green-light);
  font-size: 28px;
  line-height: 28px;
}

.section-green .dark-body {
  color: var(--navy);
  font-size: 14px;
  max-width: 440px;
  line-height: 23.8px;
}

.section-dark .light-body {
  color: var(--white);
  font-size: 14px;
  line-height: 23.8px;
}

.section-light p {
  color: var(--body-text);
  font-size: 14px;
  max-width: 460px;
  line-height: 23.8px;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 60px;
}

.four-col {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px 30px;
}

.col strong {
  font-weight: 700;
}

/* ============ Team ============ */
.team {
  padding: 100px 0 120px;
}

.team .phase-title {
  margin-bottom: 50px;
}

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

.team-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.team-card img {
  width: 64px;
  height: 64px;
  display: block;
  margin: 0 0 14px;
  border-radius: 6px;
  object-fit: fill;
}

.team-card figcaption {
  display: flex;
  flex-direction: column;
}

.team-card strong {
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  line-height: 25.2px;
  margin-bottom: 2px;
}

.team-card span {
  color: var(--green-light);
  font-family: var(--font-role);
  font-size: 16px;
  line-height: 28px;
  font-weight: 500;
}

/* ============ Contact ============ */
.contact {
  padding: 30px 0 100px;
}

.contact-box {
  background: var(--green);
  color: var(--white);
  text-align: center;
  padding: 55px 40px;
  border-radius: 4px;
  max-width: 900px;
  margin: 0 auto;
}

.contact-box h2 {
  color: var(--white);
  font-family: var(--font-head);
  font-size: 26px;
  line-height: 26px;
  font-weight: 700;
  margin: 0 0 18px;
  padding-bottom: 10px;
}

.contact-box p {
  color: var(--white);
  font-size: 14px;
  margin: 0;
  line-height: 23.8px;
}

/* ============ Footer ============ */
.site-footer {
  background: var(--navy-footer);
  color: var(--white);
  padding: 60px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 30px;
}

.foot-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.foot-icon {
  color: var(--green);
  margin-bottom: 8px;
}

.foot-item h4 {
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  line-height: 25.2px;
  margin: 0 0 2px;
}

.foot-item a,
.foot-item span {
  color: var(--green);
  font-size: 14px;
  font-weight: 500;
  line-height: 23.8px;
}

.foot-item a:hover {
  color: var(--white);
}

/* ============ Responsive ============ */
@media (max-width: 1100px) {
  .four-col {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero h1 {
    font-size: 54px;
    line-height: 58px;
  }
  .phase-title {
    font-size: 58px;
    line-height: 60px;
  }
  .phase-title.green {
    font-size: 44px;
    line-height: 52px;
  }
}

@media (max-width: 800px) {
  .container {
    padding: 0 24px;
  }
  .nav-row {
    padding: 0 20px;
  }
  .main-nav ul {
    gap: 16px;
  }
  .two-col,
  .four-col {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .hero {
    padding: 60px 0 70px;
  }
  .hero h1 {
    font-size: 40px;
    line-height: 44px;
  }
  .phase {
    padding: 70px 0;
  }
  .phase-title {
    font-size: 44px;
    line-height: 48px;
    margin-bottom: 40px;
  }
  .phase-title.green {
    font-size: 36px;
    line-height: 42px;
  }
  .phase .sub.dark {
    font-size: 30px;
    line-height: 32px;
  }
}

@media (max-width: 520px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
  .dropdown {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding-left: 16px;
    display: none;
  }
  .has-dropdown:hover > .dropdown,
  .has-dropdown:focus-within > .dropdown {
    display: block;
  }
}
