/* ==========================================================================
   UDRS NPC — United Dream Rivers Services
   Static conversion of the React/Tailwind site to plain HTML/CSS/JS
   ========================================================================== */

/* ---------- Self-hosted fonts (latin subset, woff2) ---------- */
@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/bebas-neue-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2074, U+20AC, U+2122, U+2212;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2074, U+20AC, U+2122, U+2212;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2074, U+20AC, U+2122, U+2212;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2074, U+20AC, U+2122, U+2212;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/inter-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2074, U+20AC, U+2122, U+2212;
}

/* ---------- Design tokens ---------- */
:root {
  --gold: #d4a03c;
  --gold-dark: #c49335;
  --navy: #1a1f2e;
  --navy-light: #2a3142;
  --charcoal: #2d2d2d;
  --cream: #f5f0e8;
  --off-white: #faf8f5;
  --white: #ffffff;

  --ease-expo-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);

  --max-width: 80rem; /* max-w-7xl */
}

/* ---------- Reset ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--off-white);
  color: var(--navy);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.02em;
  line-height: 1;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ---------- Layout helpers ---------- */
.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1rem;
}
@media (min-width: 640px) { .container { padding-inline: 1.5rem; } }
@media (min-width: 1024px) { .container { padding-inline: 2rem; } }

.section {
  padding-block: 6rem;
}

.gold-bar {
  width: 4rem;
  height: 0.25rem;
  background: var(--gold);
  margin-bottom: 2rem;
  border: 0;
}
.gold-bar.wide { width: 5rem; height: 0.375rem; }
.gold-bar.center { margin-inline: auto; }

.text-gold { color: var(--gold); }

.eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.6;
}

/* Section background variants */
.bg-navy { background: var(--navy); color: var(--white); }
.bg-cream { background: var(--cream); color: var(--navy); }
.bg-charcoal { background: var(--charcoal); color: var(--white); }
.bg-offwhite { background: var(--off-white); color: var(--navy); }
.bg-gold-section { background: var(--gold); color: var(--navy); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  border-radius: 0.25rem;
  transition: all 0.3s var(--ease-smooth);
  cursor: pointer;
}

.btn-primary {
  padding: 1rem 2rem;
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(212, 160, 60, 0.3);
}

.btn-secondary {
  padding: 1rem 2rem;
  background: var(--navy);
  color: var(--white);
}
.btn-secondary:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
}

.btn-outline {
  padding: 1rem 2rem;
  border: 2px solid var(--navy);
  color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-outline-light {
  padding: 1rem 2rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-block { width: 100%; }
.btn-lg { padding: 1.25rem 2.5rem; }

/* Text link with arrow */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  transition: color 0.3s;
}
.text-link .icon { transition: transform 0.3s; }
.text-link:hover { color: var(--gold); }
.text-link:hover .icon { transform: translateX(0.5rem); }

/* Icon sizing */
.icon { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }
.icon-sm { width: 1rem; height: 1rem; }
.icon-lg { width: 2rem; height: 2rem; }

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding-block: 1.25rem;
  background: transparent;
  transition: all 0.5s var(--ease-smooth);
}
.nav.scrolled {
  padding-block: 0.75rem;
  background: rgba(26, 31, 46, 0.9);
  backdrop-filter: blur(20px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--white);
  transition: transform 0.3s;
}
.nav.scrolled .nav-logo { transform: scale(0.9); }

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}
.nav-link {
  position: relative;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s;
}
.nav-link:hover { color: var(--white); }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -0.25rem;
  left: 50%;
  transform: translateX(-50%);
  height: 2px;
  width: 0;
  background: var(--gold);
  transition: width 0.3s;
}
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--white); }

.nav-cta { display: none; }

.nav-toggle {
  display: flex;
  padding: 0.5rem;
  color: var(--white);
}
.nav-toggle .icon-close { display: none; }
.nav-toggle.open .icon-menu { display: none; }
.nav-toggle.open .icon-close { display: block; }

.nav-mobile {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: rgba(26, 31, 46, 0.95);
  backdrop-filter: blur(20px);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.5s var(--ease-smooth);
}
.nav-mobile.open {
  max-height: 30rem;
  opacity: 1;
}
.nav-mobile-inner {
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.nav-mobile a.nav-link-mobile {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
  font-weight: 500;
  padding-block: 0.5rem;
  transition: color 0.3s;
}
.nav-mobile a.nav-link-mobile:hover { color: var(--white); }

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-cta { display: block; }
  .nav-toggle { display: none; }
  .nav-mobile { display: none; }
}

/* ==========================================================================
   Sticky Donate Bar
   ========================================================================== */
.sticky-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 40;
  background: var(--navy);
  border-top: 1px solid rgba(212, 160, 60, 0.3);
  transform: translateY(100%);
  transition: transform 0.5s var(--ease-smooth);
}
.sticky-bar.visible { transform: translateY(0); }
.sticky-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.75rem;
}
.sticky-bar-info {
  display: none;
  align-items: center;
  gap: 1.5rem;
}
.sticky-bar-info span.item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
}
.sticky-bar-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  justify-content: space-between;
}
.sticky-bar-cta .price { color: var(--white); font-size: 0.875rem; }
.sticky-bar-dismiss {
  margin-left: 1rem;
  padding: 0.25rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s;
}
.sticky-bar-dismiss:hover { color: var(--white); }
.btn-donate-sm {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 0.25rem;
  transition: all 0.3s;
  animation: pulseGlow 2s infinite;
}
.btn-donate-sm:hover { background: var(--gold-dark); transform: scale(1.05); }

