:root {
  --blue: #0b45ad;
  --blue-dark: #082c74;
  --red: #e21b2d;
  --green: #087d3d;
  --yellow: #f5b915;
  --ink: #13233f;
  --muted: #526078;
  --cream: #fffaf0;
  --white: #ffffff;
  --line: #dbe2ec;
  --shadow: 0 18px 50px rgba(8, 44, 116, .12);
  --radius: 1.25rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
.container { width: min(1160px, calc(100% - 2rem)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; background: var(--white); padding: .75rem 1rem; }
.skip-link:focus { left: .75rem; }

.topbar { background: var(--blue-dark); color: white; text-align: center; padding: .45rem 1rem; font-size: .9rem; letter-spacing: .02em; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(11,69,173,.11); }
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; font-weight: 850; color: var(--blue-dark); letter-spacing: .02em; }
.brand img { width: 58px; height: 58px; object-fit: contain; }
.brand span { line-height: 1.05; }
.brand small { display: block; color: var(--green); font-size: .72rem; margin-top: .2rem; letter-spacing: .08em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 1.35rem; list-style: none; padding: 0; margin: 0; }
.nav-links a { text-decoration: none; font-weight: 700; color: #2e3c54; font-size: .95rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--blue); }
.menu-toggle { display: none; border: 0; background: transparent; padding: .5rem; color: var(--blue-dark); font-size: 1.6rem; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 48px; padding: .75rem 1.2rem; border-radius: 999px; border: 2px solid transparent; background: var(--blue); color: white; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(11,69,173,.22); }
.button-yellow { background: var(--yellow); color: #16233b; }
.button-outline { background: white; color: var(--blue); border-color: var(--blue); }
.button-small { min-height: 42px; padding: .55rem 1rem; }

.hero { position: relative; overflow: hidden; background: linear-gradient(125deg, #f5f9ff 0%, #fffaf0 62%, #fff 100%); }
.hero::before { content: ""; position: absolute; width: 420px; height: 420px; border: 90px solid rgba(245,185,21,.12); border-radius: 50%; right: -150px; top: -200px; }
.hero-grid { min-height: 680px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; padding-block: 4.5rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; color: var(--green); font-weight: 850; text-transform: uppercase; letter-spacing: .11em; font-size: .78rem; }
.eyebrow::before { content: ""; width: 28px; height: 4px; border-radius: 10px; background: var(--yellow); }
h1, h2, h3 { line-height: 1.12; margin-top: 0; }
h1 { font-size: clamp(2.8rem, 6vw, 5.25rem); letter-spacing: -.055em; margin-bottom: 1.25rem; color: var(--blue-dark); }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -.035em; color: var(--blue-dark); margin-bottom: 1rem; }
h3 { font-size: 1.35rem; color: var(--blue-dark); }
.hero-copy p { font-size: 1.2rem; color: var(--muted); max-width: 650px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-image { position: relative; }
.hero-image img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; border-radius: 2.25rem; box-shadow: var(--shadow); }
.hero-image::after { content: "Alofa means love"; position: absolute; left: -1.5rem; bottom: 2rem; padding: 1rem 1.25rem; background: white; color: var(--red); font-weight: 850; border-radius: 1rem; box-shadow: var(--shadow); }
.color-line { height: 8px; background: linear-gradient(90deg, var(--blue) 0 25%, var(--red) 25% 50%, var(--yellow) 50% 75%, var(--green) 75%); }

.section { padding-block: 6rem; }
.section-soft { background: #f5f8fd; }
.section-cream { background: var(--cream); }
.section-heading { max-width: 760px; margin-bottom: 2.75rem; }
.section-heading p { color: var(--muted); font-size: 1.1rem; }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.card { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: 0 8px 28px rgba(19,35,63,.05); }
.card-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; font-size: 1.4rem; margin-bottom: 1.1rem; background: #eaf1ff; color: var(--blue); }
.card:nth-child(2) .card-icon { background: #fff0f1; color: var(--red); }
.card:nth-child(3) .card-icon { background: #fff7d8; color: #9c7000; }
.card:nth-child(4) .card-icon { background: #e9f8ef; color: var(--green); }
.card p { color: var(--muted); margin-bottom: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split > img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; border-radius: var(--radius); box-shadow: var(--shadow); }
.check-list { list-style: none; padding: 0; margin: 1.5rem 0; }
.check-list li { position: relative; padding: .6rem 0 .6rem 2rem; border-bottom: 1px solid rgba(11,69,173,.1); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }

.quote-band { background: var(--blue-dark); color: white; text-align: center; padding: 4rem 1rem; }
.quote-band blockquote { margin: 0 auto; max-width: 900px; font-size: clamp(1.5rem, 3vw, 2.4rem); font-weight: 760; line-height: 1.35; }
.quote-band strong { color: var(--yellow); }

.page-hero { padding: 5.5rem 0 4rem; background: linear-gradient(140deg, #eef4ff, white 55%, #fff6d6); text-align: center; }
.page-hero h1 { font-size: clamp(2.6rem, 5vw, 4.5rem); margin-bottom: .8rem; }
.page-hero p { max-width: 760px; margin: 0 auto; color: var(--muted); font-size: 1.15rem; }
.board-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.board-card { position: relative; overflow: hidden; padding: 2rem; }
.initials { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 1.1rem; color: white; background: var(--blue); font-weight: 900; font-size: 1.35rem; margin-bottom: 1.25rem; }
.board-card:nth-child(2) .initials { background: var(--red); }
.board-card:nth-child(3) .initials { background: var(--yellow); color: var(--ink); }
.board-card:nth-child(4) .initials { background: var(--green); }
.role { color: var(--green); font-weight: 800; margin-top: -.5rem; }
.bio { color: var(--muted); }
.bio + .bio { margin-top: .9rem; }
.credential { display: inline-block; margin: .2rem .25rem .2rem 0; background: #eef3fb; color: var(--blue-dark); padding: .25rem .55rem; border-radius: .5rem; font-size: .82rem; font-weight: 750; }
.mission-panel { max-width: 960px; margin-inline: auto; }
.mission-panel > p { font-size: 1.16rem; color: #34435b; }
.legacy-callout { margin-top: 2.5rem; display: grid; grid-template-columns: minmax(260px, .85fr) 1.15fr; gap: 1.75rem; align-items: center; padding: 1.75rem; border-radius: var(--radius); background: white; border: 1px solid rgba(226,27,45,.16); box-shadow: var(--shadow); }
.legacy-callout h3 { color: var(--red); margin-bottom: .5rem; }
.legacy-callout p { margin: 0; color: var(--muted); }
.legacy-heart { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #fff0f1; color: var(--red); font-size: 2rem; font-weight: 900; }
.legacy-photo { margin: 0; }
.legacy-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 1rem; }
.legacy-photo figcaption { margin-top: .65rem; color: var(--muted); font-size: .86rem; line-height: 1.45; }
.vision-card { border-top: 6px solid var(--yellow); }
.vision-card > p { font-size: 1.08rem; }
.values-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.value-card { padding: 1.5rem; border-radius: var(--radius); background: #f6f9fe; border: 1px solid var(--line); }
.value-card > span { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; margin-bottom: 1rem; background: var(--blue); color: white; font-size: .78rem; font-weight: 900; }
.value-card:nth-child(2) > span { background: var(--red); }
.value-card:nth-child(3) > span { background: var(--yellow); color: var(--ink); }
.value-card:nth-child(4) > span { background: var(--green); }
.value-card:nth-child(5) > span { background: var(--blue-dark); }
.value-card h3 { font-size: 1.08rem; }
.value-card p { color: var(--muted); margin-bottom: 0; }

.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }
.resource-card { border-top: 5px solid var(--blue); }
.resource-card:nth-child(2) { border-top-color: var(--red); }
.resource-card:nth-child(3) { border-top-color: var(--yellow); }
.resource-card:nth-child(4) { border-top-color: var(--green); }
.resource-card:nth-child(5) { border-top-color: var(--blue); }
.resource-card:nth-child(6) { border-top-color: var(--red); }
.resource-card a { color: var(--blue); font-weight: 800; }
.notice { border-left: 5px solid var(--yellow); background: #fff9df; padding: 1.2rem 1.4rem; border-radius: .75rem; color: #4a4020; }

.event { display: grid; grid-template-columns: .9fr 1.1fr; border-radius: var(--radius); overflow: hidden; background: var(--blue-dark); color: white; box-shadow: var(--shadow); }
.event img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.event-copy { padding: 3rem; }
.event-copy h2, .event-copy h3 { color: white; }
.event-meta { display: grid; gap: .65rem; margin: 1.25rem 0 2rem; }
.event-meta strong { color: var(--yellow); }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2rem; align-items: start; }
.contact-list { display: grid; gap: 1rem; }
.contact-item { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.contact-item strong { display: block; color: var(--blue-dark); }
.contact-item span { color: var(--muted); }
.form { display: grid; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: grid; gap: .4rem; font-weight: 750; color: var(--blue-dark); }
input, textarea { width: 100%; border: 1px solid #bdc8d8; border-radius: .75rem; padding: .85rem 1rem; color: var(--ink); background: white; }
input:focus, textarea:focus { outline: 3px solid rgba(11,69,173,.15); border-color: var(--blue); }
textarea { min-height: 145px; resize: vertical; }
.form-note { color: var(--muted); font-size: .88rem; }

.newsletter { margin-top: 4rem; background: linear-gradient(100deg, var(--green), #075d34); border-radius: var(--radius); padding: 2.5rem; color: white; display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.newsletter h2 { color: white; margin-bottom: .5rem; }
.newsletter p { margin: 0; opacity: .9; }
.newsletter-form { display: flex; gap: .65rem; }
.newsletter-form input { min-width: 280px; border: 0; }

.site-footer { background: #071a3f; color: white; padding: 4rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; }
.footer-brand { display: flex; gap: 1rem; align-items: center; }
.footer-brand img { width: 76px; height: 76px; object-fit: contain; background: white; border-radius: 50%; padding: .25rem; }
.site-footer h3 { color: white; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; }
.site-footer a { color: #dbe7ff; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin: .45rem 0; }
.footer-bottom { margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.15); color: #b9c7e2; font-size: .85rem; display: flex; justify-content: space-between; gap: 1rem; }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav-links { display: none; position: absolute; left: 1rem; right: 1rem; top: 78px; padding: 1.2rem; background: white; border: 1px solid var(--line); border-radius: 1rem; box-shadow: var(--shadow); align-items: stretch; flex-direction: column; }
  .nav-links.open { display: flex; }
  .nav-links .button { width: 100%; }
  .hero-grid, .split, .event, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { padding-block: 3.5rem; }
  .hero-image img { aspect-ratio: 3 / 2; border-radius: 1.5rem; }
  .pillars, .resource-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .newsletter { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .brand small { display: none; }
  .brand img { width: 48px; height: 48px; }
  .nav-wrap { min-height: 68px; }
  .nav-links { top: 67px; }
  .section { padding-block: 4rem; }
  .pillars, .resource-grid, .board-grid, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :first-child { grid-column: auto; }
  .hero-image::after { left: .75rem; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input { min-width: 0; }
  .footer-bottom { flex-direction: column; }
  .legacy-callout { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
