/* ==========================================================================
   Ohr Olam Global Foundation — static site styles
   ========================================================================== */

:root {
  --black: #0B0B0D;
  --black-light: #121214;
  --black-lighter: #1a1a1e;
  --white: #F7F7F5;
  --cream: #F4F1EA;
  --gold: #D4A03F;
  --gold-light: #E5B84D;
  --gold-dark: #B88C35;
  --gray: #B9B5AD;
  --gray-dark: #6b6560;

  --w30: rgba(247, 247, 245, .3);
  --w40: rgba(247, 247, 245, .4);
  --w50: rgba(247, 247, 245, .5);
  --w60: rgba(247, 247, 245, .6);
  --w70: rgba(247, 247, 245, .7);
  --w-line: rgba(247, 247, 245, .1);
  --w-faint: rgba(247, 247, 245, .05);
  --g5: rgba(212, 160, 63, .05);
  --g10: rgba(212, 160, 63, .1);
  --g20: rgba(212, 160, 63, .2);

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;
  --expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; border: 0 solid; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, p, blockquote, ul { margin: 0; }
h1, h2, h3, h4, h5 { font-family: var(--serif); font-size: inherit; font-weight: inherit; }
ul { list-style: none; padding: 0; }
img, svg, canvas { display: block; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; margin: 0; }
button { background: none; padding: 0; cursor: pointer; }
[hidden] { display: none !important; }
section { position: relative; }

::selection { background: var(--gold); color: var(--black); }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-light); }

.icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.gold { color: var(--gold); }
.z10 { position: relative; z-index: 10; }

/* ---------- Keyframes ---------- */
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes pulse-glow { 0%, 100% { opacity: .5; transform: scale(1); } 50% { opacity: 1; transform: scale(1.05); } }
@keyframes bounce {
  0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(.8, 0, 1, 1); }
  50% { transform: none; animation-timing-function: cubic-bezier(0, 0, .2, 1); }
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-5%, -10%); }
  20% { transform: translate(-15%, 5%); }
  30% { transform: translate(7%, -25%); }
  40% { transform: translate(-5%, 25%); }
  50% { transform: translate(-15%, 10%); }
  60% { transform: translate(15%, 0%); }
  70% { transform: translate(0%, 15%); }
  80% { transform: translate(3%, 35%); }
  90% { transform: translate(-10%, 10%); }
}
@keyframes rise { from { opacity: 0; transform: translateY(var(--ry, 60px)); } }
@keyframes fade-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Motion helpers ----------
   .intro: plays on load (hero). .reveal: plays when scrolled into view.
   fill-mode "backwards" so hover transforms still work once finished. */
.js .intro { animation: rise var(--dur, .8s) var(--expo) var(--d, 0s) backwards; }
.js .reveal:not(.in) { opacity: 0; }
.js .reveal.in { animation: rise var(--dur, .8s) var(--expo) var(--d, 0s) backwards; }

/* ---------- Shared components ---------- */
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: .035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}

.shimmer-gold {
  background: linear-gradient(90deg, #D4A03F 0%, #E5B84D 25%, #FFF2CC 50%, #E5B84D 75%, #D4A03F 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s ease-in-out infinite;
}

.glass-card {
  background: rgba(255, 255, 255, .03);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, .06);
}

.hover-lift { transition: transform .4s var(--expo), box-shadow .4s ease; }
.hover-lift:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0, 0, 0, .3); }

.micro-label {
  display: inline-block;
  font-size: .65rem;
  line-height: 1;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  font-family: var(--sans);
}
.micro { font-size: .65rem; line-height: 1; letter-spacing: .2em; }

