/* ===================================================
   ETISPO — Everything Is Possible
   Design system: Big Happy official palette
   Navy #1f326c | Coral #f15050 | Yellow #ffc001
   =================================================== */

:root {
  --ink: #1f326c;          /* Big Happy navy — primary */
  --ink-deep: #15224d;     /* deeper navy for contrast */
  --ink-soft: #4a5a8a;     /* softer navy for body text */
  --paper: #fefcf7;        /* warm off-white */
  --paper-deep: #f7f2e4;   /* warm sand for sections */
  --yellow: #ffc001;       /* Big Happy golden yellow */
  --yellow-deep: #e0a800;  /* hover state */
  --yellow-soft: #fff0b8;  /* tinted background */
  --coral: #f15050;        /* Big Happy coral — accent + energy */
  --coral-deep: #d63d3d;
  --gray: #cacaca;         /* Big Happy secondary */
  --rule: rgba(31, 50, 108, 0.15);

  --serif: 'Fraunces', 'Georgia', serif;
  --sans: 'DM Sans', system-ui, sans-serif;

  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

/* ====== HEADER ====== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 245, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.1rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}

.logo-mark {
  display: inline-block;
  width: 1.3em;
  height: 1.3em;
  background: var(--yellow);
  border-radius: 50%;
  font-size: 0;
  transition: transform 0.6s cubic-bezier(.34,1.56,.64,1);
}

.logo:hover .logo-mark { transform: rotate(180deg) scale(1.15); }

.main-nav { display: flex; gap: 2.25rem; font-size: 0.95rem; font-weight: 500; }

.main-nav a {
  position: relative;
  padding: 0.25rem 0;
  color: var(--ink-soft);
  transition: color 0.2s;
}

.main-nav a:hover, .main-nav a.active { color: var(--ink); }

.main-nav a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 3px;
  background: var(--yellow);
  border-radius: 2px;
}

.cta-button {
  background: var(--yellow);
  color: var(--ink);
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  transition: all 0.25s;
  box-shadow: 0 4px 12px -2px rgba(255, 212, 0, 0.5);
}

.cta-button:hover {
  background: var(--ink);
  color: var(--yellow);
  transform: translateY(-1px);
}

@media (max-width: 720px) {
  .main-nav { gap: 1.25rem; font-size: 0.88rem; }
}

/* ====== HERO ====== */
.hero {
  position: relative;
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 4.5rem);
  overflow: hidden;
  background: var(--paper);
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: var(--yellow);
  border-radius: 50%;
  opacity: 0.18;
  pointer-events: none;
  filter: blur(40px);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 85% 15%, rgba(255, 212, 0, 0.25), transparent 55%),
    radial-gradient(ellipse at 10% 95%, rgba(255, 90, 60, 0.08), transparent 50%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 1.5rem;
  display: inline-block;
  padding: 0.4rem 0.8rem;
  background: var(--yellow);
  border-radius: 4px;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(3.2rem, 8vw, 6.5rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 1.75rem;
}

.hero h1 em {
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(180deg, transparent 60%, var(--yellow) 60%);
  padding: 0 0.08em;
}

.hero-sub {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 32em;
  margin-bottom: 2.25rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-image {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(26, 26, 26, 0.35), 0 0 0 1px rgba(26, 26, 26, 0.05);
  transform: rotate(1.2deg);
  transition: transform 0.6s cubic-bezier(.34,1.56,.64,1);
}

.hero-image:hover { transform: rotate(0); }
.hero-image img { width: 100%; height: 100%; object-fit: cover; }

.hero-image-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.25rem 1.25rem 1rem;
  background: linear-gradient(to top, rgba(26, 26, 26, 0.88), transparent);
  color: var(--paper);
  font-size: 0.82rem;
  font-weight: 500;
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image { max-width: 480px; margin: 0 auto; }
}

/* ====== DONATE BAR ====== */
.donate-bar {
  background: var(--coral);
  padding: 1.5rem 0;
  position: relative;
  overflow: hidden;
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}

.donate-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, transparent, transparent 30px, rgba(255, 255, 255, 0.06) 30px, rgba(255, 255, 255, 0.06) 60px);
  pointer-events: none;
}

