@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --ink: #0b2942;
  --ink-2: #163a55;
  --teal: #08aeb0;
  --teal-soft: #dff7f5;
  --coral: #f0645a;
  --yellow: #ffbd3f;
  --cream: #f7f4ed;
  --paper: #fffdf8;
  --white: #fff;
  --muted: #5f6d76;
  --line: rgba(11, 41, 66, .14);
  --shadow: 0 22px 60px rgba(11, 41, 66, .13);
  --radius: 22px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
::selection { color: var(--ink); background: var(--yellow); }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 1000; transform: translateY(-150%); background: var(--white); padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { transform: none; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Manrope", system-ui, sans-serif; line-height: 1.08; letter-spacing: -.035em; }
h1 { margin-bottom: 28px; font-size: clamp(3.2rem, 7vw, 6.5rem); font-weight: 700; }
h2 { margin-bottom: 24px; font-size: clamp(2.35rem, 4.6vw, 4.8rem); font-weight: 650; }
h3 { font-size: 1.45rem; }
em { color: var(--teal); font-style: normal; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: var(--white);
  transition: background .25s ease, box-shadow .25s ease, color .25s ease;
}
.site-header.scrolled { color: var(--ink); background: rgba(255, 253, 248, .94); box-shadow: 0 10px 35px rgba(11, 41, 66, .09); backdrop-filter: blur(14px); }
.nav-wrap { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: baseline; gap: 12px; text-decoration: none; }
.brand-mark { font-family: "Manrope", sans-serif; font-weight: 800; font-size: 1.55rem; letter-spacing: -.07em; }
.brand-dot { color: var(--teal); }
.brand-label { padding-left: 12px; border-left: 1px solid currentColor; font-size: .82rem; opacity: .72; text-transform: uppercase; letter-spacing: .13em; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { position: relative; font-size: .88rem; font-weight: 600; text-decoration: none; }
.site-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; background: var(--teal); transition: right .2s ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { right: 0; }
.nav-cta { padding: 11px 18px; color: var(--ink); background: var(--yellow); border-radius: 999px; }
.nav-toggle { display: none; background: transparent; border: 0; padding: 8px; color: currentColor; }
.nav-toggle span:not(.sr-only) { display: block; width: 25px; height: 2px; margin: 5px; background: currentColor; }

.hero { position: relative; min-height: 900px; display: grid; align-items: end; overflow: hidden; color: var(--white); background: var(--ink); }
.hero-media { position: absolute; inset: 0; background: url("assets/hero-community.webp") 52% center / cover no-repeat; transform: scale(1.015); }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 24, 40, .97) 0%, rgba(5, 24, 40, .78) 45%, rgba(5, 24, 40, .22) 76%, rgba(5, 24, 40, .32) 100%), linear-gradient(0deg, rgba(5, 24, 40, .72), transparent 45%); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 80px; align-items: end; padding-top: 170px; padding-bottom: 90px; }
.hero-copy { max-width: 820px; }
.hero h1 em { color: var(--yellow); }
.hero-lead { max-width: 720px; margin-bottom: 34px; color: rgba(255,255,255,.84); font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.65; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.72); }
.eyebrow span { width: 34px; height: 2px; background: var(--teal); }
.eyebrow.dark { color: var(--muted); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 52px; padding: 12px 22px; border: 1px solid transparent; border-radius: 999px; font-weight: 700; font-size: .9rem; text-decoration: none; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--ink); background: var(--yellow); }
.button-primary:hover { background: #ffd06b; }
.button-ghost { border-color: rgba(255,255,255,.36); color: var(--white); background: rgba(255,255,255,.06); backdrop-filter: blur(8px); }
.button-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.12); }
.hero-note { padding: 26px 0 4px 25px; border-left: 1px solid rgba(255,255,255,.35); }
.hero-note p { margin-bottom: 10px; }
.hero-note-kicker, .hero-note-small { font-size: .84rem; color: rgba(255,255,255,.68); }
.hero-note-big { font-family: "Manrope", sans-serif; font-size: 2.1rem; font-weight: 700; letter-spacing: -.04em; }
.hero-note-rule { width: 40px; height: 3px; margin: 22px 0; background: var(--teal); }

