/* ==========================================================================
   HI-5 CHAMPION LEARNING CENTER — STYLES
   Sticker-and-doodle preschool poster look.
   All decoration is CSS or inline SVG — no third-party clip art.
   ========================================================================== */

/* --------------------------------------------------------------------------
   PALETTE + TOKENS
   -------------------------------------------------------------------------- */
:root {
  --pink:        #F2569A;
  --pink-soft:   #FFD9E8;
  --purple:      #7C5FC4;
  --lavender:    #E5D9FF;
  --blue:        #A8D8F5;
  --mint:        #B7E7C8;
  --yellow:      #FFD966;
  --cream:       #FFF8E7;
  --ink:         #4A3B6B;

  --blue-deep:   #3E86B8;
  --mint-deep:   #3F9E6A;
  --yellow-deep: #C9922B;

  --radius-card: 28px;
  --radius-pill: 999px;

  --shadow-sticker: 0 8px 0 rgba(124, 95, 196, .10), 0 14px 28px rgba(124, 95, 196, .16);
  --shadow-lift:    0 14px 0 rgba(124, 95, 196, .10), 0 22px 40px rgba(124, 95, 196, .22);
  --shadow-soft:    0 6px 20px rgba(124, 95, 196, .12);

  --font-display: "Baloo 2", "Fredoka", "Nunito", system-ui, sans-serif;
  --font-body:    "Nunito", "Quicksand", system-ui, -apple-system, sans-serif;
}

/* --------------------------------------------------------------------------
   BASE
   -------------------------------------------------------------------------- */
html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, .display { font-family: var(--font-display); font-weight: 800; line-height: 1.15; }

::selection { background: var(--pink-soft); color: var(--ink); }

/* Keyboard focus that is visible on every pastel background */
:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 3px;
  border-radius: 8px;
}

/* Screen-reader-only helper */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------------------
   POSTER HEADINGS — thick white outline + soft drop shadow
   -------------------------------------------------------------------------- */
.title-pop {
  color: var(--pink);
  text-shadow:
     3px  0    0 #fff, -3px  0    0 #fff,
     0    3px  0 #fff,  0   -3px  0 #fff,
     2px  2px  0 #fff, -2px  2px  0 #fff,
     2px -2px  0 #fff, -2px -2px  0 #fff,
     0    5px  7px rgba(124, 95, 196, .26);
  letter-spacing: .3px;
}
.title-pop.purple { color: var(--purple); }
.title-pop.white  { color: #fff; text-shadow: 0 3px 0 rgba(124,95,196,.25), 0 8px 22px rgba(124,95,196,.30); }

/* Multi-colour letters, like the posters */
.rainbow-text > span:nth-child(6n+1) { color: var(--pink); }
.rainbow-text > span:nth-child(6n+2) { color: var(--purple); }
.rainbow-text > span:nth-child(6n+3) { color: var(--blue-deep); }
.rainbow-text > span:nth-child(6n+4) { color: var(--mint-deep); }
.rainbow-text > span:nth-child(6n+5) { color: var(--yellow-deep); }
.rainbow-text > span:nth-child(6n+6) { color: var(--pink); }

/* Small hand-lettered section eyebrow */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--purple);
  background: #fff;
  border: 3px solid var(--lavender);
  border-radius: var(--radius-pill);
  padding: .3rem 1.1rem;
  box-shadow: var(--shadow-soft);
}

/* --------------------------------------------------------------------------
   STICKER CARDS — white border, soft shadow, dashed inner outline
   -------------------------------------------------------------------------- */
.sticker {
  position: relative;
  background: #fff;
  border: 4px solid #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sticker);
  transition: transform .25s ease, box-shadow .25s ease;
}
.sticker::before {
  content: "";
  position: absolute; inset: 8px;
  border: 2px dashed rgba(124, 95, 196, .22);
  border-radius: calc(var(--radius-card) - 12px);
  pointer-events: none;
}
.sticker.no-dash::before { display: none; }

