/* === Header logo and burger adjustments (appended) === */
.logo-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.logo-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  padding: 0.5rem 1rem;
  border-radius: 12px;
  text-decoration: none;
}

.logo-img {
  height: 130px;
  width: auto;
}

.logo-wrap {
  display: none;
}

.header-controls {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.burger-line {
  width: 100%;
  height: 3px;
  background-color: #ffffff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.burger.open .burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger.open .burger-line:nth-child(2) {
  opacity: 0;
}
.burger.open .burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  .header {
    position: relative;
    padding-bottom: 0;
  }
  .burger {
    display: flex;
  }
  .nav {
    display: none;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
    background-color: #6a7752;
    padding: 1rem 2rem 1.5rem;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 999;
  }
  .nav.open {
    display: flex;
  }
  .logo-img {
    height: 70px;
  }
}
/* === Local fonts === */
@font-face {
  font-family: "Proxima Nova";
  src: url("./fonts/proximanova_bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: "Moon Time";
  src: url("./fonts/MoonTime-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}

/* Import Google fonts for typography */
/* Raleway from Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600;700&display=swap");

/* === TYPOGRAPHY SYSTEM (per spec image) === */
:root {
  --font-heading: "Raleway", sans-serif; /* Headings */
  --font-body: "Proxima Nova", sans-serif; /* Subheadings + Body base */
  --font-accent: "Moon Time", cursive; /* Accent script */

  /* Scales from the brief */
  --size-heading: clamp(18px, 2.2vw, 24px); /* Headings */
  --size-subheading: clamp(14px, 1.3vw, 16px); /* Subheads */
  --size-body: clamp(10px, 1.1vw, 14px); /* Body */
  --size-accent: clamp(18px, 2.2vw, 24px); /* Accent */
}

/* Body text → Proxima Nova 14–10 */
body {
  font-family: var(--font-body);
  font-size: var(--size-body);
  line-height: 1.6;
  color: #333;
  background-color: #f0ede5;
}

/* Headings → Raleway Bold 24–18 */
h1,
h2,
h3,
h4,
h5,
h6,
.section-title,
.about-title-box h1,
.kcp-title-box h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--size-heading);
}

/* Utility for subheadings → Proxima Nova Bold 16–14 */
.subheading {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--size-subheading);
}

/* Accent/script → Moon Time 24–18 */
.about-quote,
.kcp-quote,
.follow-label,
.yt-title {
  font-family: var(--font-accent);
  font-size: var(--size-accent);
}
/* Basic reset and typography */
/* === Typography system (from brand sheet) === */
:root {
  --font-heading: "Raleway", sans-serif; /* Headings */
  --font-body: "Proxima Nova", Arial, sans-serif; /* Body + subheads */
  --font-accent: "Moon Time", cursive; /* Accent */

  --size-heading: clamp(18px, 2.2vw, 24px); /* Headings: 24–18 */
  --size-subheading: clamp(14px, 1.3vw, 16px); /* Subheads: 16–14 */
  --size-body: clamp(10px, 1.1vw, 14px); /* Body: 14–10 */
  --size-accent: clamp(18px, 2.2vw, 24px); /* Accent: 24–18 */
}

/* Body → Proxima Nova 14–10 */
body {
  font-family: var(--font-body);
  font-size: var(--size-body);
}

/* All headings → Raleway Bold 24–18 */
h1,
h2,
h3,
h4,
h5,
h6,
.section-title,
.about-title-box h1,
.kcp-title-box h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--size-heading);
}

/* Subheading utility (apply via class when needed) */
.subheading {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--size-subheading);
}

