:root {
  --navy: #153564;
  --navy-deep: #0d2446;
  --green: #436c40;
  --gold: #d6a23e;
  --bone: #f4efe6;
  --ink: #1a1a18;
  --muted: #736d5a;
  --line: #c8bea4;
  --white: #fff;
  --motion-micro: 160ms;
  --motion-ui: 240ms;
  --motion-reveal: 720ms;
  --motion-hero: 1200ms;
  --motion-ease: cubic-bezier(.16, 1, .3, 1);
  --motion-ease-ui: cubic-bezier(.22, 1, .36, 1);
  --motion-offset: 24px;
  --motion-stagger: 70ms;
  --page: min(100% - 48px, 1480px);
  --serif: "Newsreader", Georgia, serif;
  --sans: "Manrope", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bone);
  font: 400 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, dl, dd, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

.skip-link {
  position: fixed;
  z-index: 50;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 10;
  width: 100%;
  min-height: 94px;
  display: grid;
  grid-template-columns: minmax(160px, 260px) 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 12px max(24px, calc((100vw - 1480px) / 2));
  background: var(--white);
  border-bottom: 1px solid #e5dfd2;
}
.brand { width: 180px; }
.brand img { max-height: 70px; object-fit: contain; }
.primary-nav { display: flex; justify-content: center; gap: clamp(20px, 3vw, 52px); font-size: 14px; font-weight: 650; }
.primary-nav a, .language-link { position: relative; }
.primary-nav a::after, .language-link::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--motion-ui) var(--motion-ease-ui);
}
.primary-nav a:hover::after, .primary-nav a:focus-visible::after,
.language-link:hover::after, .language-link:focus-visible::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 20px; }
.language-link { font-family: "Alexandria", sans-serif; font-size: 13px; font-weight: 600; }
.donate-button { padding: 13px 22px; color: var(--navy-deep); background: var(--gold); font-size: 14px; font-weight: 750; transition: background var(--motion-micro) ease-out, transform var(--motion-micro) ease-out; }
.donate-button:hover, .donate-button:focus-visible { background: #e4b653; }
.donate-button:active { transform: translateY(1px); }

.hero {
  height: calc(100svh - 94px);
  min-height: 640px;
  display: grid;
  grid-template-columns: minmax(410px, 0.85fr) minmax(0, 1.35fr);
  color: var(--white);
  background: var(--navy);
}
.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 4vw, 72px) clamp(32px, 5.4vw, 108px);
  background:
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 25% 100%,
    var(--navy);
}
.hero-kicker, .section-marker {
  margin-bottom: 24px;
  color: var(--green);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero-kicker { color: var(--gold); }
.hero h1 {
  max-width: 760px;
  font: 500 clamp(50px, 4.5vw, 86px)/.94 var(--serif);
  letter-spacing: -.035em;
}
.hero h1 em, .editorial-statement h2 em, .ownership h2 em { color: var(--gold); font-weight: 400; }
.hero-intro { max-width: 640px; margin-top: 24px; color: rgba(255,255,255,.82); font-size: clamp(16px, 1.15vw, 19px); }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 30px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 13px 22px; border: 1px solid transparent; font-size: 14px; font-weight: 750; transition: color 180ms ease, background 180ms ease, transform 180ms ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-gold { color: var(--navy-deep); background: var(--gold); }
.button-gold:hover, .button-gold:focus-visible { background: #e4b653; }
.text-link { display: inline-flex; gap: 10px; align-items: center; color: var(--white); font-size: 14px; font-weight: 700; }
.text-link span { transition: transform 180ms ease; }
.text-link:hover span, .text-link:focus-visible span { transform: translateX(5px); }
.text-link.dark { color: var(--navy); }
.hero-status { margin-top: 26px; padding-top: 15px; color: rgba(255,255,255,.58); border-top: 1px solid rgba(255,255,255,.2); font-size: 10px; font-weight: 650; letter-spacing: .07em; text-transform: uppercase; }
.hero-media { position: relative; min-height: 640px; overflow: hidden; background: var(--navy-deep); }
.hero-poster,
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-poster { z-index: 0; animation: hero-drift 20s ease-in-out infinite alternate; transition: opacity 700ms var(--motion-ease); }
.hero-video { z-index: 1; opacity: 0; background: var(--navy-deep); transition: opacity 700ms var(--motion-ease); }
.hero-media.is-video-playing .hero-video { opacity: 1; }
.hero-media.is-video-playing .hero-poster { opacity: 0; }
.hero-media::after { position: absolute; z-index: 2; inset: 0; content: ""; background: linear-gradient(90deg, rgba(21,53,100,.3), transparent 35%); pointer-events: none; }
.hero-media figcaption { position: absolute; z-index: 3; right: 28px; bottom: 24px; max-width: 280px; padding: 12px 15px; color: var(--white); background: rgba(13,36,70,.78); border-left: 2px solid var(--gold); font-size: 11px; line-height: 1.5; }

/* Motion system: one hero sequence, then supporting in-view reveals. */
html.js .hero-media,
html.js .hero-kicker,
html.js .hero-intro,
html.js .hero-actions,
html.js .hero-status,
html.js .hero-media figcaption { opacity: 0; }
html.js.motion-ready .hero-media {
  animation: hero-media-in var(--motion-hero) var(--motion-ease) 50ms both;
}
html.js.motion-ready .hero-kicker,
html.js.motion-ready .hero-intro,
html.js.motion-ready .hero-actions,
html.js.motion-ready .hero-status,
html.js.motion-ready .hero-media figcaption {
  animation: hero-support-in 680ms var(--motion-ease) both;
}
html.js.motion-ready .hero-kicker { animation-delay: 220ms; }
html.js.motion-ready .hero-intro { animation-delay: 820ms; }
html.js.motion-ready .hero-actions { animation-delay: 980ms; }
html.js.motion-ready .hero-status { animation-delay: 1100ms; }
html.js.motion-ready .hero-media figcaption { animation-delay: 760ms; }

.word-reveal { visibility: visible; }
html.js .word-reveal[data-word-reveal]:not(.is-ready) { opacity: 0; }
.word-reveal__word {
  display: inline-block;
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition:
    opacity 800ms var(--motion-ease),
    transform 800ms var(--motion-ease);
  transition-delay: calc(320ms + var(--word-index) * var(--motion-stagger));
  will-change: opacity, transform;
}
.word-reveal__word.is-accent { color: var(--gold); font-style: italic; font-weight: 400; }
.word-reveal.is-visible .word-reveal__word { opacity: 1; transform: translate3d(0, 0, 0); }

html.js .animate-on-scroll {
  animation-name: section-reveal;
  animation-duration: var(--motion-reveal);
  animation-timing-function: var(--motion-ease);
  animation-delay: var(--reveal-delay, 0ms);
  animation-fill-mode: both;
  animation-play-state: paused;
  will-change: opacity, transform;
}
html.js .animate-on-scroll.reveal-media { animation-name: media-reveal; }
html.js .animate-on-scroll.is-visible { animation-play-state: running; }

.editorial-statement { padding: clamp(92px, 10vw, 168px) max(24px, calc((100vw - 1320px) / 2)); }
.statement-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .55fr); gap: clamp(48px, 9vw, 150px); align-items: end; }
.editorial-statement h2 { max-width: 900px; color: var(--navy); font: 500 clamp(52px, 7vw, 116px)/.92 var(--serif); letter-spacing: -.045em; }
.editorial-statement h2 em { color: var(--green); }
.statement-copy { padding-bottom: 12px; }
.statement-copy p { margin-bottom: 30px; color: var(--muted); font-size: 18px; }