@media (min-width: 640px) {
  .sticky-bar-info { display: flex; }
  .sticky-bar-cta { flex: none; justify-content: flex-end; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--navy);
  color: var(--white);
}
.footer-main {
  padding-block: 4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
.footer-brand h3 {
  font-size: 1.875rem;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.footer-social { display: flex; gap: 1rem; }
.footer-social a {
  width: 2.5rem; height: 2.5rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background 0.3s;
}
.footer-social a:hover { background: var(--gold); }
.footer h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.footer ul.footer-list { display: flex; flex-direction: column; gap: 0.75rem; }
.footer ul.footer-list li,
.footer ul.footer-list a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  transition: color 0.3s;
}
.footer ul.footer-list a:hover { color: var(--gold); }
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.footer-contact .icon { color: var(--gold); margin-top: 0.1rem; }
.footer-contact span { color: rgba(255, 255, 255, 0.7); font-size: 0.875rem; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-bottom-inner {
  padding-block: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
.footer-bottom p, .footer-bottom span, .footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}
.footer-bottom a:hover { color: var(--gold); }
.footer-bottom .reg { color: rgba(255, 255, 255, 0.3); font-size: 0.75rem; }
.footer-bottom-links { display: flex; align-items: center; gap: 1.5rem; }

@media (min-width: 768px) {
  .footer-main { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}
@media (min-width: 1024px) {
  .footer-main { grid-template-columns: repeat(4, 1fr); }
}

/* ==========================================================================
   Hero (Home)
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(26,31,46,0.8), rgba(26,31,46,0.5), transparent);
}
.hero-content {
  position: relative;
  z-index: 10;
  max-width: var(--max-width);
  margin-inline: auto;
  padding: 8rem 1rem 2rem;
  padding-top: 10rem;
  width: 100%;
}
.hero-inner { max-width: 42rem; }

.trust-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  border-radius: 9999px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
  font-weight: 500;
}
.trust-pill .icon-sm { color: var(--gold); }

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 1.5rem;
}
.hero h1 span { display: block; }

.hero-sub {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 2rem;
}
.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.hero-trust-indicators {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.hero-trust-indicators span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-trust-indicators .icon-sm { color: var(--gold); }

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 1s infinite;
}
.scroll-indicator .mouse {
  width: 1.5rem;
  height: 2.5rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 9999px;
  display: flex;
  justify-content: center;
  padding-top: 0.5rem;
}
.scroll-indicator .wheel {
  width: 0.375rem;
  height: 0.75rem;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 9999px;
}

@media (min-width: 640px) {
  .hero h1 { font-size: 3.75rem; }
  .hero-ctas { flex-direction: row; }
}
@media (min-width: 1024px) {
  .hero h1 { font-size: 4.5rem; }
}

/* ==========================================================================
   Two-column feature sections (home + services)
   ========================================================================== */
.split {
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.split.auto-height { min-height: 0; }
.split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
.split h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.split-body {
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  opacity: 0.7;
}
.media {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
}
.media.shadow { box-shadow: 0 25px 50px -12px rgba(0,0,0,0.35); }
.media img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.media-overlay-top {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,31,46,0.5), transparent);
}
.media-overlay-charcoal {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(45,45,45,0.3), transparent);
}

@media (min-width: 1024px) {
  .split-grid { grid-template-columns: repeat(2, 1fr); gap: 5rem; }
  .split h2 { font-size: 3.75rem; }
  .media img { height: 500px; }
  .order-lg-1 { order: 1; }
  .order-lg-2 { order: 2; }
}

/* Big stat */
.big-stat {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}
.big-stat .num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.75rem;
  font-weight: 700;
  color: var(--gold);
}
.big-stat .label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Floating card */
.floating-card {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--white);
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  max-width: 18rem;
  display: none;
}
.floating-card .row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; }
.floating-card .circle {
  width: 2.5rem; height: 2.5rem;
  border-radius: 9999px;
  background: rgba(212, 160, 60, 0.2);
  display: flex; align-items: center; justify-content: center;
}
.floating-card .circle .icon { color: var(--gold); }
.floating-card .big {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--navy);
}
.floating-card p { color: rgba(26,31,46,0.7); font-size: 0.875rem; }

.floating-card-navy {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--navy);
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.floating-card-navy .row { display: flex; align-items: center; gap: 0.75rem; }
.floating-card-navy .icon-lg { color: var(--gold); }
.floating-card-navy p.title { color: var(--white); font-weight: 600; }
.floating-card-navy p.sub { color: rgba(255,255,255,0.6); font-size: 0.875rem; }

.floating-card-gold {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--gold);
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.floating-card-gold .big {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--navy);
  display: block;
}
.floating-card-gold span.sub { color: rgba(26,31,46,0.8); font-size: 0.875rem; }