.sticker-hover:hover,
.sticker-hover:focus-within {
  transform: translateY(-6px) scale(1.015);
  box-shadow: var(--shadow-lift);
}

/* Pastel card fills */
.fill-pink     { background: var(--pink-soft); }
.fill-lavender { background: var(--lavender); }
.fill-blue     { background: var(--blue); }
.fill-mint     { background: var(--mint); }
.fill-yellow   { background: var(--yellow); }
.fill-cream    { background: var(--cream); }
.fill-white    { background: #fff; }

/* Matching text accents */
.ink-pink     { color: var(--pink); }
.ink-purple   { color: var(--purple); }
.ink-blue     { color: var(--blue-deep); }
.ink-mint     { color: var(--mint-deep); }
.ink-yellow   { color: var(--yellow-deep); }

/* --------------------------------------------------------------------------
   BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 800;
  border-radius: var(--radius-pill);
  padding: .8rem 1.7rem;
  border: 3px solid #fff;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary  { background: var(--pink);   color: #fff; box-shadow: 0 5px 0 #C93B78, var(--shadow-soft); }
.btn-primary:hover  { background: #ef4590; transform: translateY(-2px); box-shadow: 0 7px 0 #C93B78, var(--shadow-lift); }
.btn-primary:active { transform: translateY(2px); box-shadow: 0 2px 0 #C93B78; }

.btn-secondary { background: var(--purple); color: #fff; box-shadow: 0 5px 0 #5E45A0, var(--shadow-soft); }
.btn-secondary:hover  { background: #8b70cf; transform: translateY(-2px); box-shadow: 0 7px 0 #5E45A0, var(--shadow-lift); }
.btn-secondary:active { transform: translateY(2px); box-shadow: 0 2px 0 #5E45A0; }

.btn-ghost { background: #fff; color: var(--purple); border-color: var(--lavender); box-shadow: var(--shadow-soft); }
.btn-ghost:hover { background: var(--lavender); transform: translateY(-2px); }

/* Filter chips */
.chip {
  font-family: var(--font-display); font-weight: 700;
  background: #fff; color: var(--purple);
  border: 3px solid var(--lavender);
  border-radius: var(--radius-pill);
  padding: .5rem 1.3rem;
  cursor: pointer;
  transition: all .2s ease;
}
.chip:hover { background: var(--lavender); transform: translateY(-2px); }
.chip[aria-pressed="true"] {
  background: var(--pink); color: #fff; border-color: #fff;
  box-shadow: 0 4px 0 #C93B78;
}

/* --------------------------------------------------------------------------
   SECTION BACKGROUNDS — alternating pastel gradients
   -------------------------------------------------------------------------- */
.bg-cream    { background: linear-gradient(180deg, #FFFCF4 0%, var(--cream) 100%); }
.bg-pinkish  { background: linear-gradient(180deg, #FFF1F7 0%, #FFE4EF 100%); }
.bg-lav      { background: linear-gradient(180deg, #F6F1FF 0%, #EDE4FF 100%); }
.bg-skyish   { background: linear-gradient(180deg, #F0FAFF 0%, #DFF1FC 100%); }
.bg-mintish  { background: linear-gradient(180deg, #F1FCF5 0%, #DFF5E8 100%); }
.bg-hero     { background: linear-gradient(165deg, #FFF6FB 0%, #FDF4FF 38%, #F1F7FF 70%, #FFFCF0 100%); }

/* Soft wavy divider between sections */
.wave-divider { display: block; width: 100%; height: 46px; }

/* --------------------------------------------------------------------------
   DOODLES — floating decorative SVG
   -------------------------------------------------------------------------- */
.doodle {
  position: absolute;
  pointer-events: none;
  opacity: .75;
  z-index: 0;
}
.doodle svg { display: block; width: 100%; height: 100%; }

@keyframes floaty  { 0%,100% { transform: translateY(0)     rotate(0deg); }
                     50%     { transform: translateY(-14px) rotate(5deg); } }
@keyframes floaty2 { 0%,100% { transform: translateY(0)     rotate(0deg); }
                     50%     { transform: translateY(-9px)  rotate(-6deg); } }
@keyframes twinkle { 0%,100% { opacity: .35; transform: scale(.86); }
                     50%     { opacity: 1;   transform: scale(1.12); } }
@keyframes bobble  { 0%,100% { transform: translateY(0); }
                     50%     { transform: translateY(-7px); } }
@keyframes pop-in  { from { opacity: 0; transform: translateY(22px) scale(.96); }
                     to   { opacity: 1; transform: translateY(0)    scale(1); } }

.anim-float   { animation: floaty  7s ease-in-out infinite; }
.anim-float-2 { animation: floaty2 9s ease-in-out infinite; }
.anim-twinkle { animation: twinkle 3.4s ease-in-out infinite; }
.anim-bobble  { animation: bobble  4.5s ease-in-out infinite; }

.delay-1 { animation-delay: .6s; }
.delay-2 { animation-delay: 1.2s; }
.delay-3 { animation-delay: 1.9s; }
.delay-4 { animation-delay: 2.6s; }

/* Reveal on scroll.
   Content is visible by default and only hidden once JavaScript has confirmed
   it can reveal it again, so the page is never left blank if a script fails. */
.reveal { opacity: 1; }
html.js-reveal .reveal { opacity: 0; }
html.js-reveal .reveal.in { animation: pop-in .6s cubic-bezier(.22,1,.36,1) forwards; }

/* --------------------------------------------------------------------------
   BUNTING — pennant string built from CSS triangles
   -------------------------------------------------------------------------- */
.bunting { display: flex; justify-content: center; gap: 6px; align-items: flex-start; }
.bunting i {
  display: block; width: 0; height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 26px solid var(--pink);
  transform-origin: top center;
  animation: bobble 4s ease-in-out infinite;
}
.bunting i:nth-child(5n+1) { border-top-color: var(--pink);     animation-delay: 0s;   }
.bunting i:nth-child(5n+2) { border-top-color: var(--yellow);   animation-delay: .25s; }
.bunting i:nth-child(5n+3) { border-top-color: var(--blue);     animation-delay: .5s;  }
.bunting i:nth-child(5n+4) { border-top-color: var(--mint);     animation-delay: .75s; }
.bunting i:nth-child(5n+5) { border-top-color: var(--lavender); animation-delay: 1s;   }

/* --------------------------------------------------------------------------
   HEADER / NAV
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 252, 244, .88);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--lavender);
  transition: box-shadow .25s ease, background-color .25s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(124, 95, 196, .14); background: rgba(255, 252, 244, .97); }

.nav-link {
  font-family: var(--font-display); font-weight: 700;
  color: var(--ink); text-decoration: none;
  padding: .4rem .7rem; border-radius: var(--radius-pill);
  transition: all .18s ease;
  position: relative;
}
.nav-link:hover { color: var(--pink); background: var(--pink-soft); }
.nav-link.active { color: var(--purple); background: var(--lavender); }

/* Logo mark — the Hi5 CLC handprint. It is taller than it is wide and has a
   transparent background, so it is sized by height and never cropped. The
   shadow is a drop-shadow so it follows the handprint instead of a box. */
.logo-mark {
  height: 64px;
  width: auto;
  flex: 0 0 auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 3px 5px rgba(124, 95, 196, .22));
  transition: transform .25s ease;
}
a:hover > .logo-mark { transform: rotate(-4deg) scale(1.06); }

/* Larger version for the footer */
.logo-mark-lg { height: 132px; }

/* Text stand-in, shown only while images/logo.png is missing */
.logo-fallback {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--pink) 0%, var(--purple) 55%, var(--blue-deep) 100%);
  display: grid; place-items: center;
  color: #fff; font-family: var(--font-display); font-weight: 800;
  font-size: 1.1rem; letter-spacing: .02em;
  border: 3px solid #fff;
  filter: none;
}
.logo-fallback.logo-mark-lg { width: 132px; height: 132px; font-size: 2.2rem; }

/* Mobile drawer */
.mobile-menu { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.mobile-menu.open { max-height: 640px; }

/* --- Header responsive visibility ---------------------------------------
   Written here rather than with Tailwind's hidden / md: / lg: utilities.
   Those carry the same specificity as component rules like .btn, so which
   one wins comes down to stylesheet order — and Tailwind's CDN injects its
   styles at runtime, so that order is not guaranteed. Owning these few
   rules keeps the header correct however the stylesheets land. */
.nav-desktop  { display: none; }
.header-cta   { display: none; }
.logo-words   { display: none; }
.nav-toggle   { display: inline-flex; width: 44px; height: 44px; padding: 0; }
.nav-icon     { width: 24px; height: 24px; flex: 0 0 24px; }

@media (min-width: 640px)  { .logo-words  { display: block; } }
@media (min-width: 768px)  { .header-cta  { display: inline-flex; } }
@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
  .nav-toggle  { display: none; }
  .mobile-menu { display: none; }
}

/* --------------------------------------------------------------------------
   RIBBON BADGE (anniversary)
   -------------------------------------------------------------------------- */
.ribbon {
  position: relative;
  display: inline-block;
  background: linear-gradient(135deg, var(--pink) 0%, #ff7ab3 100%);
  color: #fff;
  font-family: var(--font-display); font-weight: 800;
  padding: .7rem 2.4rem;
  border: 3px solid #fff;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sticker);
}
.ribbon::before, .ribbon::after {
  content: ""; position: absolute; top: 50%; width: 26px; height: 26px;
  background: var(--pink); transform: translateY(-50%) rotate(45deg);
  border-radius: 5px; z-index: -1;
}
.ribbon::before { left: -12px; }
.ribbon::after  { right: -12px; }

/* --------------------------------------------------------------------------
   TEAM CARDS
   -------------------------------------------------------------------------- */
.team-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  border-radius: 20px;
  background: #fff;
  display: block;
}
.photo-frame {
  position: relative;
  border-radius: 22px;
  padding: 6px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(124, 95, 196, .16);
}

/* Inside the modal the whole poster is shown, never cropped, at its own
   proportions — some posters are taller than the 4:5 grid thumbnails. */
.poster-photo {
  aspect-ratio: auto;
  height: auto;
  object-fit: contain;
}

/* Fallback block with initials when the photo file is missing */
.photo-fallback {
  width: 100%; aspect-ratio: 4 / 5;
  border-radius: 20px;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 3.2rem;
  color: #fff;
  text-shadow: 0 3px 0 rgba(0, 0, 0, .12);
}

.badge-cred {
  display: inline-flex; align-items: center; gap: .35rem;
  background: #fff; color: var(--mint-deep);
  border: 2px solid var(--mint);
  border-radius: var(--radius-pill);
  font-size: .78rem; font-weight: 800;
  padding: .18rem .7rem;
}

.list-dotted li {
  position: relative; padding-left: 1.1rem; font-size: .93rem; line-height: 1.55;
}
.list-dotted li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .55;
}

/* --------------------------------------------------------------------------
   MODAL
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(74, 59, 107, .55);
  backdrop-filter: blur(4px);
  display: grid; place-items: center;
  padding: 1rem;
  opacity: 0; visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.modal-backdrop.open { opacity: 1; visibility: visible; }

.modal-box {
  width: min(1000px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  border-radius: 32px;
  transform: scale(.94) translateY(14px);
  transition: transform .28s cubic-bezier(.22,1,.36,1);
}
.modal-backdrop.open .modal-box { transform: scale(1) translateY(0); }

.modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 5;
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; color: var(--pink);
  border: 3px solid var(--pink-soft);
  font-size: 1.4rem; font-weight: 800; line-height: 1;
  cursor: pointer; display: grid; place-items: center;
  box-shadow: var(--shadow-soft);
  transition: transform .18s ease, background .18s ease;
}
.modal-close:hover { transform: rotate(90deg) scale(1.08); background: var(--pink-soft); }

body.modal-open { overflow: hidden; }

/* --------------------------------------------------------------------------
   EVENTS
   -------------------------------------------------------------------------- */
.date-badge {
  flex: 0 0 auto;
  width: 78px; min-height: 78px;
  border-radius: 20px;
  display: grid; place-content: center; text-align: center;
  font-family: var(--font-display); font-weight: 800;
  color: #fff;
  border: 3px solid #fff;
  box-shadow: var(--shadow-soft);
  padding: .4rem;
}
.date-badge .top { font-size: 1.05rem; letter-spacing: .06em; line-height: 1.1; }
.date-badge .bottom { font-size: 1.6rem; line-height: 1; }

.tag-pill {
  font-family: var(--font-display); font-weight: 700; font-size: .78rem;
  background: #fff; border: 2px solid var(--lavender); color: var(--purple);
  border-radius: var(--radius-pill); padding: .16rem .7rem;
}
.tag-status {
  font-family: var(--font-display); font-weight: 800; font-size: .72rem;
  letter-spacing: .08em; text-transform: uppercase;
  border-radius: var(--radius-pill); padding: .2rem .8rem; border: 2px solid #fff;
}
.tag-upcoming { background: var(--mint); color: #276B47; }
.tag-past     { background: var(--lavender); color: var(--purple); }

.medal {
  width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: .82rem;
  color: #6b4a10; border: 3px solid #fff; box-shadow: var(--shadow-soft);
}
/* --- Event grid cards ----------------------------------------------------
   Compact and uniform. The full story opens in the popup, which keeps the
   grid tidy however long a Facebook caption happens to be. */
.event-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  text-align: left;
}
.event-preview {
  font-size: .9rem;
  line-height: 1.55;
  opacity: .85;
  margin-top: .75rem;
  /* Trim the preview to three lines whatever the caption length */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.event-card-foot { margin-top: auto; padding-top: .9rem; }
.read-more {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .82rem;
  color: var(--purple);
  opacity: .8;
}
.event-card:hover .read-more { opacity: 1; color: var(--pink); }

/* Marks a card whose story includes a video */
.media-chip {
  font-size: .78rem;
  background: #fff;
  border: 2px solid var(--pink-soft);
  border-radius: var(--radius-pill);
  padding: .1rem .5rem;
  line-height: 1.4;
}

/* Highlighted message inside an event card */
.callout {
  background: rgba(255, 255, 255, .9);
  border: 3px dashed rgba(124, 95, 196, .3);
  border-radius: 20px;
  padding: 1rem 1.15rem;
}
.callout-line {
  position: relative;
  padding-left: 1.15rem;
  font-size: .93rem;
  font-weight: 700;
  line-height: 1.5;
}
.callout-line::before {
  content: "";
  position: absolute; left: 0; top: .55em;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--pink);
}
.callout-closing {
  margin-top: .8rem;
  padding-top: .7rem;
  border-top: 2px dashed rgba(124, 95, 196, .22);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .95rem;
  color: var(--purple);
  text-align: center;
}

/* Button that opens a video on Facebook or YouTube */
.video-card {
  display: flex; align-items: center; gap: .9rem;
  background: #fff;
  border: 3px solid var(--pink-soft);
  border-radius: 20px;
  padding: .8rem 1rem;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.video-card:hover {
  transform: translateY(-3px);
  border-color: var(--pink);
  box-shadow: var(--shadow-lift);
}
.video-play {
  flex: 0 0 46px; width: 46px; height: 46px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--pink); color: #fff;
  box-shadow: 0 4px 0 #C93B78;
}
.video-play svg { width: 22px; height: 22px; margin-left: 3px; }
.video-card:hover .video-play { animation: bobble 1.4s ease-in-out infinite; }

.video-label {
  display: block;
  font-family: var(--font-display); font-weight: 800; font-size: 1rem;
  line-height: 1.25;
}
.video-caption {
  display: block;
  font-size: .8rem; font-weight: 600; opacity: .7;
  line-height: 1.3;
}
.video-go { margin-left: auto; font-weight: 800; color: var(--pink); font-size: 1.1rem; }

.medal-gold   { background: linear-gradient(140deg, #FFE08A, #F5B324); }
.medal-silver { background: linear-gradient(140deg, #F0F2F6, #C3C9D4); color: #4a5160; }
.medal-bronze { background: linear-gradient(140deg, #F0BC8B, #C97F3E); color: #5a3413; }

/* --------------------------------------------------------------------------
   BIRTHDAYS
   -------------------------------------------------------------------------- */
.month-card { transition: transform .25s ease, box-shadow .25s ease; }
.month-card.is-current {
  outline: 4px solid var(--pink);
  outline-offset: 3px;
  animation: bobble 3.4s ease-in-out infinite;
}
.bday-pill {
  display: inline-flex; align-items: center; gap: .45rem;
  background: #fff; border: 2px solid rgba(124, 95, 196, .18);
  border-radius: var(--radius-pill);
  padding: .32rem .85rem;
  font-size: .9rem; font-weight: 700;
  box-shadow: 0 2px 6px rgba(124, 95, 196, .1);
}
.bday-pill .date { font-size: .78rem; opacity: .7; font-weight: 800; }
.month-empty { font-size: .88rem; opacity: .55; font-style: italic; }

/* --------------------------------------------------------------------------
   ENROLLMENT
   -------------------------------------------------------------------------- */
.step-num {
  width: 54px; height: 54px; flex: 0 0 54px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.5rem;
  color: #fff; border: 3px solid #fff; box-shadow: var(--shadow-soft);
}

.table-wrap { overflow-x: auto; border-radius: var(--radius-card); }
table.schedule { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 640px; }
table.schedule th {
  font-family: var(--font-display); font-weight: 800; text-align: left;
  background: var(--purple); color: #fff;
  padding: .9rem 1.1rem; font-size: .95rem;
}
table.schedule th:first-child { border-top-left-radius: 20px; }
table.schedule th:last-child  { border-top-right-radius: 20px; }
table.schedule td { padding: .85rem 1.1rem; border-bottom: 2px dashed rgba(124, 95, 196, .16); font-size: .95rem; }
table.schedule tbody tr:nth-child(even) { background: rgba(229, 217, 255, .28); }
table.schedule tbody tr:hover { background: var(--pink-soft); }

.status-badge {
  font-family: var(--font-display); font-weight: 800; font-size: .78rem;
  border-radius: var(--radius-pill); padding: .22rem .85rem; border: 2px solid #fff;
  display: inline-block; white-space: nowrap;
}
.status-open     { background: var(--mint);   color: #256B45; }
.status-waitlist { background: var(--yellow); color: #8A6410; }
.status-closed   { background: #FFC9D8;      color: #A32A55; }

.check-item {
  display: flex; align-items: flex-start; gap: .7rem;
  background: #fff; border: 3px solid var(--mint);
  border-radius: 18px; padding: .75rem 1rem;
  font-weight: 600;
}
.check-item .tick {
  flex: 0 0 24px; width: 24px; height: 24px; border-radius: 7px;
  background: var(--mint); color: #256B45;
  display: grid; place-items: center; font-weight: 800; font-size: .85rem;
  margin-top: 1px;
}

/* --------------------------------------------------------------------------
   SLOT AVAILABILITY
   -------------------------------------------------------------------------- */
.meter {
  height: 20px; border-radius: var(--radius-pill);
  background: rgba(124, 95, 196, .13);
  overflow: hidden; border: 2px solid #fff;
  box-shadow: inset 0 2px 5px rgba(124, 95, 196, .12);
}
.meter > span {
  display: block; height: 100%; border-radius: var(--radius-pill);
  width: 0;
  transition: width 1.1s cubic-bezier(.22, 1, .36, 1);
  background-size: 22px 22px;
  background-image: linear-gradient(45deg, rgba(255,255,255,.28) 25%, transparent 25%,
                                           transparent 50%, rgba(255,255,255,.28) 50%,
                                           rgba(255,255,255,.28) 75%, transparent 75%);
}
.meter-open   > span { background-color: #5CC489; }
.meter-almost > span { background-color: #F2B33D; }
.meter-full   > span { background-color: #EF6A8E; }

.slot-badge {
  font-family: var(--font-display); font-weight: 800; font-size: .78rem;
  border-radius: var(--radius-pill); padding: .2rem .8rem; border: 2px solid #fff;
  white-space: nowrap;
}
.slot-open   { background: var(--mint);   color: #256B45; }
.slot-almost { background: var(--yellow); color: #8A6410; }
.slot-full   { background: #FFC9D8;      color: #A32A55; }

/* --------------------------------------------------------------------------
   FORM
   -------------------------------------------------------------------------- */
/* The ready-to-paste inquiry shown after submitting */
.paste-box {
  width: 100%;
  background: #fff;
  border: 3px solid rgba(124, 95, 196, .25);
  border-radius: 18px;
  padding: .8rem 1rem;
  font-family: var(--font-body);
  font-size: .88rem;
  line-height: 1.5;
  color: var(--ink);
  resize: vertical;
}
.paste-box:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 4px var(--pink-soft); }

/* Tappable phone / email in the contact card */
.contact-link {
  font-weight: 700;
  color: var(--purple);
  text-decoration: underline;
  text-decoration-color: rgba(124, 95, 196, .35);
  text-underline-offset: 3px;
  transition: color .18s ease;
}
.contact-link:hover { color: var(--pink); text-decoration-color: var(--pink); }
.contact-link:not([href]) { color: var(--ink); text-decoration: none; cursor: default; }

.field label {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: .95rem; margin-bottom: .35rem; color: var(--purple);
}
.field input, .field select, .field textarea {
  width: 100%;
  background: #fff;
  border: 3px solid var(--lavender);
  border-radius: 18px;
  padding: .7rem 1rem;
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--pink);
  box-shadow: 0 0 0 4px var(--pink-soft);
}
.field .err { color: #C2185B; font-size: .85rem; font-weight: 700; margin-top: .25rem; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #EF6A8E; }
.field.invalid .err { display: block; }

/* --------------------------------------------------------------------------
   FLOATING MOBILE CTA
   -------------------------------------------------------------------------- */
.float-cta {
  position: fixed; right: 16px; bottom: 16px; z-index: 70;
  display: none;
  box-shadow: 0 8px 24px rgba(242, 86, 154, .45);
}
@media (max-width: 767px) { .float-cta { display: inline-flex; } }

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.site-footer { background: linear-gradient(180deg, #F6F1FF 0%, #EFE6FF 100%); border-top: 4px dashed var(--lavender); }

/* --------------------------------------------------------------------------
   RESPONSIVE TWEAKS
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .doodle { transform: scale(.72); opacity: .55; }
  .ribbon { padding: .6rem 1.5rem; font-size: .95rem; }
  .sticker::before { inset: 6px; }
}

/* --------------------------------------------------------------------------
   MOTION + PRINT
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  html.js-reveal .reveal { opacity: 1; }
}

@media print {
  .site-header, .float-cta, .doodle, .modal-backdrop { display: none !important; }
  body { background: #fff; }
  .sticker { box-shadow: none; border-color: #ddd; }
}
