/* ============================================================
   Learning With Miss April
   Shared stylesheet
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --sun:        #FFD23F;
  --sun-soft:   #FFF3B0;
  --sky:        #4EC6E8;
  --sky-soft:   #C8EDF7;
  --coral:      #FF6B4A;
  --coral-soft: #FFD6CA;
  --leaf:       #7BC950;
  --leaf-soft:  #D4EDC1;
  --berry:      #E94E77;
  --grape:      #A06CD5;
  --ink:        #2B3A55;
  --ink-soft:   #4A5A78;
  --cream:      #FFFBF0;
  --white:      #FFFFFF;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3, h4 {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--ink);
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── Utilities ─────────────────────────────────────────────── */
.handwrite { font-family: 'Caveat', cursive; font-weight: 700; }

/* Yellow highlight — marks placeholders so April can spot them */
.ph {
  display: inline-block;
  background: var(--sun);
  border: 2px solid var(--ink);
  border-radius: 4px;
  padding: 0.15rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 800;
  font-family: 'Nunito', sans-serif;
  vertical-align: middle;
  color: var(--ink);
  letter-spacing: 0.02em;
}

/* ── Nav ───────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 3px solid var(--sun);
  padding: 0.8rem 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  box-shadow: 0 2px 0 rgba(43,58,85,0.05);
}
.nav-logo {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}
.nav-logo .sun-dot {
  width: 26px; height: 26px;
  background: var(--sun);
  border-radius: 50%;
  border: 3px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  line-height: 1;
}
.nav-links {
  display: flex;
  gap: 1.1rem;
  align-items: center;
  overflow-x: auto;
  flex: 1;
  padding: 0 0.5rem;
  scrollbar-width: none;
}
.nav-links::-webkit-scrollbar { display: none; }
.nav-link {
  font-weight: 700;
  color: var(--ink);
  font-size: 0.875rem;
  white-space: nowrap;
  padding: 0.3rem 0;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
  font-family: 'Nunito', sans-serif;
}
.nav-link:hover { color: var(--coral); }
.nav-link.active { color: var(--coral); border-bottom-color: var(--coral); }
.nav-cta {
  background: var(--coral);
  color: white;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-weight: 800;
  border: 3px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  transition: all 0.15s;
  font-family: 'Nunito', sans-serif;
  font-size: 0.875rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-cta:hover { transform: translate(-1px,-1px); box-shadow: 4px 4px 0 var(--ink); }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 800;
  border: 3px solid var(--ink);
  transition: all 0.2s;
  font-size: 1rem;
  font-family: 'Nunito', sans-serif;
  text-align: center;
  cursor: pointer;
}
.btn-coral { background: var(--coral); color: white; box-shadow: 5px 5px 0 var(--ink); }
.btn-coral:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 var(--ink); }
.btn-sun { background: var(--sun); color: var(--ink); box-shadow: 5px 5px 0 var(--ink); }
.btn-sun:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 var(--ink); }
.btn-sky { background: var(--sky); color: white; box-shadow: 5px 5px 0 var(--ink); }
.btn-sky:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 var(--ink); }
.btn-leaf { background: var(--leaf); color: white; box-shadow: 5px 5px 0 var(--ink); }
.btn-leaf:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 var(--ink); }

/* ── Generic Section Container ─────────────────────────────── */
.section {
  padding: 2.5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.section-head { text-align: center; margin-bottom: 2rem; }
.section-head .handwrite {
  color: var(--coral); font-size: 1.2rem;
  display: block; transform: rotate(-2deg); margin-bottom: 0.25rem;
}
.section-head h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
.section-head p {
  margin-top: 0.9rem; color: var(--ink-soft);
  max-width: 600px; margin-left: auto; margin-right: auto; font-weight: 500;
}

/* ── Photo Placeholder ─────────────────────────────────────── */
.photo-placeholder {
  background: var(--sun);
  border: 4px dashed var(--ink);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--ink);
  gap: 0.5rem;
}
.photo-placeholder .ph-icon { font-size: 3rem; }
.photo-placeholder .ph-label {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700; font-size: 1.2rem;
}
.photo-placeholder .ph-sub {
  font-size: 0.82rem; font-weight: 600; opacity: 0.7;
}

