/* ============================================================
   AI Builders Camp — landing page
   Cream + pastel palette, scrapbook/polaroid energy,
   playful handwritten + clean sans typography.
   ============================================================ */

:root {
  --cream: #FFF8E7;
  --cream-deep: #FFF1D1;
  --blue: #4A90D9;
  --blue-deep: #2E6FB0;
  --pink: #F5A6C0;
  --pink-deep: #E07AA0;
  --yellow: #FFD93D;
  --yellow-soft: #FFE9B0;
  --green: #A0E8B0;
  --orange: #FFB084;
  --ink: #1A1A1A;
  --ink-soft: #3A3A3A;
  --muted: #6B6B6B;
  --line: #E9DDB6;

  --hand: 'Caveat', 'Patrick Hand', cursive;
  --hand2: 'Patrick Hand', 'Caveat', cursive;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --maxw: 1180px;
  --pad: clamp(20px, 4vw, 48px);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--blue-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; display: block; }

/* ============================================================
   Top nav
   ============================================================ */
.site-nav {
  position: sticky;
  top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--pad);
  background: rgba(255, 248, 231, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px dashed var(--line);
}
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.logo:hover { text-decoration: none; }
.logo-mark {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-family: var(--hand);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.5px;
  padding: 0 4px;
  transform: rotate(-6deg);
  box-shadow: 2px 2px 0 var(--ink);
}
.logo-text {
  font-family: var(--hand);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
}
.logo-text em { color: var(--pink-deep); font-style: normal; }

.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a {
  color: var(--ink);
  font-weight: 500;
  font-size: 15px;
}
.nav-links a:hover { color: var(--blue-deep); text-decoration: none; }
.nav-cta {
  background: var(--ink); color: var(--cream) !important;
  padding: 9px 18px; border-radius: 999px;
  font-weight: 700;
}
.nav-cta:hover { background: var(--blue-deep); }
/* Cross-program nav pills: Kids Camp / Adult Camp / Ambassadors.
   Every page omits its own link and shows the other two as matching pills. */
.nav-prog {
  border: 1.5px dashed var(--ink);
  border-radius: 999px;
  padding: 7px 14px;
}
.nav-kids  { background: #EAF4FF; }
.nav-kids:hover  { background: var(--blue); color: #fff !important; }
.nav-adult { background: var(--yellow-soft); }
.nav-adult:hover { background: var(--yellow); color: var(--ink) !important; }
.nav-amb   { background: #FFE3EF; }
.nav-amb:hover   { background: var(--pink); color: var(--ink) !important; }

/* Right cluster: nav links + always-visible CTA + (mobile) hamburger toggle */
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-toggle { display: none; }

@media (max-width: 880px) {
  /* Collapse the page nav into a hamburger dropdown; keep the CTA inline. */
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 42px;
    height: 42px;
    padding: 0 9px;
    background: #fff;
    border: 2px solid var(--ink);
    border-radius: 12px;
    box-shadow: 2px 2px 0 var(--ink);
    cursor: pointer;
  }
  .nav-toggle:active { transform: translate(1px, 1px); box-shadow: 1px 1px 0 var(--ink); }
  .nav-toggle-bar {
    display: block;
    width: 100%;
    height: 2.5px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease;
  }
  .site-nav.nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .site-nav.nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
  .site-nav.nav-open .nav-toggle-bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--pad) 16px;
    background: var(--cream);
    border-bottom: 2px solid var(--ink);
    box-shadow: 0 16px 26px rgba(0, 0, 0, 0.14);
  }
  .site-nav.nav-open .nav-links { display: flex; }
  .nav-links a:not(.nav-prog) {
    padding: 13px 4px;
    font-size: 18px;
    font-weight: 600;
    border-bottom: 1px dashed var(--line);
  }
  .nav-prog {
    align-self: flex-start;
    margin-top: 10px;
    font-size: 16px !important;
    padding: 8px 16px !important;
  }
  .nav-prog + .nav-prog { margin-top: 8px; }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  border: 2px solid var(--ink);
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
  box-shadow: 3px 3px 0 var(--ink);
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); text-decoration: none; }
.btn:active { transform: translate(1px, 1px); box-shadow: 1px 1px 0 var(--ink); }
.btn-primary { background: var(--blue); color: #fff !important; }
.btn-secondary { background: var(--cream); color: var(--ink) !important; }
.btn-big { padding: 18px 36px; font-size: 18px; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(24px, 5vw, 60px);
  align-items: center;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(40px, 7vw, 80px) var(--pad) clamp(40px, 6vw, 70px);
}
.eyebrow {
  display: block;
  font-family: var(--hand2);
  font-size: 20px;
  color: var(--pink-deep);
  margin: 0 0 4px;
  letter-spacing: .5px;
}
.eyebrow-sub {
  margin: 0 0 12px;
  opacity: 0.85;
}
.hero-title {
  font-family: var(--hand);
  font-weight: 700;
  font-size: clamp(56px, 8.5vw, 104px);
  line-height: 0.95;
  margin: 0 0 18px;
  color: var(--ink);
}
.hero-title .hand { display: block; }
.hero-title .pink { color: var(--pink-deep); }
.hero-sub {
  font-size: clamp(17px, 1.4vw, 19px);
  color: var(--ink-soft);
  max-width: 540px;
  margin: 0 0 22px;
}
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.meta-pill {
  background: var(--yellow-soft);
  border: 1.5px dashed var(--ink);
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  font-family: var(--hand2);
  font-size: 18px;
}
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.micro-trust { font-size: 14px; color: var(--muted); margin: 0; }

/* Hero visual */
.hero-visual {
  position: relative;
  min-height: 560px;
}
.polaroid {
  background: #fff;
  padding: 14px 14px 38px;
  box-shadow: 4px 4px 0 var(--ink), 0 14px 28px rgba(0,0,0,0.08);
  border: 1.5px solid var(--ink);
  position: absolute;
}
.polaroid-photo {
  border-radius: 2px;
  overflow: hidden;
  background: var(--yellow-soft);
}
.polaroid-photo svg { width: 100%; height: 100%; display: block; }
.polaroid-photo img { width: 100%; height: 100%; display: block; object-fit: cover; }
.polaroid-caption {
  font-family: var(--hand);
  font-size: 22px;
  text-align: center;
  margin: 8px 0 0;
  color: var(--ink-soft);
}

.polaroid-main {
  width: 64%;
  top: 60px; left: 18%;
  transform: rotate(-3deg);
}
.polaroid-main .polaroid-photo { aspect-ratio: 4/3; }

.polaroid-mini { width: 32%; }
.polaroid-mini .polaroid-photo { aspect-ratio: 5/4; }
.polaroid-mini-1 {
  bottom: 40px; left: -50px;
  transform: rotate(-7deg);
}
.polaroid-mini-2 {
  top: 0px; right: -40px;
  transform: rotate(8deg);
}

.age-badge {
  position: absolute;
  bottom: 20px; right: 6%;
  width: 130px; height: 130px;
  background: var(--yellow);
  border: 2.5px solid var(--ink);
  border-radius: 50%;
  display: grid;
  grid-template-rows: auto auto auto auto;
  align-items: center;
  text-align: center;
  transform: rotate(-12deg);
  box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--hand);
  z-index: 4;
  padding: 12px 0;
}
.age-badge .badge-top { font-size: 18px; line-height: 1; }
.age-badge .badge-mid { font-size: 22px; line-height: 1; }
.age-badge .badge-big { font-size: 38px; line-height: 1; font-weight: 700; }
.age-badge .badge-bot { font-size: 14px; line-height: 1; font-family: var(--sans); font-weight: 600; }