.pillars { width: var(--page); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pillars article { min-height: 340px; padding: 38px clamp(24px, 3.2vw, 52px) 48px; border-right: 1px solid var(--line); }
.pillars article:last-child { border-right: 0; }
.pillar-number { margin-bottom: 82px; color: var(--gold); font: 600 13px/1 var(--sans); }
.pillars h3 { max-width: 320px; margin-bottom: 18px; color: var(--navy); font: 500 clamp(29px, 2.2vw, 40px)/1.05 var(--serif); }
.pillars article > p:last-child { max-width: 360px; color: var(--muted); }

.project-feature { margin-top: clamp(96px, 11vw, 180px); display: grid; grid-template-columns: 1.25fr .75fr; background: var(--navy-deep); }
.project-image { min-height: 780px; }
.project-image img { width: 100%; height: 100%; object-fit: cover; }
.project-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(56px, 6vw, 104px); color: var(--white); }
.section-marker.light { color: var(--gold); }
.project-copy h2 { max-width: 620px; font: 500 clamp(48px, 5vw, 84px)/.98 var(--serif); letter-spacing: -.035em; }
.project-lead { max-width: 620px; margin-top: 28px; color: rgba(255,255,255,.72); font-size: 17px; }
.target-grid { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 48px; border-top: 1px solid rgba(255,255,255,.25); border-left: 1px solid rgba(255,255,255,.25); }
.target-grid div { padding: 24px 20px; border-right: 1px solid rgba(255,255,255,.25); border-bottom: 1px solid rgba(255,255,255,.25); }
.target-grid dt { color: var(--gold); font: 500 clamp(27px, 2.5vw, 42px)/1 var(--serif); }
.target-grid dd { margin-top: 7px; color: rgba(255,255,255,.68); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.targets-note { margin: 16px 0 30px; color: rgba(255,255,255,.52); font-size: 11px; }
.button-outline { align-self: flex-start; color: var(--white); border-color: rgba(255,255,255,.56); }
.button-outline:hover, .button-outline:focus-visible { color: var(--navy-deep); background: var(--white); }

.work { padding: clamp(96px, 11vw, 180px) max(24px, calc((100vw - 1480px) / 2)); background: var(--white); }
.work-heading { display: grid; grid-template-columns: .35fr 1fr; gap: 42px; margin-bottom: 70px; align-items: start; }
.work-heading h2 { max-width: 1020px; color: var(--navy); font: 500 clamp(48px, 6vw, 96px)/.94 var(--serif); letter-spacing: -.04em; }
.work-mosaic { display: grid; grid-template-columns: 1.2fr .8fr; grid-template-rows: repeat(2, minmax(300px, 440px)); gap: 4px; background: var(--white); }
.work-item { position: relative; overflow: hidden; background: var(--ink); }
.work-item.water { grid-row: 1 / span 2; }
.work-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms cubic-bezier(.2,.7,.2,1); }
.work-item:hover img { transform: scale(1.025); }
.work-item::after { position: absolute; inset: 40% 0 0; content: ""; background: linear-gradient(transparent, rgba(13,36,70,.88)); }
.work-label { position: absolute; z-index: 2; right: 28px; bottom: 26px; left: 28px; color: var(--white); }
.work-label span { display: block; margin-bottom: 7px; color: var(--gold); font-size: 11px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.work-label strong { display: block; max-width: 470px; font: 500 clamp(24px, 2.2vw, 36px)/1.08 var(--serif); }
.work-label { transition: transform 520ms var(--motion-ease); }
.work-item:hover .work-label { transform: translateY(-6px); }

.ownership { position: relative; min-height: 830px; display: grid; align-items: end; overflow: hidden; color: var(--white); background: var(--navy-deep); }
.ownership > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.ownership::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(13,36,70,.94) 0, rgba(13,36,70,.78) 42%, rgba(13,36,70,.12) 78%); }
.ownership-copy { position: relative; z-index: 2; max-width: 960px; padding: clamp(70px, 9vw, 150px) max(24px, calc((100vw - 1480px) / 2)); }
.ownership h2 { max-width: 900px; font: 500 clamp(52px, 6.4vw, 104px)/.94 var(--serif); letter-spacing: -.04em; }
.ownership-copy > p:last-child { max-width: 660px; margin-top: 30px; color: rgba(255,255,255,.75); font-size: 18px; }