/* ── Scrolling Proof Strip ─────────────────────────────────── */
.proof-strip {
  background: var(--ink); color: white;
  padding: 1rem 0; overflow: hidden;
  border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink);
}
.proof-track {
  display: flex; gap: 3rem; white-space: nowrap;
  animation: marquee 40s linear infinite;
  font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 1.1rem;
  width: max-content;
}
.proof-track span { display: inline-flex; align-items: center; gap: 0.8rem; }
.proof-track .ic { color: var(--sun); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Hero (Home) ───────────────────────────────────────────── */
.hero-wrap {
  background:
    radial-gradient(ellipse at top left, var(--sun-soft) 0%, transparent 50%),
    radial-gradient(ellipse at top right, var(--sky-soft) 0%, transparent 50%),
    var(--cream);
  position: relative; overflow: hidden;
}
.hero-wrap::before {
  content: ''; position: absolute; top: 30px; right: 40px;
  width: 80px; height: 80px;
  background: var(--sun); border-radius: 50%;
  border: 4px solid var(--ink); box-shadow: 0 0 0 8px rgba(255,210,63,0.2); z-index: 1;
}
.hero {
  padding: 2.5rem 2rem 3rem; max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 2rem; align-items: start; position: relative; z-index: 2;
}
.hero-eyebrow {
  display: inline-block; background: var(--leaf); color: white;
  padding: 0.3rem 0.9rem; border-radius: 999px;
  font-weight: 800; font-size: 0.8rem; border: 3px solid var(--ink);
  margin-bottom: 1.2rem; transform: rotate(-2deg); box-shadow: 3px 3px 0 var(--ink);
}
.hero h1 { font-size: clamp(2rem, 3.5vw, 3rem); margin-bottom: 1rem; }
.hero h1 .hl { background: var(--sun); padding: 0 0.25rem; border-radius: 6px; }
.hero-body p {
  font-size: 1rem; color: var(--ink-soft); font-weight: 500;
  margin-bottom: 0.8rem; max-width: 480px;
}
.hero-ctas { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.25rem; }

/* photo column with stickers */
.hero-photo-col { position: relative; max-width: 360px; }
.hero-photo-col .photo-placeholder { aspect-ratio: 4/5; }
.sticker {
  position: absolute; border: 3px solid var(--ink); border-radius: 50%;
  width: 90px; height: 90px; display: flex; align-items: center; justify-content: center;
  font-family: 'Fredoka', sans-serif; font-weight: 700;
  text-align: center; font-size: 0.75rem; line-height: 1.2;
  box-shadow: 3px 3px 0 var(--ink); padding: 0.5rem; z-index: 3;
}
.sticker.top { top: -22px; right: -14px; background: var(--berry); color: white; transform: rotate(-12deg); }
.sticker.bottom { bottom: -18px; left: -18px; background: var(--sun); color: var(--ink); transform: rotate(10deg); }

/* ── Empathy Block ─────────────────────────────────────────── */
.empathy-block {
  background: var(--sky-soft);
  border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink);
  padding: 3.5rem 2rem;
}
.empathy-inner { max-width: 800px; margin: 0 auto; }
.empathy-inner > p {
  font-size: 1rem; font-weight: 600; color: var(--ink); margin-bottom: 1rem;
}
.empathy-list {
  list-style: none; margin: 1.2rem 0 2rem;
  display: flex; flex-direction: column; gap: 0.8rem;
}
.empathy-list li {
  background: white; border: 3px solid var(--ink); border-radius: 12px;
  padding: 0.9rem 1.2rem; font-weight: 700; font-size: 1rem;
  box-shadow: 3px 3px 0 var(--ink); display: flex; align-items: center; gap: 0.7rem;
}
.empathy-list li::before { content: '→'; color: var(--coral); font-weight: 900; flex-shrink: 0; }
.empathy-punchline {
  font-family: 'Fredoka', sans-serif; font-size: 1.6rem; color: var(--ink); margin-top: 1.25rem;
}

/* ── Mission Block ─────────────────────────────────────────── */
.mission-block {
  padding: 3.5rem 2rem; max-width: 800px; margin: 0 auto; text-align: center;
}
.mission-block p {
  font-size: 1rem; color: var(--ink-soft); font-weight: 500; margin-bottom: 1rem;
}
.mission-block .mission-ctas {
  margin-top: 2rem; display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center;
}

/* ── Services Strip ────────────────────────────────────────── */
.services-strip {
  background: var(--ink);
  padding: 3rem 2rem;
  border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink);
}
.services-strip-inner { max-width: 1100px; margin: 0 auto; }
.services-strip h2 {
  color: var(--sun); text-align: center;
  font-size: clamp(1.5rem, 2.5vw, 2rem); margin-bottom: 2rem;
}
.service-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem;
}
.service-card {
  background: white; border: 3px solid var(--ink); border-radius: 20px;
  padding: 1.25rem; text-align: center;
  box-shadow: 5px 5px 0 var(--sun);
  display: flex; flex-direction: column; gap: 0.5rem; align-items: center;
  transition: all 0.2s; position: relative;
}
.service-card:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 var(--sun); }
.service-card .svc-icon { font-size: 2rem; margin-bottom: 0.2rem; }
.service-card h3 { font-size: 1.125rem; }
.service-card .svc-price {
  font-family: 'Fredoka', sans-serif; font-weight: 700;
  font-size: 1.3rem; color: var(--coral);
}
.service-card p { color: var(--ink-soft); font-size: 0.9rem; font-weight: 500; }
.svc-best-for {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--coral);
  margin-bottom: 0.25rem;
}

.svc-link {
  font-size: 0.8rem; font-weight: 800;
  color: var(--coral); text-decoration: underline;
  text-underline-offset: 2px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.why-card {
  background: white;
  border: 3px solid var(--ink);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  box-shadow: 4px 4px 0 var(--ink);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
}

/* ── Reviews (placeholder) ─────────────────────────────────── */
.reviews-section {
  background: var(--sun-soft); padding: 3.5rem 2rem;
  border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink);
}
.reviews-grid {
  max-width: 1100px; margin: 2rem auto 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem;
}
.review-placeholder {
  background: white; border: 3px dashed var(--ink); border-radius: 20px;
  padding: 1.25rem; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 0.8rem;
}
.review-placeholder .stars {
  font-size: 1.5rem; color: #ddd;
  -webkit-text-stroke: 1.5px var(--ink); letter-spacing: 0.15rem;
}
.review-placeholder .cs-badge {
  background: var(--sun); color: var(--ink);
  font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 0.9rem;
  padding: 0.3rem 1rem; border-radius: 999px; border: 2px solid var(--ink);
}
.review-placeholder p { color: var(--ink-soft); font-size: 0.9rem; font-weight: 500; }

/* ── Email Signup ──────────────────────────────────────────── */
.signup {
  background: var(--sky); color: white;
  padding: 3.5rem 2rem; text-align: center;
  border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink);
}
.signup h2 { color: white; font-size: clamp(1.5rem, 2.5vw, 2rem); margin-bottom: 0.75rem; }
.signup > p { max-width: 480px; margin: 0 auto 1.5rem; font-weight: 600; }
.signup-form {
  max-width: 500px; margin: 0 auto; display: flex; gap: 0.5rem; flex-wrap: wrap;
}
.signup-form input {
  flex: 1; min-width: 200px; padding: 0.9rem 1.3rem; border-radius: 999px;
  border: 3px solid var(--ink); background: white;
  font-family: 'Nunito', sans-serif; font-size: 1rem; color: var(--ink); font-weight: 600;
}
.signup-form input:focus { outline: 3px solid var(--sun); outline-offset: 2px; }