.section-divider {
  width: 6rem;
  height: 1px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.container { max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 1024px) { .container { padding: 0 4rem; } }

.section { padding: 8rem 0; overflow: hidden; }
@media (min-width: 768px) { .section { padding: 10rem 0; } }
.bg-black { background: var(--black); }
.bg-black-light { background: var(--black-light); }

.section-head { text-align: center; margin-bottom: 5rem; }
.section-head .micro-label { display: block; margin-bottom: 1rem; }
.section-head h2 { font-size: clamp(2rem, 5vw, 4rem); line-height: 1.1; color: var(--white); margin-bottom: 1.5rem; }
.section-head .section-divider { margin-bottom: 2rem; }
.lead { font-size: 1.125rem; line-height: 1.625; }
.lead-60 { color: var(--w60); }
@media (min-width: 768px) { .lead { font-size: 1.25rem; } }
.lead-sm { font-size: 1.125rem; line-height: 1.75rem; color: var(--w50); }
.w-2xl { max-width: 42rem; margin-left: auto; margin-right: auto; }
.w-3xl { max-width: 48rem; margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-size: .875rem;
  line-height: 1.25rem;
  font-weight: 600;
  letter-spacing: .025em;
  transition: all .3s ease;
}
.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: var(--gold-light); box-shadow: 0 0 30px rgba(212, 160, 63, .3); }
.btn-outline { border: 1px solid rgba(247, 247, 245, .2); color: var(--white); font-weight: 500; }
.btn-outline:hover { border-color: rgba(212, 160, 63, .5); background: var(--g5); }
.btn-lg { padding: 1rem 2rem; }
.btn-block { display: flex; width: 100%; padding: 1rem; }
.arrow-btn .icon { transition: transform .3s ease; }
.arrow-btn:hover .icon { transform: translateX(.25rem); }

/* Icon circles */
.icon-circle {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background: var(--g10);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  flex-shrink: 0;
  transition: all .5s ease;
}
.icon-circle.lg { width: 4rem; height: 4rem; }
.icon-circle.xl { width: 6rem; height: 6rem; margin-bottom: 0; }

/* Cards */
.grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.grid.gap-8 { gap: 2rem; }
@media (min-width: 768px) { .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
.card { padding: 2rem; }
.card h3 { font-size: 1.5rem; line-height: 2rem; color: var(--white); margin-bottom: .75rem; }
.card p { font-size: .875rem; line-height: 1.625; color: var(--w50); }
.card:hover .icon-circle { background: var(--g20); }
.card:hover .icon-circle.grow,
.focus:hover .icon-circle.grow { transform: scale(1.1); }

/* ---------- Custom cursor ---------- */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 9999px;
  pointer-events: none;
  translate: -50% -50%;
  opacity: 0;
}
.cursor-dot { width: .5rem; height: .5rem; background: var(--gold); z-index: 10000; mix-blend-mode: difference; }
.cursor-ring {
  width: 2.5rem;
  height: 2.5rem;
  z-index: 9999;
  border: 1px solid rgba(247, 247, 245, .2);
  transition: width .3s, height .3s, border-color .3s, background-color .3s;
}
.cursor-ring.hover { width: 4rem; height: 4rem; border-color: rgba(212, 160, 63, .4); background: var(--g5); }
.has-cursor .cursor-dot, .has-cursor .cursor-ring { opacity: 1; }
@media (min-width: 1024px) {
  .has-cursor, .has-cursor a, .has-cursor button, .has-cursor input { cursor: none !important; }
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 0;
  background: transparent;
  transition: all .7s ease;
}
.js .nav { animation: rise 1s var(--expo) .5s backwards; --ry: -100px; }
.nav.scrolled {
  padding: 1rem 0;
  background: rgba(11, 11, 13, .8);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 0 1.5rem; }
@media (min-width: 1024px) { .nav-inner { padding: 0 4rem; } }
.nav-logo img { height: 5rem; width: auto; object-fit: contain; transition: transform .3s, height .7s ease; }
.nav.scrolled .nav-logo img { height: 4rem; }
@media (min-width: 1024px) {
  .nav-logo img { height: 7.5rem; }
  .nav.scrolled .nav-logo img { height: 5.5rem; }
}
.nav-logo:hover img { transform: scale(1.05); }
.nav-links { display: none; align-items: center; gap: 2.5rem; }
.nav-links a { font-size: .875rem; font-weight: 500; letter-spacing: .025em; color: var(--w70); transition: color .3s; }
.nav-links a:hover { color: var(--gold); }
.btn-nav { padding: .625rem 1.5rem; letter-spacing: 0; }
.btn-nav:hover { box-shadow: 0 0 20px rgba(212, 160, 63, .3); }
.nav-toggle { padding: .5rem; color: var(--white); }
@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
}

