/* ============================================================
   Buddha Meditation Center New York — Global Stylesheet
   Design System v1.0
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,opsz,wght@0,8..60,300;0,8..60,400;0,8..60,600;1,8..60,300;1,8..60,400&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── Design Tokens ────────────────────────────────────────── */
:root {
  /* Colors */
  --color-white:          hsl(0, 0%, 96.08%);
  --color-black:          hsl(0, 0%, 7.06%);
  --color-accent:         hsl(1.94, 38.59%, 47.25%);
  --color-accent-light:   hsl(33.33, 17.65%, 90%);
  --color-accent-hover:   hsl(1.94, 42%, 42%);

  /* Sage Green — muted forest tone from the monk's palette */
  --color-sage:           hsl(106.15, 5.31%, 51.96%);
  --color-sage-light:     hsl(106, 8%, 92%);
  --color-sage-dark:      hsl(106, 7%, 38%);
  --color-sage-surface:   hsl(106, 6%, 96%);

  --color-neutral-50:  hsl(30, 10%, 97%);
  --color-neutral-100: hsl(30, 8%, 93%);
  --color-neutral-200: hsl(30, 6%, 87%);
  --color-neutral-300: hsl(30, 5%, 75%);
  --color-neutral-400: hsl(30, 4%, 60%);
  --color-neutral-500: hsl(30, 3%, 48%);
  --color-neutral-600: hsl(30, 4%, 36%);
  --color-neutral-700: hsl(30, 5%, 25%);
  --color-neutral-800: hsl(30, 6%, 16%);
  --color-neutral-900: hsl(30, 7%, 9%);

  --color-surface:        var(--color-white);
  --color-surface-raised: hsl(30, 10%, 98.5%);
  --color-border:         var(--color-neutral-200);
  --color-border-strong:  var(--color-neutral-300);
  --color-text-primary:   var(--color-black);
  --color-text-secondary: var(--color-neutral-500);
  --color-text-disabled:  var(--color-neutral-400);
  --color-text-inverse:   var(--color-white);
  --color-text-accent:    var(--color-accent);

  --color-success: hsl(140, 40%, 45%);
  --color-error:   hsl(4, 65%, 50%);

  /* Typography */
  --font-heading: 'Source Serif 4', Georgia, serif;
  --font-body:    'DM Sans', system-ui, -apple-system, sans-serif;
  --font-label:   'DM Sans', system-ui, sans-serif;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;
  --text-7xl:  4.5rem;

  --weight-light:    300;
  --weight-regular:  400;
  --weight-medium:   500;
  --weight-semibold: 600;
  --weight-bold:     700;

  --leading-tight:   1.2;
  --leading-snug:    1.375;
  --leading-normal:  1.5;
  --leading-relaxed: 1.65;

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 720px;
  --grid-gutter: var(--space-6);

  /* Border Radius */
  --radius-sm:   0.25rem;
  --radius-md:   0.5rem;
  --radius-lg:   0.75rem;
  --radius-xl:   1rem;
  --radius-2xl:  1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs:     0 1px 2px hsla(0,0%,0%,0.04);
  --shadow-sm:     0 1px 3px hsla(0,0%,0%,0.07), 0 1px 2px hsla(0,0%,0%,0.05);
  --shadow-md:     0 4px 12px hsla(0,0%,0%,0.08), 0 2px 4px hsla(0,0%,0%,0.05);
  --shadow-lg:     0 10px 24px hsla(0,0%,0%,0.09), 0 4px 8px hsla(0,0%,0%,0.05);
  --shadow-xl:     0 20px 40px hsla(0,0%,0%,0.10);
  --shadow-accent: 0 4px 20px hsla(1.94, 38.59%, 47.25%, 0.28);

  /* Motion */
  --duration-fast:    150ms;
  --duration-normal:  250ms;
  --duration-slow:    400ms;
  --duration-slower:  600ms;
  --duration-slowest: 900ms;
  --ease-out:   cubic-bezier(0, 0, 0.2, 1);
  --ease-in-out:cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce:cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-zen:   cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Nav */
  --nav-height: 72px;
}

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
  line-height: var(--leading-relaxed);
  color: var(--color-text-primary);
  background-color: var(--color-surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul, ol { list-style: none; }

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

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ── Accessibility ────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: var(--leading-tight);
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 6vw, var(--text-7xl)); font-weight: var(--weight-light); }
h2 { font-size: clamp(1.875rem, 4vw, var(--text-5xl)); font-weight: var(--weight-light); }
h3 { font-size: clamp(1.375rem, 3vw, var(--text-3xl)); font-weight: var(--weight-regular); }
h4 { font-size: var(--text-xl); font-weight: var(--weight-semibold); font-family: var(--font-body); letter-spacing: 0; }
h5 { font-size: var(--text-lg); font-weight: var(--weight-semibold); font-family: var(--font-body); letter-spacing: 0; }