/* ── About — Fun Facts Strip ───────────────────────────────── */
.fun-facts {
  background: var(--coral);
  border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink);
  padding: 2rem;
}
.fun-facts-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center;
}
.fun-fact { text-align: center; color: white; flex: 1; min-width: 140px; }
.fun-fact .ff-big {
  font-family: 'Fredoka', sans-serif; font-weight: 700;
  font-size: 2.2rem; line-height: 1;
  color: var(--sun); display: block; margin-bottom: 0.3rem;
}
.fun-fact .ff-label { font-weight: 700; font-size: 0.95rem; line-height: 1.3; }

/* ── About Hero ────────────────────────────────────────────── */
.about-hero {
  max-width: 1100px; margin: 0 auto; padding: 3.5rem 2rem;
  display: flex; flex-direction: column; align-items: center; gap: 2rem;
}
.about-hero .about-photo { max-width: 380px; width: 100%; }
.about-hero .about-photo-img { max-height: 480px; object-fit: cover; aspect-ratio: auto; }
.about-photo .photo-placeholder { aspect-ratio: 3/4; }
.about-hero .about-copy { max-width: 62ch; width: 100%; }
.about-copy .eyebrow {
  display: inline-block; background: var(--sun); color: var(--ink);
  padding: 0.3rem 0.9rem; border-radius: 999px; font-weight: 800; font-size: 0.8rem;
  border: 2px solid var(--ink); margin-bottom: 0.75rem; transform: rotate(-1deg);
}
.about-copy h1 { font-size: clamp(2rem, 3.5vw, 3rem); margin-bottom: 0.4rem; }
.about-copy .subtitle {
  font-family: 'Caveat', cursive; color: var(--coral);
  font-size: 1.2rem; font-weight: 700; margin-bottom: 1.25rem; display: block;
}
.about-copy p { font-size: 1rem; color: var(--ink-soft); font-weight: 500; line-height: 1.65; margin-bottom: 1rem; }
.about-copy .cta-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
@media (max-width: 900px) {
  .about-hero .about-photo { max-width: 280px; }
}

/* ── About narrative sections (paragraphs + em-dash lists) ── */
.section.about-text { padding: 5rem 2rem; }
.section.about-text > p,
.section.about-text > ul,
.section.about-text > div > p,
.section.about-text > div > ul {
  max-width: 62ch;
  margin-left: auto;
  margin-right: auto;
}
.section.about-text > p,
.section.about-text > div > p {
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-soft);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.section.about-text > p:last-child,
.section.about-text > div > p:last-child { margin-bottom: 0; }
.section.about-text ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1rem;
}
.section.about-text ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.65rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-soft);
  line-height: 1.6;
}
.section.about-text ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--coral);
  font-weight: 700;
}
.section.about-text ul li:last-child { margin-bottom: 0; }
.section.about-text ul li strong { color: var(--ink); font-weight: 800; }
@media (max-width: 900px) {
  .section.about-text { padding: 3.5rem 1.2rem; }
}

/* ── About Tabs ────────────────────────────────────────────── */
.tabs-wrap {
  background: var(--leaf-soft);
  padding: 3rem 2rem;
  border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink);
}
.tabs-head { text-align: center; margin-bottom: 1.5rem; }
.tabs-head h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
.tabs-head p { color: var(--ink-soft); font-weight: 500; max-width: 500px; margin: 0.5rem auto 0; }
.tab-nav {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  justify-content: center; margin-bottom: 2rem;
}
.tab-btn {
  padding: 0.55rem 1.2rem; border-radius: 999px;
  border: 3px solid var(--ink); font-weight: 800;
  font-family: 'Nunito', sans-serif; font-size: 0.875rem;
  cursor: pointer; background: white; color: var(--ink); transition: all 0.2s;
}
.tab-btn:hover { background: var(--sun-soft); }
.tab-btn.active { background: var(--ink); color: var(--sun); }
.tab-panels { max-width: 800px; margin: 0 auto; }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp 0.3s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.tab-card {
  background: white; border: 3px solid var(--ink); border-radius: 20px;
  padding: 1.5rem; box-shadow: 5px 5px 0 var(--sun);
}
.tab-card .tab-icon { font-size: 2rem; margin-bottom: 0.6rem; display: block; }
.tab-card h3 { font-size: 1.375rem; margin-bottom: 0.5rem; }
.tab-card p { font-size: 1rem; color: var(--ink-soft); font-weight: 500; line-height: 1.65; }

/* ── Credentials ───────────────────────────────────────────── */
.creds { padding: 3.5rem 2rem; max-width: 1100px; margin: 0 auto; }
.cred-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem; margin-top: 2rem;
}
.cred-card {
  background: white; border: 3px solid var(--ink); border-radius: 16px;
  padding: 1.25rem; text-align: center; box-shadow: 4px 4px 0 var(--ink);
}
.cred-card .emoji { font-size: 1.6rem; display: block; margin-bottom: 0.4rem; }
.cred-card h4 { font-size: 1rem; margin-bottom: 0.3rem; }
.cred-card p { font-size: 0.9rem; color: var(--ink-soft); }

/* ── Voice-memo placeholders ── */
.placeholder {
  background: var(--sun-soft);
  border-left: 4px solid var(--sun);
  padding: 1rem 1.25rem;
  border-radius: 8px;
  font-style: italic;
  color: var(--ink-soft);
  font-weight: 500;
  margin: 0;
}