.mobile-menu {
  position: fixed;
  inset: 72px 0 0 0;
  z-index: 99;
  background: rgba(11, 11, 13, .98);
  -webkit-backdrop-filter: blur(40px);
  backdrop-filter: blur(40px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all .5s ease;
}
.mobile-menu.open { opacity: 1; visibility: visible; pointer-events: auto; }
.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 2rem;
  margin-top: -5rem;
}
.mobile-menu-inner a { font-family: var(--serif); font-size: 1.875rem; line-height: 2.25rem; color: rgba(247, 247, 245, .8); transition: color .15s; }
.mobile-menu-inner a:hover { color: var(--gold); }
.mobile-donate { margin-top: 1rem; padding: 1rem 2.5rem; font-size: 1.125rem; letter-spacing: 0; }
@media (min-width: 1024px) { .mobile-menu { display: none; } }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.hero-shade { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero-shade-v { background: linear-gradient(to bottom, rgba(11, 11, 13, .6), transparent, var(--black)); }
.hero-shade-h { background: linear-gradient(to right, rgba(11, 11, 13, .4), transparent, rgba(11, 11, 13, .4)); }
.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 800px;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
}
.hero-glow div {
  width: 100%;
  height: 100%;
  border-radius: 9999px;
  background: var(--g5);
  filter: blur(150px);
  animation: pulse-glow 4s ease-in-out infinite;
}
.hero-content { position: relative; z-index: 3; text-align: center; padding: 0 1.5rem; max-width: 64rem; margin: 0 auto; }
.hero-label { margin-bottom: 2rem; }
.hero-label-line { width: 4rem; height: 1px; margin: 1rem auto 0; background: linear-gradient(to right, transparent, var(--gold), transparent); }
.hero-title { font-size: clamp(3rem, 8vw, 7rem); line-height: .95; margin-bottom: 2rem; }
.hero-sub { font-size: 1.125rem; line-height: 1.625; color: var(--w70); max-width: 42rem; margin: 0 auto 3rem; }
@media (min-width: 768px) { .hero-sub { font-size: 1.25rem; } }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.hero-scroll { position: absolute; bottom: 2rem; left: 50%; translate: -50% 0; z-index: 3; }
.hero-scroll a { display: flex; flex-direction: column; align-items: center; gap: .5rem; color: var(--w40); transition: color .15s; }
.hero-scroll a:hover { color: var(--gold); }
.bounce { animation: bounce 1s infinite; }

/* ---------- Mission ---------- */
.mission-line {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 8rem;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, transparent, rgba(212, 160, 63, .3), transparent);
}
.vision { margin-top: 6rem; text-align: center; }
.vision blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.875rem;
  line-height: 1.25;
  color: rgba(247, 247, 245, .9);
  max-width: 56rem;
  margin: 0 auto;
}
@media (min-width: 768px) { .vision blockquote { font-size: 2.25rem; } }
@media (min-width: 1024px) { .vision blockquote { font-size: 3rem; } }

/* ---------- Programs ---------- */
.dot-pattern {
  position: absolute;
  inset: 0;
  opacity: .02;
  background-image: radial-gradient(circle at 1px 1px, rgba(212, 160, 63, .3) 1px, transparent 0);
  background-size: 40px 40px;
}

/* ---------- Impact ---------- */
.impact-bg {
  position: absolute;
  inset: 0;
  background: url(images/hero-light.jpg) center / cover no-repeat fixed;
}
.impact-shade { position: absolute; inset: 0; background: rgba(11, 11, 13, .85); }
.focus-areas { margin-bottom: 5rem; }
.focus { text-align: center; }
.focus .icon-circle { margin: 0 auto 1.5rem; }
.focus:hover .icon-circle { background: var(--g20); }
.focus h3 { font-size: 1.25rem; line-height: 1.75rem; color: var(--white); margin: 1rem 0 .5rem; }
.focus p { font-size: .875rem; line-height: 1.25rem; color: var(--w40); }

