@import url("https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Playfair+Display:wght@400;500;600;700&display=swap");

:root {
  --bg: #fbf7ef;
  --surface: #f6efe2;
  --surface-strong: #fffdf8;
  --text: #3b2d1d;
  --muted: #7b6d5d;
  --line: rgba(120, 94, 56, 0.18);
  --gold: #d4a63f;
  --gold-dark: #9e6f1c;
  --gold-soft: #f6e2a6;
  --shadow: 0 20px 50px rgba(67, 42, 17, 0.1);
  --shadow-soft: 0 12px 30px rgba(67, 42, 17, 0.08);
  --radius: 22px;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Lato", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(255, 231, 168, 0.4), transparent 28%),
    linear-gradient(180deg, #fcf8f1 0%, #f9f4ea 100%);
}
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.site-shell { min-height: 100vh; }
.container { width: min(var(--container), calc(100% - 2rem)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(251, 247, 239, 0.86);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 82px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  font-weight: 700;
}
.brand-mark {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--gold) 0%, #b58024 100%);
  box-shadow: 0 10px 20px rgba(191, 136, 27, 0.28);
}
.nav-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block;
  width: 1.2rem;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  content: "";
}
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after { transform: translateY(4px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(0) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-2px) rotate(-45deg); }

.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav a {
  position: relative;
  color: var(--muted);
  font-size: 0.97rem;
  transition: color 0.2s ease;
}
.site-nav a:hover, .site-nav a.active { color: var(--gold-dark); }
.site-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.55rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
}