/* ── Tutoring — Pricing Cards ──────────────────────────────── */
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem; margin-top: 2rem;
}
.pricing-grid-2 {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem; margin-top: 2rem;
}
@media (max-width: 768px) {
  .pricing-grid-2 { grid-template-columns: 1fr; }
}
.pricing-card {
  background: white; border: 3px solid var(--ink); border-radius: 20px;
  padding: 1.25rem; box-shadow: 5px 5px 0 var(--ink);
  position: relative; display: flex; flex-direction: column; gap: 0.4rem;
}
.pricing-card.featured { border-color: var(--coral); box-shadow: 6px 6px 0 var(--coral); }
.pop-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--coral); color: white; font-size: 0.7rem; font-weight: 800;
  padding: 0.2rem 0.8rem; border-radius: 999px; border: 2px solid var(--ink);
  white-space: nowrap; font-family: 'Nunito', sans-serif;
}
.pricing-card .pc-icon { font-size: 2rem; margin-bottom: 0.2rem; }
.pricing-card h3 { font-size: 1.125rem; }
.pricing-card .pc-sub { color: var(--ink-soft); font-size: 0.9rem; font-weight: 500; margin-bottom: 0.5rem; }
.price-rows { margin-top: 0.8rem; }
.price-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.55rem 0; border-bottom: 2px dashed var(--sky-soft);
  font-size: 0.92rem; font-weight: 600;
}
.price-row:last-child { border-bottom: none; }
.price-row .pr-label { color: var(--ink-soft); }
.price-row .pr-price {
  font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 1.2rem; color: var(--coral);
}

/* Expandable siblings pricing */
.pricing-expand { max-width: 820px; margin: 2.5rem auto 0; }
.pricing-expand details {
  background: white; border: 3px solid var(--ink); border-radius: 20px;
  box-shadow: 5px 5px 0 var(--sun); overflow: hidden;
}
.pricing-expand summary {
  padding: 1.2rem 1.8rem;
  font-family: 'Fredoka', sans-serif; font-size: 1.15rem; font-weight: 700;
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  background: var(--sun-soft); user-select: none;
}
.pricing-expand summary::-webkit-details-marker { display: none; }
.pricing-expand summary::after { content: '▾'; font-size: 1rem; transition: transform 0.3s; }
.pricing-expand details[open] summary::after { transform: rotate(180deg); }
.expand-body { padding: 1.5rem 1.8rem; }
.expand-note { font-size: 0.88rem; color: var(--ink-soft); font-weight: 600; margin-bottom: 0.8rem; }
.expand-body .price-row {
  display: flex; justify-content: space-between;
  border-bottom: 2px dashed var(--sky-soft); font-size: 0.92rem; font-weight: 600; padding: 0.55rem 0;
}
.expand-body .price-row:last-child { border-bottom: none; }
.expand-body .price-row .pr-label { color: var(--ink-soft); }
.expand-body .price-row .pr-price {
  font-family: 'Fredoka', sans-serif; font-size: 1.2rem; color: var(--coral); font-weight: 700;
}

/* ── Bootcamps — Hero Graphic ──────────────────────────────── */
.bootcamp-hero {
  background: linear-gradient(135deg, var(--sky) 0%, var(--leaf) 55%, var(--sun) 100%);
  padding: 3.5rem 2rem; text-align: center;
  border-bottom: 4px solid var(--ink); position: relative; overflow: hidden;
}
.bootcamp-hero::before, .bootcamp-hero::after {
  content: ''; position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.12);
}
.bootcamp-hero::before { width: 220px; height: 220px; top: -70px; left: -60px; }
.bootcamp-hero::after { width: 280px; height: 280px; bottom: -90px; right: -50px; }
.bootcamp-hero-inner { position: relative; z-index: 2; }
.bootcamp-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem); color: white;
  text-shadow: 3px 3px 0 rgba(43,58,85,0.45); line-height: 1.1; margin-bottom: 0.1rem;
}
.bootcamp-hero h1 .accent { color: var(--sun); }
.bootcamp-hero .bc-tagline {
  font-family: 'Caveat', cursive; font-size: 1.3rem;
  color: white; margin: 0.5rem 0 0.75rem; opacity: 0.95;
}
.bootcamp-hero .bc-desc {
  font-size: 1rem; color: white; font-weight: 600;
  max-width: 520px; margin: 0 auto 1.5rem; opacity: 0.95;
}
.bootcamp-hero .price-badge {
  display: inline-block; background: var(--sun); color: var(--ink);
  font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 1.2rem;
  padding: 0.5rem 1.75rem; border-radius: 999px;
  border: 3px solid var(--ink); box-shadow: 5px 5px 0 rgba(43,58,85,0.35);
}

/* Bootcamp section label */
.bc-section-head {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1rem; margin-top: 1.5rem;
}
.bc-section-head .bc-line { flex: 1; height: 3px; background: var(--ink); border-radius: 2px; }
.bc-section-head h3 { font-size: 1.375rem; white-space: nowrap; }

