/* =========================================================
   VUGA Foundation — Dark, editorial, art-forward
   ========================================================= */

:root {
  /* Dark palette */
  --bg:         #0c0a12;
  --bg-elev:    #14111d;
  --bg-elev-2:  #1c1828;
  --ink-deep:   #070509;

  /* Text */
  --text:       #f7f1e3;
  --text-soft:  #e4ddcc;
  --text-muted: #b0a896;
  --text-dim:   #7a7360;

  /* Accents */
  --gold:       #c9a36a;
  --gold-warm:  #b88552;
  --gold-deep:  #8d5a35;
  --wine:       #7a2937;
  --crimson:    #a83a3a;

  /* Lines & shadows */
  --line:       rgba(236, 230, 216, 0.08);
  --line-strong: rgba(236, 230, 216, 0.18);
  --shadow-sm:  0 2px 10px rgba(0, 0, 0, 0.25);
  --shadow-md:  0 14px 40px rgba(0, 0, 0, 0.4);
  --shadow-lg:  0 30px 80px rgba(0, 0, 0, 0.55);
  --glow:       0 0 60px rgba(201, 163, 106, 0.25);

  /* Typography */
  --serif: "Fraunces", "Playfair Display", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 20px;

  --max: 1280px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease, opacity .2s ease; }
ul { list-style: none; padding: 0; margin: 0; }
button { font: inherit; cursor: pointer; }

::selection { background: var(--gold); color: var(--ink-deep); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 .5em;
  font-variation-settings: "SOFT" 30, "WONK" 0;
}
h1 {
  font-size: clamp(2.8rem, 7.5vw, 6rem);
  font-weight: 300;
  letter-spacing: -0.035em;
}
h1 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
h2 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-weight: 400;
  letter-spacing: -0.025em;
}
h3 { font-size: 1.4rem; font-weight: 500; letter-spacing: -0.015em; }
h4 {
  font-size: .75rem;
  font-family: var(--sans);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--gold);
}
p { margin: 0 0 1rem; }
.small { font-size: .85rem; color: var(--text-muted); }
.lead {
  font-size: 1.15rem;
  color: var(--text);
  line-height: 1.7;
  font-weight: 300;
}

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .9rem 1.6rem;
  border-radius: 2px;
  font-weight: 500;
  font-size: .86rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn.small { padding: .65rem 1.2rem; font-size: .75rem; }
.btn.large { padding: 1.1rem 2rem; font-size: .9rem; }

.btn-primary {
  background: var(--gold);
  color: var(--ink-deep);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: transparent;
  color: var(--gold);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-warm) 100%);
  color: var(--ink-deep);
  box-shadow: 0 8px 24px rgba(201, 163, 106, .25);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(201, 163, 106, .45);
  filter: brightness(1.08);
}

.btn-outline-light {
  background: transparent;
  color: var(--text);
  border-color: rgba(236, 230, 216, .35);
}
.btn-outline-light:hover {
  background: var(--text);
  color: var(--ink-deep);
}