p { max-width: 68ch; }

.text-xs   { font-size: var(--text-xs); }
.text-sm   { font-size: var(--text-sm); }
.text-base { font-size: var(--text-base); }
.text-lg   { font-size: var(--text-lg); }
.text-xl   { font-size: var(--text-xl); }
.text-2xl  { font-size: var(--text-2xl); }

.text-muted   { color: var(--color-text-secondary); }
.text-accent  { color: var(--color-accent); }
.text-inverse { color: var(--color-text-inverse); }
.text-center  { text-align: center; }

.label {
  font-family: var(--font-label);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
}

/* ── Layout ───────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

@media (min-width: 768px) {
  .container { padding-inline: var(--space-8); }
}
@media (min-width: 1024px) {
  .container { padding-inline: var(--space-12); }
}

.container-narrow {
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

section {
  padding-block: var(--space-20);
}
@media (min-width: 768px) {
  section { padding-block: var(--space-32); }
}

.section-header {
  margin-bottom: var(--space-16);
}
.section-header.text-center {
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: var(--space-16);
}
.section-header .label {
  display: block;
  margin-bottom: var(--space-3);
}
.section-header h2 {
  margin-bottom: var(--space-4);
}
.section-header p {
  color: var(--color-text-secondary);
  font-size: var(--text-lg);
  max-width: 56ch;
}
.section-header.text-center p {
  margin-inline: auto;
}

.grid {
  display: grid;
  gap: var(--grid-gutter);
}
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

@media (min-width: 768px) {
  .grid-2-fixed { grid-template-columns: repeat(2, 1fr); }
  .grid-3-fixed { grid-template-columns: repeat(3, 1fr); }
}

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

/* ── Navigation ───────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

.site-header.scrolled {
  background: hsla(0, 0%, 96%, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
}

.site-logo .logo-icon {
  width: 40px;
  height: 40px;
  background: var(--color-accent);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--weight-light);
  flex-shrink: 0;
}

.site-logo .logo-text {
  display: flex;
  flex-direction: column;
}

.site-logo .logo-name {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
  line-height: 1.2;
  color: var(--color-text-primary);
}

.site-logo .logo-sub {
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  letter-spacing: 0.06em;
  line-height: 1;
}

.site-nav {
  display: none;
  align-items: center;
  gap: var(--space-2);
}
@media (min-width: 900px) {
  .site-nav { display: flex; }
}

.site-nav a {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text-primary);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  transition: color var(--duration-fast) var(--ease-out),
              background var(--duration-fast) var(--ease-out);
  position: relative;
}

.site-nav a:hover {
  color: var(--color-accent);
  background: var(--color-accent-light);
}

.site-nav a.active {
  color: var(--color-accent);
}

.site-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: var(--color-accent);
  border-radius: var(--radius-full);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  cursor: pointer;
  background: none;
  border: none;
}
@media (min-width: 900px) {
  .menu-toggle { display: none; }
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text-primary);
  border-radius: var(--radius-full);
  transition: all var(--duration-normal) var(--ease-in-out);
  transform-origin: center;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  transform: translateY(-110%);
  opacity: 0;
  transition: transform var(--duration-slow) var(--ease-zen),
              opacity var(--duration-slow) var(--ease-zen);
  z-index: 99;
  box-shadow: var(--shadow-lg);
}
.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
}
.mobile-nav a {
  font-size: var(--text-lg);
  font-weight: var(--weight-medium);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  color: var(--color-text-primary);
  transition: background var(--duration-fast) var(--ease-out),
              color var(--duration-fast) var(--ease-out);
}
.mobile-nav a:hover, .mobile-nav a.active {
  background: var(--color-accent-light);
  color: var(--color-accent);
}

/* Page offset for fixed nav */
.page-offset {
  padding-top: var(--nav-height);
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  font-family: var(--font-label);
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  line-height: 1;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  text-decoration: none;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--color-accent);
  color: white;
  border-color: var(--color-accent);
}
.btn-primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  box-shadow: var(--shadow-accent);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}
.btn-secondary:hover {
  background: var(--color-accent-light);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text-primary);
  border-color: transparent;
}
.btn-ghost:hover {
  background: var(--color-neutral-100);
  color: var(--color-accent);
}

