/* Read to Me, Stockton! — landing page
   Recreated from the Claude Design handoff (Read to Me Stockton.dc.html).
   Palette and spacing match the approved design 1:1. */

:root {
  --blue: #2919B7;
  --red: #D52827;
  --darkred: #930102;
  --gold: #FCC324;
  --ink: #1C1A3A;
  --cream: #F1EEAF;
  --navy: #16114a;
  --maxw: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Lora', Georgia, serif;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; }
a { color: inherit; }

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--blue);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.18);
}
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 10px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand img { width: 46px; height: 46px; }
.brand-name {
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  font-size: 19px;
  color: var(--gold);
  line-height: 1;
  letter-spacing: 0.2px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav a {
  text-decoration: none;
  color: #fff;
  font-family: 'Baloo 2', cursive;
  font-weight: 600;
  font-size: 15px;
}
.nav .nav-cta {
  background: var(--red);
  color: #fff;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 999px;
  box-shadow: 0 3px 0 var(--darkred);
}

/* ===== Shared buttons ===== */
.btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  border-radius: 999px;
}
.btn-primary {
  gap: 10px;
  background: var(--red);
  color: #fff;
  font-size: 17px;
  padding: 13px 24px;
  box-shadow: 0 4px 0 var(--darkred);
}
.btn-primary img { width: 26px; height: 26px; }
.btn-light {
  gap: 8px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--blue);
  font-size: 17px;
  padding: 13px 24px;
}
.btn-outline {
  gap: 8px;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.6);
  font-size: 17px;
  padding: 11px 22px;
}
.btn .sub { opacity: 0.8; font-weight: 600; font-size: 14px; }
.btn-light .sub { opacity: 0.7; }
.btn-outline .sub { opacity: 0.75; }

/* ===== HERO ===== */
.hero { position: relative; background: var(--navy); }
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
    rgba(20, 12, 74, 0.72) 0%,
    rgba(20, 12, 74, 0.4) 26%,
    rgba(20, 12, 74, 0.12) 52%,
    rgba(20, 12, 74, 0) 78%);
}
.hero-grid {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 60px 22px 70px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
  align-items: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 7px 14px 7px 7px;
  border-radius: 999px;
}
.badge img { width: 34px; height: 34px; }
.badge span {
  font-family: 'Baloo 2', cursive;
  font-weight: 600;
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.04em;
}
.h-free {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 62px;
  line-height: 0.98;
  letter-spacing: -1px;
  margin: 22px 0 0;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 0 2px 14px rgba(10, 6, 40, 0.55);
}
.h-sub {
  font-family: 'Baloo 2', cursive;
  font-weight: 600;
  font-size: 26px;
  color: var(--gold);
  margin: 8px 0 0;
  text-shadow: 0 2px 12px rgba(10, 6, 40, 0.6);
}
.every {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.every-card {
  position: relative;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 14px;
  padding: 14px 18px;
  min-width: 150px;
}
.every-label {
  font-family: 'Baloo 2', cursive;
  font-weight: 800;
  font-size: 15px;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.every-detail {
  font-size: 14px;
  color: var(--blue);
  font-weight: 600;
  margin-top: 2px;
}
.new-flag {
  position: absolute;
  top: -12px;
  right: -10px;
  background: var(--gold);
  color: var(--ink);
  font-family: 'Baloo 2', cursive;
  font-weight: 800;
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 999px;
  transform: rotate(8deg);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 32px;
}
.hero-art { display: flex; justify-content: center; }
.hero-art img {
  width: 100%;
  max-width: 320px;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.35));
}

/* ===== Generic section scaffolding ===== */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 22px;
}
.section-head { text-align: center; }
.h2 {
  font-family: 'Lora', serif;
  font-weight: 700;
  color: var(--blue);
  margin: 0;
}

