/* kitchen.css — shared by the Menu & Meals page (kitchen.html) and the
   archived menu pages (menu.html). Same tokens, header and footer as
   index.html, so the new pages read as part of the same site. */

:root {
  --mk-base:       #6b8e6a;   /* sage green — overridden from /api/styles */
  --mk-comp:       #a8d5a8;
  --mk-black:      #0e0e0e;
  --mk-white:      #ffffff;
  --mk-rule:       rgba(0,0,0,0.09);
  --mk-muted:      rgba(14,14,14,0.68);
  --mk-soft:       rgba(14,14,14,0.46);
  --mk-tint:       color-mix(in srgb, var(--mk-base) 9%, white);
  --font-body:     'Google Sans Flex', -apple-system, system-ui, sans-serif;
  --header-h:      68px;
  --content-pad:   clamp(1.5rem, 5vw, 4.5rem);
  --max-w:         1160px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--mk-white);
  color: var(--mk-black);
  font-family: var(--font-body);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

/* ─── header (as index.html) ─────────────────────────────────── */
header {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0 var(--content-pad);
  border-bottom: 1px solid var(--mk-rule);
  position: relative;
  z-index: 100;
}
.mk-logo {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 1000;
  color: var(--mk-base);
  text-decoration: none;
  letter-spacing: -0.045em;
  line-height: 1;
}
nav { display: flex; align-items: center; gap: 1.8rem; }
nav a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mk-black);
  text-decoration: none;
  opacity: 0.70;
}
nav a:hover, nav a[aria-current="page"] { opacity: 1; }
nav a[aria-current="page"] { box-shadow: 0 2px 0 var(--mk-base); }
nav a.nav-contact {
  opacity: 1;
  border: 1.5px solid var(--mk-black);
  padding: 9px 20px;
  border-radius: 2px;
}
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--mk-black); }
@media (max-width: 760px) {
  nav { display: none; }
  nav.open {
    display: flex; flex-direction: column; align-items: flex-start;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--mk-white); border-bottom: 1px solid var(--mk-rule);
    padding: 1.4rem var(--content-pad); gap: 1.1rem;
  }
  .nav-toggle { display: flex; }
}

/* ─── page frame ─────────────────────────────────────────────── */
.page { max-width: var(--max-w); margin: 0 auto; padding: clamp(2rem, 5vw, 4rem) var(--content-pad) 0; }
.eyebrow {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--mk-base);
}
h1 { font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; margin: 0.5rem 0 1rem; }
h2 {
  font-size: clamp(1.45rem, 2.6vw, 1.95rem); font-weight: 700; letter-spacing: -0.025em;
  line-height: 1.05; padding-top: 1.6rem; position: relative; margin: clamp(3rem, 6vw, 4.5rem) 0 1.2rem;
}
h2::before { content: ''; position: absolute; top: 0; left: 0; width: 56px; height: 3px; background: var(--mk-base); }
.lede { font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--mk-muted); max-width: 62ch; }
.jump { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.6rem; }
.btn {
  display: inline-block; font: inherit; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; text-decoration: none; cursor: pointer;
  padding: 0.85rem 1.4rem; border-radius: 2px; border: 1.5px solid var(--mk-black);
  background: var(--mk-black); color: var(--mk-white);
}
.btn-outline { background: transparent; color: var(--mk-black); }
.btn-accent { background: var(--mk-base); border-color: var(--mk-base); }
.btn:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--mk-base); outline-offset: 2px;
}