@media (min-width: 1024px) {
  .floating-card { display: block; }
}

/* Inline stat chip (education section) */
.stat-chip {
  margin-top: 2.5rem;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: rgba(212, 160, 60, 0.1);
  border: 1px solid rgba(212, 160, 60, 0.3);
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
}
.stat-chip .icon-lg { color: var(--gold); }
.stat-chip .big {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--gold);
}
.stat-chip p { color: rgba(255,255,255,0.6); font-size: 0.875rem; }

/* ==========================================================================
   Impact stats section (home)
   ========================================================================== */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 5rem;
}
.stat-box {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  transform: translateY(2.5rem);
  transition: all 0.7s var(--ease-smooth);
}
.stat-box.in-view { opacity: 1; transform: translateY(0); }
.stat-box .num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  margin-bottom: 0.5rem;
}
.stat-box .label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Testimonial (home) */
.testimonial {
  max-width: 48rem;
  margin-inline: auto;
  text-align: center;
  position: relative;
}
.testimonial blockquote {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.testimonial cite {
  color: var(--gold);
  font-weight: 500;
  font-style: normal;
}
.quote-mark {
  position: absolute;
  font-size: 6rem;
  color: rgba(212, 160, 60, 0.2);
  font-family: Georgia, serif;
  line-height: 1;
}
.quote-mark.tl { top: -2rem; left: 0; }
.quote-mark.br { bottom: -4rem; right: 0; }

/* ==========================================================================
   Get Involved CTA (home) + forms
   ========================================================================== */
.cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) { .cta-grid { grid-template-columns: repeat(2, 1fr); } }

.contact-row { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2.5rem; }
.contact-item { display: flex; align-items: center; gap: 1rem; }
.contact-item .badge {
  width: 3rem; height: 3rem;
  border-radius: 9999px;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
}
.contact-item .badge .icon { color: var(--gold); }
.contact-item .label { font-size: 0.875rem; color: rgba(26,31,46,0.6); }
.contact-item .value { color: var(--navy); font-weight: 600; }

.cta-buttons { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Netlify Forms honeypot — visually hidden, still present for bots to fill */
.hp-field { position: absolute; left: -9999px; top: -9999px; }

.card-form {
  background: var(--white);
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
.card-form h3 { font-family: 'Inter', sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--navy); margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(26,31,46,0.7);
  margin-bottom: 0.5rem;
}
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--navy);
  transition: all 0.2s;
  background: var(--white);
}
.form-control:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 160, 60, 0.2);
}
textarea.form-control { resize: vertical; }

/* ==========================================================================
   Inner page hero
   ========================================================================== */
.page {
  padding-top: 5rem;
}
.page-hero {
  background: var(--navy);
  padding-block: 6rem;
}
.page-hero .inner { max-width: 48rem; }
.page-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.page-hero p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}
@media (min-width: 640px) { .page-hero h1 { font-size: 3.75rem; } }
@media (min-width: 1024px) {
  .page-hero { padding-block: 8rem; }
  .page-hero h1 { font-size: 4.5rem; }
}

.section-head {
  max-width: 48rem;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 4rem;
}
.section-head h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.section-head p {
  font-size: 1.125rem;
  line-height: 1.7;
  opacity: 0.7;
}
@media (min-width: 640px) { .section-head h2 { font-size: 3rem; } }

/* Generic reveal animation for inner pages */
.reveal {
  opacity: 0;
  transform: translateY(2.5rem);
  transition: all 0.7s var(--ease-smooth);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal.from-left { transform: translateX(-2.5rem); }
.reveal.from-right { transform: translateX(2.5rem); }
.reveal.from-left.in-view,
.reveal.from-right.in-view { transform: translateX(0); }

/* ==========================================================================
   Cards / grids used across inner pages
   ========================================================================== */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 3rem; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-2.wide { gap: 4rem; }
}

/* Panel card (mission/vision, credibility, how-we-work) */
.panel {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2.5rem;
  border-radius: 0.5rem;
  transition: border-color 0.3s;
  height: 100%;
}
.panel:hover { border-color: rgba(212, 160, 60, 0.5); }
.panel .icon-box {
  width: 3.5rem; height: 3.5rem;
  background: rgba(212, 160, 60, 0.2);
  border-radius: 0.5rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
}
.panel .icon-box .icon { color: var(--gold); width: 1.75rem; height: 1.75rem; }
.panel h3 { font-size: 1.875rem; color: var(--white); margin-bottom: 1rem; }
.panel h4 { font-family: 'Inter', sans-serif; font-size: 1.25rem; font-weight: 700; color: var(--white); margin-bottom: 0.75rem; }
.panel p { color: rgba(255, 255, 255, 0.65); line-height: 1.7; font-size: 0.95rem; }
.panel .gold-bar { width: 3rem; margin-bottom: 1.5rem; }

/* White card (team, updates, testimonials, faq) */
.card {
  background: var(--white);
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: box-shadow 0.3s;
  height: 100%;
}
.card:hover { box-shadow: 0 20px 40px rgba(0,0,0,0.12); }