.campaign-band { background: var(--yellow); }
.campaign-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; padding-block: 72px; }
.campaign-art { width: min(100%, 500px); aspect-ratio: 1 / 1; justify-self: center; overflow: hidden; border-radius: var(--radius); background: var(--white); box-shadow: 0 20px 45px rgba(11,41,66,.18); }
.campaign-art img { display: block; width: 100%; height: 100%; object-fit: contain; }
.campaign-copy h2 { font-size: clamp(2.25rem, 4vw, 4rem); }
.campaign-copy h2 em { color: var(--coral); }
.campaign-copy > p:not(.eyebrow) { font-size: 1.02rem; }
.campaign-context { padding-top: 18px; border-top: 1px solid rgba(11,41,66,.22); color: rgba(11,41,66,.72); font-size: .88rem !important; }
.text-link { display: inline-flex; gap: 12px; align-items: center; padding-bottom: 4px; border-bottom: 2px solid currentColor; font-weight: 700; text-decoration: none; }

.section { padding-block: 120px; }
.section-light { background: var(--cream); }
.section-ink { color: var(--white); background: var(--ink); }
.section-heading { max-width: 820px; margin-bottom: 62px; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.1rem; }
.section-heading.inverse > p:last-child { color: rgba(255,255,255,.7); }
.section-heading.split { max-width: none; display: grid; grid-template-columns: 1.25fr .75fr; gap: 90px; align-items: end; }
.section-heading.split > div h2 { margin-bottom: 0; }
.section-heading.split > p { margin-bottom: 8px; }

.principles-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.principle { min-height: 310px; padding: 28px 28px 34px; border-left: 1px solid var(--line); }
.principle:last-child { border-right: 1px solid var(--line); }
.principle-number { display: block; margin-bottom: 70px; color: var(--teal); font-family: "Manrope", sans-serif; font-size: .78rem; font-weight: 700; }
.principle h3 { margin-bottom: 14px; }
.principle p { margin-bottom: 0; color: var(--muted); font-size: .94rem; }

