:root {
  --ink: #17232d;
  --muted: #5c6e7f;
  --line: #dbe5ea;
  --paper: #ffffff;
  --soft: #eef5f5;
  --deep: #0f3840;
  --teal: #167c80;
  --blue: #2f5f98;
  --green: #4a8a6d;
  --coral: #e9624f;
  --gold: #f2b544;
  --shadow: 0 20px 60px rgba(23, 35, 45, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f6f8f8;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(219, 229, 234, 0.78);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: var(--ink);
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 800;
}

.site-nav a:hover {
  color: var(--teal);
}

.menu-button {
  display: none;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 900;
  padding: 0 14px;
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--deep);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 38, 45, 0.88), rgba(11, 38, 45, 0.62), rgba(11, 38, 45, 0.1));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(780px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 92px);
  padding: 46px 0;
  color: #ffffff;
}

.eyebrow {
  margin: 0 0 10px;
  color: #41b5b6;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(2.5rem, 7vw, 5.8rem);
  line-height: 0.96;
}

.hero p:not(.eyebrow) {
  max-width: 660px;
  color: #e1eef0;
  font-size: 1.12rem;
  line-height: 1.65;
}

.hero-actions,
.section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.primary-link,
.secondary-link,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
  font-weight: 900;
}

.primary-link {
  background: var(--coral);
  color: #ffffff;
  padding: 0 18px;
}

.secondary-link {
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  padding: 0 18px;
}

.text-link {
  color: var(--teal);
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.stats-band article {
  padding: 28px clamp(18px, 3vw, 44px);
  border-right: 1px solid var(--line);
}

.stats-band strong {
  display: block;
  color: var(--deep);
  font-size: 2.6rem;
  line-height: 1;
}

.stats-band span {
  color: var(--muted);
  font-weight: 800;
}

.section {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 76px);
}

.section-intro {
  max-width: 760px;
}

.section-intro.narrow {
  max-width: 820px;
  margin: 0 auto 32px;
  text-align: center;
}

.section h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.04;
}

.section p {
  color: var(--muted);
  line-height: 1.7;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.structure-grid,
.leader-grid,
.partner-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.info-card,
.leader-card,
.impact-grid article,
.partner-grid article,
.program-card,
.project-grid article,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 12px 34px rgba(23, 35, 45, 0.08);
}

.info-card,
.leader-card,
.impact-grid article,
.partner-grid article,
.program-card,
.project-grid article {
  padding: 24px;
}

.accent-card {
  background: #f2fbfa;
  border-color: #cce7e6;
}

.card-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.info-card h3,
.leader-card h3,
.project-grid h3,
.program-card h3,
.impact-grid h3,
.partner-grid h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
}

.info-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.7;
}

.project-band,
.policy,
.press {
  background: var(--deep);
  color: #ffffff;
}

.project-band p,
.policy p,
.press p {
  color: #d6e9eb;
}

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

.project-grid article {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.18);
}

.project-grid h3 {
  color: #ffffff;
}

.section-head {
  justify-content: space-between;
  margin-bottom: 28px;
}

.program-card {
  min-height: 210px;
  position: relative;
  overflow: hidden;
}

.program-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
}

.program-card.sport::before {
  background: var(--coral);
}

.program-card.health::before {
  background: var(--green);
}

.program-card.citizen::before {
  background: var(--gold);
}

.program-card.sea::before {
  background: var(--blue);
}

.leader-grid {
  max-width: 1120px;
  margin: 0 auto;
}

.avatar,
.leader-photo {
  width: 88px;
  height: 88px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.avatar {
  display: grid;
  place-items: center;
  background: var(--teal);
  color: #ffffff;
  font-weight: 900;
}

.leader-photo {
  object-fit: cover;
  object-position: center top;
}

.role {
  color: var(--teal) !important;
  font-weight: 900;
}

.impact {
  background: #eef5f5;
}

.impact-grid article:nth-child(2n) {
  background: #fbf8ef;
}

.pill-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-grid span {
  min-height: 40px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 10px 14px;
  color: #ffffff;
  font-weight: 850;
}

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

.logo-row {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.logo-row img {
  width: 100%;
  height: 104px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 16px;
}

.gallery-section {
  background: #ffffff;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.photo-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  filter: grayscale(1);
}

.portal-link {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 68px);
  background: #ffffff;
}

.portal-link img {
  border-radius: 8px;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.cta-strip {
  max-width: 980px;
  margin: 30px auto 0;
  min-height: 86px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.09);
}

.cta-strip span {
  color: #ffffff;
  font-weight: 900;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.75fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}

.contact-form {
  padding: 22px;
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  padding: 10px 12px;
}

textarea {
  resize: vertical;
}

.button-reset {
  border: 0;
  width: 100%;
  cursor: pointer;
}

.site-footer {
  min-height: 96px;
  padding: 24px clamp(18px, 5vw, 76px);
  background: #0b252b;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-footer span {
  color: #c6dcdf;
}

.site-footer nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.site-footer a {
  color: #ffffff;
  font-weight: 800;
}

.legal-page {
  max-width: 980px;
  margin: 0 auto;
  background: #ffffff;
}

.legal-page h1 {
  margin: 0 0 28px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
}

.legal-page h2 {
  margin-top: 28px;
  font-size: 1.35rem;
}

@media (max-width: 1040px) {
  .menu-button {
    display: inline-flex;
    align-items: center;
  }

  .site-nav {
    position: fixed;
    inset: 76px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
  }

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

  .site-nav a {
    padding: 12px;
    border-radius: 8px;
    background: var(--soft);
  }

  .split,
  .portal-link,
  .contact {
    grid-template-columns: 1fr;
  }

  .stats-band,
  .project-grid,
  .program-grid,
  .impact-grid,
  .partner-grid,
  .logo-row,
  .photo-grid,
  .structure-grid,
  .leader-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 70px;
    padding: 12px 14px;
  }

  .brand small {
    font-size: 0.76rem;
  }

  .brand {
    min-width: 0;
  }

  .brand span:last-child {
    min-width: 0;
  }

  .brand strong,
  .brand small {
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .site-nav {
    inset: 70px 0 auto;
  }

  .hero {
    min-height: 720px;
  }

  .hero-content {
    width: calc(100% - 28px);
    margin: 0 14px;
  }

  .hero h1 {
    font-size: 2.6rem;
  }

  .hero-actions,
  .cta-strip,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-link,
  .secondary-link {
    width: 100%;
  }

  .stats-band,
  .project-grid,
  .program-grid,
  .impact-grid,
  .partner-grid,
  .logo-row,
  .photo-grid,
  .structure-grid,
  .leader-grid {
    grid-template-columns: 1fr;
  }

  .stats-band article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding: 48px 14px;
  }

  .section-head {
    align-items: flex-start;
  }
}