/* Accent/script elements → Moon Time 24–18 */
.about-quote,
.kcp-quote,
.follow-label,
.yt-title {
  font-family: var(--font-accent);
  font-size: var(--size-accent);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: #333;
  background-color: #f0ede5;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* === Header styling with animated logo === */
.header {
  background-color: #6a7752; /* pastel green */
  padding: 1.1rem 2rem 0.5rem; /* slightly reduced top padding for SVG */
  display: flex;
  flex-direction: column;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Container for SVG logo animation */
.logo-wrap {
  width: 100%;
  max-width: 840px; /* keep it big and centered */
  margin: 0 auto 0.25rem;
}

.logo-svg {
  display: block;
  width: 100%;
  height: 102px;
}

/* Optional: background shape adjustments if paint colours need contrast */
.logo-svg rect,
.logo-svg circle {
  /* The rect/circle fills are set in the SVG –
     for colour changes, edit the SVG fill values directly */
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.nav a {
  color: #ffffff; /* pure white text */
  font-weight: 500;
  transition: color 0.2s ease;
  padding: 0.25rem 0;
  font-size: 0.95rem;
}

/* Different vibrant hover colours for each nav link */
.nav a:nth-child(1):hover {
  color: #bcb083;
} /* Bright red-pink */
.nav a:nth-child(2):hover {
  color: #bcb083;
} /* Electric cyan */
.nav a:nth-child(3):hover {
  color: #bcb083;
} /* Neon green */
.nav a:nth-child(4):hover {
  color: #bcb083;
} /* Bright yellow */
.nav a:nth-child(5):hover {
  color: #bcb083;
} /* Hot orange */
.nav a:nth-child(6):hover {
  color: #bcb083;
} /* Electric blue */
.nav a:nth-child(7):hover {
  color: #bcb083;
} /* Vibrant magenta */
.nav a:nth-child(8):hover {
  color: #bcb083;
} /* Bright purple */

/* Responsive tweaks */
@media (max-width: 600px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav {
    flex-wrap: wrap;
    margin-top: 0.5rem;
  }
}

/* Hero section */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 4rem 2rem;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 0;
}

.hero h1 {
  font-size: 3.5rem;
  z-index: 1;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}

.hero p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
  z-index: 1;
}

/* === HOME: Hello banner + TWO-ROW FLIP COLLAGE === */
.hello-banner {
  max-width: 900px;
  margin: 1.25rem auto 0.6rem;
  padding: 0 1rem;
  text-align: center;
}
.hello-banner h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 3.4vw, 3.25rem);
  line-height: 1.08;
  margin-bottom: 0.5rem;
  color: #000;
}
.hello-banner p {
  max-width: 780px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.65;
  color: #333;
}

/* Grid: exactly two rows on desktop; adjust --cell to your taste */
.hello-collage {
  --cell: 250px; /* you set 250px */
  display: grid;
  grid-auto-flow: column; /* fill across columns so rows cap at 2 */
  grid-template-rows: repeat(2, var(--cell));
  grid-auto-columns: var(--cell);
  gap: 10px;
  width: fit-content;
  margin: 0.6rem auto 0;
}

/* Flip card */
.flip-card {
  width: var(--cell);
  height: var(--cell);
  perspective: 1000px;
  border-radius: 10px;
}
.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  transform-style: preserve-3d;
  transition: transform 1.2s ease-in-out; /* ~2× slower */
}
.flip-card:hover .flip-inner {
  transform: rotateY(180deg);
}
.flip-front,
.flip-back {
  position: absolute;
  inset: 0;
  border-radius: 10px;
  backface-visibility: hidden;
  overflow: hidden;
}
.flip-front {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.flip-back {
  transform: rotateY(180deg);
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.flip-back-content {
  text-align: center;
  max-width: calc(var(--cell) - 32px);
}
.flip-back-content h4 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 700;
  color: #111;
}
.flip-back-content p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.35;
  color: #444;
}

/* Size ramps so it stays tidy as viewport narrows */
@media (max-width: 1200px) {
  .hello-collage {
    --cell: 220px;
  }
}
@media (max-width: 1020px) {
  .hello-collage {
    --cell: 200px;
  }
}