@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual {
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    padding: 16px 10px 80px;
    position: relative;
  }
  .polaroid { position: static; }
  .polaroid-main { width: min(78vw, 310px); transform: rotate(-2deg); }
  .polaroid-mini-1 { width: min(72vw, 285px); transform: rotate(2deg); align-self: flex-start; margin-left: 6%; }
  .polaroid-mini-2 { width: min(78vw, 310px); transform: rotate(-2deg); align-self: flex-end; margin-right: 6%; }
  .polaroid-main .polaroid-photo,
  .polaroid-mini-2 .polaroid-photo { aspect-ratio: auto; }
  .polaroid-main .polaroid-photo img,
  .polaroid-mini-2 .polaroid-photo img { height: auto; object-fit: contain; }
  .polaroid-mini-1 .polaroid-photo { aspect-ratio: auto; max-height: 280px; }
  .polaroid-mini-1 .polaroid-photo img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center;
  }
  .age-badge {
    position: absolute;
    bottom: 10px; right: 14px;
    width: 100px; height: 100px;
  }
  .age-badge .badge-top { font-size: 14px; }
  .age-badge .badge-mid { font-size: 17px; }
  .age-badge .badge-big { font-size: 28px; }
  .age-badge .badge-bot { font-size: 11px; }
}

/* ============================================================
   Marquee
   ============================================================ */
.marquee {
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  display: flex;
  align-items: center;
  padding: 14px 0;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
  font-family: var(--hand);
  font-size: 26px;
  line-height: 1;
  animation: marquee 38s linear infinite;
}
.marquee-track span:nth-child(odd) { color: var(--yellow); }
.marquee-track span:nth-child(even) { color: var(--pink); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (max-width: 880px) {
  .marquee-track { animation-duration: 11s; font-size: 22px; gap: 20px; }
}

/* ============================================================
   Generic sections
   ============================================================ */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) var(--pad);
}
.section-head { text-align: center; max-width: 760px; margin: 0 auto 42px; }
.kicker {
  display: inline-block;
  font-family: var(--hand2);
  color: var(--blue-deep);
  font-size: 22px;
  margin: 0 0 6px;
  letter-spacing: .5px;
}
.kicker.light { color: var(--yellow); }
.hand-h2 {
  font-family: var(--hand);
  font-size: clamp(40px, 5.5vw, 64px);
  line-height: 1;
  margin: 0 0 14px;
  font-weight: 700;
}
.hand-h2.light { color: var(--cream); }
.hand-h2 em { color: var(--pink-deep); font-style: normal; }
.lede {
  font-size: 18px;
  color: var(--ink-soft);
  margin: 0 auto;
  max-width: 640px;
}

