/* =========================================================
   Youth Foundation Academy CIC — Demo stylesheet
   Premium · Modern · Commercial
   ========================================================= */

:root {
  --ink: #0F1E3D;
  --ink-2: #1B2D55;
  --ink-soft: #475569;
  --cream: #FAF7F2;
  --cream-2: #F1ECE2;
  --paper: #FFFFFF;
  --accent: #F59E0B;
  --accent-2: #F97316;
  --accent-soft: #FEF3C7;
  --green: #10B981;
  --green-soft: #D1FAE5;
  --rose: #FB7185;
  --line: #E5E0D5;
  --line-2: #E2E8F0;
  --shadow-sm: 0 1px 2px rgba(15, 30, 61, 0.04), 0 1px 3px rgba(15, 30, 61, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(15, 30, 61, 0.08), 0 2px 4px -2px rgba(15, 30, 61, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(15, 30, 61, 0.10), 0 8px 10px -6px rgba(15, 30, 61, 0.08);
  --shadow-xl: 0 25px 50px -12px rgba(15, 30, 61, 0.20);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ============================ ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.40s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Hero card progress bar — start at 0, animate to width */
.progress-fill {
  width: 0 !important;
  transition: width 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.6s;
}
.progress-fill.in { width: var(--target-width) !important; }

/* Count-up subtle pulse when value lands */
.count-up.done {
  animation: countLand 0.45s ease-out;
}
@keyframes countLand {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.04); }
  100% { transform: scale(1); }
}

/* Hero floating cards subtle float loop */
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.hero-card-float { animation: floaty 4.5s ease-in-out infinite; }
.hero-card-stamp { animation: floaty 5.5s ease-in-out infinite 0.6s; }

/* ============================ ANNOUNCEMENT BAR */
.announce {
  background: var(--ink);
  color: var(--cream);
  font-size: 13px;
  font-weight: 500;
  padding: 10px 0;
}
.announce-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.announce a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}
.pulse {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

/* ============================ HEADER */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}
.logo-mark {
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-text strong {
  font-family: 'Fraunces', serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.logo-text small {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-2);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0 auto;
}
.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  opacity: 0.85;
  transition: opacity 0.15s;
  position: relative;
}
.nav-links a:hover { opacity: 1; }
.nav-links a.active::after,
.nav-links a:hover::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.15s, background 0.15s;
}
.nav-cta:hover {
  background: var(--accent-2);
  transform: translateY(-1px);
}
.menu-toggle {
  display: none;
  color: var(--ink);
}

@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 12px 24px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-links li:last-child { border: none; }
}

/* ============================ HERO */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}
.blob-1 {
  width: 500px;
  height: 500px;
  background: var(--accent-soft);
  top: -100px;
  right: -100px;
}
.blob-2 {
  width: 400px;
  height: 400px;
  background: var(--green-soft);
  bottom: -150px;
  left: -100px;
  opacity: 0.5;
}
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 30, 61, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 30, 61, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.badge-cic {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.badge-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}

.hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero h1 .accent {
  color: var(--accent-2);
  font-style: italic;
  font-weight: 500;
}

