:root {
  --ink: #12191a;
  --paper: #f8faf8;
  --turquoise: #29eed6;
  --green: #c3f550;
  --lavender: #dbc6ff;
  --gutter: clamp(1.25rem, 5vw, 4.75rem);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 1rem/1.65 system-ui, sans-serif; background: var(--ink); color: var(--ink); }
a { color: inherit; }
a:focus-visible { outline: 3px solid #9661e8; outline-offset: 5px; }
.wrap { width: min(100%, 92rem); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 1rem; top: 1rem; z-index: 2; padding: .5rem 1rem; background: white; transform: translateY(-200%); }
.skip:focus { transform: none; }
.masthead { color: white; border-bottom: 1px solid #ffffff29; }
.masthead-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.1rem; }
.wordmark { color: var(--turquoise); text-decoration: none; font-size: clamp(1.25rem, 3vw, 1.65rem); font-weight: 800; letter-spacing: -.05em; line-height: 1.1; }
.wordmark em { color: var(--lavender); font-family: Georgia, serif; font-weight: 500; }
nav { display: flex; flex-wrap: wrap; gap: clamp(.7rem, 3vw, 2.6rem); }
nav a { text-decoration: none; font-size: .95rem; font-weight: 600; }
nav a:hover { color: var(--turquoise); }
.hero { color: white; }
.hero-grid { min-height: 37rem; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 7rem); align-items: center; padding-block: clamp(3rem, 7vw, 6.5rem); }
.label { margin: 0 0 1rem; font-weight: 750; font-size: .875rem; letter-spacing: .08em; text-transform: uppercase; }
.hero .label, .contact-section .label { color: var(--turquoise); }
h1, h2, h3 { margin: 0; line-height: 1.02; letter-spacing: -.055em; }
h1 { font-size: clamp(3.25rem, 6.6vw, 7rem); }
h1 em { color: var(--lavender); font-family: Georgia, serif; font-weight: 500; }
h2 { font-size: clamp(2.35rem, 4.8vw, 4.6rem); max-width: 18ch; }
h3 { font-size: clamp(1.5rem, 2.4vw, 2.15rem); }
.hero-copy > p:not(.label), .partner-grid p:not(.label), .contact-grid p:not(.label) { max-width: 50ch; font-size: 1.1rem; }
.hero-copy > p:not(.label), .contact-grid p:not(.label) { color: #dbe4e1; }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.6rem; }
.button { display: inline-block; padding: .77rem 1.25rem; border: 1px solid transparent; border-radius: 99px; font-size: .95rem; font-weight: 750; text-decoration: none; text-align: center; }
.button:hover { text-decoration: underline; text-underline-offset: .18em; }
.primary { background: var(--green); color: var(--ink); }
.outline { border-color: #ffffff65; color: white; }
.dark { background: var(--ink); color: white; }
figure { margin: 0; }
figure img { width: 100%; height: 100%; display: block; object-fit: cover; }
.hero-image { background: #254945; aspect-ratio: 1.24; border-radius: 1rem; box-shadow: .65rem .65rem 0 var(--turquoise); }
.hero-image img { border-radius: inherit; }
.section { padding-block: clamp(3.5rem, 7vw, 7rem); }
.program-section { background: var(--paper); }
.programs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.15rem; margin-top: 2.2rem; }
.programs article { border-radius: .9rem; padding: clamp(1.3rem, 3vw, 2.15rem); background: var(--lavender); }
.programs article:nth-child(2) { background: var(--turquoise); }
.programs article:nth-child(3) { background: var(--green); }
.programs p { margin-bottom: 0; }
.partner-section { background: var(--lavender); }
.partner-grid, .contact-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 6vw, 6rem); }
.partner-image { background: #6b5790; aspect-ratio: 1.32; border-radius: 1rem; box-shadow: .6rem .6rem 0 var(--ink); }
.partner-image img { border-radius: inherit; }
.reveal-pending { opacity: 0; transform: translateY(2rem); }
.reveal-active { transition: opacity .65s ease, transform .65s ease; }
.contact-section { color: white; }
.contact-links { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
footer { color: #dbe4e1; border-top: 1px solid #ffffff29; }
@media (max-width: 760px) {
  .hero-grid, .partner-grid, .contact-grid, .programs { grid-template-columns: 1fr; }
  .hero-image { max-width: 37rem; }
  .partner-image { order: 2; }
}
@media (max-width: 430px) {
  .masthead-inner { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal-active, .reveal-pending { opacity: 1; transform: none; transition: none; }
}