.donate-bar-inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.donate-bar-text {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.5vw, 1.85rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--paper);
  line-height: 1.15;
}

.donate-bar-text strong { font-weight: 700; font-style: italic; color: var(--yellow); }

.donate-bar-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--yellow);
  color: var(--ink);
  padding: 1rem 2rem;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: all 0.25s cubic-bezier(.34,1.56,.64,1);
  white-space: nowrap;
}

.donate-bar-btn:hover {
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-2px) scale(1.02);
}

.donate-bar-btn .arrow { display: inline-block; transition: transform 0.3s; }
.donate-bar-btn:hover .arrow { transform: translateX(4px); }

@media (max-width: 760px) {
  .donate-bar-inner { flex-direction: column; text-align: center; gap: 1.25rem; }
}

/* ====== BUTTONS ====== */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.75rem;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.98rem;
  font-weight: 700;
  transition: all 0.25s cubic-bezier(.34,1.56,.64,1);
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--ink);
  color: var(--yellow);
  box-shadow: 0 6px 16px -4px rgba(26, 26, 26, 0.3);
}

.btn-primary:hover {
  background: var(--yellow);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -6px rgba(255, 212, 0, 0.6);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--ink);
}

.btn-secondary:hover { background: var(--ink); color: var(--yellow); }

.btn-large { padding: 1.1rem 2.4rem; font-size: 1.08rem; }
.btn-block { width: 100%; justify-content: center; padding: 1.15rem 1.5rem; font-size: 1.08rem; }

/* ====== MARQUEE ====== */
.marquee {
  background: var(--ink);
  color: var(--paper);
  padding: 1.75rem 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.5vw, 1.85rem);
  font-weight: 500;
}

.marquee-track span:nth-child(even) { color: var(--yellow); }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ====== SECTION DEFAULTS ====== */
section { padding: clamp(4rem, 8vw, 7rem) 0; }

.section-label {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 1rem;
  display: inline-block;
  position: relative;
  padding-left: 2rem;
}

.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 1.5rem;
  height: 3px;
  background: var(--yellow);
  transform: translateY(-50%);
  border-radius: 2px;
}

.section-label.centered { display: block; text-align: center; padding-left: 0; }
.section-label.centered::before {
  position: relative;
  left: auto; top: auto;
  display: inline-block;
  margin-right: 0.75rem;
  vertical-align: middle;
  transform: none;
}

h2.centered { text-align: center; }

h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-bottom: 0.75rem;
}

p { margin-bottom: 1.1rem; color: var(--ink-soft); }

/* ====== MISSION ====== */
.mission-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.lede {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  line-height: 1.4;
  color: var(--ink);
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.mission-text strong { color: var(--ink); font-weight: 700; }

.signature {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--yellow-soft);
  border-left: 4px solid var(--yellow);
  border-radius: 0 6px 6px 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink);
}

.mission-image {
  aspect-ratio: 4/5;
  border-radius: 4px;
  overflow: hidden;
  transform: rotate(-1.5deg);
  box-shadow: 0 20px 50px -15px rgba(26, 26, 26, 0.3);
  position: relative;
}

.mission-image img { width: 100%; height: 100%; object-fit: cover; }

.mission-image::after {
  content: 'ETISPO';
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  transform: rotate(3deg);
}

@media (max-width: 860px) {
  .mission-grid { grid-template-columns: 1fr; }
  .mission-image { max-width: 420px; margin: 0 auto; }
}

/* ====== PILLARS ====== */
.pillars { background: var(--paper-deep); position: relative; }
.pillars > .container { position: relative; }
.pillars h2 { margin-bottom: 4rem; }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.pillar {
  background: var(--paper);
  padding: 2.5rem 2rem;
  border-radius: 8px;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
}

.pillar:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--yellow);
}

.pillar-number {
  display: inline-block;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1.5rem;
  background: var(--yellow);
  padding: 0.35rem 0.7rem;
  border-radius: 4px;
}

.pillar h3 { color: var(--ink); }
.pillar p { font-size: 0.98rem; margin-bottom: 0; }