/* Mobile: simple 2-column grid; no hover flip */
@media (max-width: 700px) {
  .hello-collage {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: none;
    width: 100%;
    padding: 0 12px;
  }
  .flip-card {
    width: 100%;
    height: auto;
  }
  .flip-inner,
  .flip-front {
    height: 42vw;
  }
  .flip-card:hover .flip-inner {
    transform: none;
  }
  .flip-back {
    display: none;
  } /* hide backside on touch devices */
}

/* Extra safety: disable flip on devices that don't support hover */
@media (hover: none) {
  .flip-card:hover .flip-inner {
    transform: none;
  }
  .flip-back {
    display: none;
  }
}

/* Button styling */
.btn {
  display: inline-block;
  background-color: #c3b9d6;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  text-align: center;
  transition: background-color 0.2s ease;
  margin-top: 0.5rem;
}

.btn:hover {
  background-color: #938ba1;
}

/* ===== Footer (matches screenshot) ===== */
.footer {
  background-color: #6a7752; /* pale mint like mockup */
  padding: 0 0 2.25rem; /* NO top padding */
  margin-top: 0; /* keep it flush if previous band has margin */
}

/* 2‑column layout: left = social, right = white card */
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem; /* no top padding */
  display: grid;
  grid-template-columns: 1fr minmax(360px, 560px);
  align-items: center;
  gap: 2rem;
}

.follow-label {
  font-family: "Moon Time", cursive;
  font-size: 1.6rem; /* script heading like screenshot */
  color: #000;
  margin: 0 0 0.5rem 0;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.social-icons .icon {
  display: inline-flex;
  width: 74px;
  height: 74px;
}

.social-icons .icon svg {
  width: 100%;
  height: 100%;
}

.social-icons .icon svg circle {
  fill: #000; /* black round icon background */
}

/* White card on the right */
.newsletter-card {
  background: #fff;
  padding: 1.25rem 1.75rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  margin-top: 1rem; /* ✅ adds gap above white box */
}

.newsletter-title {
  margin: 0 0 0.75rem 0;
  font-size: 1rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 800;
  color: #000;
  text-align: left;
}

/* Form: underline input + right-aligned button */
.newsletter-form {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.9rem 1rem;
}

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

.newsletter-input {
  grid-column: 1 / -1; /* full width line (like mockup) */
  border: none;
  border-bottom: 2px solid #000;
  padding: 0.5rem 0;
  font-size: 1rem;
  outline: none;
  color: #000;
  background: transparent;
}

.newsletter-input::placeholder {
  color: #565656;
}

.newsletter-input:focus {
  border-bottom-color: #245032; /* subtle focus tint */
}

.newsletter-btn {
  justify-self: end;
  border: 1px solid #aac5ad;
  background: #dcefdc;
  padding: 0.6rem 1.1rem;
  border-radius: 6px;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #000;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
}

.newsletter-btn:hover {
  filter: brightness(0.95);
}

/* Responsive: stack like the screenshot on narrow widths */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding-top: 0;
  }
  .newsletter-card {
    margin-top: 0.5rem;
  }
}

