/* ============================================================
   BIZY BYRDZ — Summer Day Camp
   Design system stylesheet
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Palette */
  --cream:       #FDF6EA;
  --cream-deep:  #F8EDD9;
  --paper:       #FFFCF6;
  --ink:         #163A3E;
  --ink-soft:    #4E6B6D;
  --ink-faint:   #8AA0A0;

  --teal:        #16A39B;
  --teal-deep:   #0E7C76;
  --teal-ink:    #0B5752;
  --sky:         #57C7E6;
  --sky-soft:    #BDEBF6;
  --coral:       #FF6B57;
  --coral-deep:  #EF513B;
  --sun:         #FFC23C;
  --sun-deep:    #F2A91E;
  --lime:        #84C341;
  --lime-deep:   #6BA92E;
  --grape:       #8E7BE8;

  --white:       #ffffff;

  /* Tints (soft section / card backgrounds) */
  --tint-teal:   #E2F4F1;
  --tint-sky:    #E1F4FB;
  --tint-coral:  #FFE9E3;
  --tint-sun:    #FFF1D2;
  --tint-lime:   #EEF6DF;
  --tint-grape:  #EFEBFD;

  /* Type */
  --font-display: "Fredoka", "Trebuchet MS", sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;

  /* Radii */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 40px;
  --r-pill: 999px;

  /* Shadows (teal-tinted, soft) */
  --shadow-sm: 0 4px 14px rgba(16, 80, 76, 0.08);
  --shadow-md: 0 14px 32px rgba(16, 80, 76, 0.12);
  --shadow-lg: 0 28px 60px rgba(16, 80, 76, 0.16);
  --shadow-pop: 0 10px 0 rgba(11, 87, 82, 0.10);

  /* Layout */
  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --nav-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav-h); }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 18px;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

/* ---------- Type scale ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
}
.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
}
.lead { font-size: clamp(1.05rem, 2.4vw, 1.3rem); color: var(--ink-soft); text-wrap: pretty; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.center { text-align: center; }
.stack-sm > * + * { margin-top: 0.6rem; }
.stack > * + * { margin-top: 1.2rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  padding: 0.85em 1.5em;
  border-radius: var(--r-pill);
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
  white-space: nowrap;
  line-height: 1;
}
.btn svg { width: 1.2em; height: 1.2em; }
.btn--primary { background: var(--coral); color: var(--white); box-shadow: 0 8px 0 var(--coral-deep); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 10px 0 var(--coral-deep); }
.btn--primary:active { transform: translateY(4px); box-shadow: 0 4px 0 var(--coral-deep); }
.btn--teal { background: var(--teal); color: var(--white); box-shadow: 0 8px 0 var(--teal-deep); }
.btn--teal:hover { transform: translateY(-2px); box-shadow: 0 10px 0 var(--teal-deep); }
.btn--teal:active { transform: translateY(4px); box-shadow: 0 4px 0 var(--teal-deep); }
.btn--sun { background: var(--sun); color: var(--ink); box-shadow: 0 8px 0 var(--sun-deep); }
.btn--sun:hover { transform: translateY(-2px); box-shadow: 0 10px 0 var(--sun-deep); }
.btn--ghost { background: var(--white); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--lg { font-size: 1.12rem; padding: 1em 1.8em; }

/* ---------- Badges / chips ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.92rem;
  padding: 0.5em 0.95em;
  border-radius: var(--r-pill);
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.chip svg { width: 1.1em; height: 1.1em; }
.chip--bare { background: rgba(255,255,255,0.16); color: var(--white); box-shadow: none; backdrop-filter: blur(4px); }

.patch {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.42em 0.85em;
  border-radius: var(--r-pill);
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 60;
  display: flex;
  align-items: center;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; width: 100%; }
.nav.is-stuck { background: var(--paper); box-shadow: 0 4px 20px rgba(16,80,76,0.08); }
.brand { display: flex; align-items: center; gap: 0.6rem; }
.brand__mark { width: 46px; height: 46px; flex: none; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.02em; line-height: 0.9; }
.brand__name small { display: block; font-size: 0.6rem; letter-spacing: 0.22em; font-weight: 500; color: var(--teal-deep); text-transform: uppercase; }
.nav__links { display: flex; align-items: center; gap: 0.35rem; }
.nav__links a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  padding: 0.5em 0.85em;
  border-radius: var(--r-pill);
  color: var(--ink);
  transition: background 0.15s ease, color 0.15s ease;
}
.nav__links a:hover { background: var(--tint-teal); color: var(--teal-deep); }
.nav__cta { display: flex; align-items: center; gap: 0.6rem; }
.nav__toggle { display: none; width: 46px; height: 46px; border-radius: var(--r-md); background: var(--white); box-shadow: var(--shadow-sm); place-items: center; }
.nav__toggle svg { width: 24px; height: 24px; }

/* mobile menu */
.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 auto 0;
  background: var(--paper);
  box-shadow: var(--shadow-lg);
  padding: 18px var(--gutter) 28px;
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 55;
  border-bottom-left-radius: var(--r-lg);
  border-bottom-right-radius: var(--r-lg);
}
.mobile-menu.is-open { display: flex; animation: dropIn 0.25s ease; }
.mobile-menu a { font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; padding: 0.7em 0.4em; border-bottom: 1px solid var(--cream-deep); }
.mobile-menu .btn { margin-top: 14px; justify-content: center; }
@keyframes dropIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding-top: calc(var(--nav-h) + 40px); padding-bottom: 0; overflow: hidden; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.hero__eyebrow { margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.7rem, 6.4vw, 4.7rem); font-weight: 700; }
.hero h1 .c-coral { color: var(--coral); }
.hero h1 .c-sun  { color: var(--sun-deep); }
.hero h1 .c-teal { color: var(--teal); }
.hero h1 .c-lime { color: var(--lime-deep); }
.hero__sub { margin-top: 22px; max-width: 30ch; }
.hero__cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__facts { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero__art { position: relative; align-self: stretch; min-height: 420px; display: grid; place-items: center; }

/* floating decorative bits */
.float { animation: bob 4s ease-in-out infinite; }
.float--slow { animation-duration: 6s; }
.float--rev { animation-direction: alternate-reverse; }
@keyframes bob { 0%,100% { transform: translateY(0) rotate(var(--rot,0deg)); } 50% { transform: translateY(-14px) rotate(var(--rot,0deg)); } }
@media (prefers-reduced-motion: reduce) { .float { animation: none; } }

.spin { animation: spin 30s linear infinite; transform-origin: center; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin { animation: none; } }

/* wave divider */
.wave { display: block; width: 100%; height: auto; }
.wave-flip { transform: scaleY(-1); }

/* ============================================================
   MARQUEE (birds on a wire ticker)
   ============================================================ */
.ribbon { background: var(--teal); color: var(--white); padding: 14px 0; overflow: hidden; }
.ribbon__track { display: flex; gap: 2.5rem; width: max-content; animation: marquee 26s linear infinite; }
.ribbon__track span { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; display: inline-flex; align-items: center; gap: 0.8rem; letter-spacing: 0.02em; }
.ribbon__track span::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--sun); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ribbon__track { animation: none; } }