@media (max-width: 760px) {
  .pillars-grid { grid-template-columns: 1fr; }
}

/* ====== IN ACTION (CP/Nav/Taniya feature) ====== */
.in-action {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}

.in-action::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -100px;
  width: 400px;
  height: 400px;
  background: var(--yellow);
  border-radius: 50%;
  opacity: 0.1;
  filter: blur(60px);
  transform: translateY(-50%);
}

.in-action > .container { position: relative; z-index: 1; }
.in-action h2 { color: var(--paper); }
.in-action .section-label { color: var(--yellow); }
.in-action .section-label::before { background: var(--yellow); }

.action-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  margin-top: 3rem;
}

.action-photo {
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}

.action-photo img { width: 100%; height: auto; display: block; }

.action-photo-tag {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.45rem 0.85rem;
  border-radius: 4px;
}

.action-text h3 {
  color: var(--paper);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 1.25rem;
}

.action-text p { color: rgba(255, 253, 245, 0.85); font-size: 1.05rem; line-height: 1.6; }

.action-names {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 212, 0, 0.3);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--yellow);
}

@media (max-width: 860px) {
  .action-grid { grid-template-columns: 1fr; }
  .action-photo-tag {
    top: auto;
    left: auto;
    bottom: 1rem;
    right: 1rem;
  }
}

/* ====== GALLERY ====== */
.gallery-header { margin-bottom: 3rem; }

.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: var(--ink);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(.25,.46,.45,.94);
}

.gallery-item:hover img { transform: scale(1.04); }
.gallery-item-large { grid-row: 1 / 3; aspect-ratio: 4/5; }
.gallery-item:not(.gallery-item-large) { aspect-ratio: 4/3; }

.gallery-item figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2rem 1.5rem 1.25rem;
  background: linear-gradient(to top, rgba(26, 26, 26, 0.9), transparent);
  color: var(--paper);
  font-size: 0.88rem;
  line-height: 1.45;
  font-weight: 500;
}

@media (max-width: 760px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item-large { grid-row: auto; aspect-ratio: 4/3; }
}

/* ====== CLOSING CTA ====== */
.closing-cta {
  background: var(--yellow);
  color: var(--ink);
  position: relative;
  overflow: hidden;
}

.closing-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, transparent, transparent 50px, rgba(26, 26, 26, 0.025) 50px, rgba(26, 26, 26, 0.025) 100px);
  pointer-events: none;
}

.closing-inner {
  position: relative;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.closing-cta h2 { color: var(--ink); margin-bottom: 1rem; }

.closing-cta p {
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 2.25rem;
}

.closing-cta .btn-primary {
  background: var(--ink);
  color: var(--yellow);
  box-shadow: 0 8px 20px -6px rgba(26, 26, 26, 0.5);
}

.closing-cta .btn-primary:hover { background: var(--paper); color: var(--ink); }

/* ====== PAGE HERO ====== */
.page-hero, .donate-hero {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3.5rem);
  background: var(--paper);
  position: relative;
  overflow: hidden;
}

.page-hero::before, .donate-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: var(--yellow);
  border-radius: 50%;
  opacity: 0.2;
  filter: blur(50px);
}

.page-hero > .container, .donate-hero > .container { position: relative; }

.page-hero h1, .donate-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6vw, 4.75rem);
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--ink);
  max-width: 14em;
}

.donate-sub {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 38em;
  margin-top: 1.5rem;
}

/* ====== STORY ====== */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.story-image { position: sticky; top: 100px; }

.story-image img {
  border-radius: 4px;
  box-shadow: 0 25px 50px -15px rgba(26, 26, 26, 0.4);
  aspect-ratio: 3/4;
  object-fit: cover;
  width: 100%;
}

.caption {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-top: 1rem;
  line-height: 1.5;
}

.lede-large {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  line-height: 1.35;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}

.story-text p { font-size: 1.08rem; line-height: 1.65; margin-bottom: 1.35rem; }

.story-text em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink);
  font-weight: 600;
  background: linear-gradient(180deg, transparent 60%, var(--yellow) 60%);
  padding: 0 0.1em;
}