/* Team card */
.team-card { text-align: center; }
.team-card .avatar {
  width: 5rem; height: 5rem;
  background: rgba(212, 160, 60, 0.2);
  border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
}
.team-card .avatar .icon { color: var(--gold); width: 2.5rem; height: 2.5rem; }
.team-card h4 { font-family: 'Inter', sans-serif; font-size: 1.25rem; font-weight: 700; color: var(--navy); margin-bottom: 0.25rem; }
.team-card .role { color: var(--gold); font-size: 0.875rem; font-weight: 500; margin-bottom: 1rem; }
.team-card p { color: rgba(26,31,46,0.6); font-size: 0.875rem; }

/* Timeline (about) */
.timeline { position: relative; }
.timeline-line {
  display: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
  width: 2px;
  background: rgba(212, 160, 60, 0.3);
}
.timeline-item { position: relative; margin-bottom: 3rem; }
.timeline-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}
.timeline-card .year { color: var(--gold); font-weight: 700; font-size: 1.125rem; }
.timeline-card h4 { font-size: 1.5rem; color: var(--navy); margin: 0.5rem 0 0.75rem; }
.timeline-card p { color: rgba(26,31,46,0.7); }
.timeline-dot {
  display: none;
  position: absolute;
  left: 50%;
  top: 2rem;
  transform: translateX(-50%);
  width: 1rem; height: 1rem;
  background: var(--gold);
  border-radius: 9999px;
  border: 4px solid var(--cream);
}
@media (min-width: 1024px) {
  .timeline-line, .timeline-dot { display: block; }
  .timeline-item {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    margin-bottom: 0;
  }
  .timeline-item.right { text-align: right; }
  .timeline-item .timeline-card-wrap { padding-right: 4rem; }
  .timeline-item.right .timeline-card-wrap { grid-column-start: 2; padding-right: 0; padding-left: 4rem; text-align: left; }
}

/* Notice banner (about) */
.notice {
  margin-top: 4rem;
  background: rgba(212, 160, 60, 0.1);
  border: 1px solid rgba(212, 160, 60, 0.3);
  padding: 2rem;
  border-radius: 0.5rem;
}
.notice-inner { display: flex; align-items: flex-start; gap: 1rem; }
.notice .circle {
  width: 2.5rem; height: 2.5rem;
  background: rgba(212, 160, 60, 0.2);
  border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.notice .circle .icon { color: var(--gold); }
.notice h4 { font-family: 'Inter', sans-serif; font-size: 1.125rem; font-weight: 700; color: var(--white); margin-bottom: 0.5rem; }
.notice p { color: rgba(255,255,255,0.7); line-height: 1.7; }
.notice strong { color: var(--gold); }

/* Trust badge (about image) */
.image-with-badge { position: relative; }

/* ==========================================================================
   Services page specifics
   ========================================================================== */
.service-icon-badge {
  position: absolute;
  top: 1.5rem; left: 1.5rem;
  width: 3.5rem; height: 3.5rem;
  background: var(--gold);
  border-radius: 0.5rem;
  display: flex; align-items: center; justify-content: center;
}
.service-icon-badge .icon { color: var(--navy); width: 1.75rem; height: 1.75rem; }

.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 2rem; }
.mini-stat { padding: 1rem; border-radius: 0.5rem; }
.mini-stat.on-light { background: var(--white); }
.mini-stat.on-dark { background: rgba(255,255,255,0.1); }
.mini-stat .val {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
}
.mini-stat .lbl { font-size: 0.75rem; opacity: 0.6; }

.feature-list { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; }
.feature-list li { display: flex; align-items: center; gap: 0.75rem; }
.feature-list .icon { color: var(--gold); }
.feature-list span { opacity: 0.8; }

/* How we work steps */
.steps-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.step { position: relative; }
.step-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 0.5rem;
  height: 100%;
}
.step-card .step-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: rgba(212, 160, 60, 0.3);
  display: block;
  margin-bottom: 1rem;
}
.step-card h4 { font-family: 'Inter', sans-serif; font-size: 1.25rem; font-weight: 700; color: var(--white); margin-bottom: 0.75rem; }
.step-card p { color: rgba(255,255,255,0.6); font-size: 0.875rem; }
.step-arrow { display: none; }
@media (min-width: 768px) {
  .steps-grid { grid-template-columns: repeat(4, 1fr); }
  .step-arrow {
    display: block;
    position: absolute;
    top: 50%; right: -1rem;
    transform: translateY(-50%);
    z-index: 10;
    color: rgba(212, 160, 60, 0.5);
    width: 2rem; height: 2rem;
  }
}

/* Centered CTA blocks */
.cta-center { max-width: 56rem; margin-inline: auto; text-align: center; }
.cta-center .icon-hero { width: 4rem; height: 4rem; color: var(--gold); margin: 0 auto 1.5rem; }
.cta-center h2 { font-size: 2.25rem; font-weight: 700; margin-bottom: 1.5rem; }
.cta-center p { font-size: 1.125rem; line-height: 1.7; margin-bottom: 2.5rem; opacity: 0.75; }
.cta-center .buttons { display: flex; flex-direction: column; gap: 1rem; justify-content: center; }
@media (min-width: 640px) {
  .cta-center h2 { font-size: 3rem; }
  .cta-center .buttons { flex-direction: row; }
}