/* ============================================================
   What you'll build
   ============================================================ */
.build-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.build-card {
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .15s ease, box-shadow .15s ease;
}
.build-card:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.build-card:nth-child(2n) { background: var(--yellow-soft); }
.build-card:nth-child(3n) { background: #FFE3EF; }
.build-emoji {
  width: 56px; height: 56px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: #fff;
  margin-bottom: 12px;
  display: grid; place-items: center;
  overflow: hidden;
}
.build-emoji svg { width: 70%; height: 70%; }
.build-card h3 {
  font-family: var(--hand);
  font-size: 28px;
  line-height: 1.05;
  margin: 0 0 8px;
}
.build-card p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }

@media (max-width: 880px) { .build-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .build-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Curriculum tiers
   ============================================================ */
.tier-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.tier {
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 4px 4px 0 var(--ink);
}
.tier-beginner { background: #EAF4FF; }
.tier-advanced { background: #FFE3EF; }
.tier-tag {
  display: inline-block;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--hand2);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 16px;
  margin: 0 0 10px;
  letter-spacing: .5px;
}
.tier h3 {
  font-family: var(--hand);
  font-size: 36px;
  margin: 0 0 8px;
  line-height: 1;
}
.tier-blurb { color: var(--ink-soft); margin: 0 0 16px; }
.tier-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 8px;
}
.tier-list li {
  font-size: 15.5px;
  padding-left: 18px;
  position: relative;
  color: var(--ink-soft);
}
.tier-list li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--blue-deep);
  font-weight: 700;
}
.tier-list strong { color: var(--ink); }
.tier-outcome {
  background: var(--cream);
  border: 1.5px dashed var(--ink);
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 15px;
  margin: 0;
}
.curriculum-foot { text-align: center; margin: 28px 0 0; font-family: var(--hand2); font-size: 20px; }

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

/* ============================================================
   Schedule / calendar
   ============================================================ */
.schedule {
  background: var(--cream-deep);
  box-shadow: 0 0 0 100vmax var(--cream-deep);
  clip-path: inset(0 -100vmax);
  border-top: 2px dashed var(--line);
  border-bottom: 2px dashed var(--line);
}
.cal {
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 4px 4px 0 var(--ink);
}
.cal-row {
  display: grid;
  grid-template-columns: 130px repeat(4, 1fr);
}
.cal-row + .cal-row { border-top: 2px solid var(--ink); }
.cal-row > div { padding: 16px 14px; border-right: 1px dashed var(--line); }
.cal-row > div:last-child { border-right: 0; }
.cal-head { background: var(--ink); color: var(--cream); }
.cal-head > div {
  font-family: var(--hand);
  font-size: 22px;
  text-align: center;
  border-right-color: rgba(255,255,255,.2);
}
.cal-week {
  background: var(--yellow-soft);
  font-family: var(--hand);
  font-size: 26px;
  display: grid;
  align-content: center;
  text-align: center;
}
.cal-week span { font-family: var(--sans); font-size: 13px; color: var(--muted); display: block; margin-top: 4px; }
.cal-cell strong {
  display: block;
  font-family: var(--hand);
  font-size: 22px;
  margin-bottom: 4px;
}
.cal-cell { font-size: 14px; color: var(--ink-soft); }
.cal-cell.highlight { background: #EAF4FF; }
.cal-cell.finale { background: var(--pink); color: var(--ink); }

.schedule-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.meta-card {
  background: var(--cream-deep);
  border: 1.5px solid var(--ink);
  border-radius: 14px;
  padding: 16px;
}
.meta-card h4 {
  font-family: var(--hand);
  font-size: 24px;
  margin: 0 0 4px;
}
.meta-card p { margin: 0; font-size: 14.5px; color: var(--ink-soft); }

@media (max-width: 880px) {
  .cal-row { grid-template-columns: 100px repeat(4, 1fr); }
  .schedule-meta { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .cal-head { display: none; }
  .cal-row { grid-template-columns: 1fr 1fr; }
  .cal-row > div { border-right: 1px dashed var(--line); }
  .cal-row > div:nth-child(odd) { border-right: 1px dashed var(--line); }
  .cal-row > div:nth-child(even) { border-right: 0; }
  .cal-row > .cal-cell:nth-child(2),
  .cal-row > .cal-cell:nth-child(3) { border-bottom: 1px dashed var(--line); }
  .cal-week {
    grid-column: 1 / -1;
    border-right: 0;
    border-bottom: 2px solid var(--ink);
    padding: 12px 14px;
    font-size: 24px;
  }
  .cal-week span { display: inline; margin-left: 6px; }
  .cal-cell { padding: 14px 12px; }
  .cal-cell strong { font-size: 20px; }
  .schedule-meta { grid-template-columns: 1fr; }
}

/* ============================================================
   Gallery
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 18px;
  margin-top: 32px;
  padding: 10px 0 24px;
}
.gallery-card {
  position: relative;
  background: #fff;
  padding: 12px 12px 28px;
  border: 1.5px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink), 0 10px 22px rgba(0,0,0,0.06);
}
.gallery-card .polaroid-photo { aspect-ratio: 4/5; }
.gallery-card-1 { transform: rotate(-3deg); }
.gallery-card-2 { transform: rotate(2deg); margin-top: 18px; }
.gallery-card-3 { transform: rotate(-2deg); }
.gallery-card-4 { transform: rotate(4deg); margin-top: 12px; }

@media (max-width: 880px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 14px; }
}

/* ============================================================
   Instructor
   ============================================================ */
.instructor-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: center;
}
.photo-frame {
  background: #fff;
  border: 1.5px solid var(--ink);
  padding: 14px 14px 38px;
  box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(-3deg);
}
.photo-stub {
  aspect-ratio: 1/1;
  background: var(--pink);
  display: grid; place-items: center;
  overflow: hidden;
}
.photo-stub img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; display: block; transform: scale(1.12); transform-origin: center 25%; }
.photo-caption {
  text-align: center;
  font-family: var(--hand);
  font-size: 22px;
  margin: 10px 0 0;
}
.instructor-copy h2 { margin-bottom: 16px; }
.instructor-copy p { color: var(--ink-soft); margin: 0 0 14px; }
.instructor-creds {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 8px;
}
.instructor-creds li {
  position: relative;
  padding-left: 24px;
  font-size: 15.5px;
}
.instructor-creds li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue-deep);
  font-weight: 700;
}

