/* ==========================================================================
   Crafty Catepillars — Design System
   A warm, modern, slightly-premium craft studio for young children.
   Palette + type are derived directly from the brand logo.
   ========================================================================== */

:root {
  /* ---- Brand colour palette (from logo) ---- */
  --teal: #1FB5B8;
  --teal-dark: #0E8C90;
  --teal-tint: #E3F6F6;

  --lime: #8BC53F;
  --lime-dark: #6BA02C;
  --lime-tint: #EFF7E2;

  --yellow: #FFC93C;
  --yellow-dark: #E8A800;
  --yellow-tint: #FFF6DE;

  --coral: #F1467E;
  --coral-dark: #D42D62;
  --coral-tint: #FDE7EE;

  --purple: #9B4FCB;
  --purple-dark: #7B39A8;
  --purple-tint: #F3E8FA;

  --cream: #FFFAF1;
  --cream-alt: #FBF2E3;
  --paper: #FFFFFF;

  --ink: #2E2A26;
  --ink-soft: #6B6259;
  --ink-faint: #A69C8F;
  --line: #EBE1D1;

  /* ---- Type ---- */
  --font-display: "Baloo 2", "Quicksand", ui-rounded, "Segoe UI", sans-serif;
  --font-body: "Nunito", "Segoe UI", system-ui, sans-serif;

  /* ---- Layout ---- */
  --container: 1180px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow-soft: 0 6px 20px rgba(46, 42, 38, 0.07);
  --shadow-lift: 0 14px 30px rgba(46, 42, 38, 0.12);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- Reset ---- */
* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 1rem; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--ink);
}
p { margin: 0 0 1em; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---- Layout helpers ---- */
.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 88px 0; }
.section--tight { padding: 64px 0; }
@media (max-width: 780px) {
  .section { padding: 60px 0; }
  .section--tight { padding: 44px 0; }
}

.section-head {
  max-width: 640px;
  margin: 0 0 48px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--coral-dark);
  background: var(--coral-tint);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.eyebrow.teal { color: var(--teal-dark); background: var(--teal-tint); }
.eyebrow.purple { color: var(--purple-dark); background: var(--purple-tint); }
.eyebrow.lime { color: var(--lime-dark); background: var(--lime-tint); }

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

.lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 54ch;
}
.center .lede { margin-left: auto; margin-right: auto; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 15px 30px;
  border-radius: 100px;
  border: 2px solid transparent;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn--primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 8px 20px rgba(241, 70, 126, 0.32);
}
.btn--primary:hover {
  background: var(--coral-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(241, 70, 126, 0.38);
}

.btn--secondary {
  background: transparent;
  color: var(--teal-dark);
  border-color: var(--teal);
}
.btn--secondary:hover {
  background: var(--teal);
  color: #fff;
  transform: translateY(-2px);
}

.btn--ghost {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--teal); color: var(--teal-dark); transform: translateY(-2px); }

.btn--block { width: 100%; }
.btn--sm { padding: 10px 20px; font-size: 0.9rem; }

.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* ---- Site header / nav ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 250, 241, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 18px rgba(46, 42, 38, 0.05);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav__brand img { height: 56px; width: auto; }
.nav__brand-text { display: none; }

.nav__links {
  display: none;
}
.nav__cta { display: none; }

@media (min-width: 940px) {
  .nav__links {
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .nav__links a {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.98rem;
    padding: 10px 16px;
    border-radius: 100px;
    color: var(--ink-soft);
    transition: background 0.2s var(--ease), color 0.2s var(--ease);
  }
  .nav__links a:hover { background: var(--teal-tint); color: var(--teal-dark); }
  .nav__links a.is-active { color: var(--teal-dark); background: var(--teal-tint); }
  .nav__cta { display: inline-flex; }
}

.nav__burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 100px;
  border: 2px solid var(--line);
  background: var(--paper);
  position: relative;
}
@media (min-width: 940px) { .nav__burger { display: none; } }
.nav__burger span, .nav__burger::before, .nav__burger::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 2.5px;
  background: var(--ink);
  border-radius: 4px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav__burger::before { transform: translateY(-6px); }
.nav__burger::after { transform: translateY(6px); }
.nav__burger[aria-expanded="true"]::before { transform: translateY(0) rotate(45deg); }
.nav__burger[aria-expanded="true"]::after { transform: translateY(0) rotate(-45deg); }
.nav__burger[aria-expanded="true"] span { opacity: 0; }