/* === ABOUT page styles === */
.about-hero {
  max-width: 1200px;
  margin: 2rem auto 1.25rem;
  height: 420px;
  background: url("./images/about.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-title-box {
  background: #fff;
  padding: 1.1rem 4.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.about-title-box h1 {
  margin: 0;
  font-weight: 700;
  letter-spacing: 6px;
  font-size: 2.2rem;
  text-transform: uppercase;
  color: #000;
}

.about-quote {
  font-family: "Moon Time", cursive;
  font-size: 1.85rem;
  font-weight: 500;
  margin: 0.75rem 0 0.35rem;
  text-align: center;
}

.about-author {
  font-size: 0.95rem;
  color: #4b4b4b;
  margin: 0;
  text-align: center;
}

/* === ABOUT: "HELLO HAVE WE MET?" tag + people grid === */
.about-kicker {
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 0.35rem 0.6rem;
  letter-spacing: 0.18em;
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  margin: 0 0 1rem 0;
}

.about-people {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.about-people figure {
  margin: 0;
}

.about-people figcaption {
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin: 0 0 0.75rem 0;
  font-size: 1.05rem;
}

.about-people img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

/* Responsive tweaks for people grid */
@media (max-width: 900px) {
  .about-people {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-people img {
    height: 320px;
  }
}
@media (max-width: 560px) {
  .about-people {
    grid-template-columns: 1fr;
  }
  .about-people img {
    height: 280px;
  }
}

/* === ABOUT: Grey WHERE band === */
.where-band {
  background: #aaaaaa;
  margin-top: 3rem;
  margin-bottom: 3rem; /* <-- added gap below */
  padding: 2.75rem 0;
}

.where-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
  color: #000;
}

.where-inner h3 {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  color: #000;
}

.where-inner p {
  margin-bottom: 1rem;
  line-height: 1.65;
  font-size: 1rem;
}

.where-inner strong {
  font-weight: 700;
}
/* === ABOUT: Core Values band === */
.values-band {
  background: #6a7752;
  padding: 2.75rem 0;
}

.values-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center; /* center the black tag */
}

.values-tag {
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 0.35rem 0.75rem;
  letter-spacing: 0.18em;
  font-weight: 800;
  font-size: 1.05rem;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.values-grid {
  text-align: left; /* return content to left align */
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.value h4 {
  text-align: center;
  font-weight: 800;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin: 0 0 0.75rem 0;
  color: #000; /* deep green heading */
  font-size: 1.05rem;
}

.value p {
  line-height: 1.85;
  font-size: 1rem;
  color: #000;
}

/* Responsive */
@media (max-width: 1000px) {
  .values-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}
/* === ABOUT: Alexandra's Story band === */
.alex-story-band {
  background: #000;
  color: #fff;
  margin-top: 3rem; /* adds space above story instead */
}

.alex-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 50/50 split */
  max-width: 100%;
  margin: 0 auto;
  min-height: 500px; /* optional: ensures consistent height */
}

.alex-story-text {
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.alex-story-text h3 {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.alex-story-text p {
  margin-bottom: 1rem;
  line-height: 1.75;
  font-size: 1rem;
}

.alex-story-image {
  width: 100%;
  height: 100%;
}

.alex-story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* makes it fill half the band */
  display: block;
}

/* Responsive */
@media (max-width: 900px) {
  .alex-story-grid {
    grid-template-columns: 1fr;
  }
  .alex-story-image {
    order: -1;
    height: 300px;
  }
}
/* === ABOUT: Have a Question band === */
.question-band {
  background: #fff; /* white background */
  padding: 2rem 0;
}

.question-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

.question-inner h3 {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.question-inner p {
  font-size: 1rem;
  line-height: 1.6;
}

.question-inner a {
  color: #000;
  text-decoration: none;
  border-bottom: 1px solid #000;
}

.question-inner a:hover {
  color: #245032;
  border-bottom-color: #245032;
}
/* ===========================
   BLOG: shared helpers
   =========================== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section-title {
  margin: 1.6rem 0 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 1.1rem;
}

/* ===========================
   BLOG: tiles (list page)
   =========================== */
.section-title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Wrap: responsive 1–2 columns of horizontal tiles */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(680px, 1fr));
  gap: 1.5rem;
  margin: 1rem 0 2.25rem;
}

/* Horizontal tile */
.blog-tile {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 1rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.blog-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Thumbnail */
.blog-tile-thumb {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  display: block;
}

/* Right side content */
.blog-tile-body {
  padding: 14px 16px 16px;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 0.5rem;
}

/* Author row */
.blog-tile-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #444;
  font-size: 0.9rem;
}
.blog-tile-head .avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}
.blog-tile-head .dot {
  width: 3px;
  height: 3px;
  background: #aaa;
  border-radius: 50%;
  display: inline-block;
}

/* Title + excerpt */
.blog-tile-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #000;
  margin: 0.2rem 0 0.1rem;
}
.blog-tile-excerpt {
  color: #333;
  line-height: 1.55;
  font-size: 0.95rem;
}

/* Footer row */
.blog-tile-foot {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.25rem;
  font-size: 0.9rem;
  color: #666;
}
.blog-tile-foot .metric {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.blog-tile-foot .heart {
  margin-left: auto;
  cursor: pointer;
  opacity: 0.75;
  transition: transform 0.12s ease, opacity 0.12s ease;
}
.blog-tile-foot .heart:hover {
  transform: scale(1.05);
  opacity: 1;
}

/* Small screens: stack image on top */
@media (max-width: 760px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
  .blog-tile {
    grid-template-columns: 1fr;
  }
  .blog-tile-thumb {
    height: 220px;
  }
}
/* === KIDS CREATIVE PARTIES: top section === */
.kcp-hero {
  max-width: 1000px;
  margin: 2rem auto 1.25rem;
  height: 400px;
  background: url("./images/KidsCreate.avif") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kcp-title-box {
  background: #fff;
  padding: 1.1rem 4.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.kcp-title-box h1 {
  margin: 0;
  font-weight: 800;
  letter-spacing: 6px;
  font-size: 2.2rem;
  text-transform: uppercase;
  color: #000;
}

.kcp-quote {
  font-family: "Moon Time", cursive;
  font-size: 1.85rem;
  font-weight: 500;
  margin: 0.75rem 0 0.35rem;
  text-align: center;
}

.kcp-author {
  font-size: 0.95rem;
  color: #4b4b4b;
  margin: 0;
  text-align: center;
}

.kcp-tag-wrap {
  text-align: center;
  margin: 0.85rem 0 1.25rem;
}

.kcp-tag {
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 0.45rem 0.75rem;
  letter-spacing: 0.25em;
  font-weight: 800;
  font-size: 1.05rem;
  text-transform: uppercase;
  margin: 0.25rem 0;
}
/* Black strap banner under collage */
.party-strap {
  background: #000;
  padding: 16px 0 20px;
  margin: 0 auto 2rem;
}
/* Black testimonial strip */
.quote-banner {
  background: #000;
  color: #fff;
  padding: 28px 12px;
  margin: 0 auto 2rem;
}
.quote-banner p {
  max-width: 1100px; /* match main content width */
  margin: 0 auto;
  text-align: center;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.24em; /* spaced like screenshot */
  font-size: clamp(14px, 1.4vw, 18px);
}

/* Kids Creative Parties: collage under banner */
.kids-parties-graphic {
  display: block;
  width: 100%;
  max-width: 1100px; /* matches .container */
  margin: 1.25rem auto 2rem;
}
/* Centered CTA under parties text */
.center-cta {
  text-align: center;
  margin: 1rem 0 0; /* small gap above the button */
}
/* Reusable lavender button */
.btn--lavender {
  background-color: #938ba1;
  border-color: #938ba1;
  color: #fff;
}
.btn--lavender:hover,
.btn--lavender:focus {
  background-color: #c3b9d6;
  border-color: #c3b9d6;
}
.btn--lavender:active {
  background-color: #c3b9d6;
  border-color: #c3b9d6;
}

/* small gap under any CTA */
.btn--spaced {
  margin-bottom: 0.75rem;
}
/* Home: YouTube subscribe section */
.yt-subscribe {
  max-width: 1100px;
  margin: 2.5rem auto 3.5rem;
  padding: 0 1rem;
}
.yt-title {
  font-family: "Moon Time", cursive;
  font-size: clamp(2rem, 4.2vw, 3rem);
  text-align: center;
  margin-bottom: 1rem;
}
.yt-subscribe-inner {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr;
  gap: 24px;
  align-items: start;
}
.yt-copy p {
  margin: 0 0 0.6rem;
}

.yt-embed .yt-responsive {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}
.yt-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 900px) {
  .yt-subscribe-inner {
    grid-template-columns: 1fr;
  }
}
/* === AUTH + BOOKING === */
.auth-bar {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  margin: 0.5rem 0 0.25rem;
}
.auth-bar .btn-link {
  text-decoration: underline;
  background: transparent;
  color: #fff;
  border: 0;
  cursor: pointer;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: grid;
  place-items: center;
  z-index: 2000;
}
.modal {
  background: #fff;
  width: 100%;
  max-width: 420px;
  padding: 1rem 1.25rem;
  border-radius: 10px;
}
.modal h3 {
  margin-bottom: 0.75rem;
}
.modal .form-row {
  margin-bottom: 0.65rem;
  display: grid;
  gap: 0.4rem;
}
.modal input,
.modal select {
  padding: 0.55rem 0.65rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.95rem;
}
.modal .actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  margin-top: 0.6rem;
}
.modal .btn-ghost {
  background: #eee;
  color: #000;
  border: 0;
  padding: 0.5rem 0.8rem;
  border-radius: 6px;
}
.modal .btn-primary {
  background: #245032;
  color: #fff;
  border: 0;
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
}

.booking-wrap {
  max-width: 1100px;
  margin: 1rem auto 2rem;
  padding: 0 1.25rem;
}
.booking-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.25rem 0 1rem;
}
.slot-grid {
  display: grid;
  grid-template-columns: 160px repeat(3, 1fr); /* date column + 3 time columns */
  gap: 8px;
}
.slot-grid .hdr {
  font-weight: 700;
  background: #e9efe9;
  padding: 0.5rem;
  border-radius: 6px;
  text-align: center;
}
.slot-grid .date-cell {
  background: #fff;
  padding: 0.5rem;
  border-radius: 6px;
  text-align: center;
  font-weight: 600;
}
.slot {
  background: #fff;
  padding: 0.65rem;
  border-radius: 8px;
  display: grid;
  gap: 0.25rem;
  place-items: center;
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.slot .remain {
  font-size: 0.85rem;
  color: #555;
}
.slot button {
  background: transparent;
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  cursor: pointer;
}
.slot button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.my-bookings {
  margin-top: 1rem;
  margin-bottom: 2rem;
}
.my-bookings li {
  margin: 0.25rem 0;
  margin-bottom: 1rem;
}

/* === Calendar view === */
.calendar {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
}
.calendar-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}
.calendar-nav button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  color: #6a7752;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.calendar-grid .weekday {
  font-weight: 600;
  text-align: center;
  padding: 0.25rem;
}
.calendar-cell {
  background: #f5f3eb;
  border: 1px solid #e0ded0;
  min-height: 80px;
  padding: 0.25rem;
  position: relative;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.calendar-cell.unavailable {
  background: #f5f3eb;
  cursor: default;
  color: #aaa;
}
.calendar-cell.available {
  background: #c3b9d6;
  color: white;
}
.calendar-cell.booked {
  background: #bcb083;
  color: #fff;
}
.calendar-cell span.date {
  position: absolute;
  top: 4px;
  right: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}
.calendar-cell .classes-list {
  margin-top: 1.4rem;
  font-size: 0.65rem;
  line-height: 1.25;
}

/* === Modal / popup styles === */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}
.modal {
  background: #fff;
  padding: 1rem;
  border-radius: 8px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.modal h3 {
  margin-bottom: 0.5rem;
}
.modal .actions {
  margin-top: 1rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}
.modal button {
  background: transparent;
  color: black;
  border: 0;
  border-radius: 4px;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.modal button:hover {
  opacity: 0.85;
}
.modal button.secondary {
  background: #e0ded0;
  color: #333;
}

/* === Overrides to align components with the new typography system === */
.hero h1,
.hello-banner h1 {
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: clamp(30px, 4.2vw, 56px);
}
/* === ACCOUNT: modern card & bookings === */
.account-wrap {
  max-width: 1100px;
  margin: 1.5rem auto 3rem;
  padding: 0 1.25rem;
}

.account-card,
.bookings-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  padding: 1.25rem 1.25rem 1rem;
  margin-top: 1rem;
}

.account-heading {
  margin: 0 0 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 1rem;
  color: #000;
}

.account-form .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1rem;
}
@media (max-width: 700px) {
  .account-form .form-grid {
    grid-template-columns: 1fr;
  }
}