/* ==========================================================================
   Impact page specifics
   ========================================================================== */
.impact-stat {
  background: var(--white);
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  text-align: center;
  transition: all 0.5s var(--ease-smooth);
  opacity: 0;
  transform: translateY(2.5rem);
}
.impact-stat.in-view { opacity: 1; transform: translateY(0); }
.impact-stat .icon-circle {
  width: 3.5rem; height: 3.5rem;
  background: rgba(212, 160, 60, 0.2);
  border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
}
.impact-stat .icon-circle .icon { color: var(--gold); width: 1.75rem; height: 1.75rem; }
.impact-stat .num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--navy);
  display: block;
  margin-bottom: 0.5rem;
}
.impact-stat .label { color: rgba(26,31,46,0.6); font-size: 0.875rem; }

/* Fund allocation bars */
.fund-list { display: flex; flex-direction: column; gap: 1.5rem; }
.fund-row .fund-head { display: flex; justify-content: space-between; font-size: 0.875rem; margin-bottom: 0.5rem; }
.fund-row .fund-head .name { color: rgba(255,255,255,0.8); }
.fund-row .fund-head .pct { color: var(--gold); font-weight: 600; }
.fund-track { height: 0.75rem; background: rgba(255,255,255,0.1); border-radius: 9999px; overflow: hidden; }
.fund-fill { height: 100%; background: var(--gold); border-radius: 9999px; width: 0; transition: width 1s var(--ease-smooth); }
.fund-fill.mid { background: rgba(212,160,60,0.7); }
.fund-fill.low { background: rgba(212,160,60,0.4); }
.fund-note {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(212, 160, 60, 0.1);
  border: 1px solid rgba(212, 160, 60, 0.3);
  border-radius: 0.5rem;
}
.fund-note .row { display: flex; align-items: center; gap: 0.75rem; }
.fund-note .icon { color: var(--gold); }
.fund-note span { color: var(--white); font-weight: 600; }

.trust-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 0.5rem;
  text-align: center;
  transition: border-color 0.3s;
}
.trust-badge:hover { border-color: rgba(212, 160, 60, 0.5); }
.trust-badge h4 { font-family: 'Inter', sans-serif; font-size: 1.125rem; font-weight: 700; color: var(--white); margin-bottom: 0.25rem; }
.trust-badge p { color: rgba(255,255,255,0.6); font-size: 0.875rem; }