.nav__mobile {
  position: fixed;
  inset: 0 0 auto 0;
  top: 80px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 18px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
  box-shadow: 0 16px 30px rgba(46, 42, 38, 0.1);
  max-height: calc(100vh - 80px);
  overflow-y: auto;
}
.nav__mobile.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.nav__mobile a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  padding: 14px 10px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.nav__mobile a.is-active { color: var(--teal-dark); }
.nav__mobile .btn { margin-top: 14px; }
@media (min-width: 940px) { .nav__mobile { display: none; } }

/* ---- Decorative stitch line ---- */
.stitch {
  display: block;
  width: 100%;
  height: auto;
  color: var(--teal);
}
.stitch path {
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 9 11;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  padding: 56px 0 40px;
  overflow: hidden;
}
.hero__wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero__wrap { grid-template-columns: 1.05fr 0.95fr; gap: 32px; }
}
.hero__tag {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.14em;
  font-size: 0.95rem;
  color: var(--purple-dark);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.hero__tag .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--purple); }
.hero h1 { margin-bottom: 14px; }
.hero h1 .accent { color: var(--teal); }
.hero__lede {
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: 30px;
}
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__art {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero__art img {
  width: 100%;
  max-width: 560px;
  filter: drop-shadow(0 24px 40px rgba(46, 42, 38, 0.14));
}
.hero__blob {
  position: absolute;
  border-radius: 50%;
  z-index: -1;
  opacity: 0.55;
}
.hero__stitch {
  position: absolute;
  inset: auto 0 -10px 0;
  width: 100%;
  z-index: 0;
  opacity: 0.5;
}

/* ---- Page hero (interior pages) ---- */
.page-hero {
  padding: 60px 0 50px;
  text-align: center;
  position: relative;
}
.page-hero .eyebrow { margin-left: auto; margin-right: auto; }
.page-hero h1 { margin-bottom: 12px; }
.page-hero .lede { margin: 0 auto; }
.page-hero__mascot { width: 86px; margin: 0 auto 18px; }

/* ---- Cards: "what we do" ---- */
.pillars {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.pillar {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.pillar:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
  border-color: transparent;
}
.pillar__icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.pillar__icon svg { width: 30px; height: 30px; }
.pillar--teal .pillar__icon { background: var(--teal-tint); color: var(--teal-dark); }
.pillar--coral .pillar__icon { background: var(--coral-tint); color: var(--coral-dark); }
.pillar--purple .pillar__icon { background: var(--purple-tint); color: var(--purple-dark); }
.pillar--yellow .pillar__icon { background: var(--yellow-tint); color: var(--yellow-dark); }
.pillar h3 { margin-bottom: 8px; }
.pillar p { color: var(--ink-soft); margin: 0; font-size: 0.98rem; }

/* ---- Activity cards ---- */
.card-grid {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
}
.activity-card {
  background: var(--paper);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  display: flex;
  flex-direction: column;
}
.activity-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.activity-card__media {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.activity-card__media svg { width: 56%; height: 56%; }
.activity-card__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.activity-card__meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
}
.tag {
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--cream-alt);
  color: var(--ink-soft);
  border: 1px solid var(--line);
}
.activity-card h3 { margin-bottom: 2px; }
.activity-card p.desc { color: var(--ink-soft); font-size: 0.96rem; margin-bottom: 4px; flex: 1; }
.activity-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 6px;
}
.activity-card__makes {
  font-size: 0.86rem;
  color: var(--ink-soft);
  font-style: italic;
}