.lead {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 540px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--cream);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  background: var(--ink-2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-ghost {
  background: var(--paper);
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}
.btn-primary-light {
  background: var(--accent);
  color: var(--ink);
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: auto;
  transition: background 0.15s, transform 0.15s;
}
.btn-primary-light:hover {
  background: var(--cream);
  transform: translateY(-2px);
}
.btn-outline-light {
  border: 1.5px solid rgba(250, 247, 242, 0.3);
  color: var(--cream);
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: auto;
  transition: background 0.15s, border-color 0.15s;
}
.btn-outline-light:hover {
  background: rgba(250, 247, 242, 0.08);
  border-color: var(--cream);
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 28px;
}
.trust-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.trust-item strong {
  font-family: 'Fraunces', serif;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.trust-item span {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.3;
}
.trust-divider {
  width: 1px;
  height: 40px;
  background: var(--line);
}

/* HERO ART CARDS */
.hero-art {
  position: relative;
  min-height: 480px;
}
.hero-card {
  position: absolute;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.hero-card-main {
  top: 20px;
  right: 0;
  width: 340px;
  padding: 24px;
  z-index: 2;
}
.card-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.card-tag .dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
}
.card-title {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.card-subtitle {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.card-meta {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}
.card-meta > div { display: flex; flex-direction: column; gap: 2px; }
.card-meta span { font-size: 10px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.08em; }
.card-meta strong { font-size: 14px; color: var(--ink); }
.card-progress { display: flex; align-items: center; gap: 12px; }
.progress-track { flex: 1; height: 6px; background: var(--cream-2); border-radius: 999px; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius: 999px; }
.card-progress span { font-size: 12px; color: var(--ink-soft); white-space: nowrap; font-weight: 500; }

.hero-card-float {
  bottom: 60px;
  left: 0;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
}
.float-icon {
  width: 36px; height: 36px;
  background: var(--green-soft);
  color: var(--green);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.float-text { display: flex; flex-direction: column; }
.float-text strong { font-size: 13px; font-weight: 700; }
.float-text span { font-size: 11px; color: var(--ink-soft); }

.hero-card-stamp {
  bottom: -10px;
  right: 40px;
  padding: 16px 22px;
  background: var(--ink);
  color: var(--cream);
  border: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.stamp-num {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--accent);
}
.stamp-label {
  font-size: 11px;
  font-weight: 500;
  opacity: 0.8;
  max-width: 160px;
  line-height: 1.3;
}

@media (max-width: 900px) {
  .hero { padding: 60px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero-art { min-height: 420px; max-width: 380px; margin: 0 auto; }
  .hero-trust { flex-wrap: wrap; gap: 18px; }
  .trust-divider { display: none; }
}

/* ============================ PARTNERS */
.partners {
  padding: 36px 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.partners-label {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-soft);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.partners-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.partners-row span:not(.dotsep) {
  font-family: 'Fraunces', serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  opacity: 0.75;
}
.dotsep {
  width: 4px; height: 4px;
  background: var(--ink);
  opacity: 0.2;
  border-radius: 50%;
}
@media (max-width: 720px) {
  .partners-row { gap: 16px; }
  .dotsep { display: none; }
}

/* ============================ SECTIONS */
.section { padding: 100px 0; }
@media (max-width: 720px) { .section { padding: 70px 0; } }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}
.section-head.light h2, .section-head.light p { color: var(--cream); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 18px;
}
.kicker.light { color: var(--accent); }
.kicker-bar {
  width: 28px;
  height: 2px;
  background: var(--accent-2);
  border-radius: 1px;
}
.kicker.light .kicker-bar { background: var(--accent); }

.section-head h2,
.about-copy h2,
.news-copy h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.section-head h2 em,
.about-copy h2 em,
.news-copy h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent-2);
}
.section-head.light h2 em { color: var(--accent); }

.section-lead, .section-head p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.section-head.light p { color: rgba(250, 247, 242, 0.75); }

/* ============================ PROGRAMMES */
.prog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .prog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .prog-grid { grid-template-columns: 1fr; } }

.prog-card {
  position: relative;
  padding: 32px 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  overflow: hidden;
}
.prog-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.prog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.prog-card:hover::before { transform: scaleX(1); }

.prog-mentor::before { background: var(--accent); }
.prog-sport::before { background: var(--green); }
.prog-lead::before { background: var(--ink); }
.prog-arts::before { background: var(--rose); }
.prog-career::before { background: var(--accent-2); }
.prog-wellbeing::before { background: var(--green); }

.prog-num {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: 'Fraunces', serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  opacity: 0.4;
  letter-spacing: 0.05em;
}
.prog-icon {
  width: 56px; height: 56px;
  background: var(--cream-2);
  color: var(--ink);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.prog-mentor .prog-icon { background: var(--accent-soft); color: var(--accent-2); }
.prog-sport .prog-icon { background: var(--green-soft); color: var(--green); }
.prog-arts .prog-icon { background: #FFE4E6; color: var(--rose); }
.prog-career .prog-icon { background: var(--accent-soft); color: var(--accent-2); }
.prog-wellbeing .prog-icon { background: var(--green-soft); color: var(--green); }

.prog-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.prog-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.prog-meta {
  display: flex;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.prog-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  transition: gap 0.15s;
}
.prog-card:hover .prog-link { gap: 12px; color: var(--accent-2); }

/* ============================ IMPACT */
.impact {
  background: var(--ink);
  color: var(--cream);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.impact::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15), transparent 70%);
  border-radius: 50%;
}
.impact-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
  position: relative;
}
.impact-head h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.impact-head p {
  font-size: 17px;
  color: rgba(250, 247, 242, 0.75);
}
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
@media (max-width: 900px) { .impact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .impact-grid { grid-template-columns: 1fr; } }

.impact-stat {
  padding: 32px 28px;
  background: rgba(250, 247, 242, 0.05);
  border: 1px solid rgba(250, 247, 242, 0.1);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
}
.impact-num {
  font-family: 'Fraunces', serif;
  font-size: 56px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 12px;
}
.impact-num small {
  font-size: 28px;
  font-weight: 500;
}
.impact-label {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}
.impact-detail {
  font-size: 13px;
  color: rgba(250, 247, 242, 0.65);
  line-height: 1.5;
}

/* ============================ ABOUT */
.about { background: var(--paper); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 50px; }
}

.about-art {
  position: relative;
  min-height: 520px;
}
.about-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 2;
  max-width: 440px;
}
.about-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.dot-green {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  display: inline-block;
}
.about-quote {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
  color: var(--ink);
}
.about-quote em {
  font-style: italic;
  color: var(--accent-2);
}
.about-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.author-avatar {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--paper);
  font-weight: 700;
  font-size: 16px;
}
.about-author > div { display: flex; flex-direction: column; }
.about-author strong { font-size: 15px; }
.about-author span { font-size: 13px; color: var(--ink-soft); }