/* Testimonial card (impact) */
.testi-card { position: relative; }
.testi-card .quote-icon { position: absolute; top: 1.5rem; left: 1.5rem; color: rgba(212,160,60,0.2); width: 2.5rem; height: 2.5rem; }
.testi-card blockquote { color: rgba(26,31,46,0.8); font-style: italic; line-height: 1.7; margin-bottom: 1.5rem; padding-top: 2rem; position: relative; z-index: 1; }
.testi-card .testi-foot { border-top: 1px solid #f1f1f1; padding-top: 1rem; }
.testi-card cite { font-style: normal; }
.testi-card cite .author { font-weight: 600; color: var(--navy); }
.testi-card cite .loc { color: var(--gold); font-size: 0.875rem; display: block; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.gallery-item { position: relative; overflow: hidden; border-radius: 0.5rem; }
.gallery-item img { width: 100%; height: 200px; object-fit: cover; transition: transform 0.5s; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-caption {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,31,46,0.8), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover .gallery-caption { opacity: 1; }
.gallery-caption p { position: absolute; bottom: 1rem; left: 1rem; color: var(--white); font-size: 0.875rem; }
@media (min-width: 768px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery-item.large { grid-column: span 2; grid-row: span 2; }
  .gallery-item.large img { height: 400px; }
}

/* Update card */
.update-card .date { display: flex; align-items: center; gap: 0.5rem; color: var(--gold); font-size: 0.875rem; font-weight: 500; margin-bottom: 1rem; }
.update-card h4 { font-family: 'Inter', sans-serif; font-size: 1.25rem; font-weight: 700; color: var(--navy); margin-bottom: 0.75rem; }
.update-card p { color: rgba(26,31,46,0.6); }

/* ==========================================================================
   Get Involved / Donate specifics
   ========================================================================== */
.info-list { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.info-list .info-item { display: flex; align-items: center; gap: 0.75rem; }
.info-list .icon { color: var(--gold); }
.info-list span { opacity: 0.7; }

.section-tag { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; }
.section-tag .icon-box {
  width: 3rem; height: 3rem;
  background: rgba(212, 160, 60, 0.2);
  border-radius: 0.5rem;
  display: flex; align-items: center; justify-content: center;
}
.section-tag .icon-box .icon { color: var(--gold); }
.section-tag .label { font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.6; }

.urgency-banner {
  background: rgba(212, 160, 60, 0.1);
  border: 1px solid rgba(212, 160, 60, 0.3);
  padding: 1.5rem;
  border-radius: 0.5rem;
}
.urgency-banner .row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; }
.urgency-banner .icon { color: var(--gold); }
.urgency-banner .head { font-weight: 600; color: var(--navy); }
.urgency-banner p { color: rgba(26,31,46,0.7); font-size: 0.875rem; }
.urgency-banner strong { color: var(--gold); }

.amount-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
.amount-btn {
  padding: 1rem;
  border-radius: 0.5rem;
  border: 2px solid #e5e7eb;
  text-align: left;
  transition: all 0.2s;
  background: var(--white);
}
.amount-btn:hover { border-color: rgba(212, 160, 60, 0.5); }
.amount-btn.selected { border-color: var(--gold); background: rgba(212, 160, 60, 0.1); }
.amount-btn .amt {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  display: block;
}

.custom-amount-wrap { position: relative; }
.custom-amount-wrap .currency {
  position: absolute;
  left: 1rem; top: 50%;
  transform: translateY(-50%);
  color: rgba(26,31,46,0.5);
}
.custom-amount-wrap input { padding-left: 2.5rem; }

.impact-display {
  background: var(--cream);
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
}
.impact-display .cap { font-size: 0.875rem; color: rgba(26,31,46,0.6); margin-bottom: 0.25rem; }
.impact-display .val { color: var(--navy); font-weight: 500; }

.payment-note { text-align: center; font-size: 0.875rem; color: rgba(26,31,46,0.5); margin-top: 1rem; }

/* ==========================================================================
   Contact page specifics
   ========================================================================== */
.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--white);
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: box-shadow 0.3s;
}
.contact-card:hover { box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
.contact-card .circle {
  width: 3rem; height: 3rem;
  background: rgba(212, 160, 60, 0.2);
  border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-card .circle .icon { color: var(--gold); }
.contact-card .t { font-size: 0.875rem; color: rgba(26,31,46,0.6); }
.contact-card .v { color: var(--navy); font-weight: 600; }

.social-round { display: flex; gap: 1rem; }
.social-round a {
  width: 3rem; height: 3rem;
  background: var(--navy);
  border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  transition: all 0.3s;
}
.social-round a:hover { background: var(--gold); color: var(--navy); }

.community-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 0.5rem;
  text-align: center;
  transition: border-color 0.3s;
}
.community-card:hover { border-color: rgba(212, 160, 60, 0.5); }
.community-card .icon { color: var(--gold); width: 2rem; height: 2rem; margin: 0 auto 1rem; }
.community-card h4 { font-family: 'Inter', sans-serif; font-size: 1.25rem; font-weight: 700; color: var(--white); margin-bottom: 0.5rem; }
.community-card p { color: rgba(255,255,255,0.6); font-size: 0.875rem; }

.faq-list { display: flex; flex-direction: column; gap: 1.5rem; }
.faq {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.faq h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.faq h4 .icon { color: var(--gold); margin-top: 0.15rem; }
.faq p { color: rgba(26,31,46,0.7); margin-left: 2rem; }

.spinner {
  width: 1.25rem; height: 1.25rem;
  border: 2px solid rgba(26,31,46,0.3);
  border-top-color: var(--navy);
  border-radius: 9999px;
  animation: spin 0.8s linear infinite;
}

/* ==========================================================================
   Dialog / Modal
   ========================================================================== */
.dialog-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.dialog-overlay.open { display: flex; }
.dialog {
  background: var(--white);
  border-radius: 0.5rem;
  padding: 2rem;
  max-width: 28rem;
  width: 100%;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  box-shadow: 0 25px 50px rgba(0,0,0,0.25);
  animation: scaleIn 0.3s var(--ease-spring);
}
.dialog .dialog-icon {
  width: 4rem; height: 4rem;
  background: rgba(212, 160, 60, 0.2);
  border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.dialog .dialog-icon .icon { color: var(--gold); width: 2rem; height: 2rem; }
.dialog h3 { font-family: 'Inter', sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.dialog.center { text-align: center; }
.dialog p { color: rgba(26,31,46,0.7); margin-bottom: 1.5rem; }

/* ==========================================================================
   Long-form content (legal pages)
   ========================================================================== */
.prose { max-width: 48rem; margin-inline: auto; }
.prose .updated { font-size: 0.875rem; color: rgba(26, 31, 46, 0.5); margin-bottom: 2.5rem; }
.prose h2 {
  font-family: 'Inter', sans-serif;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 2.75rem;
  margin-bottom: 1rem;
}
.prose h2:first-of-type { margin-top: 0; }
.prose p { font-size: 1rem; line-height: 1.75; color: rgba(26, 31, 46, 0.8); margin-bottom: 1.1rem; }
.prose ul, .prose ol { margin: 0 0 1.1rem 1.5rem; color: rgba(26, 31, 46, 0.8); line-height: 1.75; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 0.4rem; }
.prose strong { color: var(--navy); }
.prose a { color: var(--gold-dark); text-decoration: underline; text-underline-offset: 0.15em; }
.prose .placeholder {
  background: rgba(212, 160, 60, 0.15);
  border: 1px dashed var(--gold-dark);
  border-radius: 0.25rem;
  padding: 0.1rem 0.45rem;
  font-weight: 600;
  color: var(--navy);
}

/* ==========================================================================
   Legal pages (privacy / terms)
   ========================================================================== */
.legal-hero { padding: 9rem 1rem 3rem; background: var(--navy); text-align: center; }
.legal-hero h1 { color: var(--white); font-size: 2.25rem; margin-bottom: 0.75rem; }
.legal-hero p { color: rgba(255, 255, 255, 0.7); max-width: 36rem; margin-inline: auto; }
@media (min-width: 640px) { .legal-hero h1 { font-size: 2.75rem; } }

/* ==========================================================================
   404 page
   ========================================================================== */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 9rem 1rem 4rem;
}
.error-page .code {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 7rem;
  line-height: 1;
  color: var(--gold);
}
@media (min-width: 640px) { .error-page .code { font-size: 10rem; } }
.error-page h1 { font-size: 1.75rem; color: var(--white); margin: 1rem 0 1rem; }
.error-page p { color: rgba(255, 255, 255, 0.75); font-size: 1.05rem; margin-bottom: 2rem; max-width: 32rem; }

/* Discreet admin entry point, bottom of footer */
.footer-admin { text-align: center; padding-bottom: 0.85rem; }
.footer-admin a {
  color: rgba(255, 255, 255, 0.14);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  transition: color 0.3s;
}
.footer-admin a:hover { color: rgba(255, 255, 255, 0.45); }

/* ==========================================================================
   Utility spacing helpers
   ========================================================================== */
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mt-8 { margin-top: 2rem; }
.stack-2 > * + * { margin-top: 1.5rem; }

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(212, 160, 60, 0.3); }
  50% { box-shadow: 0 0 40px rgba(212, 160, 60, 0.5); }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-25%); }
}
@keyframes spin { to { transform: rotate(360deg); } }