@media (max-width: 880px) {
  .instructor-grid { grid-template-columns: 1fr; }
  .photo-frame { max-width: 280px; margin: 0 auto; }
}

/* ============================================================
   Parents section (dark)
   ============================================================ */
.parents {
  background: var(--ink);
  color: var(--cream);
  max-width: none;
  margin: 0;
}
.parents-inner {
  max-width: var(--maxw);
  margin: 0 auto;
}
.parents .hand-h2 { color: var(--cream); text-align: center; }
.parents-inner > .kicker { display: block; text-align: center; }
.parents-lede {
  text-align: center;
  font-size: 19px;
  max-width: 760px;
  margin: 0 auto 36px;
  color: #DCD2B0;
}
.parents-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 36px;
}
.parents-card {
  background: #2A2A2A;
  border: 1.5px solid #444;
  border-radius: 14px;
  padding: 22px;
}
.parents-card h3 {
  font-family: var(--hand);
  font-size: 28px;
  color: var(--yellow);
  margin: 0 0 8px;
  line-height: 1.05;
}
.parents-card p { margin: 0; color: #DCD2B0; font-size: 15.5px; }
.parents-anchor {
  text-align: center;
  font-size: 18px;
  max-width: 760px;
  margin: 0 auto 28px;
  color: #DCD2B0;
}
.parents-anchor strong { color: var(--yellow); }
.parents .btn-primary { display: block; width: max-content; margin: 0 auto 12px; }
.parents-foot {
  text-align: center;
  font-family: var(--hand2);
  color: #BBB088;
  font-size: 18px;
  margin: 0;
}

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

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-list details {
  background: #fff;
  border: 1.5px solid var(--ink);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 12px;
  box-shadow: 3px 3px 0 var(--ink);
}
.faq-list summary {
  font-family: var(--hand);
  font-size: 24px;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 32px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  color: var(--blue-deep);
  transition: transform .15s ease;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 15.5px;
}

/* ============================================================
   Signup
   ============================================================ */
.signup {
  background: var(--cream-deep);
  max-width: none;
  margin: 0;
  border-top: 2px dashed var(--line);
  border-bottom: 2px dashed var(--line);
}
.signup-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.signup-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 32px;
  text-align: left;
}
.signup-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.signup-form .full { grid-column: 1 / -1; }
.signup-form input,
.signup-form select,
.signup-form textarea {
  font-family: inherit;
  font-size: 16px;
  padding: 12px 14px;
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}
.signup-form textarea { resize: vertical; }
.signup-form button.full { margin-top: 6px; }
.form-foot {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

@media (max-width: 600px) { .signup-form { grid-template-columns: 1fr; } }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 36px var(--pad);
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: center;
}
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--cream); }
.footer-brand .logo-text { color: var(--cream); }
.footer-brand .logo-text em { color: var(--pink); }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; justify-content: flex-end; }
.footer-links a { color: var(--cream); }
.footer-fine {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 13px;
  color: #BBB088;
  margin: 14px 0 0;
}

@media (max-width: 700px) {
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-links { justify-content: center; }
}