/* ─── menu card ──────────────────────────────────────────────── */
.menu-card { border: 1px solid var(--mk-rule); border-top: 4px solid var(--mk-base); border-radius: 4px; padding: clamp(1.4rem, 3vw, 2.4rem); background: var(--mk-white); }
.menu-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem 1.5rem; align-items: baseline; }
.menu-title { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; letter-spacing: -0.02em; }
.menu-dates { color: var(--mk-soft); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }
.menu-notes { color: var(--mk-muted); margin-top: 0.8rem; max-width: 70ch; white-space: pre-line; }
.course { margin-top: 1.8rem; }
.course-name { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--mk-base); padding-bottom: 0.5rem; border-bottom: 1px solid var(--mk-rule); }
.dish { display: grid; grid-template-columns: 1fr auto; gap: 0.2rem 1rem; padding: 0.9rem 0; border-bottom: 1px dashed var(--mk-rule); }
.dish:last-child { border-bottom: 0; }
.dish-name { font-weight: 600; }
.dish-price { font-weight: 600; white-space: nowrap; }
.dish-desc { grid-column: 1 / -1; color: var(--mk-muted); font-size: 0.95rem; }
.tags { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.tag { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; padding: 0.15rem 0.5rem; border-radius: 999px; background: var(--mk-tint); color: var(--mk-black); border: 1px solid color-mix(in srgb, var(--mk-base) 35%, white); }
.tag-key { margin-top: 1.4rem; font-size: 0.8rem; color: var(--mk-soft); }
.archive { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem; margin-top: 1.2rem; }
.archive label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mk-muted); }
select, input, textarea {
  font: inherit; font-size: 1rem; color: var(--mk-black); background: var(--mk-white);
  border: 1px solid rgba(0,0,0,0.22); border-radius: 3px; padding: 0.7rem 0.8rem; width: 100%;
}
.archive select { width: auto; min-width: 14rem; max-width: 100%; }
.empty { color: var(--mk-soft); font-style: italic; }