.animate-fade-in { animation: fadeIn 0.6s var(--ease-expo-out) forwards; }
.animate-slide-up { opacity: 0; animation: slideUp 0.7s var(--ease-expo-out) forwards; }

/* ==========================================================================
   Housing gallery (2x2 image grid — portable/modular housing showcase)
   ========================================================================== */
.housing-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.housing-gallery img {
  width: 100%; height: 11rem;
  object-fit: cover;
  border-radius: 0.5rem;
  box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}
@media (min-width: 640px) { .housing-gallery img { height: 13rem; } }

.invest-banner {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1rem;
  background: rgba(212, 160, 60, 0.15);
  border: 1px solid rgba(212, 160, 60, 0.4);
  border-radius: 9999px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
}

/* ==========================================================================
   Inner-page image hero (.ihero) — one flexible component, distinct per page
   ========================================================================== */
.ihero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--navy);
}
.ihero-bg { position: absolute; inset: 0; z-index: 0; }
.ihero-bg img { width: 100%; height: 100%; object-fit: cover; }
.ihero-scrim { position: absolute; inset: 0; z-index: 1; }
.ihero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding: 8.5rem 1rem 3rem;
}
.ihero-inner { max-width: 46rem; }
.ihero .kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.ihero .kicker::before { content: ""; width: 2.25rem; height: 2px; background: var(--gold); }
.ihero h1 {
  font-size: 2.75rem;
  color: var(--white);
  line-height: 0.95;
  margin-bottom: 1.1rem;
}
.ihero h1 .text-gold { color: var(--gold); }
.ihero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 40rem;
}
.ihero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2.25rem;
  margin-top: 2rem;
}
.ihero-meta .m { display: flex; flex-direction: column; }
.ihero-meta .m .n {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.1rem;
  color: var(--gold);
  line-height: 1;
}
.ihero-meta .m .l {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.25rem;
}
.ihero.center .ihero-content { text-align: center; }
.ihero.center .ihero-inner { max-width: 52rem; margin-inline: auto; }
.ihero.center .kicker { justify-content: center; }
.ihero.center p { margin-inline: auto; }
.ihero.center .ihero-meta { justify-content: center; }

/* Scrim personalities */
.scrim-navy { background: linear-gradient(to top, rgba(16,20,31,0.94) 0%, rgba(16,20,31,0.55) 45%, rgba(16,20,31,0.3) 100%); }
.scrim-left { background: linear-gradient(105deg, rgba(16,20,31,0.94) 0%, rgba(16,20,31,0.6) 48%, rgba(16,20,31,0.12) 100%); }
.scrim-charcoal { background: linear-gradient(to top, rgba(18,18,18,0.92) 0%, rgba(18,18,18,0.5) 55%, rgba(18,18,18,0.15) 100%); }
.scrim-gold {
  background:
    linear-gradient(to top, rgba(16,20,31,0.9) 0%, rgba(16,20,31,0.45) 55%, rgba(16,20,31,0.2) 100%),
    radial-gradient(circle at 82% 18%, rgba(212,160,60,0.32), transparent 55%);
}

@media (min-width: 640px) { .ihero h1 { font-size: 3.75rem; } }
@media (min-width: 1024px) {
  .ihero { min-height: 68vh; }
  .ihero h1 { font-size: 4.75rem; }
  .ihero-content { padding: 10rem 2rem 4rem; }
}

/* ==========================================================================
   Home — program cards (replaces repetitive split sections)
   ========================================================================== */
.programs { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .programs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .programs { grid-template-columns: repeat(4, 1fr); } }