.account-form .form-row {
  display: grid;
  gap: 0.35rem;
}
.account-form label {
  font-weight: 600;
  font-size: 0.9rem;
  color: #111;
}
.account-form input {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  background: #fbfbfb;
}
.account-form input:focus {
  outline: none;
  border-color: #938ba1;
  box-shadow: 0 0 0 3px rgba(147, 139, 161, 0.15);
  background: #fff;
}
.account-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.btn-primary {
  /* make btn-primary work outside modals */
  background: #c3b9d6;
  color: #fff;
  border: 0;
  padding: 0.55rem 0.9rem;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
}
.btn-primary:hover {
  filter: brightness(0.95);
}
.btn-ghost {
  background: #eee;
  color: #000;
  border: 0;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
}

.my-bookings {
  /* ensures bottom spacing */
  margin-top: 1.25rem;
  margin-bottom: 3rem; /* <— requested margin */
}

.booking-group {
  margin-bottom: 1rem;
}
.booking-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}
.date-chip {
  background: #f3f1e7;
  color: #000;
  font-weight: 700;
  min-width: 140px;
  text-align: center;
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
  display: inline-block;
}
.day-pill {
  background: #bcb083;
  color: #fff;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  text-transform: lowercase;
}
.booking-list {
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0;
}
.booking-item {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  padding: 0.6rem 0.7rem;
  margin-bottom: 0.4rem;
}
/* Modal card polish */
.modal {
  max-width: 720px;
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  padding: 1.25rem 1.25rem 1rem;
  background: #fff;
}