/* ===================== SPOTS LEFT + PROGRESS BAR (FOMO) ===================== */
.spots-fomo-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
}
.spots-track {
  width: 220px;
  max-width: 100%;
  height: 9px;
  background: #FFE5E5;
  border-radius: 999px;
  border: 1.5px solid #C8102E;
  overflow: hidden;
}
.spots-fill {
  height: 100%;
  background: #C8102E;
  border-radius: 999px;
  transition: width 0.6s ease;
}
.spots-sub {
  font-family: var(--hand2, 'Patrick Hand', cursive);
  font-size: 13px;
  color: var(--muted, #6B6B6B);
  letter-spacing: 0.01em;
}

.spots-left {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #FFE5E5;
  color: #C8102E;
  border: 1.5px solid #C8102E;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.spots-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #E03131;
  box-shadow: 0 0 0 0 rgba(224, 49, 49, 0.6);
  animation: spots-pulse 1.6s infinite;
}
#spots-count {
  display: inline-block;
  min-width: 0.9em;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
#spots-count.pulse {
  animation: count-pop 0.32s ease-out;
}
@keyframes spots-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(224, 49, 49, 0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(224, 49, 49, 0); }
  100% { box-shadow: 0 0 0 0 rgba(224, 49, 49, 0); }
}
@keyframes count-pop {
  0%   { transform: scale(1.35); color: #8B0000; }
  100% { transform: scale(1); color: inherit; }
}
@media (prefers-reduced-motion: reduce) {
  .spots-dot { animation: none; }
  #spots-count.pulse { animation: none; }
}

/* ===================== ENROLLING EYEBROW (FOMO) ===================== */
.eyebrow-fomo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  max-width: 100%;
  line-height: 1.15;
}
.fomo-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--pink-deep, #E07AA0);
  box-shadow: 0 0 0 0 rgba(224, 122, 160, 0.6);
  animation: fomoPulse 1.6s ease-out infinite;
  flex: 0 0 auto;
}
.fomo-text {
  font-weight: 700;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, var(--pink-deep, #E07AA0), #E8893F, var(--pink-deep, #E07AA0));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: fomoShimmer 3.2s linear infinite;
}
.fomo-tail {
  color: var(--pink-deep);
}
@keyframes fomoPulse {
  0%   { box-shadow: 0 0 0 0 rgba(224, 122, 160, 0.6); transform: scale(1); }
  70%  { box-shadow: 0 0 0 10px rgba(224, 122, 160, 0); transform: scale(1.08); }
  100% { box-shadow: 0 0 0 0 rgba(224, 122, 160, 0); transform: scale(1); }
}
@keyframes fomoShimmer {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .fomo-dot, .fomo-text { animation: none; }
  .fomo-text { background: none; -webkit-text-fill-color: var(--pink-deep, #E07AA0); color: var(--pink-deep, #E07AA0); }
}

@media (max-width: 520px) {
  .eyebrow-fomo {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 8px;
    row-gap: 2px;
    width: 100%;
    font-size: 17px;
    line-height: 1.12;
    margin-bottom: 10px;
  }

  .fomo-dot {
    margin-top: 0.38em;
  }

  .fomo-text {
    min-width: 0;
    letter-spacing: 0.01em;
  }

  .fomo-separator {
    display: none;
  }

  .fomo-tail {
    grid-column: 2;
    min-width: 0;
    font-size: 16px;
  }
}

/* ============================================================
   Reserve modal (cohort picker)
   ============================================================ */

body.reserve-modal-open { overflow: hidden; }

.reserve-modal {
  position: fixed; inset: 0;
  z-index: 1000;
  display: flex; align-items: flex-start; justify-content: center;
  padding: 20px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
@media (min-width: 641px) {
  .reserve-modal { align-items: center; }
}
.reserve-modal[hidden] { display: none; }
.reserve-modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(26,26,26,0.55);
  backdrop-filter: blur(2px);
}
.reserve-modal-card {
  position: relative;
  background: var(--cream);
  border: 2.5px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 6px 6px 0 var(--ink), 0 24px 48px rgba(0,0,0,0.18);
  padding: clamp(24px, 4vw, 40px);
  padding-top: clamp(48px, 6vw, 56px);
  max-width: 720px; width: 100%;
  margin: auto 0;
  animation: reserveModalIn .18s ease-out;
}
@keyframes reserveModalIn {
  from { transform: translateY(8px) scale(.98); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.reserve-modal-close {
  position: absolute; top: 10px; right: 14px;
  background: rgba(255,255,255,0.85); border: 2px solid var(--ink);
  border-radius: 999px;
  width: 40px; height: 40px;
  font-size: 24px; line-height: 1;
  color: var(--ink); cursor: pointer;
  padding: 0;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
}
.reserve-modal-close:hover { color: var(--pink-deep); }
.reserve-modal-title {
  font-family: var(--hand);
  font-weight: 700;
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1;
  margin: 4px 0 8px;
  color: var(--ink);
}
.reserve-modal-sub {
  margin: 0 0 22px;
  color: var(--ink-soft);
  font-size: 16px;
}

.reserve-modal-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 640px) {
  .reserve-modal-options { grid-template-columns: 1fr; }
}

.reserve-option {
  display: flex; flex-direction: column;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 14px;
  padding: 18px 18px 16px;
  text-decoration: none;
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform .12s ease, box-shadow .12s ease;
  position: relative;
}
.reserve-option:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--ink);
  text-decoration: none;
}
.reserve-option:focus-visible {
  outline: 3px solid var(--pink-deep);
  outline-offset: 3px;
}
.reserve-option-recommended {
  background: var(--yellow-soft);
  border-color: var(--ink);
}
.reserve-option-tag {
  font-family: var(--hand2);
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--pink-deep);
  margin-bottom: 6px;
}
.reserve-option:not(.reserve-option-recommended) .reserve-option-tag {
  color: var(--blue-deep);
}
.reserve-option-name {
  font-family: var(--hand);
  font-size: 32px;
  line-height: 1;
  margin-bottom: 4px;
}
.reserve-option-dates {
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 6px;
}
.reserve-option-meta {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.reserve-option-cta {
  margin-top: auto;
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  text-align: center;
  font-size: 15px;
}
.reserve-option-recommended .reserve-option-cta {
  background: var(--pink-deep);
}

/* "Coming soon" cohort — grayed out, routes to the waitlist/contact form */
.reserve-option-soon {
  background: #f3f1ea;
  border-style: dashed;
  border-color: var(--ink-soft);
  box-shadow: 3px 3px 0 rgba(26,26,26,0.22);
}
.reserve-option.reserve-option-soon .reserve-option-tag {
  color: var(--ink-soft);
}
.reserve-option-soon .reserve-option-name,
.reserve-option-soon .reserve-option-dates {
  color: var(--ink-soft);
}
.reserve-option-soon .reserve-option-cta {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.reserve-option-soon:hover .reserve-option-cta {
  background: var(--ink);
  color: #fff;
}

.reserve-modal-foot {
  margin: 22px 0 0;
  text-align: center;
  font-size: 14px;
  color: var(--ink-soft);
}

@media (prefers-reduced-motion: reduce) {
  .reserve-modal-card { animation: none; }
}

/* ============================================================
   Adult landing page
   ============================================================ */

.adult-page .site-nav {
  background: rgba(255, 248, 231, 0.95);
}

.adult-page {
  overflow-x: hidden;
}

.adult-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 1.02fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(44px, 7vw, 86px) var(--pad) clamp(38px, 6vw, 76px);
}

.adult-hero-copy .hero-title {
  max-width: 760px;
}

.adult-hero-copy,
.adult-hero-visual {
  min-width: 0;
}

.adult-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 18px 0;
}

.adult-polaroid-main {
  position: relative;
  width: min(100%, 520px);
  transform: rotate(-2deg);
  z-index: 2;
}

.adult-polaroid-main .polaroid-photo {
  aspect-ratio: 3 / 2;
}

.adult-price-badge {
  position: absolute;
  bottom: -6px;
  right: -4%;
  width: 124px;
  height: 124px;
  background: var(--pink);
  border: 2.5px solid var(--ink);
  border-radius: 50%;
  display: grid;
  grid-template-rows: auto auto;
  align-items: center;
  text-align: center;
  transform: rotate(10deg);
  box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--hand);
  z-index: 4;
  padding: 14px 0;
}