/* Bootcamp card grid */
.bc-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem;
}
.bc-card {
  background: white; border: 3px solid var(--ink); border-radius: 18px;
  overflow: hidden; box-shadow: 5px 5px 0 var(--ink);
  transition: all 0.2s; display: flex; flex-direction: column;
}
.bc-card:hover { transform: translate(-3px,-3px); box-shadow: 8px 8px 0 var(--ink); }
.bc-card-top {
  padding: 1rem 1.25rem 0.75rem;
  display: flex; gap: 0.75rem; align-items: flex-start; flex: 1;
}
.bc-icon {
  width: 40px; height: 40px; border-radius: 10px; border: 3px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.bc-icon.c1 { background: var(--sky-soft); }
.bc-icon.c2 { background: var(--sun-soft); }
.bc-icon.c3 { background: var(--coral-soft); }
.bc-icon.c4 { background: var(--leaf-soft); }
.bc-icon.c5 { background: #F0DEFF; }
.bc-icon.c6 { background: #FFE0A8; }
.bc-info h4 { font-size: 0.9rem; margin-bottom: 0.25rem; }
.bc-age {
  display: inline-block; background: var(--ink); color: var(--sun);
  padding: 0.1rem 0.5rem; border-radius: 999px; font-size: 0.68rem;
  font-weight: 800; font-family: 'Nunito', sans-serif;
}
.bc-card-footer {
  border-top: 2px solid var(--sky-soft); padding: 0.7rem 1.3rem;
  display: flex; justify-content: space-between; align-items: center;
  background: var(--cream);
}
.bc-card-footer .bc-price {
  font-family: 'Fredoka', sans-serif; font-weight: 700; color: var(--coral); font-size: 1.25rem;
}
.bc-card-footer .bc-weeks { font-size: 0.78rem; font-weight: 700; color: var(--ink-soft); }

/* Urgency strip */
.urgency-strip {
  background: var(--berry); color: white; text-align: center;
  padding: 1.5rem 2rem;
  border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink);
}
.urgency-strip p {
  font-family: 'Fredoka', sans-serif; font-size: clamp(1rem, 2vw, 1.25rem); font-weight: 700;
  margin-bottom: 1rem;
}

/* ── Services Page (beyond.html) ──────────────────────────── */
/* Sticky in-page table of contents — pill bar */
.services-toc {
  position: sticky;
  top: 60px;              /* sits below the sticky main nav */
  z-index: 40;            /* below main nav (z-index 50) */
  background: var(--cream);
  border-bottom: 3px solid var(--ink);
  padding: 0.6rem 1rem;
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  white-space: nowrap;
  scrollbar-width: thin;
}
.services-toc::-webkit-scrollbar { height: 4px; }
.services-toc::-webkit-scrollbar-thumb { background: var(--ink); border-radius: 2px; }
.services-toc a {
  flex-shrink: 0;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: white;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--ink);
  transition: all 0.15s;
}
.services-toc a:hover { background: var(--sun); transform: translateY(-1px); }
@media (max-width: 768px) {
  .services-toc { top: 54px; padding: 0.5rem 0.75rem; }
  .services-toc a { font-size: 0.78rem; padding: 0.3rem 0.7rem; }
}

/* Bootcamp month-tile grid (12-month calendar) */
.month-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.75rem;
}
.month-tile {
  border: 3px solid var(--ink);
  border-radius: 16px;
  padding: 1rem 1.1rem;
  box-shadow: 5px 5px 0 var(--ink);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: transform 0.15s, box-shadow 0.15s;
}
.month-tile.reading { background: var(--coral-soft); }
.month-tile.math    { background: var(--leaf-soft); }
.month-tile:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 var(--ink); }
.month-tile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.15rem;
}
.month-tile .month-name {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-transform: uppercase;
}
.month-tile .subject-tag {
  font-family: 'Nunito', sans-serif;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  border: 2px solid var(--ink);
  letter-spacing: 0.05em;
  line-height: 1;
}
.month-tile .subject-tag.reading { background: var(--coral); color: white; }
.month-tile .subject-tag.math    { background: var(--leaf);  color: white; }
.month-tile-icon { font-size: 1.6rem; line-height: 1; }
.month-tile-title {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 0.1rem;
}
.month-tile-skill {
  font-family: 'Nunito', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-soft);
  line-height: 1.4;
}

/* Bootcamp schedule callout — Tues 10am / Wed 6pm */
.bootcamp-schedule {
  background: white;
  border: 3px solid var(--ink);
  border-radius: 18px;
  box-shadow: 5px 5px 0 var(--ink);
  padding: 1.25rem 1.5rem;
  max-width: 720px;
  margin: 0 auto 2rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.bootcamp-schedule .sched-times {
  display: flex; gap: 1.25rem; flex-wrap: wrap;
}
.bootcamp-schedule .sched-slot {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
}
.bootcamp-schedule .sched-slot small {
  display: block;
  font-family: 'Nunito', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--ink-soft);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}
.bootcamp-schedule .sched-replay {
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-soft);
}

/* Detail card used per service section on Services page */
.service-detail {
  background: white;
  border: 3px solid var(--ink);
  border-radius: 20px;
  box-shadow: 5px 5px 0 var(--ink);
  padding: 1.5rem 1.75rem;
  max-width: 720px;
  margin: 0 auto;
}
.service-detail .sd-price {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--coral);
  margin-bottom: 0.4rem;
  line-height: 1;
}
.service-detail .sd-meta {
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}
.service-detail ul {
  list-style: none;
  padding-left: 0;
  margin: 0.75rem 0 1.25rem;
}
.service-detail ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.55rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  line-height: 1.55;
}
.service-detail ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--coral);
  font-weight: 700;
}
.service-detail ul li:last-child { margin-bottom: 0; }

/* Anchor offset so sticky-nav doesn't cover linked-to headings */
.svc-anchor { scroll-margin-top: 130px; }
@media (max-width: 768px) { .svc-anchor { scroll-margin-top: 110px; } }