.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: flex-end;
  color: #fff6de;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(34, 21, 11, 0.12), rgba(34, 21, 11, 0.82)),
    url("assets/kids-forest-radiant.jpg") center/cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  background: linear-gradient(180deg, transparent, rgba(29, 18, 9, 0.92));
}
.hero-content, .page-hero-content { position: relative; z-index: 1; }
.hero-content { max-width: 720px; padding: 9rem 0 5.5rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  color: #ffe19a;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 700;
}
.eyebrow-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: radial-gradient(circle, #ffe59b 0%, #d4a63f 72%);
  box-shadow: 0 0 18px rgba(255, 223, 130, 0.8);
}
h1, h2, h3, h4 {
  margin: 0;
  font-family: "Playfair Display", serif;
  line-height: 1.1;
}
h1 { font-size: clamp(3rem, 7vw, 5.75rem); margin-bottom: 1rem; }
h2 { font-size: clamp(2.15rem, 5vw, 3.6rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); margin-bottom: 0.75rem; }
.highlight {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-subtitle, .section-lead, .page-hero p, .copy p, .card p, .value-card p, .contact-list, .team-card p, .footer-copy {
  color: var(--muted);
  line-height: 1.8;
}
.hero-subtitle {
  max-width: 34rem;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.2rem, 2.6vw, 1.7rem);
  color: #fff2d4;
  font-style: italic;
  margin-bottom: 2rem;
}
.button-row { display: flex; flex-wrap: wrap; gap: 1rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  padding: 0 1.4rem;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  color: white;
  background: linear-gradient(135deg, #d6ac46, #b78022);
  box-shadow: 0 18px 30px rgba(174, 121, 24, 0.22);
}
.button-secondary {
  color: white;
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}
.page-hero {
  padding: 7rem 0 3rem;
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 230, 162, 0.45), transparent 28%),
    linear-gradient(180deg, rgba(255, 251, 244, 0.95), rgba(245, 238, 225, 0.95));
}
.page-hero-content { max-width: 780px; }
.page-hero h1 { font-size: clamp(1.5rem, 3.5vw, 2.9rem); }
.page-hero p { max-width: 42rem; font-size: 1.1rem; }
.section { padding: 6rem 0; }
.section-soft { background: linear-gradient(180deg, rgba(238, 227, 206, 0.42), rgba(255, 255, 255, 0)); }
.section-head { max-width: 760px; margin: 0 auto 3rem; text-align: center; }
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card, .value-card, .team-card, .contact-card, .feature-panel {
  background: rgba(255, 252, 246, 0.82);
  border: 1px solid rgba(141, 108, 59, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.card, .value-card, .contact-card, .feature-panel { padding: 1.75rem; }
.card:hover, .team-card:hover, .value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card, .team-card, .value-card { transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.icon-badge {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 16px;
  margin-bottom: 1rem;
  color: white;
  background: linear-gradient(135deg, var(--gold), #b57f22);
  box-shadow: 0 12px 22px rgba(181, 127, 34, 0.22);
}
.icon-badge.round { border-radius: 999px; }
.icon-badge svg { width: 1.35rem; height: 1.35rem; }

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
  align-items: center;
}
.media-frame {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.media-frame img { height: 100%; object-fit: cover; }
.quote {
  max-width: 860px;
  margin: 0 auto;
  padding: 1.6rem 1.6rem 1.6rem 1.5rem;
  border-left: 4px solid var(--gold);
  color: var(--text);
  font-family: "Playfair Display", serif;
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-style: italic;
  background: rgba(255, 252, 245, 0.65);
  border-radius: 0 20px 20px 0;
}
.bullet-list, .detail-list { margin: 0; padding: 0; list-style: none; }
.bullet-list li, .detail-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
}
.bullet-list li::before, .detail-list li::before {
  content: "*";
  position: absolute;
  left: 0;
  top: 0.08rem;
  color: var(--gold-dark);
  font-weight: 700;
}
.audience-card { overflow: hidden; }
.audience-card .media { aspect-ratio: 4 / 3; overflow: hidden; }
.audience-card .media img { height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.audience-card:hover .media img { transform: scale(1.05); }
.audience-card .body { padding: 1.5rem; }
.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold-dark);
  font-weight: 700;
}
.inline-link::after { content: ">"; font-size: 1rem; }
.team-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.team-card .portrait { aspect-ratio: 4 / 5; background: linear-gradient(180deg, #f3ebdb, #fbf8f2); }
.team-card .portrait img { height: 100%; object-fit: cover; }
.team-card .body {
  padding: 1.4rem;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}
.team-card .role { color: var(--gold-dark); font-size: 0.92rem; font-weight: 700; margin-bottom: 0.5rem; }
.team-card .specialty { color: var(--text); font-size: 0.92rem; font-weight: 700; }
.team-bio {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}
.team-bio p { margin: 0 0 1rem; }
.team-bio p:last-child { margin-bottom: 0; }
.team-bio__extra[hidden] { display: none; }
.team-bio__toggle {
  margin-top: auto;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.team-bio__quote {
  margin: 1.25rem 0;
  padding-left: 1rem;
  border-left: 3px solid var(--gold);
  color: var(--text);
  font-family: "Playfair Display", serif;
  font-size: 1.05rem;
  font-style: italic;
}
.value-card { display: flex; gap: 1.2rem; align-items: flex-start; }
.value-number {
  width: 3rem;
  flex: 0 0 3rem;
  text-align: center;
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  line-height: 1;
  color: rgba(181, 127, 34, 0.35);
}
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.95fr; gap: 2rem; }
.contact-list { display: grid; gap: 1rem; margin-top: 2rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item strong { display: block; margin-bottom: 0.25rem; color: var(--text); }
.form-field { display: grid; gap: 0.45rem; }
.form-field label { color: var(--muted); font-size: 0.92rem; }
.input, .select, .textarea {
  width: 100%;
  border: 1px solid rgba(131, 103, 62, 0.22);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  padding: 0.95rem 1rem;
  color: var(--text);
}
.textarea { min-height: 150px; resize: vertical; }
.stack { display: grid; gap: 1rem; }
.support-card .button { margin-top: 1rem; }
.donation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}
.bank-details {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.1rem;
}
.bank-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem 1rem;
  align-items: center;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(131, 103, 62, 0.16);
}
.bank-detail span {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.86rem;
}
.bank-detail strong {
  font-size: 0.98rem;
  line-height: 1.4;
}
.copy-button {
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(131, 103, 62, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
}
.copy-button:hover {
  border-color: rgba(158, 111, 28, 0.4);
  color: var(--gold-dark);
}
.copy-button.is-copied {
  background: linear-gradient(135deg, #d6ac46, #b78022);
  border-color: transparent;
  color: white;
}
.footer {
  margin-top: 4rem;
  padding: 3rem 0;
  border-top: 1px solid var(--line);
  background: rgba(251, 247, 239, 0.9);
}
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; }
.footer h4 { font-size: 1.15rem; margin-bottom: 1rem; }
.footer-links, .footer-meta { display: grid; gap: 0.7rem; }
.footer a:hover { color: var(--gold-dark); }
.footer-consent-link {
  width: fit-content;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gold-dark);
  font-weight: 700;
  cursor: pointer;
}
.footer-consent-link:hover { text-decoration: underline; }

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner__panel {
  width: min(980px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.35rem 1.5rem;
  border: 1px solid rgba(141, 108, 59, 0.16);
  border-radius: 24px;
  background: rgba(255, 251, 244, 0.96);
  backdrop-filter: blur(18px);
  box-shadow: 0 22px 55px rgba(67, 42, 17, 0.18);
}
.cookie-banner__eyebrow {
  margin: 0 0 0.4rem;
  color: var(--gold-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cookie-banner__copy h3 {
  margin-bottom: 0.5rem;
}
.cookie-banner__copy p:last-child {
  margin: 0;
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: flex-end;
}
.cookie-banner__reject {
  border-color: rgba(131, 103, 62, 0.22);
  background: rgba(255, 255, 255, 0.8);
  color: var(--text);
}
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .grid-4, .split, .contact-grid, .footer-grid, .donation-grid { grid-template-columns: 1fr; }
  .cookie-banner__panel { grid-template-columns: 1fr; }
  .cookie-banner__actions { justify-content: flex-start; }
}
@media (max-width: 760px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .site-nav {
    position: absolute;
    top: calc(100% + 0.6rem);
    left: 1rem;
    right: 1rem;
    display: none;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 252, 246, 0.98);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: flex-start;
  }
  .site-nav.open { display: flex; }
  .site-nav a.active::after { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section, .page-hero { padding: 4.8rem 0; }
  .hero-content { padding: 8rem 0 4rem; }
  .cookie-banner { left: 0.75rem; right: 0.75rem; bottom: 0.75rem; }
  .cookie-banner__actions .button { width: 100%; }
  .bank-detail { grid-template-columns: 1fr; }
  .copy-button { width: 100%; }
}