/* ===== HOW IT WORKS ===== */
.how { background: var(--cream); }
.how .h2 { font-size: 42px; }
.lead {
  font-size: 19px;
  line-height: 1.6;
  color: #2b2752;
  max-width: 40em;
  margin: 16px auto 0;
}
.lead strong.red { color: var(--red); }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px;
  align-items: stretch;
}
.step-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 10px 26px -16px rgba(41, 25, 183, 0.5);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-family: 'Baloo 2', cursive;
  font-weight: 800;
  font-size: 22px;
}
.step-num--1 { background: var(--blue); color: var(--gold); }
.step-num--2 { background: var(--red); color: #fff; }
.step-num--3 { background: var(--gold); color: var(--ink); }
.step-card h3 {
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  font-size: 21px;
  color: var(--blue);
  margin: 16px 0 6px;
}
.step-card p {
  font-size: 15px;
  line-height: 1.55;
  color: #44406b;
  margin: 0;
}
.books59 {
  text-align: center;
  margin: 44px auto 0;
  max-width: 44em;
}
.books59 p {
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  font-size: 25px;
  line-height: 1.3;
  color: var(--red);
  margin: 0;
}
.books59 p span { color: var(--blue); }
.qr-panel {
  background: #fff;
  border-radius: 22px;
  padding: 32px;
  margin-top: 40px;
  box-shadow: 0 12px 30px -18px rgba(41, 25, 183, 0.55);
}
.qr-panel-title {
  text-align: center;
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  font-size: 18px;
  color: var(--blue);
  margin: 0 0 22px;
}
.qr-row {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  justify-content: center;
  align-items: flex-start;
}
.qr-item { text-align: center; }
.qr-item img { width: 150px; height: 150px; border-radius: 12px; }
.qr-label {
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  font-size: 16px;
  color: var(--blue);
  margin-top: 10px;
}
.qr-link {
  display: inline-block;
  margin-top: 8px;
  text-decoration: none;
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  font-size: 14px;
  padding: 8px 18px;
  border-radius: 999px;
}
.qr-link--en { background: var(--red); color: #fff; box-shadow: 0 3px 0 var(--darkred); }
.qr-link--es { background: var(--blue); color: #fff; }
.dolly {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 26px;
  align-items: center;
  margin-top: 44px;
}
.dolly img { width: 100%; max-width: 130px; }
.dolly p {
  font-size: 16px;
  line-height: 1.65;
  color: #2b2752;
  margin: 0;
}

/* ===== DONATE ===== */
.donate { position: relative; background: var(--navy); }
.donate-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}
.donate-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22, 17, 74, 0.62), rgba(41, 25, 183, 0.66));
}
.donate-inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 78px 22px;
}
.stat-img { width: 100%; max-width: 680px; margin: 0 auto; }
.donate-sub {
  font-size: 18px;
  line-height: 1.6;
  color: #eae8ff;
  max-width: 36em;
  margin: 18px auto 0;
}
.donate-card {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  align-items: center;
  margin-top: 50px;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 24px;
  padding: 40px;
}
.donate-card h2 {
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 34px;
  color: var(--blue);
  margin: 0;
  line-height: 1.12;
}
.donate-card p {
  font-size: 17px;
  line-height: 1.65;
  color: #2b2752;
  margin: 16px 0 0;
}
.donate-card p strong.red { color: var(--red); }
.donate-emph {
  font-family: 'Baloo 2', cursive !important;
  font-weight: 700;
  font-size: 20px !important;
  color: var(--red) !important;
  margin: 22px 0 0 !important;
}
.btn-donate {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  text-decoration: none;
  background: var(--red);
  color: #fff;
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  font-size: 19px;
  padding: 15px 32px;
  border-radius: 999px;
  box-shadow: 0 5px 0 var(--darkred);
}
.donate-qr { text-align: center; }
.donate-qr img { width: 100%; max-width: 180px; border-radius: 12px; margin: 0 auto; }
.donate-qr .qr-label { margin-top: 10px; font-size: 15px; }

/* ===== PARTNERS ===== */
.partners { background: #EAF1FF; }
.partners .h2 { font-size: 38px; text-align: center; }
.partners-lead {
  text-align: center;
  font-size: 17px;
  color: #44406b;
  max-width: 38em;
  margin: 14px auto 0;
}
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.partner-card {
  text-decoration: none;
  background: #fff;
  border-radius: 18px;
  padding: 30px 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  box-shadow: 0 10px 26px -16px rgba(41, 25, 183, 0.5);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px -16px rgba(41, 25, 183, 0.6);
}
.partner-card img { max-width: 100%; }

/* ===== CONTACT ===== */
.contact { position: relative; background: #F4F5F7; overflow: hidden; }
.contact-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.contact-veil { position: absolute; inset: 0; background: rgba(244, 245, 247, 0.5); }
.contact-inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 74px 22px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}
.contact h2 {
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 38px;
  color: var(--red);
  margin: 0;
}
.contact-sub {
  font-family: 'Baloo 2', cursive;
  font-weight: 600;
  font-size: 20px;
  color: var(--blue);
  margin: 6px 0 24px;
}
.contact-list { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--ink);
}
.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 19px;
  flex-shrink: 0;
}
.contact-icon--email { background: var(--blue); color: var(--gold); }
.contact-icon--phone { background: var(--red); color: #fff; }
.contact-icon--addr { background: var(--gold); color: var(--ink); }
.contact-icon--fb {
  background: var(--blue);
  color: #fff;
  font-family: 'Baloo 2', cursive;
  font-weight: 800;
  font-size: 21px;
}
.contact-item span:last-child {
  font-family: 'Baloo 2', cursive;
  font-weight: 600;
  font-size: 17px;
}
.contact-card { text-align: center; }
.contact-card > img { width: 100%; max-width: 240px; margin: 0 auto; }
.contact-cta {
  display: inline-block;
  margin-top: 18px;
  text-decoration: none;
  background: var(--red);
  color: #fff;
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  font-size: 18px;
  padding: 14px 30px;
  border-radius: 999px;
  box-shadow: 0 4px 0 var(--darkred);
}

/* ===== FOOTER ===== */
.site-footer { background: var(--blue); color: #cfcaf5; }
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 22px;
  text-align: center;
}
.footer-inner p {
  font-family: 'Baloo 2', cursive;
  font-weight: 600;
  font-size: 14px;
  margin: 0;
  line-height: 1.6;
}
.footer-inner .copyright { font-size: 13px; color: #9d97e0; margin: 8px 0 0; font-weight: 600; }

/* ===== RESPONSIVE (matches design @media max-width:900px) ===== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .every { flex-direction: column; }
  .steps { grid-template-columns: 1fr; }
  .qr-row { justify-content: center; }
  .donate-card { grid-template-columns: 1fr; }
  .dolly { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .nav { display: none; }
  .h-free { font-size: 44px; }
  .stat-img { max-width: 92%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