/* Reuse account-form look for auth forms */
.auth-form .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1rem;
}
@media (max-width: 700px) {
  .auth-form .form-grid {
    grid-template-columns: 1fr;
  }
}
.auth-form .form-row {
  display: grid;
  gap: 0.35rem;
}
.auth-form label {
  font-weight: 600;
  font-size: 0.9rem;
  color: #111;
}
.auth-form input {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  background: #fbfbfb;
}
.auth-form input:focus {
  outline: none;
  border-color: #938ba1;
  box-shadow: 0 0 0 3px rgba(147, 139, 161, 0.15);
  background: #fff;
}
.auth-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

/* Ensure bookings area has breathing room at page bottom */
.my-bookings {
  margin-bottom: 3rem;
}
/* === CONTACT page uses the same card/grid as account === */
.contact-info {
  margin: 0.25rem 0 1rem;
  line-height: 1.5;
}

/* Make textarea look like inputs */
.account-form input,
.account-form textarea {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  background: #fbfbfb;
}
.account-form textarea {
  resize: vertical;
  min-height: 140px;
}
.account-form input:focus,
.account-form textarea:focus {
  outline: none;
  border-color: #938ba1;
  box-shadow: 0 0 0 3px rgba(147, 139, 161, 0.15);
  background: #fff;
}

/* Terms page */
.terms-content {
  white-space: normal;
}
.container.narrow {
  max-width: 900px;
  margin: 0 auto;
}
.terms-section p {
  margin: 0.5rem 0;
}

/* keep auth modals at a sensible width */
.auth-modal {
  max-width: 420px !important;
}

/* --- Sticky header + hide logo on scroll --- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header.scrolled .logo-container {
  display: none;
}

/* Desktop nav layout */
@media (min-width: 900px) {
  .burger {
    display: none;
  }
  .nav {
    display: flex !important;
    position: static;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    background: transparent;
    padding: 0;
  }
}

/* Mobile nav layout */
@media (max-width: 899px) {
  .nav {
    display: none;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    background-color: #6a7752;
    padding: 1rem 1.25rem 1.5rem;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 999;
  }
  .nav.open {
    display: flex;
  }
}
.section-terms {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  text-align: left;
}