/* ─── calendar ───────────────────────────────────────────────── */
.cal { border: 1px solid var(--mk-rule); border-radius: 4px; overflow: hidden; }
.cal-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.9rem 1rem; background: var(--mk-tint); }
.cal-month { font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; }
.cal-nav { display: flex; gap: 0.4rem; }
.cal-nav button { font: inherit; font-size: 1.1rem; width: 44px; height: 44px; border-radius: 3px; border: 1px solid var(--mk-rule); background: var(--mk-white); cursor: pointer; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal-dow { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mk-soft); text-align: center; padding: 0.5rem 0; border-bottom: 1px solid var(--mk-rule); }
.cal-day {
  min-height: 92px; padding: 0.4rem; border-right: 1px solid var(--mk-rule); border-bottom: 1px solid var(--mk-rule);
  font: inherit; text-align: left; background: var(--mk-white); cursor: pointer; display: flex; flex-direction: column; gap: 0.25rem; min-width: 0;
}
.cal-day:nth-child(7n) { border-right: 0; }
.cal-day.out { background: #fafafa; color: var(--mk-soft); }
.cal-day.today .cal-num { background: var(--mk-base); color: var(--mk-white); }
.cal-day.selected { box-shadow: inset 0 0 0 2px var(--mk-base); }
.cal-num { font-size: 0.8rem; font-weight: 700; width: 1.7rem; height: 1.7rem; border-radius: 50%; display: grid; place-items: center; }
.cal-chip { display: block; font-size: 0.68rem; font-weight: 600; line-height: 1.25; padding: 0.15rem 0.35rem; border-radius: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; background: var(--chip, var(--mk-tint)); }
.k-popup    { --chip: #fde8c8; }
.k-catering { --chip: #e3dcf5; }
.k-meals    { --chip: color-mix(in srgb, var(--mk-base) 22%, white); }
.k-menu     { --chip: #dcecf7; }
.k-event    { --chip: #f1f1f1; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 0.8rem 1.2rem; padding: 0.8rem 1rem; font-size: 0.78rem; color: var(--mk-muted); border-top: 1px solid var(--mk-rule); }
.cal-legend span::before { content: ''; display: inline-block; width: 0.8rem; height: 0.8rem; border-radius: 3px; background: var(--chip); margin-right: 0.4rem; vertical-align: -0.1rem; border: 1px solid var(--mk-rule); }
.day-detail { margin-top: 1.2rem; }
.ev { border-left: 4px solid var(--mk-base); background: var(--mk-tint); border-radius: 0 4px 4px 0; padding: 0.9rem 1.1rem; margin-bottom: 0.8rem; }
.ev-when { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mk-muted); }
.ev-title { font-weight: 700; font-size: 1.05rem; margin: 0.15rem 0; }
.ev-desc { color: var(--mk-muted); white-space: pre-line; }
.ev a { color: var(--mk-black); font-weight: 600; }
@media (max-width: 640px) {
  .cal-day { min-height: 54px; padding: 0.25rem; }
  .cal-chip { font-size: 0; width: 0.55rem; height: 0.55rem; padding: 0; border-radius: 50%; display: inline-block; background: color-mix(in srgb, var(--chip) 100%, black 18%); }
}

/* ─── Meals To Go ────────────────────────────────────────────── */
.meals { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 860px) { .meals { grid-template-columns: 1fr; } }
.points { list-style: none; display: grid; gap: 0.9rem; margin-top: 1.2rem; }
.points li { padding-left: 2rem; position: relative; color: var(--mk-muted); }
.points li::before { content: ''; position: absolute; left: 0; top: 0.35rem; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--mk-base); }
.points b { color: var(--mk-black); display: block; }
.allergy-note { margin-top: 1.4rem; padding: 1rem 1.2rem; border: 1.5px solid var(--mk-base); border-radius: 4px; background: var(--mk-tint); }
.allergy-note b { display: block; margin-bottom: 0.2rem; }
.pay { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.4rem; }
form.signup { border: 1px solid var(--mk-rule); border-radius: 4px; padding: clamp(1.2rem, 3vw, 2rem); display: grid; gap: 1rem; }
.field label, .field legend { display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; margin-bottom: 0.35rem; }
.field .hint { font-size: 0.8rem; color: var(--mk-soft); margin-top: 0.25rem; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 520px) { .two { grid-template-columns: 1fr; } }
fieldset { border: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.checks label { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 500; font-size: 0.9rem; letter-spacing: 0; border: 1px solid rgba(0,0,0,0.18); border-radius: 999px; padding: 0.45rem 0.85rem; cursor: pointer; margin: 0; }
.checks input { width: auto; accent-color: var(--mk-base); }
.care { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.95rem; }
.care input { width: auto; margin-top: 0.3rem; accent-color: var(--mk-base); }
.form-msg { font-weight: 600; }
.form-msg.ok { color: #1f6f43; }
.form-msg.err { color: #a12a1f; }

/* ─── footer (as index.html) ─────────────────────────────────── */
footer { background: var(--mk-black); color: var(--mk-white); padding: clamp(2.5rem,5vw,4rem) var(--content-pad) 2rem; margin-top: clamp(3rem, 6vw, 5rem); }
.footer-inner { max-width: var(--max-w); margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; }
.footer-logo { font-size: 1.5rem; font-weight: 900; color: var(--mk-base); text-decoration: none; }
footer p, footer a { color: rgba(255,255,255,0.6); font-size: 0.85rem; text-decoration: none; }
footer a:hover { color: var(--mk-base); }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.2rem; align-items: center; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ─── motion: menus and calendar arrive gently ──────────────── */
@keyframes mk-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .menu-card { animation: mk-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; transition: box-shadow 0.3s ease, transform 0.3s ease; }
  .menu-card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -24px rgba(0, 0, 0, 0.45); }
  .course { animation: mk-rise 0.6s ease both; }
  .course:nth-of-type(2) { animation-delay: 0.10s; }
  .course:nth-of-type(3) { animation-delay: 0.20s; }
  .course:nth-of-type(4) { animation-delay: 0.30s; }
  .course:nth-of-type(n+5) { animation-delay: 0.40s; }
  .dish { transition: background 0.2s ease, padding 0.2s ease; }
  .dish:hover { background: var(--mk-tint); padding-left: 0.5rem; padding-right: 0.5rem; }
  .cal { animation: mk-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 0.1s both; }
  .cal-day { transition: background 0.18s ease; }
  .cal-day:hover { background: var(--mk-tint); }
}

/* ═══════════════════════════════════════════════════════════════
   BRAND COLOURS (Virginia, Oct 30): Marissa's palette.
   #002727 ink · #004C42 deep green · #446E7A slate · #95C0C9 sky · #A38261 bronze
   Fixed, so they hold unless Marissa picks an accent in Settings.
═══════════════════════════════════════════════════════════════ */
:root {
  --mk-ink:    #002727;
  --mk-deep:   #004C42;
  --mk-slate:  #446E7A;       /* links on white (5:1, readable)    */
  --mk-sky:    #95C0C9;       /* links on the dark footer          */
  --mk-bronze: #A38261;
  --mk-base:   #004C42;
  --mk-comp:   #95C0C9;
}
.mk-logo { color: var(--mk-ink); }
.footer-logo { color: var(--mk-sky); }
nav a:not(.nav-contact) { color: var(--mk-ink); font-weight: 700; opacity: 1; transition: color 0.18s; }
nav a:not(.nav-contact):hover, nav a:not(.nav-contact)[aria-current="page"] { color: var(--mk-sky); }
nav a[aria-current="page"] { box-shadow: 0 2px 0 var(--mk-bronze); }
footer a:not(.footer-logo), .footer-links a { color: var(--mk-sky); }
footer a:not(.footer-logo):hover, .footer-links a:hover { color: var(--mk-white); }

/* Buttons and menu block (Virginia, Oct 30): slate buttons that roll over
   to light blue; the menu card's colour block in light blue. */
.btn-dark, .btn-accent, .pricing-cta, .pricing-card.featured .pricing-cta, .cta-btn, .collab-btn {
  background: var(--mk-slate); border-color: var(--mk-slate); color: var(--mk-white);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.btn-dark:hover, .btn-accent:hover, .pricing-cta:hover, .pricing-card.featured .pricing-cta:hover, .cta-btn:hover, .collab-btn:hover,
.btn-outline:hover, nav a.nav-contact:hover {
  background: var(--mk-sky); border-color: var(--mk-sky); color: var(--mk-ink);
}
.menu-card, .season .menu-card { border-top-color: var(--mk-sky); }

/* ═══════════════════════════════════════════════════════════════
   HEADINGS (Virginia, Oct 30): capitals, and fatter.
═══════════════════════════════════════════════════════════════ */
h1, h2 {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

/* ═══════════════════════════════════════════════════════════════
   HEADER (Virginia, Oct 30): the name sits beside the logo in the
   logo's green at 50%, light and close-set; on phones it goes and the menu becomes a
   hamburger in fading greens that turns into an X.
═══════════════════════════════════════════════════════════════ */
header { display: flex; align-items: center; gap: 1.1rem; }
header .site-title {
  display: block; flex: 1 1 auto; text-align: left;
  color: rgba(0, 39, 39, 0.5);   /* the logo's #002727 at 50% */
  font-weight: 300; letter-spacing: 0.06em; text-transform: uppercase;
  font-size: clamp(0.78rem, 1.05vw, 0.92rem);
}
@media (max-width: 1100px) { header .site-title { display: none; } header nav, header .nav-toggle { margin-left: auto; } }
.nav-toggle { position: relative; width: 44px; height: 44px; padding: 0; gap: 0; }
.nav-toggle span {
  position: absolute; left: 10px; height: 2px; border-radius: 2px;
  transition: transform 0.4s cubic-bezier(0.6, 0.05, 0.3, 1.3), top 0.3s ease, width 0.3s ease, opacity 0.25s ease;
}
.nav-toggle span:nth-child(1) { top: 14px; width: 24px; background: #002727; }
.nav-toggle span:nth-child(2) { top: 21px; width: 18px; background: #004C42; }
.nav-toggle span:nth-child(3) { top: 28px; width: 12px; background: #446E7A; }
.nav-toggle:hover span { width: 24px; }
.nav-toggle.is-open span:nth-child(1), .nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; width: 24px; transform: rotate(45deg); }
.nav-toggle.is-open span:nth-child(2), .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.nav-toggle.is-open span:nth-child(3), .nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 21px; width: 24px; transform: rotate(-45deg); }
/* Phone menu (Virginia, Oct 30): full width, see-through with a soft blur
   so the words stay easy to read, compact, and a clear hover. */
header nav.open {
  left: 0; right: 0; width: 100%; margin-left: 0;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  padding: 0.5rem var(--content-pad) 0.9rem; gap: 0.1rem;
  border-bottom: 1px solid rgba(0, 39, 39, 0.08);
  box-shadow: 0 14px 28px -22px rgba(0, 39, 39, 0.45);
}
header nav.open a:not(.nav-contact) {
  display: block; width: 100%; padding: 0.6rem 0.7rem; border-radius: 4px;
  color: var(--mk-ink); box-shadow: none;
  transition: background 0.2s ease, padding-left 0.2s ease, color 0.2s ease;
}
header nav.open a:not(.nav-contact):hover,
header nav.open a:not(.nav-contact):focus-visible,
header nav.open a:not(.nav-contact)[aria-current="page"] {
  background: rgba(149, 192, 201, 0.32); color: var(--mk-ink); padding-left: 1rem;
}
header nav.open .nav-contact { margin-top: 0.5rem; }
@keyframes mk-nav-drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) { nav.open { animation: mk-nav-drop 0.35s ease both; } }
@media (prefers-reduced-motion: reduce) { .nav-toggle span { transition: none; } }