/* Mobile tightening for the new Services-page components */
@media (max-width: 600px) {
  /* Bootcamp schedule callout: stack vertically, left-align */
  .bootcamp-schedule {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1.1rem 1.15rem;
  }
  .bootcamp-schedule .sched-times {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }
  .bootcamp-schedule .sched-replay { font-size: 0.82rem; line-height: 1.45; }

  /* Service detail card: tighter padding + smaller price */
  .service-detail { padding: 1.25rem 1.15rem; }
  .service-detail .sd-price { font-size: 1.35rem; }
  .service-detail .sd-meta { font-size: 0.78rem; line-height: 1.5; }
  .service-detail ul li { font-size: 0.92rem; padding-left: 1.3rem; }

  /* Month-tile grid: roomier tap target, tighter padding */
  .month-tile { padding: 0.85rem 1rem; }
  .month-tile-icon { font-size: 1.4rem; }
  .month-tile-title { font-size: 0.95rem; }
  .month-tile-skill { font-size: 0.78rem; }
}

/* ── Assessment Page ───────────────────────────────────────── */
.assessment-hero {
  background: linear-gradient(135deg, var(--sky-soft) 0%, var(--leaf-soft) 100%);
  border-bottom: 3px solid var(--ink); padding: 3rem 2rem;
}
.assessment-hero-inner {
  max-width: 680px; margin: 0 auto;
}
.assessment-hero-inner h1 { font-size: clamp(2rem, 3.5vw, 3rem); margin-bottom: 0.75rem; }
.assessment-hero-inner p { font-size: 1rem; color: var(--ink-soft); font-weight: 500; margin-bottom: 0.75rem; }
.price-tag {
  display: inline-block; background: var(--coral); color: white;
  font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 2rem;
  padding: 0.35rem 1.25rem; border-radius: 16px;
  border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); margin: 0.6rem 0 1rem;
}

.includes-box {
  background: white; border: 3px solid var(--ink); border-radius: 20px;
  padding: 1.5rem; box-shadow: 5px 5px 0 var(--sky);
  max-width: 760px; margin: 0 auto;
}
.includes-box h3 { font-size: 1.375rem; margin-bottom: 1.25rem; }
.includes-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.includes-list li { display: flex; align-items: flex-start; gap: 0.9rem; }
.inc-icon {
  width: 40px; height: 40px; border-radius: 10px; border: 2px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0; background: var(--sky-soft);
}
.inc-text strong { display: block; font-weight: 800; font-size: 0.97rem; color: var(--ink); }
.inc-text span { color: var(--ink-soft); font-weight: 500; font-size: 0.88rem; }

/* ── Resources Page ────────────────────────────────────────── */
.resources-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem;
}
.resource-card {
  background: white; border: 3px solid var(--ink); border-radius: 20px;
  overflow: hidden; box-shadow: 5px 5px 0 var(--ink); transition: all 0.2s;
}
.resource-card:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 var(--ink); }
.resource-thumb {
  aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center;
  font-size: 3rem; position: relative;
}
.resource-thumb::after {
  content: 'COMING SOON'; position: absolute; bottom: 0; left: 0; right: 0;
  background: var(--ink); color: var(--sun); text-align: center; padding: 0.4rem;
  font-family: 'Fredoka', sans-serif; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.05em;
}
.resource-thumb.rc1 { background: var(--sun); }
.resource-thumb.rc2 { background: var(--coral-soft); }
.resource-thumb.rc3 { background: var(--sky-soft); }
.resource-thumb.rc4 { background: var(--leaf-soft); }
.resource-body { padding: 1rem 1.2rem; border-top: 3px solid var(--ink); }
.resource-body h4 { font-size: 1rem; margin-bottom: 0.3rem; }
.resource-body p { font-size: 0.85rem; color: var(--ink-soft); font-weight: 500; }

/* ── Contact Page ──────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2rem; }
.contact-aside { display: flex; flex-direction: column; gap: 1.5rem; }

/* ── Contact form ── */
.form-card {
  background: var(--sun-soft); border: 3px solid var(--ink);
  border-radius: 20px; padding: 1.75rem; box-shadow: 6px 6px 0 var(--sun);
}
.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field > span {
  font-family: 'Fredoka', sans-serif; font-weight: 600;
  font-size: 0.95rem; color: var(--ink);
}
.field > span em { font-style: normal; font-weight: 500; color: var(--ink-soft); }
.contact-form input,
.contact-form textarea {
  font-family: 'Nunito', sans-serif; font-size: 1rem; color: var(--ink);
  background: white; border: 3px solid var(--ink); border-radius: 12px;
  padding: 0.85rem 1rem; width: 100%; box-shadow: 3px 3px 0 var(--ink);
  transition: box-shadow 0.15s, transform 0.15s;
}
.contact-form input { min-height: 52px; }
.contact-form textarea { resize: vertical; }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none; box-shadow: 5px 5px 0 var(--coral); transform: translate(-1px,-1px);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--ink-soft); opacity: 0.6; }
.hp-field { display: none; }
.email-block {
  background: var(--ink); color: white; border-radius: 20px;
  padding: 1.5rem; border: 3px solid var(--ink);
  box-shadow: 6px 6px 0 var(--coral); text-align: center;
}
.email-block h3 { color: var(--sun); font-size: 1.375rem; margin-bottom: 0.6rem; }
.email-display {
  display: block; background: var(--sun); color: var(--ink);
  padding: 1rem 1.5rem; border-radius: 12px;
  font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 1rem;
  word-break: break-all; margin: 1rem 0; border: 3px solid white; transition: all 0.2s;
}
.email-display:hover { background: var(--sun-soft); }
.email-block p { font-weight: 600; font-size: 0.95rem; opacity: 0.9; }
.socials { display: flex; gap: 0.8rem; justify-content: center; margin-top: 1.2rem; flex-wrap: wrap; }
.social-link {
  padding: 0.55rem 1.1rem; border-radius: 999px; background: var(--sun); color: var(--ink);
  border: 2px solid white; font-weight: 800; font-size: 0.85rem; transition: all 0.15s;
}
.social-link:hover { background: var(--coral); color: white; }

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  background: var(--ink); color: white;
  padding: 2rem; text-align: center; border-top: 3px solid var(--ink);
}
.footer .logo {
  font-family: 'Fredoka', sans-serif; font-weight: 700;
  font-size: 1.5rem; color: var(--sun); margin-bottom: 0.2rem;
}
.footer .tagline {
  font-family: 'Caveat', cursive; color: var(--coral);
  font-size: 1rem; margin-bottom: 1rem;
}
.footer-links {
  display: flex; gap: 1.3rem; justify-content: center;
  flex-wrap: wrap; margin-bottom: 1.5rem;
}
.footer-links a {
  color: rgba(255,255,255,0.65); font-weight: 700;
  font-size: 0.88rem; transition: color 0.2s;
}
.footer-links a:hover { color: var(--sun); }
.footer small { opacity: 0.5; font-size: 0.78rem; }

