/* =========================================================
   Kaleidoscope Childcare Center — Redesign Mockup
   Palette: warm & welcoming (terracotta / sage / cream / butter)
   ========================================================= */

:root {
  /* Core palette — bright & playful */
  --cream: #FFFAF0;
  --cream-2: #FFF0E5;
  --white: #FFFFFF;
  --ink: #1F1744;
  --ink-2: #3D2F66;
  --muted: #7A6F8E;
  --line: #F1E4EE;

  /* Brand — vibrant kaleidoscope */
  --terracotta: #FF5E62;          /* coral red (primary CTA) */
  --terracotta-dark: #E63946;     /* deep coral */
  --sage: #2EC4B6;                /* vibrant teal */
  --sage-soft: #A7EBE2;
  --butter: #FFD93D;              /* sunshine yellow */
  --rose: #FF77A9;                /* hot pink */
  --sky: #5EC5FC;                 /* electric sky */
  --grape: #A06CD5;               /* playful purple */
  --lime: #B5E48C;                /* fresh green */

  /* System */
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --shadow-sm: 0 2px 10px rgba(31, 23, 68, 0.06);
  --shadow: 0 14px 36px rgba(31, 23, 68, 0.10);
  --shadow-lg: 0 28px 70px rgba(31, 23, 68, 0.18);

  --container: 1200px;
  --font-display: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ---------- Reset & base ---------- */
*, *::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;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: var(--terracotta-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.022em;
  line-height: 1.1;
  margin: 0 0 0.5em;
}
h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  letter-spacing: -0.028em;
  line-height: 1.08;
}
h3 {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}
h4 {
  font-weight: 600;
  letter-spacing: -0.012em;
}
p { margin: 0 0 1em; color: var(--ink-2); }
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 1rem;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
/* Slightly more horizontal breathing room on tablet/phone so right-aligned
   buttons (e.g. the header CTA) don't butt up against the viewport edge */
@media (max-width: 900px) {
  .container { padding: 0 28px; }
}
@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .container.nav { padding-right: 24px; }
}

section { padding: 96px 0; }
@media (max-width: 720px) { section { padding: 64px 0; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--terracotta); color: var(--white); }
.btn-primary:hover { background: var(--terracotta-dark); box-shadow: var(--shadow); }
.btn-secondary { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: rgba(43,37,32,0.06); }

/* ---------- Announcement Banner ---------- */
.announce {
  background: linear-gradient(90deg, var(--terracotta) 0%, var(--rose) 35%, var(--grape) 70%, var(--sky) 100%);
  color: #FFFFFF;
  font-size: 0.92rem;
  padding: 10px 0;
}
.announce-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  text-align: center;
  flex-wrap: wrap;
}
.announce .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--butter);
  box-shadow: 0 0 0 0 rgba(255,217,61,0.8);
  animation: pulse 2s infinite;
}
.announce a { color: var(--butter); text-decoration: underline; text-underline-offset: 2px; }
.announce strong { color: var(--butter); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,217,61,0.8); }
  70% { box-shadow: 0 0 0 10px rgba(255,217,61,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,217,61,0); }
}