.signature-block {
  margin-top: 2rem !important;
  padding: 1.75rem;
  background: var(--yellow-soft);
  border-left: 4px solid var(--yellow);
  border-radius: 0 6px 6px 0;
  font-size: 1.1rem !important;
  line-height: 1.55 !important;
  color: var(--ink) !important;
}

@media (max-width: 860px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-image { position: static; max-width: 420px; margin: 0 auto; }
}

/* ====== CHARTER ====== */
.charter {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}

.charter::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(255, 192, 1, 0.08), transparent 60%);
  pointer-events: none;
}

.charter-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.charter-header { position: sticky; top: 100px; }

.charter-header .section-label {
  color: var(--yellow);
  margin-bottom: 1.25rem;
}

.charter-header h2 {
  color: var(--paper);
  font-size: clamp(1.85rem, 3.5vw, 2.85rem);
}

.charter-lede {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  line-height: 1.45;
  color: var(--paper);
  margin-bottom: 2rem;
  font-weight: 400;
}

.charter-card {
  background: rgba(255, 192, 1, 0.06);
  border: 1px solid rgba(255, 192, 1, 0.25);
  border-radius: 6px;
  padding: 2rem 2.25rem;
  position: relative;
}

.charter-card-tag {
  position: absolute;
  top: -12px;
  left: 1.5rem;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
}

.charter-card p {
  color: rgba(254, 252, 247, 0.88);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 1.1rem;
}

.charter-card p:last-child { margin-bottom: 0; }

.charter-card strong {
  color: var(--yellow);
  font-weight: 600;
}

.charter-footnote {
  font-size: 0.85rem;
  color: rgba(254, 252, 247, 0.55);
  margin-top: 1.5rem;
  font-style: italic;
}

@media (max-width: 860px) {
  .charter-inner { grid-template-columns: 1fr; }
  .charter-header { position: static; }
  .charter-card { padding: 1.75rem 1.5rem; }
}

/* ====== VALUES ====== */
.values { background: var(--paper-deep); }
.values h2 { margin-bottom: 4rem; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 3.5rem;
}

.value h3 { color: var(--ink); position: relative; padding-left: 1.75rem; }

.value h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 1rem;
  height: 1rem;
  background: var(--yellow);
  border-radius: 50%;
  border: 2px solid var(--ink);
}

.value p { font-size: 1rem; margin-bottom: 0; }

@media (max-width: 700px) {
  .values-grid { grid-template-columns: 1fr; }
}

/* ====== HOW IT WORKS ====== */
.how-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.how-steps { display: flex; flex-direction: column; gap: 2.5rem; }

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--rule);
}

.step:last-child { border-bottom: none; padding-bottom: 0; }

.step-num {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--ink);
  font-weight: 700;
  background: var(--yellow);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step h4 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.step p { margin-bottom: 0; font-size: 1rem; }

@media (max-width: 760px) {
  .how-grid { grid-template-columns: 1fr; }
}

/* ====== DONATE PAGE ====== */
.donate-main { padding-top: 2rem; }

.donate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.impact-tiers h2 { margin-bottom: 2rem; }

.tier {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--rule);
  position: relative;
  align-items: start;
}

.tier:last-child { border-bottom: none; }

.tier.featured {
  background: var(--yellow-soft);
  padding: 1.75rem 1.5rem;
  border-radius: 8px;
  border: 2px solid var(--ink);
  margin: 0.75rem 0;
  position: relative;
}

.tier-badge {
  position: absolute;
  top: -12px;
  right: 1.25rem;
  background: var(--coral);
  color: var(--paper);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
}

.tier-amount {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
  min-width: 100px;
}

.tier h3 { font-size: 1.15rem; margin-bottom: 0.35rem; color: var(--ink); }
.tier p { font-size: 0.95rem; margin-bottom: 0; }

.donate-widget {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 8px 8px 0 var(--yellow);
}

.donate-widget h2 { font-size: 1.85rem; margin-bottom: 1.5rem; }

.form-label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.amount-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.amount-btn {
  padding: 0.85rem 0.5rem;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 6px;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s;
}

.amount-btn:hover { background: var(--yellow-soft); }
.amount-btn.active { background: var(--yellow); color: var(--ink); }