.adult-price-badge .badge-top { font-size: 16px; line-height: 1.1; }
.adult-price-badge .badge-big { font-size: 42px; line-height: 1; font-weight: 700; }

.adult-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 var(--pad);
}

.adult-card {
  min-height: 0;
  padding: 20px 22px 22px;
}

.adult-curriculum-list {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.lesson-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .15s ease, box-shadow .15s ease;
}

.lesson-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}

.lesson-day {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 50%;
  box-shadow: 2px 2px 0 var(--ink);
  font-family: var(--hand);
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
}

.lesson-card:nth-child(3n-1) .lesson-day { background: var(--pink); }
.lesson-card:nth-child(3n) .lesson-day { background: #EAF4FF; }

.lesson-card h3 {
  font-family: var(--hand);
  font-size: 26px;
  line-height: 1.05;
  margin: 0 0 6px;
}

.lesson-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15.5px;
}

/* Section rhythm — full-bleed alternating backgrounds + dashed dividers,
   matching the kids page so sections read as distinct, segmented blocks. */
.adult-curriculum,
.adult-waitlist {
  background: var(--cream-deep);
  box-shadow: 0 0 0 100vmax var(--cream-deep);
  clip-path: inset(0 -100vmax);
  border-top: 2px dashed var(--line);
  border-bottom: 2px dashed var(--line);
}