.program-card {
  position: relative;
  min-height: 23rem;
  border-radius: 0.6rem;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  isolation: isolate;
}
.program-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.6s var(--ease-smooth);
}
.program-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(14,18,28,0.94) 0%, rgba(14,18,28,0.5) 52%, rgba(14,18,28,0.15) 100%);
}
.program-card:hover img { transform: scale(1.06); }
.program-card .pc-body { padding: 1.5rem; }
.program-card .pc-ico {
  width: 2.75rem; height: 2.75rem;
  border-radius: 0.5rem;
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.program-card .pc-ico .icon { color: var(--navy); }
.program-card h3 { font-size: 1.7rem; margin-bottom: 0.4rem; }
.program-card p { font-size: 0.9rem; color: rgba(255,255,255,0.82); line-height: 1.6; }
.program-card .pc-link {
  margin-top: 1rem;
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--gold); font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.program-card .pc-link .icon { width: 1rem; height: 1rem; transition: transform 0.3s; }
.program-card:hover .pc-link .icon { transform: translateX(0.35rem); }

/* ==========================================================================
   Media strip (home → content teaser)
   ========================================================================== */
.media-strip { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 9rem; }
@media (min-width: 768px) { .media-strip { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 10rem; } }
.ms-item {
  position: relative; overflow: hidden; border-radius: 0.5rem;
  display: block; background: var(--navy);
}
.ms-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-smooth); }
.ms-item:hover img { transform: scale(1.07); }
.ms-item.tall { grid-row: span 2; }
.ms-item.wide { grid-column: span 2; }
.ms-item .ms-cap {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14,18,28,0.85), transparent 55%);
  opacity: 0; transition: opacity 0.3s;
  display: flex; align-items: flex-end; padding: 0.9rem;
  color: var(--white); font-size: 0.8rem; font-weight: 500;
}
.ms-item:hover .ms-cap { opacity: 1; }
.play-badge {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 3.25rem; height: 3.25rem; border-radius: 9999px;
  background: rgba(212,160,60,0.92);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
  transition: transform 0.3s;
}
.play-badge .icon { color: var(--navy); width: 1.4rem; height: 1.4rem; }
.ms-item:hover .play-badge { transform: translate(-50%, -50%) scale(1.1); }

/* ==========================================================================
   Content / Media page
   ========================================================================== */
.video-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .video-grid { grid-template-columns: repeat(3, 1fr); } }
.video-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0.6rem; overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.video-card:hover { border-color: rgba(212,160,60,0.5); transform: translateY(-4px); }
.video-card video {
  width: 100%; display: block; aspect-ratio: 4 / 3;
  object-fit: cover; background: #000;
}
.video-card .vc-body { padding: 1rem 1.25rem 1.25rem; }
.video-card .vc-tag { color: var(--gold); font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.video-card h4 { font-family: 'Inter', sans-serif; font-weight: 700; color: var(--white); font-size: 1.05rem; margin: 0.25rem 0; }
.video-card p { color: rgba(255,255,255,0.6); font-size: 0.85rem; line-height: 1.6; }

/* Masonry photo wall */
.photo-wall { column-count: 2; column-gap: 1rem; }
@media (min-width: 768px) { .photo-wall { column-count: 3; } }
@media (min-width: 1100px) { .photo-wall { column-count: 4; } }
.photo-wall figure {
  break-inside: avoid; margin: 0 0 1rem;
  position: relative; overflow: hidden; border-radius: 0.5rem; cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}
.photo-wall img { width: 100%; display: block; transition: transform 0.5s var(--ease-smooth); }
.photo-wall figure:hover img { transform: scale(1.05); }
.photo-wall figcaption {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14,18,28,0.85), transparent 50%);
  opacity: 0; transition: opacity 0.3s;
  display: flex; align-items: flex-end; padding: 1rem;
  color: var(--white); font-size: 0.82rem; font-weight: 500;
}
.photo-wall figure:hover figcaption { opacity: 1; }

/* Press / newspaper clippings */
.press-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .press-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .press-grid { grid-template-columns: repeat(3, 1fr); } }
.press-card {
  background: var(--white);
  border-radius: 0.6rem; overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  display: flex; flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.press-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.15); }
.press-card .clip {
  display: block; width: 100%; height: 19rem;
  object-fit: contain; object-position: center;
  background: #e9e3d7; padding: 0.75rem;
}
.press-card .pc-cap { padding: 1.25rem 1.5rem 1.5rem; }
.press-card .pc-cap .tag { color: var(--gold); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.press-card .pc-cap h4 { font-family: 'Inter', sans-serif; font-weight: 700; color: var(--navy); margin: 0.35rem 0; font-size: 1.1rem; }
.press-card .pc-cap p { color: rgba(26,31,46,0.65); font-size: 0.88rem; line-height: 1.6; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(10,12,18,0.94);
  display: none; align-items: center; justify-content: center;
  padding: 1.5rem;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 88vh; border-radius: 0.4rem; box-shadow: 0 30px 60px rgba(0,0,0,0.5); }
.lightbox .lb-close { position: absolute; top: 1.1rem; right: 1.4rem; color: var(--white); padding: 0.5rem; }
.lightbox .lb-close .icon { width: 2rem; height: 2rem; }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dark); }
::selection { background: rgba(212, 160, 60, 0.3); color: var(--navy); }