/* ---------- Header & Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 245, 237, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 12px;
  background: conic-gradient(from 30deg,
    var(--terracotta) 0deg 60deg,
    var(--butter) 60deg 120deg,
    var(--sage) 120deg 180deg,
    var(--sky) 180deg 240deg,
    var(--rose) 240deg 300deg,
    var(--terracotta) 300deg 360deg);
  position: relative;
  flex: 0 0 auto;
  box-shadow: inset 0 0 0 3px var(--cream);
}
.brand-mark::after {
  content: '';
  position: absolute;
  inset: 13px;
  background: var(--cream);
  border-radius: 50%;
}
.brand small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}
.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  padding: 10px 14px;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 8px;
  white-space: nowrap;
}
.nav-links a:hover { background: var(--cream-2); text-decoration: none; }
.nav-links a.active { color: var(--terracotta-dark); }
.nav-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  width: 44px; height: 44px;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 4px;
}
.nav-toggle span {
  width: 18px; height: 2px; background: var(--ink);
  position: relative;
  transition: background 0.15s ease;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: ''; position: absolute; left: 0;
  width: 18px; height: 2px; background: var(--ink);
  transition: transform 0.2s ease, top 0.2s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
/* Animate hamburger → X when open */
.site-header.open .nav-toggle span { background: transparent; }
.site-header.open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.site-header.open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  /* Below this breakpoint nav items would crowd, so collapse into hamburger */
  .nav-links, .nav-cta .btn-secondary { display: none; }
  .nav-toggle { display: inline-flex; }
  /* Push brand left next to the hamburger; primary CTA stays on the right */
  .brand { margin-right: auto; }
  .site-header.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 16px 24px 24px;
    gap: 4px;
    z-index: 50;
  }
  .site-header.open .nav-links a { padding: 12px 16px; font-size: 1rem; }
}

/* Phones — shrink the primary CTA so it fits beside the brand */
@media (max-width: 560px) {
  .nav-cta .btn-primary { padding: 10px 16px; font-size: 0.88rem; }
}

/* Very narrow phones — hide the small "Childcare Center" subline and the
   primary CTA (still reachable via the hamburger menu) so the brand stays
   alongside the hamburger without horizontal overflow */
@media (max-width: 460px) {
  .brand small { display: none; }
  .nav-cta { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 80px 0 60px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }
.hero h1 .accent { color: var(--terracotta); font-style: italic; }
.hero-lede { font-size: 1.15rem; color: var(--ink-2); max-width: 56ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-facts {
  display: flex;
  gap: 24px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.hero-facts div { min-width: 120px; }
.hero-facts strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--terracotta);
  font-weight: 800;
  letter-spacing: -0.025em;
}
.hero-facts span { font-size: 0.85rem; color: var(--muted); }
.hero-art {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; }
.hero-art::before {
  content: '';
  position: absolute;
  inset: -40px;
  background:
    radial-gradient(circle at 10% 20%, var(--butter) 0, transparent 22%),
    radial-gradient(circle at 90% 80%, var(--rose) 0, transparent 25%);
  z-index: -1;
  filter: blur(30px);
}
.hero-badge {
  position: absolute;
  bottom: -18px; left: -18px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
}
.hero-badge .emoji { font-size: 1.4rem; }
.hero-badge b { display: block; font-weight: 600; color: var(--ink); }
.hero-badge span { color: var(--muted); font-size: 0.82rem; }

/* ---------- Section Kit ---------- */
.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.08rem; color: var(--ink-2); }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
}