.adult-format-panel {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 42px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
  gap: clamp(22px, 4vw, 42px);
  background: var(--yellow-soft);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.adult-format-panel .hand-h2 {
  margin-top: 0;
}

.adult-format-facts {
  display: grid;
  gap: 12px;
}

.adult-format-facts div {
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 3px 3px 0 var(--ink);
}

.adult-format-facts strong {
  display: block;
  font-family: var(--hand);
  font-size: clamp(32px, 4vw, 44px);
  line-height: .95;
  margin-bottom: 4px;
}

.adult-format-facts span {
  color: var(--ink-soft);
  font-weight: 600;
}

.adult-waitlist-inner {
  max-width: 860px;
}

.tally-placeholder {
  margin-top: 26px;
  background: #fff;
  border: 2px dashed var(--ink);
  border-radius: var(--radius);
  padding: clamp(22px, 4vw, 34px);
  box-shadow: 4px 4px 0 rgba(26,26,26,0.22);
}

.placeholder-kicker {
  margin: 0 0 8px;
  color: var(--pink-deep);
  font-family: var(--hand2);
  font-size: 20px;
  font-weight: 700;
}

.tally-placeholder h3 {
  margin: 0 0 8px;
  font-family: var(--hand);
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1;
}

.tally-placeholder p:last-child {
  margin-bottom: 0;
}

.adult-faq .faq-list {
  max-width: 900px;
}

@media (max-width: 880px) {
  .adult-hero {
    grid-template-columns: 1fr;
  }

  .adult-hero-visual {
    min-height: 0;
    padding: 8px 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }

  .adult-polaroid-main {
    position: relative;
    width: min(86vw, 440px);
    top: auto;
    right: auto;
    margin: 0 auto;
  }

  .adult-price-badge {
    position: absolute;
    top: 6px;
    right: 4%;
    bottom: auto;
    width: 96px;
    height: 96px;
  }

  .adult-price-badge .badge-big { font-size: 30px; }

  .adult-card-grid,
  .adult-curriculum-list,
  .adult-format-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .site-nav {
    padding: 12px 14px;
    min-height: 66px;
  }

  .nav-right {
    flex: 0 0 auto;
    gap: 10px;
    margin-left: auto;
  }

  .nav-toggle {
    display: inline-flex !important;
    flex: 0 0 42px;
  }

  .nav-cta {
    padding: 9px 14px;
    font-size: 14px;
  }

  .kids-page .nav-cta {
    display: none;
  }

  .logo {
    gap: 8px;
  }

  .logo-mark {
    width: 40px;
    height: 40px;
  }

  .logo-text {
    display: none;
  }

  .hero {
    padding-top: 32px;
    padding-bottom: 34px;
    gap: 20px;
  }

  .hero-title {
    font-size: clamp(44px, 12.5vw, 48px);
    margin-bottom: 16px;
  }

  .hero-meta {
    gap: 7px;
    margin-bottom: 22px;
  }

  .meta-pill {
    padding: 6px 12px;
    font-size: 16px;
  }

  .hero-sub,
  .micro-trust {
    max-width: 320px;
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-row .btn {
    width: 100%;
    max-width: 320px;
  }

  .adult-page .hero-title {
    font-size: 48px;
    overflow-wrap: anywhere;
  }

  .adult-page .hero-sub,
  .adult-page .micro-trust {
    max-width: 320px;
    width: 100%;
  }
}

/* ===== Student Ambassador page ===== */

.amb-page {
  overflow-x: hidden;
}

.amb-page .site-nav {
  background: rgba(255, 248, 231, 0.95);
}

/* Hero — modelled on .adult-hero */
.amb-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(44px, 7vw, 86px) var(--pad) clamp(38px, 6vw, 76px);
}

.amb-hero-copy .hero-title {
  max-width: 760px;
}

.amb-hero-copy,
.amb-hero-visual {
  min-width: 0;
}

.amb-hero-visual {
  position: relative;
}

.amb-polaroid-main {
  width: 100%;
  position: relative;
  top: auto;
  right: auto;
  transform: rotate(3deg);
  z-index: 2;
  padding-bottom: 14px;
}

.amb-polaroid-main .polaroid-photo {
  aspect-ratio: 4 / 5;
}

.amb-polaroid-main .polaroid-photo img {
  object-position: 70% center;
}

.amb-polaroid-main .polaroid-pad {
  display: none;
}

/* Role badge — modelled on .adult-price-badge / .age-badge */
.amb-role-badge {
  position: absolute;
  bottom: -60px;
  right: -70px;
  width: 132px;
  height: 132px;
  background: var(--yellow);
  border: 2.5px solid var(--ink);
  border-radius: 50%;
  display: grid;
  grid-template-rows: auto auto auto;
  align-items: center;
  text-align: center;
  transform: rotate(-12deg);
  box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--hand);
  z-index: 4;
  padding: 12px 0;
}

.amb-role-badge .badge-top {
  font-size: 16px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: var(--hand2);
}
.amb-role-badge .badge-big { font-size: 27px; line-height: 1; font-weight: 700; }
.amb-role-badge .badge-bot { font-size: 16px; line-height: 1; font-family: var(--sans); font-weight: 700; }

/* Resume note — modelled on .adult-stack-note */
.amb-resume-note {
  position: absolute;
  left: -80px;
  top: -60px;
  z-index: 3;
  display: grid;
  gap: 8px;
  max-width: 220px;
  padding: 16px;
  background: var(--pink);
  border: 2px solid var(--ink);
  border-radius: 18px;
  box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(-5deg);
}

.amb-resume-note strong {
  font-family: var(--hand);
  font-size: 24px;
  line-height: 1;
}

.amb-resume-note span {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 36px;
  padding: 6px 12px;
  background: #fff;
  border: 1.5px dashed var(--ink);
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
}

/* Perks grid — reuse .adult-card-grid + .build-card */
.amb-role-section {
  padding-top: clamp(48px, 7vw, 84px);
  padding-bottom: clamp(46px, 6vw, 72px);
  background: #E8F5E9;
  box-shadow: 0 0 0 100vmax #E8F5E9;
  clip-path: inset(0 -100vmax);
  border-top: 2px dashed var(--line);
  border-bottom: 2px dashed var(--line);
}

.amb-perks-section {
  background: var(--cream-deep);
  box-shadow: 0 0 0 100vmax var(--cream-deep);
  clip-path: inset(0 -100vmax);
  border-top: 2px dashed var(--line);
  border-bottom: 2px dashed var(--line);
}

