/* ===== Fonts (self-hosted; Switzer files are the unmodified Fontshare originals, see assets/fonts/Switzer-FFL.txt) ===== */
@font-face { font-family: "Switzer"; src: url("../assets/fonts/Switzer-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("../assets/fonts/EBGaramond-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("../assets/fonts/EBGaramond-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../assets/fonts/IBMPlexMono-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../assets/fonts/IBMPlexMono-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

/* ===== Tokens ===== */
:root {
  --black: #070707;
  --ink: #111;
  --off: #ededed;
  --white: #fff;
  --blue: #0000fe;
  --line: rgba(7, 7, 7, .2);
  --muted: #4a4a4a;
  --sans: "Switzer", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "EB Garamond", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --gutter: clamp(20px, 4vw, 56px);
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.5 var(--sans); color: var(--ink); background: var(--off); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
ul, ol, dl, dd, figure { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--blue); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.dark :focus-visible, .hero :focus-visible, .closing :focus-visible, .site-footer :focus-visible { outline-color: #8f8fff; }

/* ===== Type helpers ===== */
.label, .eyebrow, .num, .legal, .stats dd, .pills li, .form label span, .meta dt {
  font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
}
.label { color: var(--muted); }
.serif-sm { font: 400 clamp(26px, 3vw, 40px)/1.1 var(--serif); letter-spacing: -.01em; }
.serif-it { font: italic 400 clamp(18px, 2vw, 24px)/1.2 var(--serif); margin-bottom: 8px; }
.h-xl { font-size: clamp(40px, 5.5vw, 76px); line-height: .95; letter-spacing: -.04em; font-weight: 600; margin: 14px 0 22px; }
.h-mega { font-size: clamp(48px, 9vw, 132px); line-height: .9; letter-spacing: -.055em; font-weight: 600; }
.mt { margin-top: 56px; }
.small { font-size: 13px; color: var(--muted); }
.note { margin-top: 28px; font-size: 13px; color: var(--muted); }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 12px 22px; border-radius: 999px; border: 0; font-weight: 500; font-size: 14px; text-decoration: none; cursor: pointer; transition: transform .15s, background .15s; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: #1a1aff; transform: translateY(-1px); }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.link-u { font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }

/* ===== Header ===== */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(237, 237, 237, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 24px; width: auto; }
.nav { display: flex; gap: 28px; font-size: 13px; }
.nav a { text-decoration: none; }
.nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.bar-actions { display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; border: 1px solid var(--ink); border-radius: 999px; padding: 2px; background: #fff; }
.lang button { border: 0; background: transparent; font: 500 10px/1 var(--mono); padding: 6px 9px; border-radius: 999px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.nav-toggle { display: none; width: 38px; height: 38px; border: 1px solid var(--ink); border-radius: 50%; background: #fff; position: relative; cursor: pointer; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink); transition: transform .2s; }
.nav-toggle span:first-child { top: 14px; } .nav-toggle span:last-child { top: 22px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { position: relative; background: var(--black); color: #fff; overflow: hidden; }
.hero-copy { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: clamp(48px, 7vw, 104px); padding-bottom: clamp(32px, 4vw, 56px); }
.eyebrow { color: #a8a8a8; margin-bottom: clamp(20px, 3vw, 36px); }
.hero h1 { font-size: clamp(52px, 8.6vw, 128px); line-height: .92; letter-spacing: -.05em; font-weight: 600; max-width: 10em; }
.lead { max-width: 34em; margin: clamp(20px, 2.6vw, 32px) auto; color: #d7d7d7; font-size: clamp(15px, 1.3vw, 18px); }
.cta-row { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; }
/* Photo sits under the wording; its top edge fades up into the solid black */
.hero-media { position: relative; height: clamp(300px, 46vw, 660px); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-media::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 62%; background: linear-gradient(180deg, var(--black) 0%, rgba(7, 7, 7, .72) 28%, rgba(7, 7, 7, .3) 62%, transparent 100%); }
.stats { display: flex; gap: clamp(24px, 4vw, 56px); margin-top: clamp(32px, 5vw, 64px); padding-top: 24px; border-top: 1px solid #333; max-width: 560px; }
.stats dt { font-size: clamp(20px, 2vw, 28px); font-weight: 500; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stats dd { color: #9a9a9a; margin-top: 2px; font-size: 10px; }
/* Hero stats: an even row under the photo */
.hero .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; max-width: none; margin: 0; padding: clamp(24px, 3vw, 40px) 0; border-top: 0; }
.hero .stats > div + div { padding-left: clamp(16px, 3vw, 40px); border-left: 1px solid #262626; }
.hero .stats dt { font-size: clamp(24px, 3vw, 40px); }
.hero .stats dd { font-size: 11px; }

/* ===== Sections ===== */
.section { padding: clamp(56px, 8vw, 112px) 0; }
.section.tight { padding: clamp(40px, 6vw, 80px) 0; }
.section.light { background: var(--off); }
.section.white { background: #fff; }
.section.dark { background: var(--black); color: #fff; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--ink); padding-top: 18px; margin-bottom: 36px; }
.dark .sec-head { border-color: #444; }
.sec-head .num { color: var(--muted); }
.sub-head { margin: clamp(48px, 6vw, 80px) 0 16px; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 2.4fr; gap: 40px; border-top: 1px solid var(--ink); padding-top: 18px; }
.statement { font-size: clamp(22px, 2.6vw, 36px); line-height: 1.12; letter-spacing: -.03em; font-weight: 500; max-width: 24em; }
.meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; font-size: 13px; }
.meta dt { color: var(--muted); margin-bottom: 6px; }
.rise { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); margin-top: 16px; }
.rise li { padding: 20px 24px 8px 0; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.rise .big { font-size: clamp(64px, 8vw, 110px); line-height: 1; font-weight: 600; letter-spacing: -.05em; color: var(--ink); }
.rise .big.blue { color: var(--blue); }
.rise b { color: var(--ink); font-size: 14px; font-weight: 600; }
.band { position: relative; height: clamp(320px, 48vw, 640px); overflow: hidden; background: #222; }
.band img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.band figcaption { position: absolute; left: clamp(16px, 4vw, 48px); bottom: 20px; font: 400 12px/1.4 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--white); }

/* Impact */
.stats-xl { max-width: none; border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.stats-xl dt { font-size: clamp(40px, 5.4vw, 84px); letter-spacing: -.05em; font-weight: 500; line-height: 1; }
.stats-xl dd { margin-top: 10px; font-size: 11px; }

/* Programs */
.program { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.program-copy p + p { margin-top: 14px; }
.program-copy p:not(.label) { max-width: 32em; color: #333; font-size: 15px; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; }
.pills li { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; background: #f6f6f6; }
.collage { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; aspect-ratio: 1.2; }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage .c1 { grid-row: 1 / 3; }
.program-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--ink); padding-top: 24px; }
.program-list h3 { font-size: 22px; letter-spacing: -.03em; font-weight: 600; margin-bottom: 8px; }
.program-list p { color: var(--muted); font-size: 14px; }

/* Slider */
.slider-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.slider-track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 calc((100% - 24px) / 3); scroll-snap-align: start; }
.slide img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: #ccc; }
.slide figcaption { font: 400 11px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-top: 8px; }
.slider-ui { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; }
.dots { display: flex; gap: 6px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: #b8b8b8; transition: background .2s, transform .2s; }
.dots i.on { background: var(--ink); transform: scale(1.3); }
.arrows { display: flex; gap: 8px; }
.arrows button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--ink); background: #fff; cursor: pointer; font-size: 16px; transition: background .15s, color .15s; }
.arrows button:hover:not(:disabled) { background: var(--ink); color: #fff; }
.arrows button:disabled { opacity: .35; cursor: default; }

/* Partners */
/* Static wrapped grid of white tiles (no JS / reduced motion); JS turns it into a sliding strip */
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-top: 14px; }
.logos li { display: flex; align-items: center; justify-content: center; height: 104px; padding: 18px; background: var(--white); }
.marquee.is-marquee { overflow: hidden; margin-top: 14px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee var(--marquee-dur, 40s) linear infinite; }
.marquee-track .logos { display: flex; flex: none; gap: 12px; margin: 0; padding-right: 12px; }
.marquee-track .logos li { flex: none; width: 168px; }
.marquee.is-marquee:hover .marquee-track, .marquee.is-marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logos img { max-height: 56px; max-width: 124px; width: auto; height: auto; object-fit: contain; }
.logos .logo-text { font-weight: 600; letter-spacing: -.03em; text-align: center; font-size: 16px; line-height: 1.15; }

/* People */
.people { display: grid; gap: 28px 16px; margin-top: 28px; }
.people li { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.people img { width: 100%; height: auto; object-fit: cover; margin-bottom: 8px; background: #d6d6d6; }
.people b { font-weight: 600; font-size: 14px; letter-spacing: -.02em; }
.people span:not(.label) { color: var(--muted); }
.people-amb { grid-template-columns: repeat(4, 1fr); }
.people-amb img { aspect-ratio: 3 / 4; }
.people-amb .more { justify-content: center; font-family: var(--serif); font-style: italic; }
.people-amb .more b { font: italic 400 clamp(22px, 2.4vw, 32px)/1.1 var(--serif); letter-spacing: -.01em; }
.people-dir { grid-template-columns: repeat(7, 1fr); }
.people-dir img { aspect-ratio: 1; }
.media { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; border-top: 1px solid var(--ink); padding-top: 20px; margin-top: 14px; }
.media h3 { margin-bottom: 12px; }
.media p { font-size: 15px; font-weight: 500; }
.media small { font: 400 9px var(--mono); text-transform: uppercase; color: var(--muted); margin-left: 4px; }

/* Partner */
.lead-dark { max-width: 38em; margin: 24px 0 44px; color: #444; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.cards li { background: var(--off); min-height: 260px; padding: 24px; display: flex; flex-direction: column; justify-content: flex-end; }
.cards li.inv { background: var(--black); color: #fff; }
.cards h3 { font-size: 18px; letter-spacing: -.03em; font-weight: 600; margin-bottom: 6px; }
.cards p { font-size: 13px; color: var(--muted); }
.cards .inv p { color: #bbb; }
.shape { display: block; width: 56px; height: 56px; background: var(--ink); margin-bottom: auto; }
.s1 { background: none; position: relative; }
.s1::before, .s1::after { content: ""; position: absolute; top: 0; bottom: 0; background: var(--ink); }
.s1::before { left: 0; width: 46%; border-radius: 0 999px 999px 0; }
.s1::after { right: 0; width: 46%; border-radius: 999px 0 0 999px; }
.s2 { border-radius: 50%; }
.s3 { border-radius: 50% 50% 0 50%; }
.s4 { background: var(--blue); clip-path: polygon(50% 0, 62% 14%, 80% 8%, 82% 28%, 100% 32%, 90% 50%, 100% 68%, 82% 72%, 80% 92%, 62% 86%, 50% 100%, 38% 86%, 20% 92%, 18% 72%, 0 68%, 10% 50%, 0 32%, 18% 28%, 20% 8%, 38% 14%); }
.partner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); margin-top: clamp(48px, 7vw, 96px); align-items: start; }
.steps { border-top: 1px solid var(--ink); margin-top: 12px; }
.steps li { display: grid; grid-template-columns: 36px 1fr; padding: 22px 0; border-bottom: 1px solid var(--line); }
.steps .num { color: var(--muted); padding-top: 6px; }
.steps h3 { font-size: 22px; letter-spacing: -.03em; font-weight: 600; margin-bottom: 8px; }
.steps p { color: #444; font-size: 14px; max-width: 32em; }
.form { background: var(--off); padding: clamp(20px, 3vw, 32px); display: grid; gap: 14px; }
.form h3 { font-size: 26px; letter-spacing: -.03em; font-weight: 600; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 6px; }
.form label span { color: var(--muted); }
.form input, .form select, .form textarea { width: 100%; padding: 12px; border: 1px solid #fff; background: #fff; border-radius: 0; font-size: 14px; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--blue); outline: none; }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; }
.status { font-size: 13px; min-height: 1.2em; }
.status.ok { color: #0a7a2f; } .status.err { color: #b3261e; }

/* Closing + footer */
.closing { position: relative; background: var(--black); color: #fff; overflow: hidden; }
.closing-media { position: absolute; inset: 0; }
.closing-media img { width: 100%; height: 100%; object-fit: cover; object-position: 20% 50%; }
.closing-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,7,7,.85), rgba(7,7,7,.35)); }
.closing-inner { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; padding-top: clamp(120px, 20vw, 260px); padding-bottom: clamp(40px, 5vw, 64px); flex-wrap: wrap; }
.closing .h-mega { font-size: clamp(44px, 8vw, 112px); }
.site-footer { background: var(--black); color: #fff; padding-top: clamp(40px, 5vw, 64px); }
.site-footer .logo img { height: 28px; }
.site-footer .small { margin-top: 28px; color: #aaa; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 48px; }
.site-footer .label { color: #888; margin-bottom: 12px; }
.site-footer ul { display: grid; gap: 6px; font-size: 13px; color: #ddd; }
.legal { display: flex; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid #262626; color: #8a8a8a; font-size: 10px; flex-wrap: wrap; }

/* ===== Responsive ===== */
@media (max-width: 1000px) {
  .nav { position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; gap: 0; background: var(--off); border-bottom: 1px solid var(--line); display: none; padding: 8px var(--gutter) 16px; font-size: 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: inline-block; }
  .hide-sm { display: none; }
  .hero-media { height: clamp(260px, 64vw, 460px); }
  .about-grid, .program, .partner-grid { grid-template-columns: 1fr; }
  .meta { grid-template-columns: 1fr; gap: 18px; }
  .rise { grid-template-columns: repeat(2, 1fr); }
  .stats-xl { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
  .stats-xl dt { font-size: clamp(40px, 11vw, 72px); }
  .program-list, .media { grid-template-columns: 1fr; }
  .logos { grid-template-columns: repeat(3, 1fr); }
  .people-amb { grid-template-columns: repeat(3, 1fr); }
  .people-dir { grid-template-columns: repeat(4, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .slide { flex-basis: calc((100% - 12px) / 2); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .logos { grid-template-columns: repeat(2, 1fr); }
  .people-amb, .people-dir { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: 1fr; }
  .cards li { min-height: 190px; }
  .slide { flex-basis: 86%; }
  .form .two { grid-template-columns: 1fr; }
  .stats { gap: 24px; }
  .closing-inner { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