/* ---------- Program/Age cards ---------- */
.program-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.program-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.program-card .image {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--cream-2);
}
.program-card .image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.program-card:hover .image img { transform: scale(1.04); }
.program-card .body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.program-card .tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
  width: fit-content;
}
.tag-terracotta { background: rgba(255, 94, 98, 0.14); color: var(--terracotta-dark); }
.tag-sage { background: rgba(46, 196, 182, 0.18); color: #1a8c82; }
.tag-butter { background: rgba(255, 217, 61, 0.28); color: #8A6A00; }
.tag-sky { background: rgba(94, 197, 252, 0.22); color: #1F7BB8; }
.tag-rose { background: rgba(255, 119, 169, 0.20); color: #C93D7D; }
.tag-grape { background: rgba(160, 108, 213, 0.20); color: #6F3FA8; }

.program-card .body h3 { font-size: 1.4rem; margin-bottom: 8px; }
.program-card .body p { font-size: 0.95rem; color: var(--muted); flex: 1; }
.program-card .meta {
  display: flex;
  justify-content: space-between;
  padding-top: 16px;
  margin-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 0.85rem;
  color: var(--ink);
}
.program-card .meta b { color: var(--terracotta-dark); }

/* ---------- Feature bullets ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .features { grid-template-columns: 1fr; } }
.feature {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--line);
}
.feature .icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--cream-2);
  margin-bottom: 18px;
  font-size: 1.5rem;
}
.feature h3 { font-size: 1.15rem; }
.feature p { font-size: 0.95rem; color: var(--muted); margin: 0; }

/* ---------- Split sections ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.split .media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 5/4;
  background: var(--cream-2);
  box-shadow: var(--shadow);
}
.split .media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Panels (soft colored panels) ---------- */
.panel {
  border-radius: var(--radius-lg);
  padding: 48px;
}
@media (max-width: 640px) { .panel { padding: 32px 24px; } }
.panel-cream { background: var(--cream-2); }
.panel-sage { background: #D4F5F0; }
.panel-butter { background: #FFF4C2; }
.panel-rose { background: #FFDCEB; }
.panel-sky { background: #D6F0FF; }
.panel-grape { background: #ECDDF7; }
.panel-ink { background: var(--ink); color: var(--cream); }
.panel-ink h2 { color: var(--cream); }
.panel-ink p { color: rgba(250,245,237,0.8); }

/* ---------- Stats row ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
@media (max-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stats .stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--terracotta);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1;
}
.stats .stat span { font-size: 0.9rem; color: var(--muted); }

/* ---------- Forms ---------- */
.form {
  display: grid;
  gap: 16px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.form label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  display: block;
}
.form input, .form select, .form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(217, 96, 59, 0.15);
}
.form textarea { resize: vertical; min-height: 120px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 72px 0 32px;
  margin-top: 40px;
}
.site-footer h4 {
  color: var(--cream);
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer p, .site-footer a { color: rgba(250,245,237,0.75); font-size: 0.92rem; }
.site-footer a:hover { color: var(--butter); text-decoration: none; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-brand .brand { color: var(--cream); margin-bottom: 14px; }
.footer-brand .brand small { color: rgba(250,245,237,0.6); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  margin-top: 40px;
  border-top: 1px solid rgba(250,245,237,0.12);
  font-size: 0.85rem;
  color: rgba(250,245,237,0.6);
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Page headers (interior pages) ---------- */
.page-head {
  padding: 72px 0 56px;
  background: linear-gradient(180deg, var(--cream-2) 0%, var(--cream) 100%);
  border-bottom: 1px solid var(--line);
}
.page-head .eyebrow { color: var(--sage); }
.page-head h1 { margin-bottom: 12px; }
.page-head p { max-width: 60ch; font-size: 1.1rem; }
.breadcrumbs { font-size: 0.85rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumbs a { color: var(--muted); }

/* ---------- Age-group detail blocks ---------- */
.age-block {
  padding: 80px 0;
  border-top: 1px solid var(--line);
}
.age-block:first-child { border-top: none; }
.age-block .split { align-items: start; }
.age-block ul { padding-left: 20px; color: var(--ink-2); }
.age-block ul li { margin-bottom: 6px; }
.age-block .schedule {
  background: var(--cream-2);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 16px;
}
.age-block .schedule h4 { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.1em; font-family: var(--font-body); margin-bottom: 12px; color: var(--sage); }
.age-block .schedule table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.age-block .schedule td { padding: 8px 0; border-bottom: 1px dashed var(--line); color: var(--ink-2); }
.age-block .schedule tr:last-child td { border-bottom: none; }
.age-block .schedule td:first-child { color: var(--terracotta-dark); font-weight: 600; width: 120px; }

/* ---------- Staff grid ---------- */
.staff-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  text-align: left;
}
.staff-card .photo {
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--cream-2);
}
.staff-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.staff-card .info { padding: 20px; }
.staff-card .info h3 { font-size: 1.1rem; margin-bottom: 4px; }
.staff-card .info .title { font-size: 0.82rem; color: var(--terracotta); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; margin-bottom: 10px; }
.staff-card .info p { font-size: 0.88rem; color: var(--muted); margin: 0; }

/* ---------- Enrollment steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--line);
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--terracotta);
  opacity: 0.22;
  position: absolute;
  top: 16px; right: 24px;
  line-height: 1;
}
.step h3 { font-size: 1.2rem; margin-bottom: 6px; }
.step p { font-size: 0.95rem; color: var(--muted); margin: 0; }

/* ---------- Calendar ---------- */
.calendar-wrap {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
}
.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--cream-2);
}
.cal-header h3 { margin: 0; font-size: 1.2rem; }
.cal-nav { display: flex; gap: 6px; }
.cal-nav button {
  background: var(--white);
  border: 1px solid var(--line);
  width: 36px; height: 36px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1rem;
  color: var(--ink);
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: var(--line);
}
.cal-grid .weekday {
  background: var(--cream);
  padding: 10px;
  text-align: center;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.cal-grid .day {
  background: var(--white);
  padding: 10px 12px;
  min-height: 92px;
  font-size: 0.88rem;
  position: relative;
}
.cal-grid .day.off { background: var(--cream); color: var(--muted); }
.cal-grid .day .date { font-weight: 600; color: var(--ink); }
.cal-grid .day .pill {
  display: block;
  margin-top: 6px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
}
.pill-closed { background: rgba(255, 94, 98, 0.16); color: var(--terracotta-dark); }
.pill-event { background: rgba(46, 196, 182, 0.18); color: #1a8c82; }
.pill-inservice { background: rgba(255, 217, 61, 0.32); color: #8A6A00; }

/* Generic pill (used outside calendar grid) */
.pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.events-list { display: grid; gap: 12px; }
.event {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.event .date-box {
  text-align: center;
  padding: 8px;
  background: var(--cream-2);
  border-radius: 10px;
}
.event .date-box .month {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 700;
}
.event .date-box .day {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
  margin-top: 2px;
}
.event h4 { margin: 0 0 4px; font-size: 1rem; font-family: var(--font-body); font-weight: 600; }
.event p { margin: 0; font-size: 0.88rem; color: var(--muted); }

/* ---------- Menu ---------- */
.menu-week {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .menu-week { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .menu-week { grid-template-columns: 1fr; } }
.menu-day {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.menu-day h3 {
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sage);
  margin-bottom: 6px;
}
.menu-day .date-sub { font-size: 0.82rem; color: var(--muted); margin-bottom: 16px; display: block; }
.menu-day .meal {
  padding: 12px 0;
  border-top: 1px dashed var(--line);
}
.menu-day .meal:first-of-type { border-top: none; padding-top: 0; }
.menu-day .meal b {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 4px;
}
.menu-day .meal p { margin: 0; font-size: 0.9rem; color: var(--ink-2); }

/* ---------- Portal ---------- */
.portal-shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) { .portal-shell { grid-template-columns: 1fr; } }
.portal-login {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.portal-login .lock {
  display: inline-flex;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--cream-2);
  align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.portal-preview {
  display: grid;
  gap: 12px;
}
.portal-preview .tile {
  background: var(--white);
  border-radius: 14px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 14px;
}
.portal-preview .tile .emoji {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--cream-2);
  display: grid; place-items: center;
  font-size: 1.15rem;
  flex: 0 0 auto;
}
.portal-preview .tile h4 { margin: 0 0 2px; font-size: 0.98rem; font-family: var(--font-body); font-weight: 600; }
.portal-preview .tile p { margin: 0; font-size: 0.85rem; color: var(--muted); }

/* ---------- Blog / News grid ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .news-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .news-grid { grid-template-columns: 1fr; } }
.news-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.news-card .cover { aspect-ratio: 16/10; overflow: hidden; background: var(--cream-2); }
.news-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.news-card .body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.news-card .date { font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.news-card h3 { margin-top: 6px; font-size: 1.15rem; }
.news-card p { flex: 1; font-size: 0.92rem; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--line);
}
.contact-info-card + .contact-info-card { margin-top: 16px; }
.contact-info-card h3 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 600; margin-bottom: 6px; }
.contact-info-card p { margin: 0; color: var(--ink-2); }
.contact-info-card a { color: var(--terracotta-dark); }
.map-stub {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #D4F5F0, #FFF4C2 45%, #FFDCEB);
  position: relative;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 24px;
}
.map-stub::before {
  content: '📍';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -120%);
  font-size: 2rem;
}

/* ---------- Testimonials ---------- */
.quote {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--line);
}
.quote p {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin-bottom: 20px;
  line-height: 1.55;
}
.quote .who { display: flex; align-items: center; gap: 12px; }
.quote .who img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.quote .who b { display: block; font-size: 0.95rem; }
.quote .who span { font-size: 0.82rem; color: var(--muted); }

/* ---------- Misc ---------- */
.divider { height: 1px; background: var(--line); margin: 48px 0; border: none; }
.text-center { text-align: center; }
.mt-sm { margin-top: 16px; }
.mt-md { margin-top: 32px; }
.mt-lg { margin-top: 56px; }

/* =========================================================
   Month-grid Menu (menu.html — May calendar style)
   ========================================================= */
.kmenu-legend {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.kmenu-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.kmenu-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.kmenu-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
  box-shadow: var(--shadow);
}
.kmenu-dow {
  background: var(--ink);
  color: var(--cream);
  text-align: center;
  padding: 14px 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.kmenu-day {
  background: var(--white);
  padding: 10px;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  transition: background 0.15s ease;
}
.kmenu-day:hover { background: #FFFDF8; z-index: 2; }
.kmenu-day.empty { background: var(--cream-2); }
.kmenu-day.closed {
  background: #F5F0E8;
  align-items: center;
  justify-content: center;
}
.kmenu-closed-badge {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--muted);
  text-align: center;
}
.kmenu-day-num {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 2px;
}
.kmenu-day.friday .kmenu-day-num { color: var(--terracotta); }
.kmenu-week-label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  color: rgba(122,111,142,0.65);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 8px;
  line-height: 1.25;
}
.kmenu-meal {
  border-radius: 8px;
  padding: 6px 8px;
  font-size: 0.7rem;
  line-height: 1.45;
}
.kmenu-meal-label {
  font-weight: 700;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 2px;
  display: block;
}
.kmenu-meal-content {
  font-weight: 400;
  color: inherit;
  opacity: 0.92;
}
.kmenu-meal.breakfast {
  background: rgba(255, 217, 61, 0.22);
  color: #6B4E00;
  border-left: 3px solid var(--butter);
}
.kmenu-meal.breakfast .kmenu-meal-label { color: #A57A00; }
.kmenu-meal.lunch {
  background: rgba(46, 196, 182, 0.14);
  color: #0E5E55;
  border-left: 3px solid var(--sage);
}
.kmenu-meal.lunch .kmenu-meal-label { color: var(--sage); }

@media (max-width: 960px) {
  .kmenu-day { min-height: 130px; padding: 7px; gap: 4px; }
  .kmenu-day-num { font-size: 1.05rem; }
  .kmenu-meal { padding: 5px 6px; font-size: 0.64rem; }
  .kmenu-meal-label { font-size: 0.55rem; }
  .kmenu-dow { font-size: 0.62rem; padding: 10px 2px; letter-spacing: 0.12em; }
  .kmenu-week-label { font-size: 0.58rem; }
}

/* Phones: switch from 7-column grid to a vertical, day-by-day list */
@media (max-width: 640px) {
  .kmenu-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
  }
  .kmenu-dow { display: none; }
  /* Hide empty cells that don't carry a week label */
  .kmenu-day.empty:not(:has(.kmenu-week-label)) { display: none; }
  .kmenu-day {
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--white);
    min-height: 0;
    padding: 14px 16px;
    gap: 10px;
  }
  /* Day cell with content: number on top, meals stacked below */
  .kmenu-day-num { font-size: 1.5rem; }
  .kmenu-meal { padding: 10px 12px; font-size: 0.85rem; line-height: 1.45; }
  .kmenu-meal-label { display: block; font-size: 0.62rem; }

  /* Week-marker rows become a slim banner */
  .kmenu-day.empty:has(.kmenu-week-label) {
    background: var(--ink);
    border: none;
    padding: 10px 14px;
    align-items: center;
    justify-content: center;
    margin-top: 6px;
  }
  .kmenu-day.empty:has(.kmenu-week-label) .kmenu-day-num { display: none; }
  .kmenu-day.empty:has(.kmenu-week-label) .kmenu-week-label {
    color: rgba(255, 250, 240, 0.92);
    margin: 0;
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-align: center;
    width: 100%;
  }
  .kmenu-day.empty:has(.kmenu-week-label) .kmenu-week-label br { display: none; }
  .kmenu-day.empty:has(.kmenu-week-label) .kmenu-week-label::after {
    content: '';
  }

  .kmenu-day.closed {
    flex-direction: row;
    gap: 14px;
    align-items: center;
    justify-content: flex-start;
  }
  .kmenu-day.closed .kmenu-day-num { color: var(--muted); }
}

/* =========================================================
   Year-Long Calendar (calendar.html — 12 month grid)
   ========================================================= */
.kcal-legend {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  align-items: center;
}
.kcal-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.kcal-legend-swatch {
  width: 22px;
  height: 18px;
  border-radius: 5px;
}
.kcal-months-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.kcal-month-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--line);
}
.kcal-month-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--line);
}
.kcal-month-card:nth-child(1) .kcal-month-title  { color: var(--terracotta); }
.kcal-month-card:nth-child(2) .kcal-month-title  { color: var(--sage); }
.kcal-month-card:nth-child(3) .kcal-month-title  { color: var(--rose); }
.kcal-month-card:nth-child(4) .kcal-month-title  { color: var(--grape); }
.kcal-month-card:nth-child(5) .kcal-month-title  { color: var(--sky); }
.kcal-month-card:nth-child(6) .kcal-month-title  { color: var(--terracotta-dark); }
.kcal-month-card:nth-child(7) .kcal-month-title  { color: var(--butter); }
.kcal-month-card:nth-child(8) .kcal-month-title  { color: var(--sage); }
.kcal-month-card:nth-child(9) .kcal-month-title  { color: var(--rose); }
.kcal-month-card:nth-child(10) .kcal-month-title { color: var(--sky); }
.kcal-month-card:nth-child(11) .kcal-month-title { color: var(--grape); }
.kcal-month-card:nth-child(12) .kcal-month-title { color: var(--terracotta); }
.kcal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  text-align: center;
}
.kcal-dow {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--muted);
  padding: 3px 0 6px;
  text-transform: uppercase;
}
.kcal-cell {
  font-size: 0.82rem;
  font-weight: 700;
  padding: 5px 2px;
  border-radius: 8px;
  line-height: 1.3;
  color: var(--ink);
  transition: background 0.1s ease;
}
.kcal-cell.empty { visibility: hidden; }
.kcal-cell.closed {
  background: rgba(255, 217, 61, 0.28);
  color: #7A5500;
  border: 1.5px solid var(--butter);
  font-size: 0.72rem;
}
.kcal-cell.half-day {
  background: rgba(255, 217, 61, 0.12);
  color: #7A5500;
  border: 1.5px dashed var(--butter);
  font-size: 0.72rem;
}
.kcal-cell:not(.empty):not(.closed):not(.half-day):hover {
  background: var(--cream-2);
}
@media (max-width: 880px) {
  .kcal-months-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .kcal-months-grid { grid-template-columns: 1fr; }
}

/* Scheduled closings list */
.kcal-closings {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.kcal-closings-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 4px;
}
.kcal-closings-subtitle {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.kcal-closings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
}
.kcal-closing-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255, 217, 61, 0.18);
  border-left: 4px solid var(--butter);
  border-radius: 10px;
  padding: 12px 14px;
}
.kcal-closing-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--butter);
  flex-shrink: 0;
  margin-top: 7px;
}
.kcal-closing-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
  line-height: 1.3;
}
.kcal-closing-date {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  margin-top: 2px;
}
