/* =========================================================================
   UNF Foundation — "Sunrise Editorial" design system
   Palette drawn from the hero image: marigold, saffron, coral on warm paper.
   ========================================================================= */

:root {
  --paper: #FFF8EC;
  --paper-2: #FDEFD6;
  --cream: #FFFDF8;
  --ink: #1E1814;
  --ink-2: #4A3F37;
  --ink-3: #7A6C61;
  --line: rgba(30, 24, 20, .12);

  --marigold: #F6B21B;
  --saffron: #F2842E;
  --coral: #E9504F;
  --rose: #F7A1A0;
  --leaf: #5FA62A;
  --leaf-deep: #3E7A16;
  --sky: #3A7BD5;
  --plum: #6B2D5C;

  --sunrise: linear-gradient(135deg, #F6B21B 0%, #F2842E 48%, #E9504F 100%);
  --sunrise-soft: linear-gradient(180deg, #FFF3D6 0%, #FFE2C4 55%, #FFD0C2 100%);
  --dusk: linear-gradient(160deg, #2A1D17 0%, #3B2219 55%, #5A2A22 100%);

  --f-display: "Fraunces", "Times New Roman", serif;
  --f-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 44px;
  --shadow-1: 0 1px 2px rgba(60, 30, 10, .06), 0 6px 18px rgba(60, 30, 10, .06);
  --shadow-2: 0 2px 6px rgba(60, 30, 10, .08), 0 22px 50px -12px rgba(120, 50, 10, .22);
  --shadow-glow: 0 18px 60px -10px rgba(242, 132, 46, .45);

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 11vw, 150px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-bounce: cubic-bezier(.34, 1.56, .64, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: clamp(16px, 1.05vw, 17.5px);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--marigold); color: var(--ink); }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; border-radius: 6px; }

/* grain overlay for warmth */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 9998; opacity: .06; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- layout ---------- */
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap-narrow { width: min(820px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: calc(var(--section-y) * .6); }
.section--paper2 { background: var(--paper-2); }
.section--cream { background: var(--cream); }
.section--dusk { background: var(--dusk); color: #FBEFE3; }
.section--dusk .eyebrow { color: var(--marigold); }
.section--sunrise { background: var(--sunrise-soft); }
.grid { display: grid; gap: clamp(18px, 2.4vw, 32px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.split--rev > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; line-height: 1.08; letter-spacing: -.015em; margin: 0 0 .5em; font-variation-settings: "SOFT" 100, "opsz" 96; }
h1 { font-size: clamp(42px, 7vw, 104px); letter-spacing: -.03em; }
h2 { font-size: clamp(32px, 4.6vw, 64px); letter-spacing: -.025em; }
h3 { font-size: clamp(22px, 2.1vw, 30px); }
h4 { font-size: clamp(18px, 1.5vw, 22px); }
p { margin: 0 0 1.1em; color: var(--ink-2); }
.section--dusk p { color: #E9D9CB; }
.lead { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.6; color: var(--ink-2); }
.eyebrow { display: inline-flex; align-items: center; gap: .6em; font-family: var(--f-body); font-weight: 700; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--saffron); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: currentColor; }
.ital { font-style: italic; font-weight: 400; }
.hl { background: var(--sunrise); -webkit-background-clip: text; background-clip: text; color: transparent; }
.underline-draw { background-image: linear-gradient(var(--marigold), var(--marigold)); background-size: 0 .28em; background-position: 0 88%; background-repeat: no-repeat; transition: background-size .9s var(--ease); }
.underline-draw.is-in { background-size: 100% .28em; }
.center { text-align: center; }
.section-head { max-width: 760px; margin: 0 auto clamp(40px, 6vw, 72px); text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }
.prose { max-width: 72ch; }
.prose p { font-size: 1.05em; }
.prose h2 { font-size: clamp(28px, 3.2vw, 42px); margin-top: 1.4em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; color: var(--ink-2); }
.prose li { margin-bottom: .5em; }
.prose img { border-radius: var(--r-md); margin: 1.6em 0; }

/* ---------- buttons ---------- */
.btn { --bg: var(--ink); --fg: var(--paper); position: relative; display: inline-flex; align-items: center; gap: .7em; padding: 15px 28px; border-radius: 999px; background: var(--bg); color: var(--fg); font-weight: 700; font-size: 15px; letter-spacing: .01em; border: 0; overflow: hidden; isolation: isolate; transition: transform .4s var(--ease), box-shadow .4s var(--ease); will-change: transform; }
.btn::before { content: ""; position: absolute; inset: 0; background: var(--sunrise); transform: translateY(101%); transition: transform .5s var(--ease); z-index: -1; border-radius: inherit; }
.btn:hover::before { transform: translateY(0); }
.btn:hover { box-shadow: var(--shadow-glow); color: var(--ink); }
.btn .arrow { display: inline-block; transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }
.btn--sun { --bg: var(--marigold); --fg: var(--ink); }
.btn--sun::before { background: var(--ink); }
.btn--sun:hover { color: var(--paper); }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.section--dusk .btn--ghost { --fg: var(--paper); box-shadow: inset 0 0 0 2px var(--paper); }
.link-arrow { font-weight: 700; display: inline-flex; gap: .45em; align-items: center; border-bottom: 2px solid var(--marigold); padding-bottom: 2px; transition: gap .3s var(--ease), color .3s; }
.link-arrow:hover { gap: .8em; color: var(--saffron); }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); display: flex; align-items: center; transition: background .4s var(--ease), box-shadow .4s var(--ease), transform .5s var(--ease); }
.site-header.is-scrolled { background: rgba(255, 248, 236, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 48px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav > li { position: relative; list-style: none; }
.nav > li > a { display: block; padding: 10px 14px; font-weight: 600; font-size: 14.5px; border-radius: 999px; transition: background .3s, color .3s; white-space: nowrap; }
.nav > li > a:hover, .nav > li > a[aria-current="page"] { background: rgba(246, 178, 27, .22); }
.nav ul.sub { position: absolute; top: calc(100% + 8px); left: 50%; min-width: 260px; padding: 10px; margin: 0; list-style: none; background: var(--cream); border-radius: var(--r-md); box-shadow: var(--shadow-2); opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s; }
.nav > li:hover > ul.sub, .nav > li:focus-within > ul.sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav ul.sub a { display: block; padding: 10px 14px; border-radius: 10px; font-weight: 600; font-size: 14.5px; transition: background .25s, padding .25s; }
.nav ul.sub a:hover { background: var(--paper-2); padding-left: 20px; }
.nav .has-sub > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.header-cta { flex-shrink: 0; padding: 12px 22px; }
.burger { display: none; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--ink); position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--paper); border-radius: 2px; transition: transform .4s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 18px; } .burger span:nth-child(2) { top: 23px; } .burger span:nth-child(3) { top: 28px; }
.menu-open .burger span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
@media (max-width: 1180px) {
  .nav, .header-cta { display: none; }
  .burger { display: block; }
}

/* mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 99; background: var(--dusk); color: var(--paper); padding: calc(var(--header-h) + 24px) var(--gutter) 40px; overflow-y: auto; clip-path: circle(0 at calc(100% - 44px) 38px); transition: clip-path .8s var(--ease); }
.menu-open .drawer { clip-path: circle(150% at calc(100% - 44px) 38px); }
.menu-open .site-header { background: transparent; box-shadow: none; backdrop-filter: none; }
.menu-open .site-header .brand { filter: brightness(0) invert(1); }
.menu-open .burger { background: var(--marigold); } .menu-open .burger span { background: var(--ink); }
.drawer ul { list-style: none; margin: 0; padding: 0; }
.drawer > ul > li { border-bottom: 1px solid rgba(255,255,255,.1); opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.menu-open .drawer > ul > li { opacity: 1; transform: none; }
.drawer > ul > li > a, .drawer > ul > li > button { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 16px 0; font-family: var(--f-display); font-size: clamp(26px, 7vw, 40px); background: none; border: 0; text-align: left; color: inherit; }
.drawer .sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.drawer .sub > div { overflow: hidden; }
.drawer li.open .sub { grid-template-rows: 1fr; }
.drawer .sub a { display: block; padding: 8px 0 8px 14px; color: #F3DCC7; font-weight: 600; }
.drawer .sub a:last-child { margin-bottom: 14px; }
.drawer button .plus { font-family: var(--f-body); font-size: 28px; transition: transform .3s; }
.drawer li.open button .plus { transform: rotate(45deg); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; background: var(--sunrise-soft); isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 115%; object-fit: cover; object-position: 50% 30%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(255,248,236,0) 40%, rgba(255,248,236,.0) 60%, rgba(30,24,20,.55) 100%); }
.hero__content { padding: 0 0 clamp(48px, 9vh, 110px); color: #fff; }
.hero__title { color: #fff; text-shadow: 0 4px 40px rgba(0,0,0,.25); max-width: 13ch; }
.hero__sub { color: rgba(255,255,255,.92); max-width: 54ch; font-size: clamp(17px, 1.4vw, 21px); }
.hero__scroll { position: absolute; right: var(--gutter); bottom: 40px; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.hero__scroll svg.ring { position: absolute; inset: 0; animation: spin 14s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__blob { position: absolute; width: 46vmax; aspect-ratio: 1; border-radius: 50%; filter: blur(70px); opacity: .55; z-index: -1; mix-blend-mode: screen; pointer-events: none; }

/* page hero (inner pages) */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(60px, 10vw, 140px)) 0 clamp(50px, 7vw, 100px); overflow: hidden; background: var(--sunrise-soft); isolation: isolate; }
.page-hero h1 { max-width: 16ch; }
.page-hero .crumbs { font-size: 14px; font-weight: 600; color: var(--ink-3); margin-bottom: 20px; display: flex; gap: 8px; flex-wrap: wrap; }
.page-hero .crumbs a:hover { color: var(--saffron); }
.page-hero__img { margin-top: clamp(36px, 5vw, 64px); border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 21 / 9; box-shadow: var(--shadow-2); }
.page-hero__img img { width: 100%; height: 120%; object-fit: cover; }
.page-hero .sun { position: absolute; right: -8vw; top: -10vw; width: 42vw; aspect-ratio: 1; border-radius: 50%; background: var(--sunrise); opacity: .28; filter: blur(10px); z-index: -1; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.stat { position: relative; padding: 28px 26px; background: var(--cream); border-radius: var(--r-lg); box-shadow: var(--shadow-1); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.stat:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.stat__num { font-family: var(--f-display); font-weight: 700; font-size: clamp(48px, 5.5vw, 78px); line-height: 1; letter-spacing: -.04em; color: var(--leaf); }
.stat__unit { font-family: var(--f-display); font-size: clamp(20px, 2vw, 28px); color: var(--coral); font-weight: 600; display: block; margin: 6px 0 8px; }
.stat p { margin: 0; font-size: 15px; }
.stat::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 120px; height: 120px; border-radius: 50%; background: var(--sunrise); opacity: .14; transition: transform .6s var(--ease); }
.stat:hover::after { transform: scale(1.6); }

/* ---------- cards ---------- */
.card { position: relative; display: flex; flex-direction: column; background: var(--cream); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-1); transition: transform .6s var(--ease), box-shadow .6s var(--ease); transform-style: preserve-3d; }
.card:hover { box-shadow: var(--shadow-2); }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card__media img { transform: scale(1.08); }
.card__body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.card__meta { font-size: 13px; font-weight: 600; color: var(--ink-3); margin-bottom: 10px; letter-spacing: .02em; }
.card__title { font-size: clamp(20px, 1.7vw, 25px); margin-bottom: 10px; }
.card__body p { font-size: 15px; }
.card__body .link-arrow { margin-top: auto; align-self: flex-start; }
.card--link::before { content: ""; position: absolute; inset: 0; z-index: 2; }
.card .tag { position: absolute; top: 16px; left: 16px; z-index: 1; background: rgba(255,253,248,.92); backdrop-filter: blur(6px); padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

/* focus tiles (areas of focus) */
.focus { position: relative; padding: 34px 28px 30px; border-radius: var(--r-lg); background: var(--cream); box-shadow: var(--shadow-1); text-align: left; transition: transform .6s var(--ease), box-shadow .6s var(--ease), background .6s; transform-style: preserve-3d; overflow: hidden; }
.focus__icon { width: 92px; height: 92px; border-radius: 50%; overflow: hidden; margin-bottom: 22px; transition: transform .8s var(--ease-bounce); transform: translateZ(40px); }
.focus__icon img { width: 100%; height: 100%; object-fit: cover; }
.focus:hover .focus__icon { transform: translateZ(40px) rotate(-8deg) scale(1.08); }
.focus h3 { font-size: 24px; }
.focus p { font-size: 15px; margin: 0; }
.focus::before { content: ""; position: absolute; inset: auto -30% -60% auto; width: 80%; aspect-ratio: 1; border-radius: 50%; background: var(--tint, var(--marigold)); opacity: .12; transition: transform .8s var(--ease), opacity .6s; }
.focus:hover::before { transform: scale(1.8); opacity: .2; }

/* ---------- media ---------- */
.frame { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-2); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--tall { aspect-ratio: 4 / 5; }
.frame--wide { aspect-ratio: 16 / 10; }
.frame--plain { box-shadow: none; border-radius: 0; overflow: visible; }
.frame--plain img { object-fit: contain; }
.sticker { position: absolute; z-index: 2; padding: 14px 18px; border-radius: var(--r-md); background: var(--cream); box-shadow: var(--shadow-2); font-weight: 700; font-size: 14px; display: flex; gap: 10px; align-items: center; }
.sticker b { font-family: var(--f-display); font-size: 26px; color: var(--coral); }

.gallery { columns: 3 260px; column-gap: 18px; }
.gallery figure { margin: 0 0 18px; break-inside: avoid; border-radius: var(--r-md); overflow: hidden; position: relative; cursor: zoom-in; background: var(--paper-2); }
.gallery img { width: 100%; transition: transform 1s var(--ease), filter .6s; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; inset: auto 0 0; padding: 30px 16px 14px; color: #fff; font-size: 14px; font-weight: 600; background: linear-gradient(transparent, rgba(0,0,0,.6)); opacity: 0; transform: translateY(10px); transition: .4s var(--ease); }
.gallery figure:hover figcaption { opacity: 1; transform: none; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(20,14,10,.92); display: grid; place-items: center; padding: 4vmin; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-height: 88vh; max-width: 92vw; width: auto; border-radius: var(--r-md); transform: scale(.94); transition: transform .5s var(--ease); }
.lightbox.is-open img { transform: none; }
.lightbox button { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 24px; display: grid; place-items: center; transition: background .3s; }
.lightbox button:hover { background: var(--saffron); }
.lightbox .lb-close { top: 20px; right: 20px; }
.lightbox .lb-prev { left: 20px; top: 50%; } .lightbox .lb-next { right: 20px; top: 50%; }

/* ---------- SDG hex ---------- */
.hexes { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.hex { width: 132px; aspect-ratio: 1 / 1.1547; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: var(--tint, var(--marigold)); color: #fff; display: grid; place-items: center; text-align: center; padding: 18px; font-weight: 800; font-size: 12px; line-height: 1.2; text-transform: uppercase; transition: transform .6s var(--ease-bounce); }
.hex:hover { transform: scale(1.12) rotate(-4deg); }
.hex b { display: block; font-family: var(--f-display); font-size: 30px; }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 22px; width: max-content; animation: marquee var(--dur, 40s) linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee--rev .marquee__track { animation-direction: reverse; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logo-tile { width: 200px; height: 120px; flex-shrink: 0; background: #fff; border-radius: var(--r-md); display: grid; place-items: center; padding: 18px; box-shadow: var(--shadow-1); transition: transform .4s var(--ease), box-shadow .4s; }
.logo-tile:hover { transform: translateY(-6px) rotate(-1.5deg); box-shadow: var(--shadow-2); }
.logo-tile img { max-height: 84px; width: auto; object-fit: contain; filter: grayscale(.2); transition: filter .4s; }
.logo-tile:hover img { filter: none; }
.big-marquee { font-family: var(--f-display); font-size: clamp(56px, 10vw, 160px); font-weight: 600; letter-spacing: -.04em; line-height: 1; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.5px var(--ink); padding-block: 20px; }
.big-marquee span { padding-inline: 30px; }
.big-marquee em { color: var(--saffron); -webkit-text-stroke: 0; font-style: italic; }

/* ---------- people / team / story ---------- */
.person { text-align: center; }
.person .frame { aspect-ratio: 1; border-radius: 50%; margin-bottom: 18px; }
.quote { position: relative; font-family: var(--f-display); font-size: clamp(24px, 2.8vw, 38px); line-height: 1.3; font-style: italic; color: var(--ink); padding-left: clamp(0px, 4vw, 60px); }
.quote::before { content: "\201C"; position: absolute; left: 0; top: -.3em; font-size: 3em; line-height: 1; color: var(--marigold); }

/* timeline / steps */
.steps { counter-reset: step; display: grid; gap: 16px; }
.step { counter-increment: step; position: relative; padding: 24px 24px 24px 84px; background: var(--cream); border-radius: var(--r-md); box-shadow: var(--shadow-1); }
.step::before { content: counter(step, decimal-leading-zero); position: absolute; left: 22px; top: 20px; font-family: var(--f-display); font-size: 34px; color: var(--saffron); font-weight: 700; }

/* ---------- forms ---------- */
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }
.field { position: relative; }
.field input, .field textarea, .field select { width: 100%; padding: 22px 18px 10px; border-radius: var(--r-md); border: 2px solid transparent; background: var(--cream); font: inherit; color: var(--ink); box-shadow: var(--shadow-1); transition: border-color .3s, box-shadow .3s; }
.field textarea { min-height: 150px; resize: vertical; }
.field label { position: absolute; left: 18px; top: 16px; font-size: 15px; color: var(--ink-3); pointer-events: none; transition: transform .25s var(--ease), font-size .25s, color .25s; transform-origin: left top; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--marigold); box-shadow: 0 0 0 6px rgba(246,178,27,.18); }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label, .field select + label { transform: translateY(-9px); font-size: 12px; color: var(--saffron); font-weight: 700; }
.form-note { font-size: 14px; color: var(--ink-3); }
.form-success { display: none; padding: 20px; border-radius: var(--r-md); background: #E7F5DC; color: var(--leaf-deep); font-weight: 700; }
.form.sent .form-success { display: block; }

/* ---------- footer ---------- */
.site-footer { background: var(--dusk); color: #EBDACB; padding: clamp(70px, 9vw, 120px) 0 30px; position: relative; overflow: hidden; }
.site-footer a:hover { color: var(--marigold); }
.footer-cta { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 30px; padding-bottom: clamp(50px, 7vw, 90px); border-bottom: 1px solid rgba(255,255,255,.12); margin-bottom: 50px; }
.footer-cta h2 { color: #fff; max-width: 14ch; margin: 0; }
.newsletter { display: flex; gap: 8px; background: rgba(255,255,255,.08); border-radius: 999px; padding: 6px; width: min(460px, 100%); }
.newsletter input { flex: 1; min-width: 0; background: transparent; border: 0; color: #fff; padding: 0 18px; font: inherit; }
.newsletter input::placeholder { color: #BFA996; }
.newsletter input:focus { outline: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-family: var(--f-body); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer p { color: #D9C5B4; }
.socials { display: flex; gap: 10px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); transition: background .3s, transform .4s var(--ease-bounce); }
.socials a:hover { background: var(--marigold); color: var(--ink); transform: translateY(-4px) rotate(-8deg); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom { margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 14px; color: #BFA996; }
.footer-word { font-family: var(--f-display); font-size: clamp(80px, 19vw, 300px); line-height: .8; letter-spacing: -.05em; font-weight: 700; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.14); margin-top: 50px; white-space: nowrap; user-select: none; }

/* ---------- motion primitives ---------- */
/* JS adds .js to <html>; without JS everything stays visible */
.js [data-reveal] { opacity: 0; }
.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.js [data-split] .w > span { display: inline-block; transform: translateY(105%); }
[data-tilt] { transform-style: preserve-3d; will-change: transform; }
.img-reveal { clip-path: inset(0 0 100% 0); }
.no-js .img-reveal, .reduced .img-reveal { clip-path: none; }

/* progress bar */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--sunrise); z-index: 101; }

/* cursor follower (pointer devices only) */
.cursor { position: fixed; top: 0; left: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--saffron); pointer-events: none; z-index: 9999; mix-blend-mode: multiply; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s; }
.cursor.is-link { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(246,178,27,.45); }
.cursor.is-view { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--ink); mix-blend-mode: normal; }
.cursor.is-view::after { content: "View"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--paper); font-weight: 700; font-size: 14px; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* back to top */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 54px; height: 54px; border-radius: 50%; border: 0; background: var(--ink); color: var(--paper); display: grid; place-items: center; opacity: 0; transform: translateY(20px) scale(.8); transition: .4s var(--ease); box-shadow: var(--shadow-2); }
.to-top.is-on { opacity: 1; transform: none; }
.to-top:hover { background: var(--saffron); }

/* page transition curtain */
.curtain { position: fixed; inset: 0; z-index: 9997; background: var(--sunrise); transform: scaleY(0); transform-origin: bottom; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1 !important; }
  .js [data-split] .w > span { transform: none !important; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}

/* ---------- additions: layout v2 ---------- */
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
address { font-style: normal; }
.drawer__foot { margin-top: 36px; display: grid; gap: 14px; justify-items: start; }
.drawer__foot p { color: #D9C5B4; margin: 0; }
.drawer > ul > li > a span { font-family: var(--f-body); font-size: 22px; opacity: .6; }
.brand--footer img { height: 56px; filter: brightness(0) invert(1); margin-bottom: 18px; }
.footer-glow { position: absolute; inset: auto -10% -30% auto; width: 70%; opacity: .25; pointer-events: none; mix-blend-mode: screen; }
.footer-glow img { width: 100%; }
.site-footer .wrap { position: relative; }
.newsletter { flex-wrap: wrap; position: relative; }
.newsletter .form-success { flex-basis: 100%; margin: 6px 0 0; background: rgba(95,166,42,.2); color: #CDEFB5; padding: 10px 16px; border-radius: 999px; }
.newsletter.sent .form-success { display: block; }
.btn--glass { --bg: rgba(255,255,255,.14); --fg: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__title .ital { color: var(--marigold); }
.section-head--split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; text-align: left; margin-left: 0; }
.section-head--split h2 { margin: 0; }
.wrap.section-head--split { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; margin-bottom: clamp(36px, 5vw, 60px); }

/* home: impact */
.impact-visual { position: relative; display: grid; place-items: end center; min-height: 420px; }
.impact-blob { position: absolute; inset: 8% 6% 0; border-radius: 46% 54% 42% 58% / 52% 40% 60% 48%; background: var(--sunrise); opacity: .9; animation: morph 14s ease-in-out infinite; }
@keyframes morph { 50% { border-radius: 58% 42% 55% 45% / 40% 58% 42% 60%; } }
.impact-cutout { position: relative; width: min(520px, 100%); filter: drop-shadow(0 30px 40px rgba(90,40,10,.25)); }
.impact-graphic { margin: 28px 0 0; border-radius: var(--r-lg); overflow: hidden; background: var(--cream); box-shadow: var(--shadow-1); max-width: 420px; }
.home .stats { margin-top: 10px; }

/* home: sdg */
.sdg-graphic { margin: 0 auto 50px; max-width: 1100px; }
.sdg-graphic > img { border-radius: var(--r-lg); background: #fff; padding: clamp(10px, 2vw, 24px); }
.sdg-graphic--mobile { display: none; }
@media (max-width: 640px) { .sdg-graphic > img { display: none; } .sdg-graphic--mobile { display: block; } .sdg-graphic--mobile img { border-radius: var(--r-md); background: #fff; } }
.sdg-copy { font-size: clamp(17px, 1.3vw, 19px); text-align: center; }

/* home: focus grid */
.focus-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.focus-grid .focus:nth-child(5) { grid-column-start: 1; }
@media (min-width: 981px) { .focus-grid .focus:nth-child(n+5) { transform: translateX(calc(50% + 10px)); } }
@media (max-width: 980px) { .focus-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } .focus-grid .focus:nth-child(5) { grid-column-start: auto; } }
@media (max-width: 560px) { .focus-grid { grid-template-columns: 1fr; } }
.focus { display: block; color: inherit; }
.focus__num { position: absolute; top: 22px; right: 24px; font-family: var(--f-display); font-size: 15px; font-weight: 700; color: var(--ink-3); }
.focus__go { position: absolute; right: 22px; bottom: 20px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); transform: scale(0) rotate(-45deg); transition: transform .5s var(--ease-bounce); }
.focus:hover .focus__go { transform: none; }
.focus p { padding-right: 34px; }

/* home: partners */
.partner-band { flex-shrink: 0; height: clamp(110px, 12vw, 170px); background: #fff; border-radius: var(--r-lg); padding: 14px 26px; box-shadow: var(--shadow-1); display: grid; place-items: center; }
.partner-band img { height: 100%; width: auto; }
.partners-mobile { display: none; }
@media (max-width: 640px) { .partners-strip .marquee { display: none; } .partners-mobile { display: block; } .partners-mobile img { border-radius: var(--r-md); background: #fff; } }

/* home: volunteer */
.volunteer { background: var(--sunrise-soft); overflow: hidden; }
.volunteer__img img { filter: drop-shadow(0 24px 40px rgba(90,40,10,.2)); }
.card__title a { position: static; }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.card--link::before { display: none; }

/* editorial hero: headline on paper, full banner below (no text over faces) */
.hero--ed { min-height: 0; display: block; background: var(--paper); padding: calc(var(--header-h) + clamp(30px, 6vw, 80px)) 0 clamp(30px, 4vw, 60px); }
.hero--ed::before { display: none; }
.hero--ed .hero__content { color: var(--ink); text-align: center; padding-bottom: clamp(30px, 4vw, 56px); }
.hero--ed .hero__title { color: var(--ink); text-shadow: none; max-width: none; font-size: clamp(52px, 10vw, 156px); line-height: .95; }
.hero--ed .hero__title .ital { font-weight: 400; padding-right: .06em; }
.hero--ed .hero__sub { color: var(--ink-2); margin: 0 auto; }
.hero--ed .hero__ctas { justify-content: center; }
.hero--ed .eyebrow { justify-content: center; }
.hero__stage { position: relative; width: min(1440px, 100% - 2 * var(--gutter)); margin: 0 auto; }
.hero--ed .hero__media { position: relative; inset: auto; z-index: 0; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 1818 / 785; box-shadow: var(--shadow-2); }
.hero--ed .hero__media img { height: 112%; object-position: 50% 40%; }
@media (max-width: 700px) { .hero--ed .hero__media { aspect-ratio: 4 / 3.4; border-radius: var(--r-lg); } }
.hero--ed .hero__scroll { right: clamp(14px, 3vw, 40px); bottom: auto; top: -32px; background: var(--ink); color: var(--paper); width: 84px; height: 84px; z-index: 2; }
.hero--ed .hero__blob { opacity: .35; mix-blend-mode: multiply; }
.hl .w > span, .hl > span { background: var(--sunrise); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (min-width: 901px) { .impact-visual { position: sticky; top: 110px; align-self: start; } }
@media (max-width: 520px) {
  .newsletter { border-radius: var(--r-lg); flex-direction: column; padding: 8px; }
  .newsletter input { padding: 14px 16px; }
  .newsletter .btn { justify-content: center; }
  .hero--ed .eyebrow::before { display: none; }
}

/* ---- SEO guide posts (seoblog.js) ---- */
.sb-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.sb-aside { position: sticky; top: 110px; font-size: 14px; }
.sb-meta { display: flex; flex-direction: column; gap: 4px; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line, rgba(0,0,0,.1)); color: var(--ink-3); font-weight: 600; }
.sb-toc b { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.sb-toc ol { list-style: none; padding: 0; margin: 0; counter-reset: t; }
.sb-toc li { counter-increment: t; margin-bottom: 8px; line-height: 1.35; }
.sb-toc li::before { content: counter(t, decimal-leading-zero); font-weight: 700; color: var(--saffron, #e8892b); margin-right: 8px; font-size: 12px; }
.sb-toc a { color: var(--ink-2); text-decoration: none; }
.sb-toc a:hover { color: var(--ink); text-decoration: underline; }
.sb-prose h2 { scroll-margin-top: 110px; }
.sb-prose a { color: var(--coral-deep, #b8452f); text-underline-offset: 3px; }
.sb-prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--marigold, #f2b234); font-family: Fraunces, serif; font-size: 1.25em; }
.sb-prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 15px; display: block; overflow-x: auto; }
.sb-prose th, .sb-prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid rgba(0,0,0,.1); }
.sb-faq details { background: var(--cream); border-radius: var(--r-md); padding: 18px 22px; margin-bottom: 12px; box-shadow: var(--shadow-1); }
.sb-faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.sb-faq summary::-webkit-details-marker { display: none; }
.sb-faq summary::after { content: "+"; font-size: 22px; line-height: 1; transition: transform .3s; }
.sb-faq details[open] summary::after { transform: rotate(45deg); }
.sb-faq details p { margin: 12px 0 0; }
.sb-sources { margin-top: 2.4em; font-size: 14px; color: var(--ink-3); }
.sb-sources h3 { font-size: 16px; }
.sb-sources a { word-break: break-word; }
.sb-cta { margin-top: 2.4em; padding: clamp(24px, 4vw, 40px); border-radius: var(--r-lg); background: linear-gradient(135deg, var(--marigold, #f2b234), var(--coral, #f07a5a)); color: #1e140c; }
.sb-cta h3 { margin-top: 0; }
.sb-cta__btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
@media (max-width: 900px) { .sb-layout { grid-template-columns: 1fr; } .sb-aside { position: static; } }

/* safety net: decorative glows never cause sideways scroll (clip keeps position:sticky working) */
html, body { overflow-x: clip; }
.cp-cta { overflow: hidden; }
