/* Lil' Moon Diner — design tokens per handoff README */
:root {
  --cream: oklch(97% 0.015 80);
  --offwhite: oklch(99% 0.006 80);
  --ink: oklch(12% 0 0);
  --ink-text: oklch(16% 0.02 260);
  --oxblood: oklch(36% 0.13 28);
  --gold: oklch(78% 0.1 80);
  --peach: oklch(90% 0.05 68);
  --body-text: oklch(24% 0.015 260);
  --body-text-2: oklch(28% 0.02 50);
  --muted: oklch(46% 0.02 60);
  --border-light: oklch(90% 0.02 70);

  --header-height: 62px;
  --font-display: 'Alfa Slab One', serif;
  --font-body: 'Nunito', sans-serif;
  --font-script: 'Caveat', cursive;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--body-text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

[data-scrollx] { scrollbar-width: none; -ms-overflow-style: none; }
[data-scrollx]::-webkit-scrollbar { display: none; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 20px;
  min-height: var(--header-height);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.25);
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-badge {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.logo-badge img { width: 92%; height: 92%; object-fit: contain; }

.wordmark {
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: 0.5px;
  color: var(--cream);
  line-height: 1.1;
}

.header-actions { display: flex; align-items: center; gap: 10px; }

.call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--gold);
  color: oklch(14% 0 0);
  font-weight: 800;
  font-size: 18px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  text-decoration: none;
  flex-shrink: 0;
}

.hamburger-btn {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}

.hamburger-btn span {
  width: 24px;
  height: 3px;
  background: var(--cream);
  border-radius: 2px;
}

/* ---------- Mobile nav overlay ---------- */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: oklch(12% 0 0 / 0.98);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.nav-overlay[hidden] { display: none; }

.nav-close-btn {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: var(--cream);
  font-size: 28px;
  cursor: pointer;
}

.nav-overlay a {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--cream);
  text-decoration: none;
  padding: 12px 0;
  display: block;
}

.nav-overlay a.is-highlight { color: var(--gold); }

.nav-overlay .call-pill {
  margin-top: 10px;
  background: var(--gold);
  color: oklch(14% 0 0);
  font-weight: 800;
  font-size: 18px;
  padding: 14px 26px;
  border-radius: 999px;
  text-decoration: none;
}

body.nav-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  scroll-margin-top: 70px;
  position: relative;
  min-height: clamp(560px, 92vh, 780px);
  display: flex;
  align-items: flex-end;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, oklch(12% 0 0 / 0.55) 0%, oklch(12% 0 0 / 0.25) 35%, oklch(12% 0 0 / 0.85) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  padding: 40px 22px 56px;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}

.hero-badge {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.hero-badge img { width: 88%; height: 88%; object-fit: contain; }

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 7vw, 52px);
  color: oklch(98% 0.01 80);
  margin: 0;
  line-height: 1.05;
}

.hero-tagline {
  font-family: var(--font-script);
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 700;
  color: var(--gold);
  margin: 0;
}

.hero-hours-pill {
  background: var(--gold);
  color: oklch(14% 0 0);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.5px;
  padding: 10px 20px;
  border-radius: 999px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 6px;
}

.btn-filled {
  background: var(--oxblood);
  color: oklch(98% 0.01 80);
  font-weight: 800;
  font-size: 17px;
  padding: 16px 28px;
  border-radius: 12px;
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  border: 2px solid oklch(98% 0.01 80);
  color: oklch(98% 0.01 80);
  font-weight: 800;
  font-size: 17px;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
}

/* ---------- About ---------- */
.about {
  scroll-margin-top: 70px;
  padding: 64px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.about-photo {
  width: 100%;
  height: 340px;
  border-radius: 20px;
  overflow: hidden;
}

.about-photo img { width: 100%; height: 100%; object-fit: cover; }

.eyebrow {
  font-family: var(--font-script);
  font-size: 22px;
  font-weight: 700;
  color: var(--oxblood);
  margin: 0 0 6px;
}

.about h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 34px);
  color: var(--ink-text);
  margin: 0 0 16px;
}

.about p.body-copy {
  font-size: 18px;
  line-height: 1.7;
  color: var(--body-text-2);
  margin: 0 0 14px;
}

.about p.body-copy:last-child { margin-bottom: 0; }

/* ---------- Menu ---------- */
.menu-section {
  scroll-margin-top: 70px;
  padding: 64px 0 80px;
  background: var(--offwhite);
}

.menu-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.menu-intro { text-align: center; }

.menu-intro .eyebrow { text-align: center; }

.menu-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 40px);
  color: var(--ink-text);
  margin: 0 0 10px;
}

.menu-intro .allergen-note {
  font-size: 16px;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 36px;
}

.signature-heading {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--ink-text);
  margin: 0 0 16px;
}

.signature-strip {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 14px;
  margin: 0 0 40px;
}