.btn-soft {
  background: var(--color-accent-light);
  color: var(--color-accent);
  border-color: transparent;
}
.btn-soft:hover {
  background: hsl(33, 20%, 84%);
  transform: translateY(-1px);
}

.btn-white {
  background: white;
  color: var(--color-accent);
  border-color: white;
}
.btn-white:hover {
  background: var(--color-accent-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-sm { padding: var(--space-2) var(--space-4); font-size: var(--text-sm); }
.btn-lg { padding: var(--space-4) var(--space-8); font-size: var(--text-lg); }
.btn-xl { padding: var(--space-5) var(--space-10); font-size: var(--text-xl); }

/* ── Cards ────────────────────────────────────────────────── */
.card {
  background: var(--color-surface-raised);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: transform var(--duration-slow) var(--ease-zen),
              box-shadow var(--duration-slow) var(--ease-zen);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 52px;
  height: 52px;
  background: var(--color-accent-light);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  color: var(--color-accent);
  transition: background var(--duration-normal) var(--ease-out),
              transform var(--duration-slow) var(--ease-bounce);
}

.card:hover .card-icon {
  background: var(--color-accent);
  color: white;
  transform: scale(1.08);
}

.card h3, .card h4 {
  margin-bottom: var(--space-3);
}

.card p {
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--color-black);
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0.55;
  transition: opacity 0.6s ease;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    hsla(0,0%,0%,0.35) 0%,
    hsla(0,0%,0%,0.15) 40%,
    hsla(0,0%,0%,0.55) 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* Subtle warm tint overlay matching the terracotta palette */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 60% at 50% 60%,
    hsla(1.94, 38.59%, 47.25%, 0.12) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  text-align: center;
  padding: var(--space-20) var(--space-6);
  max-width: 860px;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: hsla(0,0%,100%,0.12);
  border: 1px solid hsla(0,0%,100%,0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-4);
  margin-bottom: var(--space-8);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: hsla(0,0%,100%,0.9);
}

.hero h1 {
  margin-bottom: var(--space-6);
  color: white;
  text-shadow: 0 2px 20px hsla(0,0%,0%,0.3);
}

.hero h1 em {
  font-style: italic;
  color: var(--color-accent-light);
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, var(--text-xl));
  color: hsla(0,0%,100%,0.82);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-10);
  max-width: 56ch;
  margin-inline: auto;
  text-shadow: 0 1px 8px hsla(0,0%,0%,0.3);
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: var(--space-10);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: hsla(0,0%,100%,0.6);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: bounce-down 2s var(--ease-zen) infinite;
  z-index: 2;
}

@keyframes bounce-down {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ── Quote / Callout ──────────────────────────────────────── */
.quote-block {
  position: relative;
  background: var(--color-accent-light);
  border-left: 4px solid var(--color-accent);
  border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
  padding: var(--space-10) var(--space-10) var(--space-10) var(--space-12);
  max-width: 760px;
  margin-inline: auto;
}

.quote-block::before {
  content: '\201C';
  position: absolute;
  top: var(--space-4);
  left: var(--space-6);
  font-family: var(--font-heading);
  font-size: 5rem;
  line-height: 1;
  color: var(--color-accent);
  opacity: 0.4;
}

.quote-block blockquote {
  font-family: var(--font-heading);
  font-size: clamp(1.125rem, 2.5vw, var(--text-2xl));
  font-style: italic;
  font-weight: var(--weight-light);
  line-height: var(--leading-relaxed);
  color: var(--color-text-primary);
  margin-bottom: var(--space-4);
}

.quote-block cite {
  font-style: normal;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── Full-width CTA Section ───────────────────────────────── */
.cta-section {
  background: var(--color-accent);
  color: white;
  text-align: center;
  padding-block: var(--space-20);
}
@media (min-width: 768px) {
  .cta-section { padding-block: var(--space-24); }
}

.cta-section h2 {
  color: white;
  margin-bottom: var(--space-4);
}

.cta-section p {
  color: hsla(0,0%,100%,0.8);
  font-size: var(--text-lg);
  margin-inline: auto;
  margin-bottom: var(--space-8);
}

/* ── Feature/Info strip ───────────────────────────────────── */
.info-strip {
  background: var(--color-accent-light);
  padding-block: var(--space-12);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.info-strip-grid {
  display: grid;
  gap: var(--space-8);
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  text-align: center;
}

.info-item .info-value {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: var(--weight-light);
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.info-item .info-label {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  font-weight: var(--weight-medium);
}

/* ── Two-col layout ───────────────────────────────────────── */
.two-col {
  display: grid;
  gap: var(--space-16);
  align-items: center;
}
@media (min-width: 768px) {
  .two-col { grid-template-columns: 1fr 1fr; }
  .two-col.reverse .col-text { order: 2; }
  .two-col.reverse .col-visual { order: 1; }
}

.col-visual {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--color-accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-size: var(--text-6xl);
}

/* ── Program Card ─────────────────────────────────────────── */
.program-card {
  background: var(--color-surface-raised);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform var(--duration-slow) var(--ease-zen),
              box-shadow var(--duration-slow) var(--ease-zen);
}
.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}
.program-card-top {
  background: var(--color-accent-light);
  padding: var(--space-8);
  text-align: center;
}
.program-card-top .program-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-3);
}
.program-card-top h3 {
  font-size: var(--text-xl);
}
.program-card-body {
  padding: var(--space-6) var(--space-8);
}
.program-card-body p {
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  margin-bottom: var(--space-5);
}
.program-meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}
.program-meta-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}
.program-meta-item svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