.join { display: grid; grid-template-columns: 1fr auto; gap: 64px; align-items: end; padding: clamp(82px, 9vw, 140px) max(24px, calc((100vw - 1320px) / 2)); background: var(--gold); }
.join h2 { max-width: 880px; color: var(--navy-deep); font: 500 clamp(48px, 6vw, 92px)/.95 var(--serif); letter-spacing: -.04em; }
.join .section-marker { color: var(--navy); }
.join-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding-bottom: 12px; }
.button-navy { color: var(--white); background: var(--navy); }
.button-navy:hover, .button-navy:focus-visible { background: var(--navy-deep); }

.prototype-notes { display: grid; grid-template-columns: 180px 1fr; gap: 28px; padding: 30px max(24px, calc((100vw - 1320px) / 2)); color: rgba(255,255,255,.64); background: var(--ink); font-size: 12px; }
.prototype-notes strong { color: var(--gold); letter-spacing: .1em; text-transform: uppercase; }

.site-footer { display: grid; grid-template-columns: 180px 1fr auto; gap: 34px; align-items: center; padding: 38px max(24px, calc((100vw - 1480px) / 2)); color: var(--white); background: var(--navy-deep); }
.site-footer img { width: 160px; padding: 8px; background: var(--white); }
.site-footer > p { font-family: var(--serif); font-size: 20px; }
.site-footer .footer-meta { color: rgba(255,255,255,.42); font-family: var(--sans); font-size: 11px; }