/* ============================================================
   SECTION HEADER
   ============================================================ */
.sec-head { max-width: 640px; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head h2 { font-size: clamp(2rem, 4.6vw, 3.1rem); margin-top: 14px; }
.sec-head p { margin-top: 16px; }

/* ============================================================
   STATS
   ============================================================ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { background: var(--paper); border-radius: var(--r-lg); padding: 28px 24px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; }
.stat__label { margin-top: 8px; font-weight: 600; color: var(--ink-soft); font-size: 0.98rem; }
.stat__blob { position: absolute; right: -18px; bottom: -18px; width: 76px; height: 76px; border-radius: 50%; opacity: 0.16; }

/* ============================================================
   ACTIVITIES
   ============================================================ */
.act-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.act-card {
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: 26px 24px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}
.act-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.act-card__icon { width: 76px; height: 76px; border-radius: 22px; display: grid; place-items: center; margin-bottom: 18px; }
.act-card__icon svg { width: 42px; height: 42px; }
.act-card h3 { font-size: 1.32rem; font-weight: 600; }
.act-card p { margin-top: 8px; font-size: 0.98rem; color: var(--ink-soft); }

/* ============================================================
   DAY AT CAMP — timeline
   ============================================================ */
.daycamp { background: var(--teal-ink); color: var(--white); position: relative; overflow: hidden; }
.daycamp h2, .daycamp .eyebrow { color: var(--white); }
.daycamp .eyebrow { color: var(--sun); }
.daycamp .lead { color: rgba(255,255,255,0.82); }
.timeline { margin-top: 48px; display: grid; gap: 16px; position: relative; }
.tl-row {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 22px;
  align-items: start;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-lg);
  padding: 20px 24px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.tl-row:hover { background: rgba(255,255,255,0.11); transform: translateX(4px); }
.tl-time { font-family: var(--font-display); font-weight: 600; color: var(--sun); font-size: 1.02rem; padding-top: 2px; }
.tl-body h3 { color: var(--white); font-size: 1.28rem; font-weight: 600; }
.tl-body p { color: rgba(255,255,255,0.74); font-size: 0.98rem; margin-top: 4px; }
.tl-tags { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.tl-tags span { font-size: 0.8rem; font-family: var(--font-display); font-weight: 500; padding: 0.35em 0.8em; border-radius: var(--r-pill); background: rgba(255,255,255,0.12); }

/* ============================================================
   INCLUDED — feature list
   ============================================================ */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feat {
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.feat__icn { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; }
.feat__icn svg { width: 32px; height: 32px; }
.feat h3 { font-size: 1.22rem; font-weight: 600; }
.feat p { color: var(--ink-soft); font-size: 0.98rem; }

/* ============================================================
   TUITION / SESSIONS
   ============================================================ */
.tuition { background: var(--tint-sun); }
.sess-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.sess {
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 2px solid transparent;
}
.sess:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.sess--feature { border-color: var(--coral); }
.sess__flag { position: absolute; top: -13px; left: 24px; background: var(--coral); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; padding: 0.4em 0.9em; border-radius: var(--r-pill); }
.sess__len { font-family: var(--font-display); font-weight: 700; font-size: 2.1rem; line-height: 1; }
.sess__len small { display: block; font-size: 0.92rem; font-weight: 500; color: var(--ink-soft); margin-top: 4px; letter-spacing: 0; }
.sess__weeks { margin-top: 18px; font-weight: 700; color: var(--teal-deep); font-family: var(--font-display); }
.sess ul { margin-top: 16px; display: grid; gap: 9px; flex: 1; }
.sess li { font-size: 0.95rem; color: var(--ink-soft); display: flex; gap: 0.5em; align-items: flex-start; }
.sess li svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--lime-deep); }
.sess .btn { margin-top: 20px; justify-content: center; }
.tuition__note { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; align-items: center; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--paper); border-radius: var(--r-md); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-q {
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
}
.faq-q__icn { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--tint-teal); color: var(--teal-deep); display: grid; place-items: center; transition: transform 0.25s ease, background 0.2s ease; }
.faq-q__icn svg { width: 16px; height: 16px; }
.faq-item.is-open .faq-q__icn { transform: rotate(45deg); background: var(--coral); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a__inner { padding: 0 24px 22px; color: var(--ink-soft); font-size: 1rem; }

/* ============================================================
   CONTACT / REGISTER
   ============================================================ */
.contact { background: var(--teal); color: #fff; position: relative; overflow: hidden; }
.contact h2, .contact .eyebrow { color: #fff; }
.contact .eyebrow { color: var(--sun); }
.contact__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.contact__intro p { color: rgba(255,255,255,0.88); margin-top: 16px; }
.contact__chips { margin-top: 26px; display: grid; gap: 12px; max-width: 360px; }
.contact__chips a { display: flex; align-items: center; gap: 0.8rem; background: rgba(255,255,255,0.12); padding: 14px 18px; border-radius: var(--r-md); font-weight: 600; transition: background 0.18s ease; }
.contact__chips a:hover { background: rgba(255,255,255,0.2); }
.contact__chips svg { width: 22px; height: 22px; flex: none; }

.form-card { background: var(--paper); color: var(--ink); border-radius: var(--r-xl); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow-lg); }
.form-card h3 { font-size: 1.6rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-display); font-weight: 500; font-size: 0.92rem; color: var(--ink); }
.field label .req { color: var(--coral); }
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  background: var(--cream);
  border: 2px solid var(--cream-deep);
  border-radius: var(--r-md);
  padding: 0.75em 0.9em;
  transition: border-color 0.15s ease, background 0.15s ease;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 92px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: var(--white); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--coral); background: var(--tint-coral); }