.custom-amount { margin-bottom: 1.25rem; }
.custom-amount label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.input-with-prefix { position: relative; display: flex; align-items: center; }

.prefix {
  position: absolute;
  left: 1rem;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
}

#custom {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2rem;
  font-family: var(--sans);
  font-size: 1rem;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 6px;
  color: var(--ink);
  transition: background 0.2s;
}

#custom:focus { outline: none; background: var(--yellow-soft); }

.frequency {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
  padding: 0.4rem;
  background: var(--paper-deep);
  border-radius: 8px;
  border: 2px solid var(--ink);
}

.radio {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  transition: background 0.2s;
}

.radio:has(input:checked) { background: var(--yellow); color: var(--ink); }
.radio input { accent-color: var(--ink); }

.form-note {
  font-size: 0.82rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-top: 1rem;
  margin-bottom: 0;
}

.other-ways {
  margin-top: 2rem;
  padding: 1.75rem;
  background: transparent;
  border: 2px dashed var(--ink);
  border-radius: 8px;
}

.other-ways h3 { font-size: 1.15rem; margin-bottom: 1rem; }
.other-ways ul { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.other-ways li { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.5; }
.other-ways strong { color: var(--ink); }
.other-ways a {
  color: var(--ink);
  font-weight: 600;
  background: linear-gradient(180deg, transparent 60%, var(--yellow) 60%);
  padding: 0 0.15em;
}

@media (max-width: 900px) {
  .donate-grid { grid-template-columns: 1fr; }
  .amount-buttons { grid-template-columns: repeat(2, 1fr); }
}

/* ====== QUOTE ====== */
.quote-section {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.quote-section::before {
  content: '"';
  position: absolute;
  top: -3rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-size: 18rem;
  color: var(--yellow);
  opacity: 0.18;
  line-height: 1;
  pointer-events: none;
}

.quote-section blockquote { position: relative; max-width: 700px; margin: 0 auto; }

.quote-section p {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.2;
  color: var(--paper);
  margin-bottom: 1.5rem;
}

.quote-section p em {
  font-style: italic;
  background: linear-gradient(180deg, transparent 60%, var(--yellow) 60%);
  color: var(--ink);
  padding: 0 0.1em;
}

.quote-section cite {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  color: var(--yellow);
  font-weight: 600;
}

/* ====== FOOTER ====== */
.site-footer {
  background: var(--ink);
  color: rgba(255, 253, 245, 0.75);
  padding: 4rem 0 1.75rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo { color: var(--paper); margin-bottom: 1rem; }

.footer-brand p {
  font-family: var(--serif);
  font-style: italic;
  color: rgba(255, 253, 245, 0.7);
  line-height: 1.5;
  margin: 0;
}

.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }

.footer-links h4, .footer-legal h4 {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1rem;
  font-weight: 700;
}

.footer-links a {
  color: rgba(255, 253, 245, 0.7);
  font-size: 0.95rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--yellow); }

.small { font-size: 0.85rem; line-height: 1.55; color: rgba(255, 253, 245, 0.6); }

.footer-bottom {
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 253, 245, 0.1);
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 253, 245, 0.5);
}

.dot { color: var(--yellow); margin: 0 0.5em; }

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ====== ANIMATIONS ====== */
@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero h1, .hero-sub, .hero-actions, .hero-image,
.page-hero h1, .donate-hero h1, .donate-sub {
  animation: rise 0.9s cubic-bezier(.25,.46,.45,.94) both;
}

.hero h1 { animation-delay: 0.05s; }
.hero-sub { animation-delay: 0.18s; }
.hero-actions { animation-delay: 0.3s; }
.hero-image { animation-delay: 0.4s; }

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 192, 1, 0.6); }
  50% { box-shadow: 0 0 0 14px rgba(255, 192, 1, 0); }
}

.donate-bar-btn { animation: pulse-glow 2.4s ease-in-out infinite; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(.25,.46,.45,.94), transform 0.8s cubic-bezier(.25,.46,.45,.94);
}

.reveal.visible { opacity: 1; transform: translateY(0); }