/* ── Forms ────────────────────────────────────────────────── */
.form-group {
  margin-bottom: var(--space-5);
}
.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text-primary);
  margin-bottom: var(--space-2);
}
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  background: white;
  color: var(--color-text-primary);
  font-size: var(--text-base);
  transition: border-color var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px hsla(1.94, 38.59%, 47.25%, 0.12);
}
.form-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: var(--leading-relaxed);
}
.form-hint {
  margin-top: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
}

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  background: var(--color-neutral-900);
  color: var(--color-neutral-300);
  padding-top: var(--space-20);
  padding-bottom: var(--space-10);
}

.footer-grid {
  display: grid;
  gap: var(--space-12);
  margin-bottom: var(--space-16);
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--space-8); }
}

.footer-brand .logo-name,
.footer-brand .logo-sub {
  color: var(--color-neutral-200);
}
.footer-brand .logo-sub { color: var(--color-neutral-500); }

.footer-desc {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--color-neutral-400);
  max-width: 30ch;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-neutral-100);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-5);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-col ul a {
  font-size: var(--text-sm);
  color: var(--color-neutral-400);
  transition: color var(--duration-fast) var(--ease-out);
}
.footer-col ul a:hover { color: var(--color-accent-light); }

.footer-bottom {
  border-top: 1px solid var(--color-neutral-800);
  padding-top: var(--space-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-bottom p {
  font-size: var(--text-xs);
  color: var(--color-neutral-600);
  max-width: unset;
}

.social-links {
  display: flex;
  gap: var(--space-3);
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-neutral-700);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-neutral-400);
  font-size: var(--text-sm);
  transition: border-color var(--duration-fast) var(--ease-out),
              color var(--duration-fast) var(--ease-out),
              background var(--duration-fast) var(--ease-out);
}
.social-link:hover {
  border-color: var(--color-accent);
  color: white;
  background: var(--color-accent);
}

/* ── Page Hero (inner pages) ──────────────────────────────── */
.page-hero {
  background: linear-gradient(160deg, var(--color-accent-light) 0%, var(--color-neutral-100) 100%);
  padding-block: var(--space-20) var(--space-16);
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}

.page-hero .label {
  display: block;
  margin-bottom: var(--space-3);
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, var(--text-6xl));
  margin-bottom: var(--space-5);
}

.page-hero p {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  max-width: 56ch;
  margin-inline: auto;
}

/* ── Dividers ─────────────────────────────────────────────── */
.divider {
  width: 60px;
  height: 2px;
  background: var(--color-accent);
  border-radius: var(--radius-full);
  margin-block: var(--space-6);
}
.divider.center { margin-inline: auto; }

/* ── Scroll Animations ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--duration-slow) var(--ease-zen),
              transform var(--duration-slow) var(--ease-zen);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }

/* ── Badges ───────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.06em;
}
.badge-accent {
  background: var(--color-accent-light);
  color: var(--color-accent);
}
.badge-sage {
  background: var(--color-sage-light);
  color: var(--color-sage-dark);
}
.badge-neutral {
  background: var(--color-neutral-100);
  color: var(--color-neutral-600);
}

/* ── Donate specific ──────────────────────────────────────── */
.donation-amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
@media (max-width: 480px) {
  .donation-amount-grid { grid-template-columns: repeat(2, 1fr); }
}