.btn-donate {
  background: var(--gold);
  color: var(--ink-deep);
  padding: .6rem 1.2rem;
  font-size: .75rem;
  letter-spacing: .15em;
}
.btn-donate:hover {
  background: var(--text);
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.2rem var(--pad);
  transition: background .4s ease, backdrop-filter .4s ease, padding .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(12, 10, 18, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  padding: .7rem var(--pad);
  border-bottom-color: var(--line);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
}
.brand-logo {
  height: 44px;
  width: auto;
  display: block;
}
.brand-logo.footer-logo {
  height: 48px;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  border-left: 1px solid var(--line-strong);
  padding-left: .75rem;
}
.brand-name {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: .12em;
  color: var(--text);
  text-transform: uppercase;
}
.brand-sub {
  font-size: .62rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 4px;
  font-weight: 500;
}

.primary-nav { margin-left: auto; }
.primary-nav > ul { display: flex; gap: 2.2rem; align-items: center; }
.primary-nav > ul > li { position: relative; }
.primary-nav > ul > li > a,
.primary-nav > ul > li > .nav-parent {
  font-size: .78rem;
  font-weight: 500;
  color: var(--text-soft);
  position: relative;
  padding: .3rem 0;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-family: var(--sans);
  background: transparent;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.primary-nav > ul > li > a::after,
.primary-nav > ul > li > .nav-parent::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.primary-nav > ul > li > a:hover,
.primary-nav > ul > li > .nav-parent:hover,
.primary-nav > ul > li.has-submenu:hover > .nav-parent {
  color: var(--gold);
}
.primary-nav > ul > li > a:hover::after,
.primary-nav > ul > li > .nav-parent:hover::after { transform: scaleX(1); }

.nav-caret {
  width: 8px;
  height: 8px;
  display: inline-block;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .25s ease;
}
.has-submenu:hover .nav-caret,
.has-submenu.open .nav-caret {
  transform: rotate(-135deg) translate(-2px, -2px);
}

.submenu {
  position: absolute;
  top: calc(100% + 14px);
  left: -1rem;
  min-width: 300px;
  background: var(--bg-elev);
  border: 1px solid var(--line-strong);
  padding: .8rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
  z-index: 10;
  box-shadow: var(--shadow-md);
}
.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu,
.has-submenu.open .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}
.submenu::before {
  content: "";
  position: absolute;
  top: -14px; left: 0; right: 0;
  height: 14px;
}
.submenu li { list-style: none; }
.submenu a {
  display: block;
  padding: .7rem 1.4rem;
  font-size: .78rem;
  text-transform: none;
  letter-spacing: .02em;
  color: var(--text-soft);
  font-weight: 400;
  transition: background .2s ease, color .2s ease, padding .2s ease;
}
.submenu a::after { display: none !important; }
.submenu a:hover {
  background: var(--bg-elev-2);
  color: var(--gold);
  padding-left: 1.8rem;
}
.submenu-divider {
  height: 1px;
  background: var(--line);
  margin: .6rem 1.2rem;
}
.submenu-label {
  display: block;
  padding: .6rem 1.4rem .4rem;
  font-size: .62rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  width: 36px;
  height: 36px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: transform .3s ease, opacity .2s ease;
  margin: 0 auto;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 8rem var(--pad) 5rem;
  overflow: hidden;
  background: var(--bg);
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-ambient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 15% 25%, rgba(122, 41, 55, .35) 0%, transparent 60%),
    radial-gradient(ellipse 55% 45% at 85% 75%, rgba(201, 163, 106, .18) 0%, transparent 65%),
    radial-gradient(ellipse 70% 60% at 50% 100%, rgba(141, 90, 53, .22) 0%, transparent 70%),
    linear-gradient(180deg, var(--bg-elev) 0%, var(--bg) 60%, var(--ink-deep) 100%);
  animation: ambientDrift 28s ease-in-out infinite alternate;
}
@keyframes ambientDrift {
  from { transform: scale(1) translate(0, 0); }
  to   { transform: scale(1.05) translate(-2%, 1%); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, rgba(12,10,18,.5) 70%, var(--bg) 100%);
}
.grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/></svg>");
  opacity: .12;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-size: .72rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 2rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}
.hero h1 { max-width: 18ch; margin-bottom: 1.8rem; color: var(--text); }
.hero-lede {
  max-width: 44rem;
  font-size: 1.2rem;
  color: var(--text-soft);
  line-height: 1.65;
  margin-bottom: 2.8rem;
  font-weight: 300;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}
