:root {
  --nav-color: #b4b4b4;
  --text-color: #0e1941;
  --accent-color: #0e1941;
  --button-text: #ffffff;
  --page-width: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Poppins", sans-serif;
  color: var(--text-color);
  background: #ffffff;
}

p {
  font-weight: 300;
}

.hero {
  min-height: 1189px;
  display: flex;
  justify-content: center;
}

.page {
  width: 100%;
  max-width: var(--page-width);
  padding: 44px clamp(24px, 4vw, 72px) 48px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.nav {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 10px 0;
  background: transparent;
  transition: padding 0.28s ease, background-color 0.28s ease;
  transform-origin: top center;
  isolation: isolate;
}

.nav::before {
  content: "";
  position: absolute;
  top: calc(-1 * env(safe-area-inset-top, 0px));
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(10px) saturate(130%);
  -webkit-backdrop-filter: blur(10px) saturate(130%);
  z-index: -1;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--text-color);
  background: transparent;
  color: var(--text-color);
  font-size: 16px;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s ease;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.nav-toggle:hover {
  transform: scale(1.02);
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  color: var(--text-color);
}

.brand-mark {
  width: clamp(220px, 25vw, 350px);
  height: auto;
  display: inline-flex;
  object-fit: contain;
  transition: width 0.28s ease, transform 0.28s ease;
}

.nav-links {
  transition: gap 0.28s ease;
}

.is-scrolled .nav {
  padding: 6px 0;
}

.is-scrolled .nav::before {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px) saturate(135%);
  -webkit-backdrop-filter: blur(12px) saturate(135%);
}

.is-scrolled .brand-mark {
  width: clamp(160px, 20vw, 280px);
}

.is-scrolled .nav-links {
  gap: clamp(16px, 3vw, 44px);
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 60px);
  color: var(--nav-color);
  font-size: 18px;
  font-weight: 400;
}

.nav-links a {
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, color 0.2s ease;
  display: inline-block;
}

.nav-links a:hover {
  transform: scale(1.02);
  color: var(--text-color);
}

.nav-links .is-active {
  color: var(--text-color);
  font-weight: 500;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-top: 6px;
}

.hero-image {
  width: 100%;
  height: clamp(220px, 28vw, 360px);
  border-radius: 4px;
  margin: 0;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-text {
  max-width: 760px;
  font-size: 24px;
  line-height: 1.5;
  font-weight: 400;
  margin: 0;
  margin-bottom: 12px;
}

.hero-divider {
  width: 100%;
  height: 1px;
  background: var(--text-color);
  opacity: 0.6;
}

.hero-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 16px;
}

.foundation-hero {
  margin-top: 6px;
  margin-bottom: 16px;
}

.foundation-page {
  display: grid;
  gap: 72px;
}

.foundation-section {
  display: grid;
  gap: 24px;
}

.section-kicker {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  color: #52c6d8;
}

.foundation-section--muted {
  background: transparent;
  padding: 0;
}

.foundation-section h1,
.foundation-section h2 {
  margin: 0;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.2;
}

.foundation-section h2 {
  line-height: 1.12;
}

.foundation-section > p {
  margin: 0;
  max-width: 840px;
  font-size: 18px;
  line-height: 1.55;
}

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

.foundation-card {
  border: 0;
  border-radius: 8px;
  padding: 20px;
  display: grid;
  gap: 12px;
  background: #f517a8;
}

.foundation-grid--plain .foundation-card {
  border: none;
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.foundation-card h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 500;
}

.foundation-card p {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
}

.reveal-card {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

.board-card {
  border: none;
  border-radius: 0;
  padding: 0;
  background: transparent;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: start;
  align-content: start;
}

.board-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 3;
  border-radius: 4px;
  display: block;
  object-fit: cover;
  margin-bottom: 28px;
}

.board-photo--blue {
  background: linear-gradient(135deg, #7e9dd7, #0e1941);
}

.board-photo--mint {
  background: linear-gradient(135deg, #9de6da, #4ab9a5);
}

.board-photo--navy {
  background: linear-gradient(135deg, #3e538f, #0e1941);
}

.board-photo--teal {
  background: linear-gradient(135deg, #69d4c9, #2f9ca0);
}

.board-content {
  display: grid;
  gap: 8px;
  margin-top: 0;
  align-content: start;
  justify-content: start;
  align-self: start;
}

.board-content h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--text-color);
}

.board-content p {
  margin: 0;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--text-color);
}

.board-role {
  font-weight: 400;
}

.board-body-text {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-color);
}

.download-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
}

.download-list a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 18px;
  line-height: 1.5;
  transition: transform 0.2s ease, color 0.2s ease;
  display: inline-block;
}

.download-list a:hover {
  transform: scale(1.02);
  color: #52c6d8;
}

.content-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
}

.content-list li {
  font-size: 18px;
  line-height: 1.5;
  font-weight: 300;
}

.split-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
  align-items: start;
}

.primary-button {
  border: none;
  background: var(--accent-color);
  color: var(--button-text);
  font-size: 16px;
  font-weight: 500;
  padding: 14px 36px;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.primary-button:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 24px rgba(14, 25, 65, 0.15);
  background: #52c6d8;
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  margin-top: auto;
  font-size: 14px;
}

.footer a {
  color: var(--text-color);
  text-decoration: none;
  transition: transform 0.2s ease, color 0.2s ease;
  display: inline-block;
}

.footer a:hover {
  transform: scale(1.02);
}

@media (max-width: 900px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-mark {
    width: clamp(200px, 50vw, 320px);
  }

  .nav-toggle {
    display: inline-flex;
    align-self: flex-end;
    margin-top: -40px;
  }

  .nav-links {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    display: none;
  }

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

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

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

  .foundation-page {
    gap: 56px;
  }

  .foundation-grid {
    grid-template-columns: 1fr;
  }

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

  .foundation-section h1,
  .foundation-section h2 {
    font-size: 28px;
  }

  .foundation-section > p {
    font-size: 16px;
  }

  .board-content p {
    font-size: 16px;
  }

  .foundation-card p,
  .legal p {
    font-size: 16px;
  }

  .content-list li {
    font-size: 16px;
  }

  .split-sections {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer {
    align-items: flex-start;
  }
}

.legal {
  display: grid;
  gap: 18px;
  max-width: 760px;
}

.legal h1 {
  font-size: 26px;
  margin: 0;
}

.legal p {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
}

@media (max-width: 600px) {
  .page {
    padding-top: 32px;
    gap: 36px;
  }

  .brand {
    gap: 12px;
  }

  .brand-mark {
    width: clamp(180px, 70vw, 280px);
  }

  .nav-toggle {
    margin-top: -40px;
  }

  .hero-content {
    margin-top: 4px;
  }

  .hero-text {
    font-size: 20px;
  }

  .foundation-hero {
    margin-bottom: 8px;
  }

  .foundation-page {
    gap: 44px;
  }

  .foundation-section h1,
  .foundation-section h2 {
    font-size: 24px;
  }

  .foundation-card {
    padding: 16px;
  }

  .board-grid {
    grid-template-columns: 1fr;
  }

  .board-photo {
    height: auto;
  }
}