.program-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.program-card { position: relative; min-height: 330px; overflow: hidden; padding: 36px; border: 1px solid rgba(255,255,255,.13); border-radius: var(--radius); background: rgba(255,255,255,.055); }
.program-card.feature { grid-row: span 2; padding: 0; background: var(--white); color: var(--ink); }
.program-image { aspect-ratio: 16 / 8.8; overflow: hidden; background: var(--teal-soft); }
.program-image img { width: 100%; height: 100%; object-fit: cover; }
.program-body { padding: 34px 38px 38px; }
.program-card > p:not(.tag) { max-width: 530px; color: rgba(255,255,255,.72); }
.tag { display: inline-flex; margin-bottom: 22px; padding: 6px 10px; border-radius: 999px; color: var(--ink); background: var(--teal-soft); font-size: .69rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.tag.coral { background: #ffdcd8; }
.tag.teal { background: #d6f7f5; }
.tag.yellow { background: #ffe4a5; }
.clean-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.clean-list li { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: .78rem; }
.card-mark { position: absolute; right: 28px; bottom: 12px; color: rgba(255,255,255,.08); font-family: "Manrope", sans-serif; font-size: 7rem; font-weight: 800; line-height: 1; }
.audience-strip { display: grid; grid-template-columns: repeat(4,1fr); margin-top: 42px; border-block: 1px solid rgba(255,255,255,.16); }
.audience-strip div { padding: 24px 18px; border-left: 1px solid rgba(255,255,255,.16); }
.audience-strip div:last-child { border-right: 1px solid rgba(255,255,255,.16); }
.audience-strip span, .audience-strip strong { display: block; }
.audience-strip span { margin-bottom: 6px; color: var(--teal); font-size: .7rem; font-weight: 700; text-transform: uppercase; }
.audience-strip strong { font-size: .9rem; }

.process-section { background: var(--paper); }
.process-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.process-photo { position: relative; }
.process-photo img { display: block; width: 100%; height: auto; aspect-ratio: 983 / 812; object-fit: contain; border-radius: var(--radius); box-shadow: var(--shadow); }
.photo-caption { position: absolute; right: -28px; bottom: 35px; max-width: 310px; margin: 0; padding: 18px 20px; color: var(--white); background: var(--ink); border-radius: 14px; font-size: .86rem; }
.process-copy h2 { margin-bottom: 42px; }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 42px 1fr; gap: 20px; padding: 21px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); background: var(--yellow); font-weight: 800; }
.steps h3 { margin: 3px 0 5px; font-size: 1.12rem; }
.steps p { margin: 0; color: var(--muted); font-size: .92rem; }

.milestone-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.milestone { min-height: 285px; padding: 30px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.52); }
.milestone time { display: block; margin-bottom: 54px; color: var(--coral); font-family: "Manrope", sans-serif; font-weight: 800; }
.milestone h3 { margin-bottom: 14px; }
.milestone p { margin-bottom: 0; color: var(--muted); font-size: .91rem; }
.archive { margin-top: 32px; border-block: 1px solid var(--line); }
.archive summary { display: flex; justify-content: space-between; align-items: center; padding: 24px 0; cursor: pointer; font-weight: 700; list-style: none; }
.archive summary::-webkit-details-marker { display: none; }
.archive summary span { font-size: 1.6rem; transition: transform .2s ease; }
.archive[open] summary span { transform: rotate(45deg); }
.archive-content { display: grid; grid-template-columns: repeat(2,1fr); gap: 0 50px; padding: 10px 0 35px; }
.archive-year { display: grid; grid-template-columns: 70px 1fr; gap: 15px; padding: 18px 0; border-top: 1px solid var(--line); }
.archive-year strong { color: var(--teal); }
.archive-year p { margin: 0; color: var(--muted); font-size: .9rem; }

.gallery-section { padding: 100px 0 0; color: var(--white); background: var(--ink); }
.gallery-heading { margin-bottom: 48px; }
.gallery-heading h2 { max-width: 820px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; gap: 4px; }
.gallery-item { position: relative; overflow: hidden; padding: 0; border: 0; cursor: zoom-in; background: var(--ink-2); }
.gallery-item.wide { grid-column: span 2; }
.gallery-item.tall { grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease, filter .45s ease; }
.gallery-item:hover img { transform: scale(1.035); filter: brightness(.85); }
.gallery-item span { position: absolute; left: 16px; bottom: 14px; padding: 6px 9px; color: var(--ink); background: var(--yellow); border-radius: 999px; font-size: .67rem; font-weight: 800; text-transform: uppercase; }

.resources-section { background: var(--paper); }
.resource-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.resource-card { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; color: var(--ink); background: var(--white); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.resource-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.resource-card img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.resource-card div { padding: 18px; }
.resource-card strong, .resource-card span { display: block; }
.resource-card strong { margin-bottom: 5px; }
.resource-card span { color: var(--muted); font-size: .82rem; }
.resource-card small { display: block; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: .72rem; line-height: 1.45; }
.partner-block { display: grid; grid-template-columns: 1fr 360px; gap: 90px; align-items: center; margin-top: 90px; padding: 50px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream); }
.partner-block h3 { max-width: 650px; font-size: clamp(1.8rem, 3vw, 2.8rem); }
.partner-block p:last-child { max-width: 650px; color: var(--muted); }
.partner-block img { display: block; width: 100%; height: auto; aspect-ratio: 1092 / 374; object-fit: contain; mix-blend-mode: multiply; }

.contact-section { padding-block: 110px; color: var(--white); background: var(--teal); }
.contact-grid { display: grid; grid-template-columns: 1fr 430px; gap: 100px; align-items: center; }
.contact-copy h2 { font-size: clamp(2.5rem, 5vw, 5.3rem); }
.contact-copy h2 em { color: var(--yellow); }
.contact-copy > p:last-child { max-width: 680px; color: rgba(255,255,255,.8); font-size: 1.08rem; }
.contact-card { padding: 34px; color: var(--ink); background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-label { margin-bottom: 26px; color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.contact-mail { display: flex; justify-content: space-between; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); font-family: "Manrope", sans-serif; font-size: 1.55rem; font-weight: 700; text-decoration: none; }
.contact-card > p:not(.contact-label) { color: var(--muted); font-size: .92rem; }

.site-footer { padding-block: 70px 34px; color: rgba(255,255,255,.68); background: #061b2b; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr .8fr; gap: 60px; }
.footer-brand { color: var(--white); }
.footer-grid > div > a:not(.brand) { display: block; width: fit-content; margin: 6px 0; font-size: .87rem; text-decoration: none; }
.footer-grid > div > a:not(.brand):hover { color: var(--white); }
.footer-title { color: var(--white); font-size: .82rem; font-weight: 700; }
.footer-end { text-align: right; font-size: .82rem; }

.lightbox { width: min(1100px, calc(100% - 32px)); padding: 0; border: 0; border-radius: 18px; background: transparent; box-shadow: 0 25px 80px rgba(0,0,0,.35); }
.lightbox::backdrop { background: rgba(3, 17, 28, .88); backdrop-filter: blur(8px); }
.lightbox img { width: 100%; max-height: 86vh; object-fit: contain; background: var(--ink); border-radius: 18px; }
.lightbox-close { position: fixed; top: 18px; right: 24px; z-index: 2; width: 44px; height: 44px; border: 0; border-radius: 50%; color: var(--white); background: rgba(255,255,255,.14); font-size: 2rem; line-height: 1; cursor: pointer; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }

@media (max-width: 980px) {
  .site-nav { position: fixed; inset: 0; z-index: -1; display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 0; padding: 100px 32px 40px; color: var(--white); background: var(--ink); opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease; }
  .site-nav.open { opacity: 1; visibility: visible; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.15); font-size: 1.35rem; }
  .nav-cta { margin-top: 20px; padding-inline: 18px !important; border: 0 !important; text-align: center; }
  .nav-toggle { display: block; z-index: 2; }
  body.menu-open { overflow: hidden; }
  .site-header.menu-open { color: var(--white); }
  .hero { min-height: 820px; }
  .hero-grid { grid-template-columns: 1fr; gap: 45px; padding-top: 155px; padding-bottom: 65px; }
  .hero-note { max-width: 520px; }
  .campaign-grid, .process-grid, .contact-grid { grid-template-columns: 1fr; }
  .section-heading.split { grid-template-columns: 1fr; gap: 24px; }
  .principles-grid { grid-template-columns: repeat(2, 1fr); }
  .principle:nth-child(3) { border-top: 1px solid var(--line); }
  .principle:nth-child(4) { border-top: 1px solid var(--line); }
  .audience-strip { grid-template-columns: repeat(2,1fr); }
  .milestone-grid { grid-template-columns: repeat(2,1fr); }
  .resource-grid { grid-template-columns: repeat(2,1fr); }
  .partner-block { grid-template-columns: 1fr 280px; gap: 40px; }
  .contact-grid { gap: 50px; }
  .contact-card { max-width: 560px; }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
  .footer-end { text-align: left; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .container { width: min(calc(100% - 28px), var(--container)); }
  .nav-wrap { min-height: 72px; }
  .brand-label { display: none; }
  .hero { min-height: 860px; }
  .hero-media { background-position: 62% center; }
  .hero-scrim { background: linear-gradient(0deg, rgba(5,24,40,.96) 0%, rgba(5,24,40,.75) 68%, rgba(5,24,40,.38) 100%); }
  .hero-grid { padding-top: 130px; padding-bottom: 48px; }
  .hero h1 { font-size: clamp(2.75rem, 13vw, 4.1rem); }
  .hero-note { display: none; }
  .button-row, .button { width: 100%; }
  .campaign-grid { gap: 35px; padding-block: 55px; }
  .campaign-art { width: min(86vw, 340px); }
  .section { padding-block: 78px; }
  .section-heading { margin-bottom: 40px; }
  .section-heading h2 { font-size: 2.45rem; }
  .principles-grid, .program-grid, .milestone-grid, .resource-grid, .archive-content, .partner-block { grid-template-columns: 1fr; }
  .principle { min-height: auto; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .principle-number { margin-bottom: 34px; }
  .program-card.feature { grid-row: auto; }
  .program-card { min-height: 290px; padding: 28px; }
  .program-body { padding: 28px; }
  .audience-strip { grid-template-columns: 1fr; }
  .audience-strip div { border-right: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); }
  .process-grid { gap: 55px; }
  .process-photo img { height: auto; }
  .photo-caption { right: 12px; bottom: 14px; max-width: calc(100% - 24px); }
  .milestone { min-height: auto; }
  .milestone time { margin-bottom: 35px; }
  .archive-year { grid-template-columns: 55px 1fr; }
  .gallery { grid-template-columns: repeat(2,1fr); grid-auto-rows: 180px; }
  .gallery-item.wide { grid-column: span 2; }
  .gallery-item.tall { grid-row: auto; }
  .partner-block { margin-top: 55px; padding: 28px; }
  .partner-block img { max-width: 320px; }
  .contact-section { padding-block: 78px; }
  .contact-mail { font-size: 1.2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 35px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