@keyframes hero-drift {
  from { transform: scale(1.01); }
  to { transform: scale(1.055); }
}

@keyframes hero-media-in {
  from { opacity: 0; clip-path: inset(0 0 0 10%); transform: scale(.985); }
  to { opacity: 1; clip-path: inset(0); transform: scale(1); }
}

@keyframes hero-support-in {
  from { opacity: 0; transform: translate3d(0, 18px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes section-reveal {
  from { opacity: 0; transform: translate3d(0, var(--motion-offset), 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes media-reveal {
  from { opacity: 0; transform: translate3d(0, 20px, 0) scale(.985); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@media (max-width: 1080px) {
  .site-header { grid-template-columns: auto 1fr; }
  .primary-nav { display: none; }
  .header-actions { justify-self: end; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero { height: auto; }
  .hero-copy { min-height: 660px; }
  .hero-media { min-height: 600px; }
  .statement-grid, .work-heading { grid-template-columns: 1fr; }
  .statement-copy { max-width: 700px; }
  .pillars { grid-template-columns: 1fr; }
  .pillars article { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .pillars article:last-child { border-bottom: 0; }
  .pillar-number { margin-bottom: 32px; }
  .project-feature { grid-template-columns: 1fr; }
  .project-image { min-height: 620px; }
  .work-mosaic { grid-template-columns: 1fr; grid-template-rows: repeat(3, 560px); }
  .work-item.water { grid-row: auto; }
  .join { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 680px) {
  :root { --page: min(100% - 32px, 1480px); }
  .site-header { min-height: 76px; padding: 9px 16px; }
  .brand { width: 125px; }
  .brand img { max-height: 55px; }
  .language-link { display: none; }
  .donate-button { padding: 10px 14px; }
  .hero-copy { min-height: 650px; padding: 72px 24px 58px; }
  .hero h1 { font-size: clamp(47px, 15vw, 68px); }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-media { min-height: 470px; }
  .hero-media figcaption { right: 16px; bottom: 16px; left: 16px; max-width: none; }
  .editorial-statement { padding-right: 20px; padding-left: 20px; }
  .editorial-statement h2, .work-heading h2, .ownership h2, .join h2 { font-size: clamp(46px, 14vw, 68px); }
  .project-image { min-height: 480px; }
  .project-copy { padding: 64px 22px; }
  .project-copy h2 { font-size: 50px; }
  .target-grid { grid-template-columns: 1fr 1fr; }
  .work { padding-right: 16px; padding-left: 16px; }
  .work-mosaic { grid-template-rows: repeat(3, 460px); }
  .ownership { min-height: 760px; }
  .ownership::after { background: linear-gradient(0deg, rgba(13,36,70,.96) 0, rgba(13,36,70,.72) 58%, rgba(13,36,70,.1) 100%); }
  .ownership-copy { padding: 70px 20px; }
  .join { padding-right: 20px; padding-left: 20px; }
  .prototype-notes { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; }
  .word-reveal__word { transition-delay: calc(260ms + var(--word-index) * 48ms); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-video { display: none; }
  html.js .hero-media,
  html.js .hero-kicker,
  html.js .hero-intro,
  html.js .hero-actions,
  html.js .hero-status,
  html.js .hero-media figcaption,
  html.js .word-reveal[data-word-reveal]:not(.is-ready),
  .word-reveal__word,
  html.js .animate-on-scroll {
    opacity: 1;
    clip-path: none;
    transform: none;
    animation: none;
    transition: none;
  }
}