.amb-tiers-section {
  background: #FFF7E0;
  box-shadow: 0 0 0 100vmax #FFF7E0;
  clip-path: inset(0 -100vmax);
  border-top: 2px dashed var(--line);
  border-bottom: 2px dashed var(--line);
}

.amb-apply-section {
  background: var(--cream-deep);
  box-shadow: 0 0 0 100vmax var(--cream-deep);
  clip-path: inset(0 -100vmax);
  border-top: 2px dashed var(--line);
  border-bottom: 2px dashed var(--line);
}

.amb-work-section {
  background: #EAF4FF;
  box-shadow: 0 0 0 100vmax #EAF4FF;
  clip-path: inset(0 -100vmax);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.amb-work-section .adult-card-grid {
  grid-template-columns: repeat(2, 1fr);
}

.amb-how-section {
  background: #FFE3EF;
  box-shadow: 0 0 0 100vmax #FFE3EF;
  clip-path: inset(0 -100vmax);
  border-top: 2px dashed var(--line);
  border-bottom: 2px dashed var(--line);
}

.amb-page .section + .section {
  margin-top: 0;
}

.amb-perks-grid .build-card {
  min-height: 200px;
}

/* Tier ladder — 3 cols collapsing to 1 under 880px */
.amb-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.amb-tiers .tier {
  display: flex;
  flex-direction: column;
}

.amb-tiers .tier-list {
  margin-bottom: 0;
}

/* Founding tier — subtly highlighted */
.tier-founding {
  background: var(--yellow-soft);
  position: relative;
  box-shadow: 6px 6px 0 var(--ink);
}
.tier-founding .tier-tag {
  background: var(--pink-deep);
}

/* How it works — 4 numbered steps */
.amb-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.amb-step {
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .15s ease, box-shadow .15s ease;
}
.amb-step:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }

.amb-step:nth-child(2n) { background: #FFF7E0; }
.amb-step:nth-child(3n) { background: #E8F5E9; }

.amb-step-num {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 50%;
  box-shadow: 2px 2px 0 var(--ink);
  font-family: var(--hand);
  font-weight: 700;
  font-size: 28px;
  line-height: 1;
  margin-bottom: 14px;
}

.amb-step h3 {
  font-family: var(--hand);
  font-size: 28px;
  line-height: 1.05;
  margin: 0 0 8px;
}

.amb-step p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15.5px;
}

.amb-faq {
  background: #F0E8FF;
  box-shadow: 0 0 0 100vmax #F0E8FF;
  clip-path: inset(0 -100vmax);
  border-top: 2px dashed var(--line);
  border-bottom: 2px dashed var(--line);
}

.amb-faq .faq-list {
  max-width: 900px;
}

.amb-tally-frame {
  max-width: 900px;
  margin: 34px auto 0;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 4px 4px 0 var(--ink);
  overflow: hidden;
}

.amb-tally-frame iframe {
  display: block;
  min-height: 980px;
  background: #fff;
}

@media (max-width: 880px) {
  .amb-hero {
    grid-template-columns: 1fr;
  }

  .amb-hero-visual {
    min-height: 0;
    padding: 8px 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }

  .amb-polaroid-main {
    position: relative;
    width: min(68vw, 340px);
    top: auto;
    right: auto;
    margin: 0 auto;
  }

  .amb-role-badge {
    position: absolute;
    bottom: -18px;
    right: -10px;
    top: auto;
    width: 104px;
    height: 104px;
  }

  .amb-role-badge .badge-big { font-size: 22px; }

  .amb-resume-note {
    position: absolute;
    left: -10px;
    top: -18px;
    bottom: auto;
    margin: 0;
    transform: rotate(-3deg);
  }

  .amb-perks-grid,
  .amb-tiers,
  .amb-steps,
  .amb-work-section .adult-card-grid {
    grid-template-columns: 1fr;
  }

  .amb-tally-frame iframe {
    min-height: 1220px;
  }
}

@media (max-width: 520px) {
  .amb-page .hero-title {
    font-size: 38px;
    overflow-wrap: anywhere;
  }

  .amb-page .hero-sub,
  .amb-page .micro-trust {
    max-width: 320px;
    width: 100%;
  }

  .amb-hero {
    padding-top: 24px;
    padding-bottom: 18px;
  }

  .amb-hero-visual {
    padding: 0 0 12px;
  }

  .amb-polaroid-main {
    width: min(60vw, 280px);
  }

  .amb-resume-note {
    position: relative;
    left: auto;
    top: auto;
    transform: rotate(-2deg);
    max-width: 220px;
    width: auto;
    margin: 8px 0 0;
    padding: 12px 14px;
  }

  .amb-resume-note strong {
    font-size: 18px;
  }

  .amb-resume-note span {
    min-height: 28px;
    padding: 4px 10px;
    font-size: 13px;
  }

  .amb-role-badge {
    width: 88px;
    height: 88px;
  }

  .amb-role-badge .badge-top { font-size: 13px; }
  .amb-role-badge .badge-big { font-size: 18px; }
  .amb-role-badge .badge-bot { font-size: 13px; }
}