.bootcamp { padding: 2rem; max-width: 56rem; margin: 0 auto; }
.bootcamp-row { display: flex; flex-direction: column; align-items: center; gap: 2rem; }
.bootcamp-text { text-align: center; }
.bootcamp-text .micro-label { display: block; margin-bottom: .5rem; }
.bootcamp-text h3 { font-size: 1.875rem; line-height: 2.25rem; color: var(--white); margin-bottom: .75rem; }
.bootcamp-desc { color: var(--w60); line-height: 1.625; margin-bottom: 1rem; }
.pills { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1rem; justify-content: center; }
.pill { padding: .375rem .75rem; background: var(--g10); color: var(--gold); font-size: .75rem; line-height: 1rem; border-radius: 9999px; }
.bootcamp-note { color: var(--w40); font-size: .875rem; line-height: 1.625; }
@media (min-width: 768px) {
  .bootcamp { padding: 3rem; }
  .bootcamp-row { flex-direction: row; }
  .bootcamp-text { text-align: left; }
  .pills { justify-content: flex-start; }
}

/* ---------- Donate ---------- */
.donate-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  transform: translate(-50%, -50%);
  background: var(--g5);
  border-radius: 9999px;
  filter: blur(200px);
}
.tiers { display: grid; grid-template-columns: 1fr; gap: 2rem; max-width: 72rem; margin: 0 auto; }
@media (min-width: 1024px) { .tiers { grid-template-columns: repeat(3, 1fr); } }
.tier { position: relative; padding: 2rem; }
@media (min-width: 768px) { .tier { padding: 2.5rem; } }
.tier-featured {
  background: linear-gradient(to bottom, rgba(212, 160, 63, .15), var(--g5));
  border: 1px solid rgba(212, 160, 63, .3);
}
.tier-badge { position: absolute; top: -.75rem; left: 50%; transform: translateX(-50%); }
.tier-badge span {
  display: block;
  padding: .25rem 1rem;
  background: var(--gold);
  color: var(--black);
  font-size: .75rem;
  line-height: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  white-space: nowrap;
}
.tier h3 { font-size: 1.5rem; line-height: 2rem; color: var(--white); margin-bottom: .5rem; }
.price { display: flex; align-items: baseline; gap: .25rem; margin-bottom: 1rem; }
.amount { font-family: var(--serif); font-size: 2.25rem; line-height: 2.5rem; color: var(--white); }
.amount.gold { color: var(--gold); }
.period { font-size: .875rem; color: var(--w40); }
.tier-desc { font-size: .875rem; line-height: 1.625; color: var(--w50); margin-bottom: 1.5rem; }
.checklist { margin-bottom: 2rem; display: grid; gap: .75rem; }
.checklist li { display: flex; align-items: flex-start; gap: .75rem; font-size: .875rem; line-height: 1.25rem; color: var(--w60); }
.checklist .icon { color: var(--gold); margin-top: .125rem; }

.governance { margin: 5rem auto 0; padding: 2rem; max-width: 56rem; }
@media (min-width: 768px) { .governance { padding: 2.5rem; } }
.gov-head { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; text-align: center; margin-bottom: 2rem; }
.gov-head .icon-circle { margin-bottom: 0; }
.gov-head h4 { font-size: 1.25rem; line-height: 1.75rem; color: var(--white); margin-bottom: .5rem; }
.gov-head p { font-size: .875rem; line-height: 1.625; color: var(--w50); }
@media (min-width: 768px) { .gov-head { flex-direction: row; text-align: left; } }
.gov-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .gov-grid { grid-template-columns: 1fr 1fr; } }
.entity { padding: 1.5rem; background: var(--w-faint); border: 1px solid var(--w-line); }
.entity .micro-label { display: block; margin-bottom: .75rem; }
.entity h5 { font-size: 1.125rem; line-height: 1.75rem; color: var(--white); margin-bottom: .5rem; }
.entity p { font-size: .875rem; line-height: 1.625; color: var(--w50); margin-bottom: .75rem; }
.entity-id, .entity p.entity-id { color: var(--gold); font-size: .75rem; line-height: 1rem; margin-bottom: 0; }
.gov-points {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--w-line);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem 2rem;
}
.gov-points span { display: flex; align-items: center; gap: .5rem; font-size: .75rem; line-height: 1rem; color: var(--w40); }
.gov-points .icon { color: var(--gold); }