.donation-amount-btn {
  padding: var(--space-4);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: white;
  text-align: center;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--weight-regular);
  color: var(--color-text-primary);
}
.donation-amount-btn:hover,
.donation-amount-btn.selected {
  border-color: var(--color-accent);
  background: var(--color-accent-light);
  color: var(--color-accent);
}

/* ── Learn page ───────────────────────────────────────────── */
.resource-card {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-6);
  background: var(--color-surface-raised);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  transition: transform var(--duration-slow) var(--ease-zen),
              box-shadow var(--duration-slow) var(--ease-zen);
}
.resource-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.resource-card .resource-icon {
  width: 48px;
  height: 48px;
  background: var(--color-accent-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
  font-size: 1.25rem;
}
.resource-card .resource-body h4 {
  font-size: var(--text-base);
  margin-bottom: var(--space-1);
}
.resource-card .resource-body p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

/* ── Utilities ────────────────────────────────────────────── */
.mt-4  { margin-top: var(--space-4); }
.mt-6  { margin-top: var(--space-6); }
.mt-8  { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mb-4  { margin-bottom: var(--space-4); }
.mb-6  { margin-bottom: var(--space-6); }
.mb-8  { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }

.alt-bg { background: var(--color-accent-light); }
.sage-bg { background: var(--color-sage-surface); }
.sage-strong-bg { background: var(--color-sage-light); }
.white-bg { background: white; }
.dark-bg { background: var(--color-neutral-900); color: white; }

/* Sage accent elements */
.sage-divider {
  width: 60px;
  height: 2px;
  background: var(--color-sage);
  border-radius: var(--radius-full);
  margin-block: var(--space-6);
}
.sage-divider.center { margin-inline: auto; }

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

.btn-sage {
  background: var(--color-sage-light);
  color: var(--color-sage-dark);
  border-color: transparent;
  border: 2px solid transparent;
}
.btn-sage:hover {
  background: hsl(106, 10%, 86%);
  transform: translateY(-1px);
}

.card-sage {
  background: var(--color-sage-surface);
  border: 1px solid hsl(106, 6%, 88%);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: transform var(--duration-slow) var(--ease-zen),
              box-shadow var(--duration-slow) var(--ease-zen);
}
.card-sage:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card-sage .card-icon {
  background: var(--color-sage-light);
  color: var(--color-sage-dark);
}
.card-sage:hover .card-icon {
  background: var(--color-sage);
  color: white;
}

.rounded-xl { border-radius: var(--radius-xl); }
.rounded-2xl { border-radius: var(--radius-2xl); }

.max-prose { max-width: 68ch; }

/* ── Founder photo ────────────────────────────────────────── */
.founder-photo-wrap {
  position: relative;
  width: 100%;
  max-width: 420px;
}

.founder-photo-wrap::before {
  content: '';
  position: absolute;
  inset: -10px -10px 10px 10px;
  background: var(--color-accent-light);
  border-radius: var(--radius-2xl);
  z-index: 0;
}

.founder-photo-wrap::after {
  content: '';
  position: absolute;
  inset: 10px -10px -10px 10px;
  border: 2px solid var(--color-accent);
  border-radius: var(--radius-2xl);
  opacity: 0.25;
  z-index: 0;
}

.founder-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  transition: transform var(--duration-slow) var(--ease-zen);
}

.founder-photo-wrap:hover .founder-photo {
  transform: translateY(-4px);
}

.founder-caption {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  text-align: center;
  max-width: unset;
  margin-top: var(--space-2);
}

/* ── Scroll progress bar ──────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--color-accent);
  z-index: 200;
  transition: width 100ms linear;
  border-radius: 0 var(--radius-full) var(--radius-full) 0;
}

/* ── Back to top ──────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: var(--space-8);
  right: var(--space-8);
  width: 44px;
  height: 44px;
  background: var(--color-accent);
  color: white;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity var(--duration-normal) var(--ease-out),
              transform var(--duration-normal) var(--ease-out);
  cursor: pointer;
  font-size: 1.25rem;
  z-index: 90;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover {
  background: var(--color-accent-hover);
  transform: translateY(-3px);
}