/* ── Toast ─────────────────────────────────────────────────── */
.toast {
  position: fixed; bottom: 2rem; right: 2rem;
  background: var(--ink); color: var(--sun);
  padding: 1rem 1.5rem; border-radius: 12px;
  border: 3px solid var(--sun); font-weight: 800;
  box-shadow: 5px 5px 0 var(--coral);
  opacity: 0; transform: translateY(20px);
  transition: all 0.3s; z-index: 999; pointer-events: none;
  max-width: 90vw; font-family: 'Nunito', sans-serif;
}
.toast.show { opacity: 1; transform: translateY(0); }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero,
  .about-hero,
  .contact-grid { grid-template-columns: 1fr; }
  .hero-wrap::before { width: 50px; height: 50px; top: 12px; right: 12px; }
  .hero, .section, .about-hero, .creds { padding: 2.5rem 1.2rem; }
  .sticker { width: 76px; height: 76px; font-size: 0.68rem; }
  .sticker.top { top: -16px; right: -8px; }
  .sticker.bottom { bottom: -12px; left: -10px; }
  .nav { padding: 0.7rem 1rem; }
  .nav-links { gap: 0.75rem; }
  .nav-link { font-size: 0.78rem; }
  .bootcamp-hero h1 { font-size: clamp(2rem, 6vw, 3rem); }
  .bc-section-head h3 { font-size: 1.125rem; }

  /* Hero photo: constrain width when stacked */
  .hero-photo-col {
    max-width: 360px;
    margin: 0 auto;
  }
}

/* ── Real Photo Images ─────────────────────────────────────── */
.about-photo-img {
  width: 100%;
  border-radius: 20px;
  border: 4px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  object-fit: cover;
  object-position: center top;
  display: block;
  aspect-ratio: 3/4;
}

.hero-photo-img {
  width: 100%;
  border-radius: 20px;
  border: 4px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  object-fit: cover;
  object-position: center top;
  display: block;
  aspect-ratio: 4/5;
}

/* ── Shop Page ─────────────────────────────────────────────── */
.shop-hero {
  background: linear-gradient(135deg, var(--sun-soft) 0%, var(--coral-soft) 50%, var(--sky-soft) 100%);
  padding: 3rem 2rem;
  text-align: center;
  border-bottom: 3px solid var(--ink);
}
.shop-hero h1 { font-size: clamp(2rem, 3.5vw, 3rem); margin-bottom: 0.75rem; }
.shop-hero p {
  max-width: 560px; margin: 0 auto 1.25rem;
  font-size: 1rem; font-weight: 600; color: var(--ink-soft);
}
.shop-launch-badge {
  display: inline-block; background: var(--coral); color: white;
  font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 1.1rem;
  padding: 0.5rem 1.5rem; border-radius: 999px;
  border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink);
}

.shop-filters {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  justify-content: center;
  padding: 1.5rem 2rem 0;
  max-width: 1100px; margin: 0 auto;
}
.filter-chip {
  padding: 0.55rem 1.3rem; border-radius: 999px;
  border: 3px solid var(--ink); font-weight: 800;
  font-family: 'Nunito', sans-serif; font-size: 0.875rem;
  cursor: pointer; background: white; color: var(--ink);
  transition: all 0.2s; min-height: 44px;
}
.filter-chip:hover { background: var(--sun-soft); }
.filter-chip.active { background: var(--ink); color: var(--sun); }

.shop-section { padding: 2.5rem 2rem 0.5rem; max-width: 1100px; margin: 0 auto; }
.shop-section-head {
  display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem;
}
.shop-section-head .sh-line { flex: 1; height: 3px; background: var(--ink); border-radius: 2px; }
.shop-section-head h2 { font-size: clamp(1.25rem, 2vw, 1.375rem); white-space: nowrap; }

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  padding: 0 2rem 1.5rem; max-width: 1100px; margin: 0 auto;
}

.shop-card {
  background: white; border: 3px solid var(--ink); border-radius: 20px;
  overflow: hidden; box-shadow: 5px 5px 0 var(--ink);
  transition: all 0.2s; display: flex; flex-direction: column;
}
.shop-card:hover { transform: translate(-3px,-3px); box-shadow: 8px 8px 0 var(--ink); }

.shop-thumb {
  aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center;
  position: relative; font-family: 'Fredoka', sans-serif;
  font-weight: 700; font-size: 1rem; text-align: center;
  padding: 1rem 3.5rem 1rem 1rem;
  color: var(--ink); border-bottom: 3px solid var(--ink);
}
.shop-thumb span { opacity: 0.65; line-height: 1.3; }