.about-stack {
  position: absolute;
  bottom: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1;
}
.stack-card {
  background: var(--paper);
  padding: 14px 20px;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 180px;
}
.stack-card strong { font-size: 13px; font-weight: 700; }
.stack-card span { font-size: 11px; color: var(--ink-soft); }
.stack-1 { transform: translateX(20px); }
.stack-2 { transform: translateX(0); }
.stack-3 { transform: translateX(-20px); }

.about-copy .lead {
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 20px;
}
.about-copy p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 16px;
  max-width: 540px;
}
.about-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.pill {
  padding: 8px 16px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

/* ============================ VOICES */
.voices { background: var(--cream-2); }
.voices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .voices-grid { grid-template-columns: 1fr; } }

.voice {
  background: var(--paper);
  padding: 32px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.voice-stars {
  color: var(--accent);
  font-size: 17px;
  letter-spacing: 2px;
}
.voice blockquote {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-weight: 400;
}
.voice figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.voice-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--paper);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.voice-av-1 { background: linear-gradient(135deg, #6366F1, #8B5CF6); }
.voice-av-2 { background: linear-gradient(135deg, var(--green), #059669); }
.voice-av-3 { background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.voice figcaption strong { font-size: 14px; display: block; }
.voice figcaption span { font-size: 12px; color: var(--ink-soft); }

/* ============================ EVENTS */
.events { background: var(--paper); }
.events-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.event {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 24px 28px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.event:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}
.event-date {
  background: var(--paper);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.event-month {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.event-day {
  font-family: 'Fraunces', serif;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}
.event-year {
  font-size: 11px;
  color: var(--ink-soft);
  font-weight: 600;
}
.event-body { display: flex; flex-direction: column; gap: 8px; }
.event-tag {
  display: inline-block;
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tag-open { background: var(--green-soft); color: var(--green); }
.tag-fund { background: var(--accent-soft); color: var(--accent-2); }
.tag-workshop { background: #DBEAFE; color: #2563EB; }
.event-body h3 {
  font-family: 'Fraunces', serif;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 4px 0;
}
.event-body p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
  max-width: 620px;
}
.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  margin-top: 4px;
}
.event-cta {
  padding: 10px 18px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
  transition: background 0.15s, transform 0.15s;
  white-space: nowrap;
}
.event-cta:hover { background: var(--accent-2); transform: translateY(-1px); }

@media (max-width: 760px) {
  .event { grid-template-columns: 80px 1fr; gap: 18px; padding: 20px; }
  .event-cta { grid-column: 1 / -1; text-align: center; justify-self: stretch; }
  .event-day { font-size: 24px; }
}

/* ============================ INVOLVED */
.involved {
  background: var(--ink);
  color: var(--cream);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.involved::before {
  content: '';
  position: absolute;
  bottom: -30%; left: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12), transparent 70%);
  border-radius: 50%;
}
.involved-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}
@media (max-width: 900px) { .involved-grid { grid-template-columns: 1fr; } }

.involved-card {
  position: relative;
  background: rgba(250, 247, 242, 0.04);
  border: 1px solid rgba(250, 247, 242, 0.12);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
  transition: border-color 0.2s, background 0.2s;
}
.involved-card:hover {
  border-color: var(--accent);
  background: rgba(250, 247, 242, 0.06);
}
.involved-donate {
  background: linear-gradient(165deg, var(--accent), var(--accent-2));
  border-color: transparent;
  color: var(--ink);
}
.involved-donate:hover {
  background: linear-gradient(165deg, var(--accent), var(--accent-2));
  border-color: transparent;
}
.involved-flag {
  position: absolute;
  top: -10px;
  right: 24px;
  padding: 5px 14px;
  background: var(--ink);
  color: var(--accent);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.involved-icon {
  width: 56px; height: 56px;
  background: rgba(250, 247, 242, 0.08);
  color: var(--accent);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.involved-donate .involved-icon {
  background: rgba(15, 30, 61, 0.12);
  color: var(--ink);
}
.involved-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.involved-card > p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(250, 247, 242, 0.75);
  margin-bottom: 22px;
}
.involved-donate > p { color: rgba(15, 30, 61, 0.78); }
.involved-list {
  list-style: none;
  margin-bottom: 24px;
}
.involved-list li {
  font-size: 14px;
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(250, 247, 242, 0.85);
}
.involved-list li span {
  color: var(--accent);
  font-weight: 700;
}
.donate-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 22px;
}
.tier {
  padding: 14px 6px;
  background: rgba(15, 30, 61, 0.08);
  border: 1.5px solid transparent;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transition: all 0.15s;
}
.tier span {
  font-size: 11px;
  font-weight: 500;
  opacity: 0.7;
}
.tier:hover { background: rgba(15, 30, 61, 0.14); }
.tier-active {
  background: var(--ink);
  color: var(--accent);
  border-color: var(--ink);
}
.tier-active:hover { background: var(--ink); }

/* ============================ NEWSLETTER */
.newsletter {
  background: var(--cream);
  padding: 80px 0;
  border-top: 1px solid var(--line);
}
.news-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 760px) { .news-grid { grid-template-columns: 1fr; gap: 30px; } }

.news-copy h2 { font-size: clamp(28px, 3.5vw, 40px); margin-bottom: 12px; }
.news-copy p { font-size: 16px; color: var(--ink-soft); max-width: 480px; }

.news-form {
  display: flex;
  gap: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px;
  box-shadow: var(--shadow-sm);
}
.news-form input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 18px;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
  outline: none;
  min-width: 0;
}
.news-form button {
  padding: 12px 24px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.15s;
}
.news-form button:hover { background: var(--accent-2); }

/* ============================ FOOTER */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(250, 247, 242, 0.1);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand .logo {
  color: var(--cream);
  margin-bottom: 18px;
}
.footer-brand .logo-mark { color: var(--accent); }
.footer-brand .logo-text small { color: var(--accent); }
.footer-brand p {
  font-size: 14px;
  color: rgba(250, 247, 242, 0.7);
  max-width: 320px;
  margin-bottom: 24px;
  line-height: 1.55;
}
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 36px; height: 36px;
  background: rgba(250, 247, 242, 0.06);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  transition: background 0.15s, color 0.15s;
}
.footer-socials a:hover { background: var(--accent); color: var(--ink); }

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 14px;
  color: rgba(250, 247, 242, 0.75);
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--cream); }
.footer-addr {
  font-size: 14px;
  color: rgba(250, 247, 242, 0.75);
  line-height: 1.7;
}
.footer-addr a { color: var(--cream); font-weight: 600; }

.footer-legal { padding: 22px 0; }
.legal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: rgba(250, 247, 242, 0.55);
}
.legal-links a { transition: color 0.15s; }
.legal-links a:hover { color: var(--cream); }