/* ---------- Footer ---------- */
.footer { position: relative; background: var(--black); border-top: 1px solid var(--w-faint); }
.newsletter { padding: 5rem 0; border-bottom: 1px solid var(--w-faint); }
.newsletter-inner { max-width: 56rem; margin: 0 auto; padding: 0 1.5rem; text-align: center; }
.newsletter h3 { font-size: 1.875rem; line-height: 2.25rem; color: var(--white); margin-bottom: 1rem; }
@media (min-width: 768px) { .newsletter h3 { font-size: 2.25rem; line-height: 2.5rem; } }
.newsletter-inner > p { color: var(--w50); max-width: 36rem; margin: 0 auto 2rem; }
.newsletter-form { display: flex; flex-direction: column; gap: 1rem; max-width: 32rem; margin: 0 auto; }
.newsletter-form .field { flex: 1; padding: 1rem 1.5rem; }
.newsletter-form .btn { padding: 1rem 2rem; font-size: 1rem; letter-spacing: 0; }
.newsletter-form .btn:hover { box-shadow: none; }
@media (min-width: 640px) { .newsletter-form { flex-direction: row; } }
.newsletter-thanks { margin-top: 1rem; color: var(--gold); font-size: .875rem; animation: fade-in .5s ease-out; }

.field {
  width: 100%;
  padding: .75rem 1rem;
  background: var(--w-faint);
  border: 1px solid var(--w-line);
  color: var(--white);
  border-radius: 0;
  transition: border-color .15s;
}
.field::placeholder { color: var(--w30); }
.field:focus { outline: none; border-color: rgba(212, 160, 63, .5); }