/* colour wash backgrounds used behind card media, rotate per card */
.wash-1 { background: linear-gradient(150deg, var(--teal-tint), #fff); }
.wash-2 { background: linear-gradient(150deg, var(--coral-tint), #fff); }
.wash-3 { background: linear-gradient(150deg, var(--yellow-tint), #fff); }
.wash-4 { background: linear-gradient(150deg, var(--purple-tint), #fff); }
.wash-5 { background: linear-gradient(150deg, var(--lime-tint), #fff); }

/* ---- Divider mascot ---- */
.divider {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 8px 0 40px;
  color: var(--line);
}
.divider svg:first-child, .divider svg:last-child { flex: 1; height: 14px; width: 100%; color: inherit; }
.divider img { width: 40px; height: auto; }

/* ---- Reassurance / parent section ---- */
.reassure {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 56px;
  border: 1px solid var(--line);
}
@media (max-width: 780px) { .reassure { padding: 32px 22px; } }
.reassure-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 36px;
}
.reassure-item { display: flex; gap: 16px; }
.reassure-item__mark {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--lime-tint);
  color: var(--lime-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
}
.reassure-item h4 { font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 4px; }
.reassure-item p { color: var(--ink-soft); font-size: 0.94rem; margin: 0; }

/* ---- Testimonials ---- */
.testimonials {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}
.testimonial {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  position: relative;
}
.testimonial__quote { font-size: 1.02rem; color: var(--ink); margin-bottom: 18px; }
.testimonial__quote::before { content: "\201C"; color: var(--coral); font-family: var(--font-display); }
.testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.testimonial__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-display);
}
.testimonial__stars { color: var(--yellow-dark); letter-spacing: 2px; margin-bottom: 10px; display: block; font-size: 0.9rem; }

/* ---- CTA banner ---- */
.cta-band {
  background: var(--teal-dark);
  background-image: radial-gradient(circle at 15% 20%, rgba(255,255,255,0.08), transparent 45%), radial-gradient(circle at 85% 80%, rgba(255,255,255,0.08), transparent 45%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
@media (max-width: 780px) { .cta-band { padding: 40px 24px; } }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); }
.cta-band .btn--primary { box-shadow: 0 10px 24px rgba(0,0,0,0.2); }
.cta-band__mascot { width: 64px; margin: 0 auto 14px; }

/* ---- Footer ---- */
.site-footer {
  background: #FFF6E6;
  border-top: 1px solid var(--line);
  padding: 64px 0 28px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand img { height: 60px; width: auto; margin-bottom: 12px; }
.footer-tagline {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: var(--purple-dark);
  margin-bottom: 12px;
}
.footer-desc { color: var(--ink-soft); font-size: 0.94rem; max-width: 30ch; }
.footer-col h5 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin-bottom: 14px;
  color: var(--ink);
}
.footer-col a, .footer-col address {
  display: block;
  color: var(--ink-soft);
  font-size: 0.94rem;
  padding: 5px 0;
  font-style: normal;
  transition: color 0.2s var(--ease);
}
.footer-col a:hover { color: var(--teal-dark); }
.footer-social { display: flex; gap: 10px; margin-top: 6px; }
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.footer-social a:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.footer-bottom {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.86rem;
  color: var(--ink-faint);
}
.footer-bottom-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom-links a { color: var(--ink-soft); }
.footer-bottom-links a:hover { color: var(--teal-dark); }

/* ---- Reveal on scroll ---- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---- Utility ---- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.two-col {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr;
}
@media (min-width: 880px) { .two-col { grid-template-columns: 1fr 1fr; align-items: center; } }
.badge-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: var(--font-display);
  padding: 8px 14px;
  border-radius: 100px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink-soft);
}

/* ---- Breadcrumb-ish small mascot note ---- */
.mascot-note {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--purple-dark);
}
.mascot-note img { width: 44px; }

/* ==========================================================================
   Page-specific: Schedule
   ========================================================================== */
.schedule-toggle {
  display: inline-flex;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 4px;
  gap: 4px;
  margin-bottom: 34px;
}
.schedule-toggle button {
  border: none;
  background: transparent;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 10px 20px;
  border-radius: 100px;
  color: var(--ink-soft);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.schedule-toggle button.is-active { background: var(--teal); color: #fff; }

.schedule-view { display: none; }
.schedule-view.is-active { display: block; }

/* Calendar view */
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
}
@media (max-width: 900px) {
  .cal-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
}
.cal-day {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 14px;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cal-day--empty {
  background: transparent;
  border: 1px dashed var(--line);
}
.cal-day__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.cal-event {
  background: var(--teal-tint);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 0.8rem;
  line-height: 1.35;
}
.cal-event strong { display: block; font-family: var(--font-display); font-size: 0.82rem; color: var(--teal-dark); }
.cal-event.c-coral { background: var(--coral-tint); }
.cal-event.c-coral strong { color: var(--coral-dark); }
.cal-event.c-purple { background: var(--purple-tint); }
.cal-event.c-purple strong { color: var(--purple-dark); }
.cal-event.c-yellow { background: var(--yellow-tint); }
.cal-event.c-yellow strong { color: var(--yellow-dark); }

/* List view */
.schedule-list { display: flex; flex-direction: column; gap: 16px; }
.event-row {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 20px;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.event-row:hover { box-shadow: var(--shadow-soft); transform: translateY(-2px); }
@media (max-width: 700px) {
  .event-row { grid-template-columns: 1fr; text-align: left; gap: 12px; }
  .event-row__actions { justify-self: start; }
}
.event-row__date {
  font-family: var(--font-display);
  text-align: center;
  background: var(--cream-alt);
  border-radius: 12px;
  padding: 8px 6px;
}
.event-row__date .day { display: block; font-size: 1.5rem; font-weight: 700; color: var(--coral-dark); line-height: 1; }
.event-row__date .mon { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); }
.event-row__title { font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; margin-bottom: 4px; }
.event-row__meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 0.88rem; color: var(--ink-soft); }
.event-row__meta span { display: inline-flex; align-items: center; gap: 5px; }
.event-row__spaces { font-size: 0.82rem; font-weight: 700; color: var(--lime-dark); }
.event-row__spaces.low { color: var(--coral-dark); }

/* ==========================================================================
   Page-specific: Booking
   ========================================================================== */
.booking-steps {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 44px;
  counter-reset: step;
}
.booking-steps li {
  flex: 1;
  text-align: center;
  position: relative;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink-faint);
}
.booking-steps li::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--line);
  margin: 0 auto 8px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.booking-steps li.is-active { color: var(--teal-dark); }
.booking-steps li.is-active::before { background: var(--teal); border-color: var(--teal); color: #fff; }
.booking-steps li.is-done::before { background: var(--lime); border-color: var(--lime); color: #fff; content: "\2713"; }
.booking-steps li::after {
  content: "";
  position: absolute;
  top: 17px;
  right: -50%;
  width: 100%;
  height: 2px;
  background: var(--line);
  z-index: -1;
}
.booking-steps li:last-child::after { display: none; }

.booking-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px;
  max-width: 780px;
  margin: 0 auto;
}
@media (max-width: 700px) { .booking-card { padding: 26px 20px; } }

.booking-panel { display: none; }
.booking-panel.is-active { display: block; }

.option-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.option-card {
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px;
  text-align: left;
  background: var(--paper);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease);
}
.option-card:hover { transform: translateY(-2px); border-color: var(--teal); }
.option-card.is-selected { border-color: var(--teal); background: var(--teal-tint); }
.option-card strong { display: block; font-family: var(--font-display); margin-bottom: 4px; }
.option-card span { font-size: 0.85rem; color: var(--ink-soft); }

.slot-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  margin-top: 18px;
}
.slot-card {
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px;
  text-align: center;
  background: var(--paper);
  font-size: 0.9rem;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.slot-card strong { display: block; font-family: var(--font-display); font-size: 0.95rem; }
.slot-card:hover { border-color: var(--teal); }
.slot-card.is-selected { border-color: var(--coral); background: var(--coral-tint); }

.field-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 640px) { .field-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
}
.field input, .field select, .field textarea {
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--line);
  background: var(--cream);
  color: var(--ink);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: #fff;
}
.field textarea { resize: vertical; min-height: 90px; }
.field-hint { font-size: 0.8rem; color: var(--ink-faint); }

.booking-nav { display: flex; justify-content: space-between; margin-top: 34px; gap: 14px; }

.summary-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); margin-bottom: 24px; }
.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.summary-row dt { color: var(--ink-soft); }
.summary-row dd { margin: 0; font-weight: 700; text-align: right; }

.confirm-panel { text-align: center; padding: 20px 0; }
.confirm-panel__icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--lime-tint);
  color: var(--lime-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

/* ==========================================================================
   Page-specific: About
   ========================================================================== */
.about-hero {
  display: grid;
  gap: 44px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 880px) { .about-hero { grid-template-columns: 0.85fr 1.15fr; } }
.about-portrait {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(155deg, var(--purple-tint), var(--teal-tint));
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
}
.about-portrait svg { width: 62%; }

.philosophy-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.philosophy-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px;
}
.philosophy-card .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--coral);
  display: block;
  margin-bottom: 10px;
}