.signature-card {
  flex: 0 0 220px;
  background: var(--peach);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.signature-card-photo {
  width: 100%;
  height: 140px;
  background: oklch(85% 0.04 68);
}

.signature-card-photo img { width: 100%; height: 100%; object-fit: cover; }

.signature-card-body { padding: 14px; }

.signature-chip {
  display: inline-block;
  background: var(--oxblood);
  color: oklch(98% 0.01 80);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 3px 9px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.signature-card-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: baseline;
}

.signature-card-row .name { font-weight: 800; font-size: 16px; color: var(--ink-text); }
.signature-card-row .price { font-weight: 800; font-size: 15px; color: var(--oxblood); white-space: nowrap; }

.signature-card-body .desc {
  font-size: 14px;
  line-height: 1.5;
  color: oklch(38% 0.02 50);
  margin: 6px 0 0;
}

.category-pills {
  position: sticky;
  top: var(--header-height);
  z-index: 20;
  background: var(--offwhite);
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 10px 0;
  margin: 0 0 30px;
  border-bottom: 1px solid var(--border-light);
}

.category-pill {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  background: var(--cream);
  color: var(--ink-text);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 16px;
  min-height: 44px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid var(--border-light);
}

.category-pill.is-highlight {
  background: var(--oxblood);
  color: oklch(98% 0.01 80);
  border-color: var(--oxblood);
}

.menu-category {
  scroll-margin-top: 128px;
  margin-bottom: 48px;
}

.menu-category h3 {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--oxblood);
  margin: 0 0 6px;
}

.menu-category .category-note {
  font-size: 14px;
  font-style: italic;
  color: var(--muted);
  margin: 0 0 18px;
  max-width: 700px;
}

.item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px 28px;
}

.menu-item {
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 12px;
}

.menu-item-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
}

.menu-item-row .name { font-weight: 800; font-size: 16.5px; color: var(--ink-text); }
.menu-item-row .price { font-weight: 700; font-size: 15px; color: var(--oxblood); white-space: nowrap; }

.menu-item .desc {
  font-size: 14.5px;
  line-height: 1.5;
  color: oklch(42% 0.02 55);
  margin: 4px 0 0;
}

.kids-group-title {
  font-weight: 800;
  font-size: 17px;
  color: var(--ink-text);
  margin: 18px 0 4px;
}

.kids-group-note {
  font-size: 13.5px;
  font-style: italic;
  color: var(--muted);
  margin: 0 0 14px;
}

.kids-group:first-child .kids-group-title { margin-top: 0; }

.kids-item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px 28px;
}

.kids-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 10px;
}

.kids-item .name { font-weight: 700; font-size: 15.5px; color: var(--ink-text); }
.kids-item .price { font-weight: 700; font-size: 14.5px; color: var(--oxblood); white-space: nowrap; }

.shakes-price-line {
  font-weight: 800;
  font-size: 17px;
  color: var(--ink-text);
  margin: 0 0 14px;
}

.shakes-flavors {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.shake-chip {
  background: var(--peach);
  color: oklch(28% 0.05 40);
  font-weight: 700;
  font-size: 14.5px;
  padding: 8px 16px;
  border-radius: 999px;
}

/* ---------- Hours & Location ---------- */
.hours {
  scroll-margin-top: 70px;
  padding: 64px 20px;
  background: var(--peach);
}

.hours-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.hours h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 34px);
  color: var(--ink-text);
  margin: 0 0 20px;
}

.hours-open-line {
  font-weight: 800;
  font-size: 20px;
  color: var(--oxblood);
  margin: 0 0 4px;
}

.hours-sub-line {
  font-size: 15px;
  color: var(--body-text-2);
  margin: 0 0 20px;
}

.hours-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 22px;
  color: var(--ink-text);
  text-decoration: none;
  margin: 0 0 16px;
}

.hours-address {
  font-size: 17px;
  line-height: 1.6;
  color: var(--body-text-2);
  margin: 0;
}

.hours-map {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  height: 320px;
}

.hours-map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Order / Contact ---------- */
.order {
  scroll-margin-top: 70px;
  padding: 70px 20px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.order h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 36px);
  color: var(--ink-text);
  margin: 0 0 12px;
}

.order-sub {
  font-size: 17px;
  color: var(--body-text-2);
  margin: 0 0 28px;
}

.order-call-btn {
  display: inline-block;
  background: var(--oxblood);
  color: oklch(98% 0.01 80);
  font-weight: 800;
  font-size: 19px;
  padding: 18px 34px;
  border-radius: 14px;
  text-decoration: none;
  margin: 0 0 26px;
}

.order-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.order-link {
  background: var(--cream);
  border: 1px solid var(--border-light);
  color: var(--ink-text);
  font-weight: 700;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: oklch(85% 0.01 80);
  padding: 48px 20px 28px;
}

.footer-top {
  max-width: 1100px;
  margin: 0 auto 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand .logo-badge { width: 40px; height: 40px; }
.footer-brand .logo-badge img { width: 90%; height: 90%; }

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--cream);
}

.footer-info {
  font-size: 14.5px;
  line-height: 1.8;
}

.footer-info p { margin: 0; }

.footer-info a {
  color: var(--gold);
  text-decoration: none;
}

.footer-advisory {
  max-width: 1100px;
  margin: 0 auto 20px;
  font-size: 12.5px;
  line-height: 1.6;
  color: oklch(60% 0.01 80);
  border-top: 1px solid oklch(28% 0 0);
  padding-top: 20px;
}

.footer-copyright {
  max-width: 1100px;
  margin: 0 auto;
  font-size: 12.5px;
  color: oklch(50% 0.01 80);
}