.hero-ways-to-give {
  max-width: 44rem;
  margin: 0 0 3.5rem;
  padding: 1.1rem 1.3rem;
  border-left: 2px solid var(--gold);
  background: rgba(201, 163, 106, .06);
  font-size: .92rem;
  line-height: 1.6;
  color: var(--text-soft);
  font-weight: 300;
}
.hero-ways-to-give strong {
  display: inline-block;
  font-size: .68rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-right: .5rem;
}
.hero-ways-to-give .advisor-note {
  display: block;
  margin-top: .4rem;
  font-size: .82rem;
  color: var(--text-muted);
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 3.5rem;
  padding-top: 2.2rem;
  border-top: 1px solid var(--line);
  max-width: 720px;
}
.hero-meta div { display: flex; flex-direction: column; }
.hero-meta strong {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  font-variation-settings: "SOFT" 50;
}
.hero-meta span {
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: .5rem;
}

/* Word rotator */
.word-rotate {
  display: inline-block;
  position: relative;
  height: 1.05em;
  vertical-align: bottom;
  overflow: hidden;
  min-width: 6ch;
}
.word-rotate span {
  display: block;
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(100%);
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
  animation: rotateWord 10s infinite;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.word-rotate span:nth-child(1) { animation-delay: 0s; }
.word-rotate span:nth-child(2) { animation-delay: 2.5s; }
.word-rotate span:nth-child(3) { animation-delay: 5s; }
.word-rotate span:nth-child(4) { animation-delay: 7.5s; }
@keyframes rotateWord {
  0%   { transform: translateY(100%); opacity: 0; }
  4%   { transform: translateY(0);    opacity: 1; }
  21%  { transform: translateY(0);    opacity: 1; }
  25%  { transform: translateY(-100%); opacity: 0; }
  100% { transform: translateY(-100%); opacity: 0; }
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 36px;
  border: 1px solid var(--text-muted);
  border-radius: 20px;
  z-index: 3;
}
.scroll-indicator span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 2px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollDot 2s ease-in-out infinite;
}
@keyframes scrollDot {
  0%   { top: 8px; opacity: 1; }
  80%  { top: 20px; opacity: 0; }
  100% { top: 8px; opacity: 0; }
}

/* ---------- Section base ---------- */
.section {
  padding: clamp(5rem, 10vw, 9rem) 0;
  position: relative;
}
.section-head {
  max-width: 760px;
  margin: 0 auto 4.5rem;
  text-align: center;
}
.section-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  font-weight: 300;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-size: .72rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 1.2rem;
}
.section-tag::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold);
}
.section-tag.light { color: var(--gold); }

.split {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.split-left h2 { margin-bottom: 0; }
.split-right p:last-child { margin-bottom: 0; }

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 2.2rem;
}
.pill-list li {
  padding: .45rem 1.1rem;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  font-size: .78rem;
  color: var(--text-soft);
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: all .25s ease;
}
.pill-list li:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 163, 106, .05);
}

/* ---------- Mission + Featured Artwork ---------- */
.mission { background: var(--bg); }
.mission-art {
  margin-top: 5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  max-width: var(--max);
}
.mission-art figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-sm);
  position: relative;
  aspect-ratio: 4/5;
  background: var(--bg-elev);
}
.mission-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2,.8,.2,1), filter .6s ease;
  filter: saturate(.9) contrast(1.05);
}
.mission-art figure:hover img { transform: scale(1.05); filter: saturate(1.1) contrast(1.1); }

