/* ============================================================
   Trading Cards For Kids — styles
   Warm, friendly, credible nonprofit. One accent, real hierarchy.
   ============================================================ */

:root {
  --bg:        #fcf8f2;   /* warm cream */
  --surface:   #ffffff;
  --ink:       #2a2320;   /* warm near-black */
  --ink-soft:  #5e554f;
  --accent:    #e4572e;   /* warm coral-red */
  --accent-d:  #c4441f;
  --gold:      #f3a712;
  --line:      #ece4d8;
  --radius:    18px;
  --shadow:    0 10px 30px -12px rgba(58, 40, 28, 0.18);
  --max:       1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; line-height: 1.1; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); font-weight: 600; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }

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

.eyebrow {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 0.6rem;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block; font-weight: 600; font-size: 1rem;
  padding: 0.85rem 1.6rem; border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px -8px rgba(228, 87, 46, 0.6); }
.btn-primary:hover { background: var(--accent-d); transform: translateY(-2px); }
.btn-ghost { color: var(--ink); border: 1.5px solid var(--line); background: var(--surface); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-lg { padding: 1.05rem 2.2rem; font-size: 1.1rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem clamp(1.2rem, 4vw, 3rem);
  background: rgba(252, 248, 242, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 0.55rem; }
.brand-mark { font-size: 1.5rem; }
.brand-name { font-family: 'Fraunces', serif; font-weight: 700; font-size: 1.15rem; }
.brand-name span { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { font-weight: 500; font-size: 0.95rem; color: var(--ink-soft); }
.nav a:hover { color: var(--ink); }
.nav .nav-cta {
  background: var(--ink); color: #fff; padding: 0.5rem 1.1rem;
  border-radius: 999px;
}
.nav .nav-cta:hover { background: var(--accent); color: #fff; }

/* ---------- hero ---------- */
.hero {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) clamp(1.2rem, 4vw, 3rem);
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items: center;
}
.hero h1 { margin-bottom: 1.2rem; }
.lede { font-size: 1.18rem; color: var(--ink-soft); max-width: 38ch; margin-bottom: 1.8rem; }
.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.hero-note { font-size: 0.95rem; color: var(--ink-soft); font-style: italic; }

.hero-art { position: relative; min-height: 320px; }
.hero-art .card {
  position: absolute; width: 110px; height: 154px; border-radius: 14px;
  display: grid; place-items: center; font-size: 2.6rem;
  background: var(--surface); box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.card-1 { top: 10%;  left: 8%;  transform: rotate(-12deg); background: linear-gradient(150deg,#fff,#fff7e6); }
.card-2 { top: 4%;   left: 42%; transform: rotate(5deg);   background: linear-gradient(150deg,#fff,#ffece6); }
.card-3 { top: 42%;  left: 24%; transform: rotate(-4deg);  background: linear-gradient(150deg,#fff,#e8f4ff); }
.card-4 { top: 38%;  left: 56%; transform: rotate(13deg);  background: linear-gradient(150deg,#fff,#fff3d6); }
@media (prefers-reduced-motion: no-preference) {
  .hero-art .card { animation: float 6s ease-in-out infinite; }
  .card-2 { animation-delay: 1.2s; }
  .card-3 { animation-delay: 0.6s; }
  .card-4 { animation-delay: 1.8s; }
}
@keyframes float { 0%,100% { translate: 0 0; } 50% { translate: 0 -12px; } }

/* ---------- mission ---------- */
.mission {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.2rem, 4vw, 3rem);
  display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 3rem; align-items: center;
  border-top: 1px solid var(--line);
}
.mission-text h2 { margin-bottom: 1rem; }
.mission-text p { color: var(--ink-soft); margin-bottom: 0.9rem; max-width: 56ch; }
.stats { list-style: none; display: grid; gap: 1.2rem; }
.stats li {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.1rem 1.3rem; box-shadow: var(--shadow);
}
.stats strong { display: block; font-family: 'Fraunces', serif; font-size: 1.5rem; color: var(--accent); }
.stats span { font-size: 0.92rem; color: var(--ink-soft); }

/* ---------- generic section ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(3rem, 6vw, 5rem) clamp(1.2rem, 4vw, 3rem); }
.section-head { text-align: center; max-width: 40ch; margin: 0 auto 2.6rem; }

/* ---------- how it works cards ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.info-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.7rem; box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.info-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -16px rgba(58,40,28,0.28); }
.info-icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.7rem; background: #fff3ed; margin-bottom: 1.1rem;
}
.info-card h3 { margin-bottom: 0.5rem; }
.info-card p { color: var(--ink-soft); font-size: 0.97rem; }

/* ---------- impact ---------- */
.impact { background: var(--ink); color: #f6efe7; }
.impact-inner {
  max-width: 780px; margin: 0 auto; text-align: center;
  padding: clamp(3.5rem, 7vw, 6rem) clamp(1.2rem, 4vw, 3rem);
}
.impact .eyebrow { color: var(--gold); }
.impact h2 { color: #fff; margin-bottom: 1.2rem; }
.impact-lede { color: #cfc4ba; font-size: 1.12rem; margin-bottom: 2.2rem; }
.impact-quote {
  font-family: 'Fraunces', serif; font-size: 1.3rem; line-height: 1.5; font-style: italic;
  border-left: 3px solid var(--gold); padding-left: 1.4rem; text-align: left; color: #f6efe7;
}

/* ---------- why donate ---------- */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.why-item {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.7rem;
}
.why-item h3 { margin-bottom: 0.5rem; color: var(--accent-d); }
.why-item p { color: var(--ink-soft); font-size: 0.97rem; }
.fine-print {
  margin-top: 1.8rem; font-size: 0.82rem; color: var(--ink-soft);
  max-width: 70ch; opacity: 0.85;
}

/* ---------- get involved ---------- */
.involved { background: linear-gradient(160deg, #fff3ed, #ffe6dc); }
.involved-inner {
  max-width: 640px; margin: 0 auto; text-align: center;
  padding: clamp(3.5rem, 7vw, 6rem) clamp(1.2rem, 4vw, 3rem);
}
.involved h2 { margin-bottom: 1rem; }
.involved-lede { color: var(--ink-soft); font-size: 1.12rem; margin-bottom: 2rem; }
.involved-contact { margin-top: 1.2rem; font-size: 0.95rem; color: var(--ink-soft); }
.involved-contact a { color: var(--accent-d); font-weight: 600; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #cfc4ba; }
.footer-inner {
  max-width: var(--max); margin: 0 auto; text-align: center;
  padding: clamp(2.5rem, 5vw, 3.5rem) clamp(1.2rem, 4vw, 3rem);
}
.footer-brand { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 0.8rem; }
.footer-brand .brand-name { color: #fff; }
.footer-tag { margin-bottom: 1rem; }
.footer-legal { font-size: 0.9rem; margin-bottom: 0.8rem; }
.footer-legal a { color: var(--gold); }
.footer-disclaimer { font-size: 0.78rem; opacity: 0.6; max-width: 60ch; margin: 0 auto; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .hero, .mission { grid-template-columns: 1fr; }
  .hero-art { min-height: 260px; order: -1; }
  .cards-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .nav a:not(.nav-cta) { display: none; }
}