/* ==========================================================================
   Page-specific: FAQ
   ========================================================================== */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: transparent;
  border: none;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
}
.faq-item__q .plus {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--teal-tint);
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s var(--ease), background 0.2s var(--ease);
  font-size: 1.1rem;
}
.faq-item[open] .faq-item__q .plus { transform: rotate(45deg); background: var(--coral); color: #fff; }
.faq-item__a {
  padding: 0 24px 22px;
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary { list-style: none; cursor: pointer; }

/* ==========================================================================
   Page-specific: Contact
   ========================================================================== */
.contact-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 880px) { .contact-grid { grid-template-columns: 0.85fr 1.15fr; } }
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}
.contact-detail__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--coral-tint);
  color: var(--coral-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail h4 { font-family: var(--font-display); font-size: 0.98rem; margin-bottom: 3px; }
.contact-detail p { margin: 0; color: var(--ink-soft); font-size: 0.94rem; }
.contact-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
}
@media (max-width: 700px) { .contact-form { padding: 24px 20px; } }

/* ---- Simple legal page ---- */
.legal {
  max-width: 760px;
  margin: 0 auto;
}
.legal h2 { margin-top: 2em; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { list-style: disc; padding-left: 1.4em; margin-bottom: 1em; }

/* ---- Form status message ---- */
.form-note {
  margin-top: 14px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: var(--lime-tint);
  color: var(--lime-dark);
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 0.92rem;
  display: none;
}
.form-note.is-visible { display: block; }