.footer-main { padding: 4rem 0; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-logo { height: 4rem; width: auto; margin-bottom: 1.5rem; }
.footer-blurb { color: var(--w50); font-size: .875rem; line-height: 1.625; margin-bottom: 1.5rem; }
.socials { display: flex; gap: 1rem; }
.socials a {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: var(--w-faint);
  color: var(--w40);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .15s;
}
.socials a:hover { background: var(--g10); color: var(--gold); }
.footer h4.micro-label { display: block; margin-bottom: 1.5rem; }
.footer-links { display: grid; gap: .75rem; }
.footer-links a { color: var(--w50); font-size: .875rem; line-height: 1.25rem; transition: color .15s; }
.footer-links a:hover { color: var(--gold); }
.contact { display: grid; gap: 1rem; }
.contact li { display: flex; align-items: flex-start; gap: .75rem; font-size: .875rem; line-height: 1.25rem; color: var(--w50); }
.contact li.center { align-items: center; }
.contact .icon { color: var(--gold); margin-top: .125rem; }
.contact li.center .icon { margin-top: 0; }
.contact a { transition: color .15s; }
.contact a:hover { color: var(--gold); }
.legal-box { margin-top: 2rem; padding: 1rem; background: var(--w-faint); border: 1px solid var(--w-line); display: grid; gap: .75rem; }
.legal-box p { color: var(--w40); font-size: .75rem; line-height: 1.625; }
.legal-box p.entity-id { color: var(--gold); margin-top: .25rem; }
.legal-sep { padding-top: .75rem; border-top: 1px solid var(--w-line); }

.footer-bottom { border-top: 1px solid var(--w-faint); padding: 1.5rem 0; }
.footer-bottom-inner { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1rem; }
@media (min-width: 768px) { .footer-bottom-inner { flex-direction: row; } }
.copyright { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: .25rem; color: var(--w30); font-size: .75rem; line-height: 1rem; }
.back-top { display: flex; align-items: center; gap: .5rem; color: var(--w30); font-size: .75rem; transition: color .15s; }
.back-top:hover { color: var(--gold); }
.back-top .icon { transition: transform .15s; }
.back-top:hover .icon { transform: translateY(-.25rem); }

/* ---------- Donation modal ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 11, 13, .9);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
}
.modal-panel {
  position: relative;
  width: 100%;
  max-width: 32rem;
  margin: 0 1rem;
  background: #151518;
  border: 1px solid var(--w-line);
  max-height: 90vh;
  overflow-y: auto;
}
.donate-form { padding: 1.5rem; }
@media (min-width: 768px) { .donate-form { padding: 2rem; } }
.modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.modal-head h2 { font-size: 1.5rem; line-height: 2rem; color: var(--white); }
.modal-head p { color: var(--w40); font-size: .875rem; margin-top: .25rem; }
.icon-btn { width: 2.5rem; height: 2.5rem; display: flex; align-items: center; justify-content: center; color: var(--w40); transition: color .15s; }
.icon-btn:hover { color: var(--white); }

.freq { display: flex; margin-bottom: 1.5rem; background: var(--w-faint); border-radius: .5rem; padding: .25rem; }
.freq-btn {
  flex: 1;
  padding: .625rem 0;
  font-size: .875rem;
  font-weight: 500;
  border-radius: .375rem;
  color: var(--w60);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  transition: all .15s;
}
.freq-btn:hover { color: var(--white); }
.freq-btn.active { background: var(--gold); color: var(--black); }

.form-block { margin-bottom: 1.5rem; }
.form-block > .micro-label, .form-block label.micro-label { display: block; margin-bottom: .5rem; }
.form-block > .micro-label:first-child { margin-bottom: .75rem; }
.form-block.stack { display: grid; gap: 1rem; }
.amounts { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; margin-bottom: .75rem; }
.choice {
  padding: .75rem 0;
  text-align: center;
  font-size: .875rem;
  font-weight: 500;
  border: 1px solid var(--w-line);
  color: var(--w60);
  transition: all .15s;
}
.choice:hover { border-color: var(--w30); color: var(--white); }
.choice.active { border-color: var(--gold); background: var(--g10); color: var(--gold); }
.choice.sm { padding: .5rem 1rem; font-weight: 400; }
.currency-field { position: relative; }
.currency-field span { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--w40); }
.currency-field .field { padding-left: 2rem; }
.dedicate-toggle { font-size: .875rem; color: var(--gold); display: flex; align-items: center; gap: .5rem; transition: color .15s; }
.dedicate-toggle:hover { color: var(--gold-light); }
.dedicate { margin-top: 1rem; display: grid; gap: .75rem; animation: fade-in .5s ease-out; }
.dedicate-types { display: flex; gap: .75rem; }
.card-field { padding: .875rem 1rem; background: var(--w-faint); border: 1px solid var(--w-line); transition: border-color .15s; min-height: 3rem; }
.card-field.focused { border-color: rgba(212, 160, 63, .5); }
.secure-note { display: flex; align-items: center; gap: .5rem; margin-top: .5rem; color: var(--w30); font-size: .75rem; }
.form-error { margin-bottom: 1rem; padding: .75rem; background: rgba(239, 68, 68, .1); border: 1px solid rgba(239, 68, 68, .2); color: #f87171; font-size: .875rem; }
.submit-btn:disabled { opacity: .5; cursor: not-allowed; }
.submit-btn:hover { box-shadow: none; }
.spinner { width: 1rem; height: 1rem; animation: spin 1s linear infinite; }
.stripe-note { text-align: center; color: rgba(247, 247, 245, .2); font-size: .75rem; margin-top: 1rem; }

.donate-done { padding: 2rem; text-align: center; }
.close-abs { position: absolute; top: 1rem; right: 1rem; }
.done-check { width: 5rem; height: 5rem; border-radius: 9999px; background: var(--g20); color: var(--gold); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; }
.donate-done h3 { font-size: 1.875rem; line-height: 2.25rem; color: var(--white); margin-bottom: 1rem; }
.done-msg { color: var(--w60); margin-bottom: .5rem; }
.done-msg strong { color: var(--gold); font-weight: 600; }
.done-receipt { color: var(--w40); font-size: .875rem; }
.donate-done .btn { margin-top: 2rem; padding: .75rem 2rem; font-size: 1rem; letter-spacing: 0; }
.donate-done .btn:hover { box-shadow: none; }

/* ---------- Mobile / accessibility ---------- */
@media (max-width: 768px) {
  .noise-overlay { display: none; }
  .impact-bg { background-attachment: scroll; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto !important; }
}