.st-c1 { background: var(--sun-soft); }
.st-c2 { background: var(--coral-soft); }
.st-c3 { background: var(--sky-soft); }
.st-c4 { background: var(--leaf-soft); }
.st-c5 { background: #F0DEFF; }
.st-c6 { background: #FFE0A8; }

.shop-price-badge {
  position: absolute; top: 0.6rem; right: 0.6rem;
  background: var(--coral); color: white;
  font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 1.1rem;
  padding: 0.15rem 0.65rem; border-radius: 999px;
  border: 2px solid var(--ink); box-shadow: 2px 2px 0 var(--ink); z-index: 2;
}
.shop-price-badge.free { background: var(--leaf); }

.shop-body {
  padding: 1.25rem;
  display: flex; flex-direction: column; gap: 0.5rem; flex: 1;
}
.shop-body h4 { font-size: 1.125rem; line-height: 1.3; color: var(--ink); }
.shop-body p {
  font-size: 0.87rem; color: var(--ink-soft);
  font-weight: 500; flex: 1; line-height: 1.55;
}
.shop-body .btn {
  margin-top: 0.8rem; padding: 0.7rem 1.2rem; font-size: 0.9rem;
  min-height: 44px; display: flex; align-items: center; justify-content: center;
}

.shop-bottom-cta {
  text-align: center; padding: 2rem 2rem 3rem;
  border-top: 3px solid var(--sky-soft); margin-top: 1rem;
}
.shop-bottom-cta p { font-size: 1.05rem; font-weight: 600; color: var(--ink-soft); }
.shop-bottom-cta a.email-link {
  color: var(--coral); font-weight: 800;
  text-decoration: underline; text-underline-offset: 3px;
}

/* ── Mobile Sticky CTA Bar ──────────────────────────────────── */
.mobile-sticky-cta {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  background: white; border-top: 3px solid var(--ink);
  padding: 0.75rem 1.2rem; z-index: 200;
  box-shadow: 0 -4px 16px rgba(43,58,85,0.15);
}
.mobile-sticky-cta a {
  display: block; width: 100%; text-align: center;
  min-height: 54px; padding: 0.9rem 1.5rem; font-size: 1.05rem;
}

@media (max-width: 768px) {
  .mobile-sticky-cta { display: block; }
  body { padding-bottom: 70px; }

  /* Hero photo: 280px max on mobile, never full-bleed */
  .hero-photo-col {
    max-width: 280px;
    margin: 0.5rem auto 0;
  }
  .hero-photo-img { max-height: 50vh; }
  .sticker { width: 62px; height: 62px; font-size: 0.6rem; }
  .sticker.top { top: -14px; right: -8px; }
  .sticker.bottom { bottom: -10px; left: -8px; }

  .shop-grid { padding: 0 1.2rem 1.5rem; grid-template-columns: 1fr; }
  .shop-section { padding: 2rem 1.2rem 0.5rem; }
  .shop-filters { padding: 1.25rem 1.2rem 0; }

  /* Tighten section padding on mobile */
  .empathy-block, .signup, .reviews-section,
  .services-strip, .tabs-wrap, .fun-facts { padding-left: 1.2rem; padding-right: 1.2rem; }
  .bootcamp-hero, .assessment-hero, .shop-hero { padding: 2.5rem 1.2rem; }
}

@media (min-width: 769px) and (max-width: 1100px) {
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Hamburger / Mobile Nav Overlay ────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 4px;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
}
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(43,58,85,0.96);
  z-index: 400;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.nav-overlay.open { display: flex; }
.nav-overlay .ov-close {
  position: absolute;
  top: 1.2rem; right: 1.5rem;
  background: none; border: none;
  color: white; font-size: 2rem;
  cursor: pointer; line-height: 1;
}
.nav-overlay a {
  color: white;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-overlay a:hover,
.nav-overlay a.active { color: var(--sun); }

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links { display: none; }
}

@media (max-width: 480px) {
  .nav-links { gap: 0.35rem; }
  .bc-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .section { padding: 2rem 1rem; }
  .hero-photo-col { max-width: 100%; margin: 0.5rem auto 0; }

  /* Service-strip price labels can be long ($75 reading · $75 math · $125 both) */
  .service-card .svc-price { font-size: 1rem; line-height: 1.35; word-spacing: -0.05em; }
  .service-card h3 { font-size: 1.05rem; line-height: 1.2; }

  /* Pricing rows: let label + price wrap onto two lines instead of crowding */
  .price-row { flex-wrap: wrap; gap: 0.15rem; }
  .price-row .pr-label { font-size: 0.85rem; line-height: 1.3; flex: 1 1 100%; }
  .price-row .pr-price { margin-left: auto; }

  /* Empathy block + section heads — tighter line lengths */
  .empathy-block p, .empathy-list li { font-size: 0.95rem; }

  /* Footer: smaller text */
  .footer small { font-size: 0.72rem; }
  .footer .tagline { font-size: 0.95rem; }
}

/* Site-wide horizontal-overflow guard — defends against any wide grid item or
   long unbroken string slipping past responsive containers. `clip` (vs hidden)
   keeps `position: sticky` working on the nav and TOC. */
html, body { overflow-x: clip; }

/* ── Home page: circular avatar hero photo ──────────────────── */
.page-home .hero {
  grid-template-columns: 1fr auto;
  align-items: center;
}
.page-home .hero-photo-col {
  width: 180px;
  max-width: 180px;
  flex-shrink: 0;
}
.page-home .hero-photo-img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  object-position: center center;
}
.page-home .sticker.top {
  width: 64px;
  height: 64px;
  font-size: 0.5rem;
  top: -10px;
  right: -10px;
}
.page-home .sticker.bottom { display: none; }
.page-home .mobile-sticky-cta { display: none !important; }

@media (max-width: 768px) {
  .page-home .hero-photo-col {
    width: 140px;
    max-width: 140px;
    order: -1;
    margin: 0 auto 0.75rem;
  }
  .page-home .hero-photo-img {
    width: 140px;
    height: 140px;
  }
}
