/* Glow on Water — editorial visual system */
:root {
  --ink: #0B1E2D;
  --terracotta: #C05A38;
  --terracotta-dark: #A0472C;
  --gold: #E8A33D;
  --sage: #6B8F71;
  --cream: #FAF7F2;
  --cream-dark: #F0EBE3;
  --text-primary: #1A1A1A;
  --text-secondary: #5A5A5A;
  --text-muted: #8A8A8A;
  --white: #FFFFFF;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
  --page-gutter: clamp(1.25rem, 5vw, 5rem);
  --content-width: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--cream); color: var(--text-primary); font-family: var(--sans); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--gold); color: var(--ink); }
.wrap { width: min(100% - var(--page-gutter) * 2, var(--content-width)); margin-inline: auto; }
.section-pad { padding-block: clamp(5rem, 10vw, 9rem); }
.kente-strip { height: 6px; background: repeating-linear-gradient(90deg, var(--terracotta) 0 16px, var(--gold) 16px 28px, var(--ink) 28px 43px, var(--sage) 43px 55px, var(--terracotta) 55px 70px); }
.skip-link { position: absolute; z-index: 1000; top: 1rem; left: 1rem; padding: .7rem 1rem; background: var(--cream); color: var(--ink); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: fixed; z-index: 100; inset: 0 0 auto; color: var(--cream); transition: background .25s ease, color .25s ease, box-shadow .25s ease, border-color .25s ease; border-bottom: 1px solid transparent; }
.site-header.scrolled { color: var(--ink); background: rgb(250 247 242 / 92%); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: rgb(11 30 45 / 10%); box-shadow: 0 4px 24px rgb(11 30 45 / 5%); }
.header-inner { width: min(100% - var(--page-gutter) * 2, 1440px); margin: auto; min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; font-weight: 700; letter-spacing: -.04em; font-size: 1.12rem; white-space: nowrap; }
.brand-mark { width: 43px; height: 43px; flex: 0 0 auto; }
.brand-light { font-weight: 400; }
.primary-nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.4rem); }
.primary-nav a { text-decoration: none; font-size: .78rem; font-weight: 600; letter-spacing: .015em; transition: color .2s ease; }
.primary-nav a:hover { color: var(--gold); }
.primary-nav .nav-cta { padding: .8rem 1rem; background: var(--terracotta); color: white; }
.primary-nav .nav-cta:hover { background: var(--terracotta-dark); color: white; }
.menu-toggle { display: none; border: 0; background: transparent; color: inherit; padding: .5rem; }
.menu-toggle span { display: block; width: 26px; height: 2px; background: currentColor; margin: 6px 0; transition: transform .2s ease; }
.hero { position: relative; min-height: min(900px, 100svh); min-height: max(720px, 100svh); display: flex; align-items: center; overflow: hidden; color: var(--white); background: var(--ink); }
.hero-image { position: absolute; inset: 0; background-image: linear-gradient(90deg, rgb(5 18 28 / 84%) 0%, rgb(5 18 28 / 58%) 48%, rgb(5 18 28 / 24%) 100%), linear-gradient(0deg, rgb(5 18 28 / 65%), transparent 45%), url("../images/hero-river-niger.jpg"); background-position: center; background-size: cover; transform: scale(1.04); animation: hero-zoom 18s ease-out both; }
.hero-content { position: relative; z-index: 1; padding-top: 8rem; padding-bottom: 7rem; }
.eyebrow { margin: 0 0 1.25rem; color: var(--terracotta); font-size: .69rem; line-height: 1.5; letter-spacing: .16em; font-weight: 700; }
.hero-eyebrow { display: flex; align-items: center; gap: .65rem; color: #f6e9d8; letter-spacing: .11em; font-size: .65rem; }
.status-dot { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: #8BC49A; box-shadow: 0 0 0 4px rgb(139 196 154 / 16%); }
.hero h1 { margin: 1.4rem 0 1.25rem; max-width: 900px; font: 500 clamp(4.1rem, 10.2vw, 9.2rem)/.98 var(--serif); letter-spacing: -.065em; }
h1 em, h2 em { color: var(--gold); font-weight: 400; }
.hero-copy { max-width: 590px; color: rgb(255 255 255 / 85%); font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 1.8rem; flex-wrap: wrap; margin-top: 2rem; }
.button { min-height: 52px; display: inline-flex; justify-content: center; align-items: center; gap: 1.4rem; padding: .85rem 1.25rem; border: 0; text-decoration: none; font-size: .8rem; font-weight: 700; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--terracotta); color: white; }
.button-primary:hover { background: var(--terracotta-dark); }
.text-link { color: white; font-size: .82rem; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgb(255 255 255 / 45%); padding: .4rem 0; }
.text-link:hover { color: var(--gold); border-color: var(--gold); }
.hero-stats { display: flex; align-items: center; gap: clamp(1.3rem, 4vw, 3.5rem); margin-top: clamp(3.5rem, 7vw, 6rem); padding-top: 1.3rem; border-top: 1px solid rgb(255 255 255 / 27%); max-width: 620px; position: relative; }
.hero-stats > div { display: flex; align-items: center; gap: .75rem; }
.hero-stats strong { font: 500 2.1rem/1 var(--serif); color: var(--gold); }
.hero-stats span { color: rgb(255 255 255 / 78%); font-size: .65rem; line-height: 1.45; }
.stat-note { position: absolute; right: 0; bottom: -2rem; color: rgb(255 255 255 / 62%); font-size: .62rem; }
.scroll-cue { position: absolute; right: var(--page-gutter); bottom: 7rem; z-index: 1; display: flex; align-items: center; gap: 1rem; color: rgb(255 255 255 / 75%); text-decoration: none; writing-mode: vertical-rl; font-size: .56rem; letter-spacing: .16em; }
.scroll-cue i { display: block; height: 58px; width: 1px; background: linear-gradient(var(--gold), transparent); }
.image-disclosure { position: absolute; right: var(--page-gutter); bottom: 1rem; z-index: 1; font-size: .58rem; color: rgb(255 255 255 / 62%); }
.story-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.story-photo { margin: 0; }
.story-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--cream-dark); }
.story-photo figcaption { display: flex; justify-content: space-between; gap: 1rem; margin-top: .85rem; font-size: .58rem; letter-spacing: .1em; font-weight: 700; color: var(--text-muted); }
.story-photo figcaption span { font-weight: 400; letter-spacing: 0; }
h2 { margin: 0 0 1.5rem; font: 500 clamp(2.8rem, 6vw, 5.6rem)/1.02 var(--serif); letter-spacing: -.055em; }
h2 em { color: var(--terracotta); }
.story-copy > p:not(.eyebrow):not(.small-note) { color: var(--text-secondary); font-size: .93rem; }
.story-copy blockquote { margin: 2.2rem 0 .75rem; padding: 1rem 0 1rem 1.5rem; border-left: 3px solid var(--terracotta); font: italic 500 clamp(1.45rem, 2.5vw, 2rem)/1.35 var(--serif); }
.small-note { color: var(--text-muted); font-size: .68rem; line-height: 1.6; }
.process { position: relative; color: var(--cream); background: var(--ink); }
.process .kente-strip, .site-footer .kente-strip { position: absolute; top: 0; left: 0; right: 0; }
.eyebrow-gold { color: var(--gold); }
.section-heading { max-width: 740px; margin-bottom: 4rem; }
.section-heading h2 { margin-bottom: 1.2rem; }
.process .section-heading h2, .vision-box h3 { color: var(--cream); }
.process .section-heading h2 em { color: var(--gold); }
.section-heading > p:last-child { max-width: 560px; color: var(--text-secondary); }
.process .section-heading > p:last-child { color: rgb(250 247 242 / 70%); }
.process-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 5rem); }
.process-item { padding-top: 1.6rem; border-top: 1px solid rgb(250 247 242 / 24%); }
.process-icon { width: 72px; height: 72px; color: var(--cream); margin-bottom: 2rem; }
.process-icon svg { width: 100%; height: 100%; }
.step-label { color: var(--gold); font-size: .62rem; font-weight: 700; letter-spacing: .15em; }
.process-item h3 { margin: .35rem 0 .75rem; color: var(--cream); font: 500 2.1rem/1.2 var(--serif); }
.process-item > p:last-child { color: rgb(250 247 242 / 72%); font-size: .86rem; }
.technical-note { max-width: 850px; margin: 4rem 0 0; padding: 1rem 1.2rem; border: 1px solid rgb(250 247 242 / 20%); color: rgb(250 247 242 / 72%); font-size: .73rem; }
.technical-note strong { color: var(--gold); margin-right: .5rem; }
.festival-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 8vw, 8rem); align-items: end; margin-bottom: 4rem; }
.festival-intro h2 { margin-bottom: 0; }
.festival-text { max-width: 560px; color: var(--text-secondary); font-size: .9rem; }
.festival-text p:first-child { color: var(--text-primary); font-size: 1.12rem; font-weight: 500; }
.gallery { display: grid; grid-template-columns: 1fr 1.28fr; grid-template-rows: auto auto; gap: 1.25rem; align-items: start; }
.gallery-item { margin: 0; min-width: 0; }
.gallery-item img { width: 100%; object-fit: cover; background: var(--cream-dark); }
.gallery-tall { grid-row: span 2; }
.gallery-tall img { aspect-ratio: 4 / 5; }
.gallery-wide img { aspect-ratio: 16 / 7; }
.gallery-item figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: .7rem; padding-top: .8rem; font: 500 1rem var(--serif); }
.gallery-item figcaption span { color: var(--terracotta); font: 700 .62rem var(--sans); }
.gallery-item figcaption small { margin-left: auto; color: var(--text-muted); font: 400 .62rem var(--sans); }
.impact { background: var(--cream-dark); }
.impact .section-heading { max-width: 760px; }
.impact-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgb(11 30 45 / 22%); border-bottom: 1px solid rgb(11 30 45 / 22%); }
.impact-item { padding: 2.2rem clamp(1rem, 3vw, 3rem) 2.5rem 0; }
.impact-item + .impact-item { border-left: 1px solid rgb(11 30 45 / 22%); padding-left: clamp(1rem, 3vw, 3rem); }
.impact-item strong { display: block; font: 500 clamp(3.2rem, 7vw, 6rem)/1 var(--serif); letter-spacing: -.06em; color: var(--terracotta); }
.impact-unit { display: block; margin-top: 1rem; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.impact-item p { max-width: 250px; color: var(--text-secondary); font-size: .82rem; }
.targets-note { color: var(--text-muted); font-size: .68rem; }
.vision-box { margin-top: 4rem; padding: clamp(2rem, 6vw, 5rem); color: var(--cream); background: var(--ink); display: grid; grid-template-columns: .8fr 1.2fr; column-gap: 4rem; }
.vision-box .eyebrow { grid-column: 1 / -1; }
.vision-box h3 { margin: 0; font: 500 clamp(2.5rem, 4vw, 4.4rem)/1.06 var(--serif); letter-spacing: -.04em; }
.vision-box > p:not(.eyebrow):not(.vision-footnote) { margin-top: 0; color: rgb(250 247 242 / 76%); font-size: .9rem; }
.vision-footnote { grid-column: 2; color: var(--gold); font-size: .7rem; }
.quote-band { padding: clamp(4rem, 9vw, 8rem) var(--page-gutter); background: var(--terracotta); color: var(--cream); text-align: center; }
.quote-inner { max-width: 960px; }
.quote-band .eyebrow { color: rgb(255 255 255 / 75%); }
.quote-band blockquote { margin: 1.2rem auto 2rem; font: italic 500 clamp(2rem, 4.5vw, 4.2rem)/1.2 var(--serif); letter-spacing: -.035em; }
.quote-credit { font-size: .65rem; font-weight: 700; letter-spacing: .16em; }
.partner-grid { display: grid; grid-template-columns: 1fr .82fr; gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.partner-copy h2 { font-size: clamp(2.7rem, 5vw, 4.8rem); }
.partner-copy > p:not(.eyebrow) { color: var(--text-secondary); font-size: .9rem; }
.partner-list { list-style: none; padding: 0; margin: 2rem 0; border-top: 1px solid rgb(11 30 45 / 15%); }
.partner-list li { padding: .85rem 0 .85rem 1.6rem; border-bottom: 1px solid rgb(11 30 45 / 15%); position: relative; font-size: .82rem; }
.partner-list li::before { content: "↗"; position: absolute; left: 0; color: var(--terracotta); }
.contact-details { display: grid; gap: 1rem; margin-top: 2rem; }
.contact-details a, .contact-details p { margin: 0; display: grid; gap: .15rem; text-decoration: none; font-size: .85rem; overflow-wrap: anywhere; }
.contact-details a:hover { color: var(--terracotta); }
.contact-details span { color: var(--text-muted); font-size: .64rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.form-panel { background: var(--white); padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid rgb(11 30 45 / 9%); box-shadow: 0 16px 50px rgb(11 30 45 / 5%); }
.form-kicker { margin: 0 0 .7rem; color: var(--terracotta); font-size: .61rem; font-weight: 700; letter-spacing: .12em; }
.form-panel h3 { margin: 0; font: 500 2.1rem/1.2 var(--serif); }
.form-intro { color: var(--text-secondary); font-size: .82rem; margin-bottom: 1.8rem; }
#partner-form { display: grid; gap: .55rem; }
#partner-form label { margin-top: .5rem; font-size: .73rem; font-weight: 700; }
#partner-form label span { color: var(--terracotta); }
#partner-form label .optional { color: var(--text-muted); font-weight: 400; }
#partner-form input, #partner-form select, #partner-form textarea { width: 100%; min-width: 0; padding: .8rem .85rem; border: 1px solid #D8D4CD; border-radius: 0; background: var(--cream); color: var(--text-primary); outline-offset: 3px; }
#partner-form textarea { resize: vertical; }
#partner-form input:focus, #partner-form select:focus, #partner-form textarea:focus { outline: 2px solid var(--terracotta); border-color: transparent; }
.form-submit { width: 100%; margin-top: 1rem; }
.form-status { min-height: 1.2rem; margin: .3rem 0 0; font-size: .76rem; }
.form-status.error { color: #9D2E20; }
.form-status.success { color: #27613C; }
.form-setup-note { margin: .2rem 0 0; color: var(--text-muted); font-size: .65rem; line-height: 1.6; }
.site-footer { position: relative; padding-top: 6px; background: var(--ink); color: var(--cream); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr 1fr; gap: 3rem; padding-block: 5rem 4rem; }
.footer-brand p { color: rgb(250 247 242 / 65%); font-size: .8rem; }
.site-footer h3 { margin: 0 0 1.2rem; color: var(--gold); font-size: .68rem; text-transform: uppercase; letter-spacing: .13em; }
.site-footer .footer-grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; gap: .65rem; }
.site-footer .footer-grid > div > a:not(.brand) { text-decoration: none; color: rgb(250 247 242 / 78%); font-size: .78rem; overflow-wrap: anywhere; }
.site-footer .footer-grid > div > a:hover { color: var(--gold); }
.site-footer .footer-grid > div > p { margin: 0; color: rgb(250 247 242 / 65%); font-size: .78rem; }
.footer-bottom { border-top: 1px solid rgb(250 247 242 / 18%); padding-block: 1.2rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-bottom p, .footer-bottom a { margin: 0; color: rgb(250 247 242 / 62%); font-size: .65rem; text-decoration: none; }
.footer-bottom a:hover { color: var(--gold); }
.reveal { opacity: 1; transform: none; }
.js-ready .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js-ready .reveal.is-visible { opacity: 1; transform: translateY(0); }
@keyframes hero-zoom { from { transform: scale(1.1); } to { transform: scale(1.02); } }
@media (min-width: 1024px) {
  .hero-content { padding-top: 9rem; }
}
@media (max-width: 1023px) {
  .header-inner { min-height: 76px; }
  .primary-nav { gap: 1rem; }
  .primary-nav a { font-size: .72rem; }
  .story-grid { gap: 3rem; }
  .partner-grid { gap: 3rem; }
  .scroll-cue { display: none; }
}
@media (max-width: 767px) {
  :root { --page-gutter: 1.25rem; }
  html { scroll-padding-top: 78px; }
  .header-inner { min-height: 72px; }
  .brand { font-size: 1rem; gap: .55rem; }
  .brand-mark { width: 37px; height: 37px; }
  .menu-toggle { display: block; cursor: pointer; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .primary-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; align-items: stretch; gap: 0; padding: .6rem var(--page-gutter) 1.25rem; background: var(--cream); color: var(--ink); border-bottom: 1px solid rgb(11 30 45 / 12%); box-shadow: 0 15px 25px rgb(11 30 45 / 7%); }
  .primary-nav.open { display: flex; flex-direction: column; }
  .primary-nav a { padding: .85rem 0; font-size: .85rem; }
  .primary-nav .nav-cta { margin-top: .5rem; padding: .85rem 1rem; text-align: center; }
  .hero { min-height: 790px; min-height: 100svh; }
  .hero-content { padding-top: 8.5rem; padding-bottom: 6rem; }
  .hero h1 { font-size: clamp(3.8rem, 17vw, 6rem); }
  .hero-eyebrow { max-width: 300px; font-size: .58rem; line-height: 1.7; }
  .hero-copy { font-size: .95rem; max-width: 460px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .hero-stats { gap: 1rem; margin-top: 3rem; padding-top: 1rem; flex-wrap: wrap; }
  .hero-stats > div { gap: .45rem; }
  .hero-stats strong { font-size: 1.7rem; }
  .hero-stats span { font-size: .58rem; }
  .stat-note { position: static; width: 100%; margin: .1rem 0 0; font-size: .58rem; }
  .image-disclosure { left: var(--page-gutter); right: auto; font-size: .53rem; }
  .story-grid, .festival-intro, .partner-grid { grid-template-columns: 1fr; }
  .story-grid { gap: 2.5rem; }
  .story-photo img { aspect-ratio: 5 / 4; }
  .story-copy h2 { font-size: clamp(3.2rem, 13vw, 5rem); }
  .process-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .process-item { display: grid; grid-template-columns: 72px 1fr; column-gap: 1.25rem; align-items: start; }
  .process-icon { grid-row: span 3; margin-bottom: 0; }
  .process-item .step-label { margin: .1rem 0 .2rem; }
  .process-item h3 { margin: 0 0 .5rem; }
  .process-item > p:last-child { grid-column: 2; margin-top: 0; }
  .technical-note { margin-top: 2.5rem; }
  .festival-intro { gap: 1.5rem; }
  .gallery { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .gallery-tall { grid-row: auto; grid-column: 1 / -1; }
  .gallery-tall img { aspect-ratio: 5 / 3; }
  .gallery-wide img { aspect-ratio: 4 / 3; }
  .gallery-item figcaption { font-size: .84rem; gap: .45rem; flex-wrap: wrap; }
  .gallery-item figcaption small { width: 100%; margin-left: 1.6rem; }
  .impact-grid { grid-template-columns: 1fr; }
  .impact-item, .impact-item + .impact-item { padding: 1.5rem 0; border-left: 0; }
  .impact-item + .impact-item { border-top: 1px solid rgb(11 30 45 / 22%); }
  .impact-item strong { font-size: 4.3rem; }
  .vision-box { grid-template-columns: 1fr; gap: 1rem; margin-top: 3rem; }
  .vision-box .eyebrow, .vision-footnote { grid-column: auto; }
  .vision-box h3 { font-size: 3rem; }
  .quote-band blockquote { font-size: clamp(2rem, 9vw, 3rem); }
  .partner-copy h2 { font-size: clamp(2.8rem, 12vw, 4.2rem); }
  .form-panel { padding: 1.35rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem 1.5rem; padding-block: 4rem 3rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: .6rem; }
}
@media (max-width: 380px) {
  .hero-stats { gap: .75rem; }
  .hero-stats strong { font-size: 1.5rem; }
  .hero-stats span { font-size: .54rem; }
  .gallery { grid-template-columns: 1fr; }
  .gallery-tall { grid-column: auto; }
  .gallery-tall img, .gallery-wide img { aspect-ratio: 5 / 3; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js-ready .reveal { opacity: 1; transform: none; }
}