.field__err { color: var(--coral-deep); font-size: 0.82rem; font-weight: 600; display: none; }
.field.has-error .field__err { display: block; }
.form-card .btn { margin-top: 22px; width: 100%; justify-content: center; }
.form-foot { margin-top: 14px; font-size: 0.82rem; color: var(--ink-faint); text-align: center; }

.form-success { display: none; text-align: center; padding: 20px 10px; }
.form-success.is-shown { display: block; animation: dropIn 0.4s ease; }
.form-success__icn { width: 84px; height: 84px; margin: 0 auto 18px; }
.form-success h3 { font-size: 1.7rem; }
.form-success p { color: var(--ink-soft); margin-top: 10px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: rgba(255,255,255,0.7); padding-block: 56px 30px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer__brand .brand__name { color: #fff; }
.footer p { font-size: 0.96rem; max-width: 34ch; margin-top: 14px; }
.footer h4 { color: #fff; font-size: 1.05rem; font-weight: 600; margin-bottom: 14px; }
.footer a { display: block; padding: 5px 0; transition: color 0.15s ease; font-weight: 600; font-size: 0.96rem; }
.footer a:hover { color: var(--sun); }
.footer__bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.86rem; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.1); display: grid; place-items: center; padding: 0; }
.footer__social a:hover { background: var(--teal); color: #fff; }
.footer__social svg { width: 20px; height: 20px; }

/* ============================================================
   Decorative birds-on-wire divider
   ============================================================ */
.wire { display: flex; align-items: flex-end; justify-content: center; gap: 0; position: relative; height: 60px; }
.wire::before { content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 3px; background: var(--ink); opacity: 0.18; border-radius: 2px; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .act-grid { grid-template-columns: repeat(2, 1fr); }
  .sess-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .feat-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__cta .btn { display: none; }
  .nav__toggle { display: grid; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { min-height: 320px; order: -1; }
  .hero__sub { max-width: none; }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  .act-grid { grid-template-columns: 1fr; }
  .sess-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .tl-row { grid-template-columns: 1fr; gap: 8px; }
  .tl-time { padding-top: 0; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
}