/* ---------- Programs ---------- */
.programs {
  background: var(--bg-elev);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.program-card {
  background: var(--bg-elev);
  padding: 2.8rem 2.2rem;
  transition: all .4s cubic-bezier(.4,0,.2,1);
  position: relative;
  overflow: hidden;
}
.program-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-warm));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s ease;
}
.program-card:hover {
  background: var(--bg-elev-2);
  transform: translateY(-4px);
}
.program-card:hover::before { transform: scaleX(1); }
.program-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: .9rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
  letter-spacing: .15em;
  display: block;
}
.program-icon {
  width: 52px; height: 52px;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 1.5rem;
  transition: background .3s ease;
}
.program-card:hover .program-icon {
  background: rgba(201, 163, 106, .08);
}
.program-icon svg { width: 26px; height: 26px; }
.program-card h3 { color: var(--text); margin-bottom: .7rem; }
.program-card p {
  color: var(--text-soft);
  margin: 0 0 1.3rem;
  line-height: 1.75;
  font-size: .94rem;
  font-weight: 400;
}
a.program-card { display: flex; flex-direction: column; color: inherit; }
.card-arrow {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .7rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  transition: gap .3s ease;
}
a.program-card:hover .card-arrow { gap: .8rem; }
.program-card-cta {
  background: linear-gradient(135deg, var(--wine) 0%, var(--ink-deep) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.program-card-cta::before { display: none; }
.program-card-cta h3 { color: var(--text); }
.program-card-cta p {
  color: rgba(236, 230, 216, .7);
  margin-bottom: 1.5rem;
}
.program-card-cta:hover { transform: translateY(-4px); }

/* ---------- Impact / Quote ---------- */
.impact {
  background: var(--bg);
  position: relative;
}
.impact::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(201, 163, 106, .08) 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(122, 41, 55, .1) 0%, transparent 45%);
  pointer-events: none;
}
.impact-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.impact-quote {
  position: relative;
  padding: 2rem 0;
}
.quote-mark {
  width: 56px; height: 56px;
  color: var(--gold);
  opacity: .5;
  margin-bottom: 1.5rem;
}
.impact-quote blockquote {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.35;
  color: var(--text);
  margin: 0 0 1.5rem;
  font-variation-settings: "SOFT" 80, "WONK" 1;
  letter-spacing: -0.01em;
}
.impact-quote cite {
  font-style: normal;
  font-size: .75rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.impact-stats {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-left: clamp(0rem, 3vw, 3rem);
  border-left: 1px solid var(--line-strong);
}
.stat-num {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: .4rem;
  font-variation-settings: "SOFT" 30;
}
.stat-label {
  font-size: .82rem;
  color: var(--text-muted);
  letter-spacing: .05em;
  line-height: 1.5;
}

/* ---------- Featured Work ---------- */
.featured {
  background: var(--bg-elev);
  overflow: hidden;
}
.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--line);
}
.featured-item {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg-elev);
  cursor: pointer;
  display: block;
}
.featured-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2,.8,.2,1), filter .6s ease;
  filter: grayscale(15%) contrast(1.05);
}
.featured-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.85) 100%);
  opacity: .85;
  transition: opacity .4s ease;
}
.featured-item:hover img { transform: scale(1.06); filter: grayscale(0%) contrast(1.1); }
.featured-item:hover::after { opacity: 1; }
.featured-meta {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.5rem 1.3rem;
  z-index: 2;
  transform: translateY(10px);
  transition: transform .4s ease;
}
.featured-item:hover .featured-meta { transform: translateY(0); }
.featured-cat {
  font-size: .68rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .4rem;
  display: block;
}
.featured-title {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--text);
  line-height: 1.2;
  font-weight: 400;
  font-style: italic;
  font-variation-settings: "SOFT" 50;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  position: relative;
  padding: clamp(5rem, 9vw, 8rem) 0;
  overflow: hidden;
  background: var(--ink-deep);
}
.cta-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 25% 40%, rgba(122, 41, 55, .5) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 60%, rgba(201, 163, 106, .15) 0%, transparent 60%),
    linear-gradient(135deg, var(--bg-elev-2) 0%, var(--ink-deep) 100%);
}
.cta-overlay {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/></svg>");
  opacity: .15;
  mix-blend-mode: overlay;
}
.cta-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: center;
}
.cta-banner h2 {
  color: var(--text);
  max-width: 20ch;
  font-weight: 300;
}
.cta-banner p {
  color: var(--text-soft);
  font-size: 1.1rem;
  max-width: 48ch;
  font-weight: 300;
  line-height: 1.7;
}
.cta-actions { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }

/* ---------- Contact ---------- */
.contact { background: var(--bg); }
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.5rem 1.6rem;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  transition: all .3s ease;
}
.contact-card:hover {
  border-color: var(--gold);
  background: var(--bg-elev-2);
  transform: translateY(-2px);
}
.cc-icon {
  width: 44px; height: 44px;
  border: 1px solid var(--gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .3s ease;
}
.contact-card:hover .cc-icon { background: rgba(201, 163, 106, .08); }
.cc-icon svg { width: 20px; height: 20px; }
.contact-card strong {
  display: block;
  font-size: .78rem;
  color: var(--gold);
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: .2rem;
}
.contact-card span {
  font-size: .9rem;
  color: var(--text-soft);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-deep);
  color: var(--text-muted);
  padding: 5rem 0 1.5rem;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line);
}
.footer-grid .brand-name { color: var(--text); }
.footer-grid .brand-sub { color: var(--gold); }
.footer-grid h4 { margin-bottom: 1.2rem; font-size: .7rem; }
.footer-grid ul li { margin-bottom: .7rem; font-size: .88rem; }
.footer-grid ul li a { color: var(--text-muted); }
.footer-grid ul li a:hover { color: var(--gold); }
.footer-tag {
  color: var(--text-muted);
  max-width: 30ch;
  margin-top: 1.2rem;
  font-size: .88rem;
  font-weight: 300;
  line-height: 1.65;
}
.ways-to-give {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem var(--pad) 0;
  font-size: .82rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.6;
  font-weight: 300;
}
.ways-to-give strong { color: var(--gold); font-weight: 500; letter-spacing: .15em; text-transform: uppercase; font-size: .7rem; display: inline-block; margin-right: .4rem; }
.ways-to-give .advisor-note { color: var(--text-dim); display: block; margin-top: .3rem; font-size: .78rem; }

.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem var(--pad) 0;
  font-size: .75rem;
  color: var(--text-dim);
  text-align: center;
  letter-spacing: .05em;
}
.footer-bottom p { margin: 0; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s ease, transform .9s cubic-bezier(.16, 1, .3, 1);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .primary-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(340px, 88vw);
    background: var(--bg-elev);
    padding: 5.5rem 1.8rem 2rem;
    box-shadow: -20px 0 60px rgba(0,0,0,.5);
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
    margin-left: 0;
    border-left: 1px solid var(--line);
    overflow-y: auto;
  }
  .primary-nav.open { transform: translateX(0); }
  .primary-nav > ul { flex-direction: column; gap: 1.2rem; align-items: stretch; }
  .primary-nav > ul > li > a,
  .primary-nav > ul > li > .nav-parent { font-size: .88rem; padding: .3rem 0; width: 100%; justify-content: space-between; }
  .nav-toggle { display: flex; margin-left: auto; z-index: 101; }
  .nav-donate { display: none; }

  /* Mobile submenu: static, expands inline */
  .primary-nav .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: .4rem 0 0;
    display: none;
  }
  .has-submenu.open .submenu { display: block; }
  .submenu a { padding: .55rem .75rem; font-size: .82rem; }
  .submenu a:hover { padding-left: 1rem; }
  .submenu-divider { margin: .4rem .75rem; }
  .submenu-label { padding: .6rem .75rem .3rem; }

  .split, .cta-inner, .impact-grid { grid-template-columns: 1fr; }
  .impact-stats {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--line-strong);
    padding-top: 2rem;
  }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-actions { flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 560px) {
  .hero { padding-top: 7rem; }
  .hero-meta { gap: 1.5rem; }
  .hero-meta strong { font-size: 1.8rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .featured-grid { grid-template-columns: 1fr; }
  .mission-art { grid-template-columns: 1fr; gap: 1rem; }
}

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