/* ==========================================================================
   Mama's Place — styles
   Tokens come from docs/brand-brief.md (sampled from the badge logo & sign).
   ========================================================================== */

:root {
  --navy: #2b368b;
  --navy-ink: #1b2160;
  --red: #bc242f;
  --red-deep: #6d1011;
  --cream: #fbf4df;
  --butter: #fde7b9;
  --ink: #231f21;
  --ink-soft: #4d4448;
  --cherry: #9c4a2a;
  --white: #fff;
  --line: rgba(35, 31, 33, .14);

  --font-display: "Lilita One", "Arial Rounded MT Bold", system-ui, sans-serif;
  --font-script: "Kaushan Script", "Brush Script MT", cursive;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section: clamp(4rem, 9vw, 7.5rem);
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px -12px rgba(27, 33, 96, .35);
  --header-h: 76px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); text-underline-offset: .18em; }
a:hover { color: var(--red); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.08; margin: 0 0 .5em; color: var(--navy); letter-spacing: .005em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.75rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--navy); color: var(--cream); padding: .6rem 1rem; border-radius: 0 0 8px 8px; font-weight: 800; }
.skip-link:focus { top: 0; color: var(--cream); }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--section); }
.center { text-align: center; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-soft); max-width: 46ch; }
.center .lede { margin-inline: auto; }
.script { font-family: var(--font-script); color: var(--red); font-size: clamp(1.25rem, 2.2vw, 1.7rem); line-height: 1.2; display: block; margin-bottom: .35rem; }
.eyebrow { font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; color: var(--red); margin-bottom: .6rem; display: block; }

/* ---------- gingham (from the badge band + basket paper) ---------- */
.gingham {
  height: 14px;
  background:
    conic-gradient(var(--red) 25%, var(--white) 0 50%, var(--red) 0 75%, var(--white) 0) 0 0 / 14px 14px;
  opacity: .95;
}
.gingham--soft {
  background:
    linear-gradient(90deg, rgba(188,36,47,.55) 50%, transparent 0) 0 0 / 14px 14px,
    linear-gradient(rgba(188,36,47,.55) 50%, transparent 0) 0 0 / 14px 14px,
    var(--white);
}

/* ---------- buttons ---------- */
.btn {
  --bg: var(--red); --fg: var(--cream); --sh: var(--red-deep);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .75em 1.5em;
  font: 800 1rem/1 var(--font-body); letter-spacing: .03em;
  color: var(--fg); background: var(--bg);
  border: 2px solid transparent; border-radius: 999px;
  box-shadow: 0 4px 0 var(--sh);
  text-decoration: none; cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .2s;
}
.btn:hover { color: var(--fg); transform: translateY(-1px); box-shadow: 0 5px 0 var(--sh); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--sh); }
.btn--navy { --bg: var(--navy); --sh: var(--navy-ink); }
.btn--cream { --bg: var(--cream); --fg: var(--navy); --sh: rgba(0,0,0,.25); }
.btn--ghost { --bg: transparent; --fg: var(--cream); --sh: transparent; border-color: var(--cream); box-shadow: none; }
.btn--ghost:hover { --bg: rgba(251,244,223,.12); box-shadow: none; }
.btn--sm { min-height: 40px; padding: .55em 1.1em; font-size: .9rem; }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }
.center .btn-row { justify-content: center; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--cream); box-shadow: 0 2px 0 rgba(0,0,0,.04); }
.site-header .gingham { height: 8px; background-size: 8px 8px; }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; height: var(--header-h); }
.nav-left, .nav-right { display: flex; align-items: center; gap: clamp(.8rem, 2vw, 1.8rem); }
.nav-right { justify-content: flex-end; }
.site-nav a { font-weight: 800; color: var(--navy); text-decoration: none; font-size: 1rem; padding: .3rem 0; border-bottom: 3px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--red); border-bottom-color: var(--red); }
.brand { position: relative; display: block; width: 120px; height: var(--header-h); }
.brand img { position: absolute; left: 0; top: 6px; width: 120px; height: 120px; filter: drop-shadow(0 6px 10px rgba(27,33,96,.28)); transition: transform .25s ease; z-index: 2; }
.brand:hover img { transform: rotate(-4deg) scale(1.03); }
.header-call { display: none; }
.menu-toggle { display: none; }

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .header-inner { grid-template-columns: 48px 1fr 48px; }
  .nav-left, .nav-right .site-nav { display: none; }
  .nav-right .btn { display: none; }
  .brand { justify-self: center; width: 84px; }
  .brand img { width: 84px; height: 84px; top: 4px; }
  .header-call, .menu-toggle {
    display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
    background: var(--navy); color: var(--cream); border: 0; cursor: pointer;
  }
  .menu-toggle { justify-self: end; background: var(--red); }
  .hero-media img { object-position: 38% 70%; }
  .header-call svg, .menu-toggle svg { width: 22px; height: 22px; }
}
.mobile-nav {
  position: fixed; inset: 0; z-index: 150; background: var(--navy-ink); color: var(--cream);
  display: flex; flex-direction: column; justify-content: center; gap: .3rem; padding: 2rem var(--gutter);
  transform: translateY(-100%); transition: transform .35s ease; visibility: hidden;
}
.mobile-nav.is-open { transform: none; visibility: visible; }
.mobile-nav a:not(.btn) { color: var(--cream); font-family: var(--font-display); font-size: 2.2rem; text-decoration: none; padding: .25rem 0; }
.mobile-nav a:not(.btn):hover { color: var(--butter); }
.mobile-nav .btn-row { margin-top: 1.5rem; }
.mobile-nav-close { position: absolute; top: 1rem; right: var(--gutter); width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--cream); background: none; color: var(--cream); font-size: 1.6rem; cursor: pointer; }

/* ---------- status pill (live open/closed) ---------- */
.status-pill { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .9rem; border-radius: 999px; font-weight: 800; font-size: .9rem; background: rgba(255,255,255,.92); color: var(--ink); }
.status-pill::before { content: ""; width: .6rem; height: .6rem; border-radius: 50%; background: #9a9a9a; }
.status-pill[data-state="open"]::before { background: #2f9e44; box-shadow: 0 0 0 4px rgba(47,158,68,.2); }
.status-pill[data-state="soon"]::before { background: #e8a10b; }
.status-pill[data-state="closed"]::before { background: var(--red); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(88vh, 820px); display: grid; align-items: end; color: var(--cream); isolation: isolate; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(20,16,20,.72) 0%, rgba(20,16,20,.45) 45%, rgba(20,16,20,0) 75%),
    linear-gradient(180deg, rgba(27,33,96,.1) 0%, rgba(27,33,96,.25) 45%, rgba(20,16,20,.8) 100%); }
.hero-content { padding-block: clamp(7rem, 14vw, 9rem) clamp(3rem, 7vw, 5rem); max-width: 760px; }
.hero h1 { color: var(--cream); text-shadow: 0 3px 0 rgba(109,16,17,.85), 0 10px 30px rgba(0,0,0,.4); margin-bottom: .35em; }
.hero .script { color: var(--butter); }
.hero p { font-size: clamp(1.1rem, 1.8vw, 1.3rem); max-width: 40ch; color: rgba(251,244,223,.95); }
.hero-meta { display: flex; flex-wrap: wrap; gap: .7rem 1rem; align-items: center; margin-top: 1.6rem; font-weight: 700; }
.stars { color: #f4c542; letter-spacing: .08em; }
.page-hero { position: relative; color: var(--cream); background: var(--navy-ink); isolation: isolate; overflow: hidden; }
.page-hero .hero-media { opacity: .38; }
.page-hero .wrap { padding-block: clamp(4.5rem, 10vw, 7rem) clamp(3rem, 7vw, 4.5rem); }
.page-hero h1 { color: var(--cream); text-shadow: 0 3px 0 rgba(109,16,17,.9); }
.page-hero .script { color: var(--butter); }
.page-hero p { max-width: 52ch; font-size: 1.15rem; }

/* ---------- personality banner ---------- */
.banner { background: var(--red); color: var(--cream); text-align: center; padding: 1.4rem var(--gutter); }
.banner p { margin: 0; font-family: var(--font-display); font-size: clamp(1.5rem, 3.4vw, 2.4rem); line-height: 1.15; }
.banner span { color: var(--butter); }

/* ---------- food strip (scroll-snap carousel) ---------- */
.strip { position: relative; }
.strip-track { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(240px, 30vw, 360px); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .5rem var(--gutter) 1.5rem; scrollbar-width: thin; }
.strip-track figure { margin: 0; scroll-snap-align: start; }
.strip-track img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.strip-track figcaption { font-weight: 800; color: var(--navy); margin-top: .6rem; }
.strip-controls { display: flex; gap: .6rem; justify-content: flex-end; }
.strip-btn { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--navy); background: var(--cream); color: var(--navy); cursor: pointer; font-size: 1.3rem; display: grid; place-items: center; }
.strip-btn:hover { background: var(--navy); color: var(--cream); }
.section-head { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: end; justify-content: space-between; margin-bottom: 2rem; }
.section-head h2 { margin: 0; }

/* ---------- split meal cards ---------- */
.meals { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 3vw, 2rem); }
.meal-card { text-decoration: none; position: relative; border-radius: var(--radius); overflow: hidden; min-height: 460px; display: grid; align-items: end; color: var(--cream); isolation: isolate; box-shadow: var(--shadow); }
.meal-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.meal-card:hover img { transform: scale(1.04); }
.meal-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(20,16,20,.9)); }
.meal-card .body { padding: clamp(1.4rem, 3vw, 2.2rem); }
.meal-card h3 { color: var(--cream); font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: .2em; }
.meal-card .when { display: inline-block; background: var(--butter); color: var(--navy-ink); font-weight: 800; font-size: .82rem; padding: .3rem .75rem; border-radius: 999px; margin-bottom: .8rem; }
.meal-card p { color: rgba(251,244,223,.92); max-width: 36ch; }
@media (max-width: 760px) { .meals { grid-template-columns: 1fr; } .meal-card { min-height: 380px; } }

/* ---------- specials board ---------- */
.board-section { background: var(--butter); }
.board-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.board {
  background: #23302a; color: #f3efe2; border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem);
  border: 12px solid var(--cherry); box-shadow: inset 0 0 40px rgba(0,0,0,.45), var(--shadow);
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px); background-size: 4px 4px;
}
.board h3 { font-family: var(--font-script); color: #fff7d6; font-size: 2rem; text-align: center; margin-bottom: 1rem; }
.board dl { margin: 0; display: grid; gap: .85rem; }
.board div { display: grid; grid-template-columns: 7.2rem 1fr; gap: .8rem; border-bottom: 1px dashed rgba(243,239,226,.25); padding-bottom: .8rem; }
.board div:last-child { border-bottom: 0; padding-bottom: 0; }
.board dt { font-family: var(--font-script); color: #ffd3d0; font-size: 1.2rem; }
.board dd { margin: 0; }
.board div.is-today { background: rgba(255,247,214,.08); border-radius: 8px; padding: .5rem; margin: -.5rem; }
.board div.is-today dt::after { content: " • today"; font-family: var(--font-body); font-size: .72rem; font-weight: 800; color: var(--butter); text-transform: uppercase; letter-spacing: .1em; }
.board .note { font-size: .88rem; color: rgba(243,239,226,.75); margin: 1.1rem 0 0; text-align: center; }
.sides-list { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; list-style: none; margin: 1.2rem 0 1.6rem; }
.sides-list li { background: var(--cream); border: 2px solid var(--navy); color: var(--navy); border-radius: 999px; padding: .3rem .85rem; font-weight: 800; font-size: .9rem; }
@media (max-width: 860px) { .board-grid { grid-template-columns: 1fr; } }

/* ---------- scratch story ---------- */
.dark { background: var(--navy-ink); color: var(--cream); }
.dark h2, .dark h3 { color: var(--cream); }
.dark .script { color: var(--butter); }
.dark .lede { color: rgba(251,244,223,.85); }
.dark a:not(.btn) { color: var(--butter); }
.scratch-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.pie-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; counter-reset: step; padding: 0; margin: 0; list-style: none; }
.pie-steps li { counter-increment: step; position: relative; }
.pie-steps img { aspect-ratio: 1; object-fit: cover; width: 100%; border-radius: var(--radius-sm); }
.pie-steps li::before { content: counter(step); position: absolute; top: .5rem; left: .5rem; width: 1.8rem; height: 1.8rem; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: var(--cream); font-weight: 800; font-size: .9rem; box-shadow: 0 2px 0 var(--red-deep); }
.pie-steps span { display: block; font-size: .85rem; font-weight: 700; margin-top: .35rem; color: rgba(251,244,223,.85); }
.quote-card { margin: 1.8rem 0 0; padding: 1.3rem 1.5rem; background: rgba(251,244,223,.08); border-left: 5px solid var(--red); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.quote-card p { font-size: 1.12rem; margin-bottom: .4rem; }
.quote-card cite { font-style: normal; font-weight: 800; color: var(--butter); font-size: .92rem; }
@media (max-width: 860px) { .scratch-grid { grid-template-columns: 1fr; } }

/* ---------- photo grid ---------- */
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; grid-auto-flow: dense; gap: .8rem; }
.photo-grid figure { margin: 0; overflow: hidden; border-radius: var(--radius-sm); position: relative; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .3s; }
.photo-grid figure:hover img { transform: scale(1.05); filter: saturate(1.1); }
.photo-grid .tall { grid-row: span 2; }
.photo-grid .wide { grid-column: span 2; }
@media (max-width: 900px) { .photo-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; } }

/* ---------- smoothie feature ---------- */
.smoothie { background: linear-gradient(135deg, #ffe3f1 0%, #fff4c9 35%, #dff4ff 70%, #e9e1ff 100%); }
.smoothie-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.smoothie-art { background: #fff; border-radius: var(--radius); padding: 1.2rem; box-shadow: var(--shadow); transform: rotate(-1.5deg); }
.smoothie .price-tag { display: inline-block; font-family: var(--font-display); font-size: 1.6rem; color: var(--red); background: #fff; border: 3px dashed var(--red); border-radius: 12px; padding: .2rem .8rem; margin-bottom: 1.2rem; }
@media (max-width: 860px) { .smoothie-grid { grid-template-columns: 1fr; } }

/* ---------- reviews ---------- */
.reviews { background: var(--cream); }
.review-track { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(280px, 34vw, 380px); gap: 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .5rem var(--gutter) 1.5rem; }
.review { scroll-snap-align: start; background: var(--white); border-radius: var(--radius); padding: 1.6rem; box-shadow: 0 6px 20px -10px rgba(27,33,96,.3); border-top: 6px solid var(--red); display: flex; flex-direction: column; margin: 0; }
.review blockquote { margin: .6rem 0 1rem; font-size: 1.05rem; flex: 1; }
.review figcaption { font-weight: 800; color: var(--navy); }
.review figcaption small { display: block; font-weight: 600; color: var(--ink-soft); }
.rating-badge { display: inline-flex; align-items: center; gap: .8rem; background: var(--white); padding: .7rem 1.1rem; border-radius: 999px; box-shadow: var(--shadow); font-weight: 800; color: var(--navy); text-decoration: none; }
.rating-badge strong { font-family: var(--font-display); font-size: 1.6rem; font-weight: 400; color: var(--red); }

/* ---------- porch / order band ---------- */
.porch { background: var(--red); color: var(--cream); position: relative; overflow: hidden; }
.porch h2 { color: var(--cream); }
.porch .script { color: var(--butter); }
.porch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.porch img { border-radius: var(--radius); box-shadow: 0 20px 40px -15px rgba(0,0,0,.45); border: 8px solid var(--cream); transform: rotate(1.5deg); }
.check-list { list-style: none; padding: 0; margin: 1rem 0 1.8rem; display: grid; gap: .55rem; }
.check-list li { padding-left: 1.9rem; position: relative; font-weight: 700; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--butter) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23bc242f' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 70% no-repeat; }
@media (max-width: 860px) { .porch-grid { grid-template-columns: 1fr; } }

/* ---------- visit ---------- */
.visit-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.hours-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; border: 3px solid var(--red); }
.hours-card .ribbon { background: var(--red); color: var(--cream); text-align: center; padding: .8rem 1rem; font-family: var(--font-script); font-size: 1.9rem; position: relative; }
.hours-card .inner { padding: 1.2rem 1.5rem 1.5rem; }
.hours-table { width: 100%; border-collapse: collapse; font-size: 1.05rem; }
.hours-table th, .hours-table td { padding: .55rem .4rem; border-bottom: 1px dashed var(--line); text-align: left; }
.hours-table td { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; }
.hours-table tr.is-today { background: var(--butter); }
.hours-table tr.is-today th { color: var(--red); }
.hours-table .closed { color: var(--red); }
.hours-note { font-size: .92rem; color: var(--ink-soft); margin: 1rem 0 0; }
.address-block { font-style: normal; font-size: 1.1rem; margin-bottom: 1rem; }
.address-block strong { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; color: var(--navy); display: block; }
.map-frame { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--navy-ink); box-shadow: var(--shadow); }
.map-frame > img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.map-frame button { position: absolute; inset: 0; margin: auto; width: max-content; height: max-content; }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.info-list { list-style: none; padding: 0; margin: 1.4rem 0; display: grid; gap: .8rem; }
.info-list li { display: grid; grid-template-columns: 2.2rem 1fr; gap: .6rem; align-items: start; }
.info-list svg { width: 1.6rem; height: 1.6rem; color: var(--red); margin-top: .15rem; }
@media (max-width: 900px) { .visit-grid { grid-template-columns: 1fr; } }

/* ---------- merch ---------- */
.merch-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.merch-item { background: var(--white); border-radius: var(--radius); padding: 1.4rem 1.2rem; text-align: center; border: 2px dashed rgba(43,54,139,.3); }
.merch-item .icon { width: 3.2rem; height: 3.2rem; margin: 0 auto .6rem; color: var(--red); }
.merch-item h3 { font-size: 1.2rem; margin-bottom: .25rem; }
.merch-item p { margin: 0; color: var(--ink-soft); font-weight: 700; }
@media (max-width: 860px) { .merch-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- mama time ---------- */
.mama-time { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; background: var(--white); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow); border: 3px solid var(--navy); }
.mt-badge { width: clamp(140px, 18vw, 200px); aspect-ratio: 9 / 14; border-radius: 18px; background: var(--navy) ; display: grid; place-items: center; text-align: center; color: var(--cream); position: relative; overflow: hidden; padding: 1rem; }
.mt-badge::before { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; background: conic-gradient(var(--red) 25%, var(--white) 0 50%, var(--red) 0 75%, var(--white) 0) 0 0 / 16px 16px; opacity: .9; }
.mt-badge span { font-family: var(--font-script); font-size: 2rem; line-height: 1; position: relative; }
.mt-badge .play { position: relative; width: 56px; height: 56px; border-radius: 50%; background: var(--red); display: grid; place-items: center; margin: 0 auto .6rem; box-shadow: 0 4px 0 var(--red-deep); }
.mt-badge .play svg { width: 24px; height: 24px; margin-left: 4px; }
@media (max-width: 640px) { .mama-time { grid-template-columns: 1fr; text-align: center; } .mt-badge { margin-inline: auto; } .mama-time .btn-row { justify-content: center; } }

/* ---------- story page ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.two-col.flip > :first-child { order: 2; }
.framed { border-radius: var(--radius); box-shadow: var(--shadow); border: 8px solid var(--white); }
.polaroid { background: var(--white); padding: .7rem .7rem 2.6rem; box-shadow: var(--shadow); transform: rotate(-2deg); position: relative; }
.polaroid figcaption { position: absolute; bottom: .55rem; left: 0; right: 0; text-align: center; font-family: var(--font-script); color: var(--navy); font-size: 1.25rem; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.value { background: var(--white); border-radius: var(--radius); padding: 1.6rem; border-top: 6px solid var(--navy); }
.value:nth-child(2) { border-top-color: var(--red); }
.value:nth-child(3) { border-top-color: var(--cherry); }
@media (max-width: 860px) { .two-col, .values { grid-template-columns: 1fr; } .two-col.flip > :first-child { order: 0; } }

/* ---------- menu page ---------- */
.menu-nav { position: sticky; top: calc(var(--header-h) + 8px); z-index: 50; background: var(--cream); border-bottom: 1px solid var(--line); }
.menu-nav .wrap { display: flex; gap: .5rem; overflow-x: auto; padding-block: .75rem; scrollbar-width: none; }
.menu-nav a { flex: none; text-decoration: none; font-weight: 800; color: var(--navy); border: 2px solid var(--navy); border-radius: 999px; padding: .35rem .95rem; font-size: .92rem; }
.menu-nav a:hover, .menu-nav a.is-active { background: var(--navy); color: var(--cream); }
.menu-section { padding-block: clamp(2.5rem, 6vw, 4rem); border-bottom: 1px solid var(--line); }
.menu-section:nth-of-type(even) { background: rgba(253,231,185,.35); }
.menu-section-head { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: end; margin-bottom: 1.6rem; }
.menu-section-head img { width: 180px; height: 130px; object-fit: cover; border-radius: var(--radius-sm); border: 5px solid var(--white); box-shadow: var(--shadow); transform: rotate(2deg); }
.menu-section-head p { margin: 0; color: var(--ink-soft); max-width: 60ch; }
.menu-section-head .serve-note { display: inline-block; background: var(--navy); color: var(--cream); font-weight: 800; font-size: .85rem; padding: .3rem .8rem; border-radius: 999px; margin-top: .6rem; }
.menu-group + .menu-group { margin-top: 2rem; }
.menu-group h3 { font-size: 1.5rem; color: var(--red); border-bottom: 3px solid var(--red); display: inline-block; padding-bottom: .15rem; margin-bottom: .3rem; }
.menu-group > p { color: var(--ink-soft); font-size: .95rem; margin-bottom: .8rem; }
.menu-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .2rem 3rem; }
.menu-item { padding: .65rem 0; border-bottom: 1px dashed var(--line); break-inside: avoid; }
.menu-item .row { display: flex; align-items: baseline; gap: .5rem; }
.menu-item .name { font-weight: 800; color: var(--ink); }
.menu-item .fav { color: var(--navy); font-size: .9em; }
.menu-item .dots { flex: 1; border-bottom: 2px dotted rgba(43,54,139,.35); transform: translateY(-.3em); min-width: 1rem; }
.menu-item .price { font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; white-space: nowrap; }
.menu-item .desc { display: block; font-size: .93rem; color: var(--ink-soft); margin-top: .1rem; }
.menu-legal { font-size: .9rem; color: var(--ink-soft); }
@media (max-width: 900px) { .menu-nav .wrap { padding-top: 1.6rem; } }
@media (max-width: 760px) { .menu-list { grid-template-columns: 1fr; } .menu-section-head { grid-template-columns: 1fr; } .menu-section-head img { display: none; } }

/* ---------- gallery ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 2rem; }
.filter-bar button { font: 800 .95rem var(--font-body); border: 2px solid var(--navy); color: var(--navy); background: transparent; border-radius: 999px; padding: .45rem 1.1rem; cursor: pointer; min-height: 44px; }
.filter-bar button[aria-pressed="true"], .filter-bar button:hover { background: var(--navy); color: var(--cream); }
.gallery-grid { columns: 4 240px; column-gap: .9rem; }
.gallery-grid figure { margin: 0 0 .9rem; break-inside: avoid; }
.gallery-grid button { padding: 0; border: 0; background: none; cursor: zoom-in; display: block; width: 100%; border-radius: var(--radius-sm); overflow: hidden; }
.gallery-grid img { width: 100%; transition: transform .4s ease; }
.gallery-grid button:hover img { transform: scale(1.04); }
.gallery-grid figcaption { font-size: .88rem; font-weight: 700; color: var(--ink-soft); margin-top: .35rem; }
.gallery-grid figure[hidden] { display: none; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1200px); max-height: 94vh; }
.lightbox::backdrop { background: rgba(14,16,40,.9); }
.lightbox img { max-height: 82vh; width: auto; margin: 0 auto; border-radius: var(--radius-sm); }
.lightbox p { color: var(--cream); text-align: center; margin: .8rem 0 0; font-weight: 700; }
.lightbox .lb-btn { position: fixed; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--cream); background: rgba(27,33,96,.6); color: var(--cream); font-size: 1.5rem; cursor: pointer; }
.lightbox .lb-prev { left: 1rem; } .lightbox .lb-next { right: 1rem; }
.lightbox .lb-close { position: fixed; top: 1rem; right: 1rem; width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--cream); background: rgba(27,33,96,.6); color: var(--cream); font-size: 1.4rem; cursor: pointer; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq details { background: var(--white); border-radius: var(--radius-sm); margin-bottom: .7rem; border: 2px solid transparent; }
.faq details[open] { border-color: var(--navy); }
.faq summary { cursor: pointer; padding: 1.1rem 1.3rem; font-weight: 800; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--red); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 1.3rem 1.2rem; }

/* ---------- prose (privacy etc.) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.7rem; margin-top: 2rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-ink); color: rgba(251,244,223,.88); padding-top: clamp(3rem, 7vw, 5rem); }
.site-footer a { color: var(--cream); }
.site-footer a:hover { color: var(--butter); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; }
.footer-grid h2 { font-size: 1.25rem; color: var(--butter); margin-bottom: .8rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.footer-brand img { width: 120px; height: 120px; margin-bottom: .8rem; }
.footer-brand p { font-family: var(--font-script); font-size: 1.3rem; color: var(--butter); }
.footer-hours { font-variant-numeric: tabular-nums; }
.footer-hours li { display: flex; justify-content: space-between; gap: 1rem; max-width: 220px; }
.social { display: flex; gap: .6rem; margin-top: 1rem; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(251,244,223,.1); }
.social a:hover { background: var(--red); }
.social svg { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid rgba(251,244,223,.15); padding: 1.4rem 0 1.6rem; font-size: .88rem; display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between; }
.fg-credit { display: flex; justify-content: center; padding-bottom: 1.6rem; }
.fg-credit a { display: inline-flex; align-items: center; gap: .5rem; font-size: .75rem; color: rgba(251,244,223,.55); text-decoration: none; transition: color .2s; }
.fg-credit a:hover { color: #fff; }
.fg-credit img { height: 20px; width: auto; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- mobile action bar ---------- */
.action-bar { display: none; }
@media (max-width: 900px) {
  body { padding-bottom: 68px; }
  .action-bar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--navy-ink); border-top: 4px solid var(--red); padding-bottom: env(safe-area-inset-bottom); }
  .action-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem; min-height: 64px; color: var(--cream); text-decoration: none; font-weight: 800; font-size: .8rem; }
  .action-bar a + a { border-left: 1px solid rgba(251,244,223,.15); }
  .action-bar a:last-child { background: var(--red); }
  .action-bar svg { width: 22px; height: 22px; }
}

/* ---------- reveal on scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
  .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

@media print {
  .site-header, .action-bar, .menu-nav, .site-footer, .btn { display: none !important; }
  body { background: #fff; }
}

/* ---------- storefront hero: photo anchored right, text on a navy fade ---------- */
.hero--storefront { background: var(--navy-ink); }
.hero--storefront .hero-media img { object-position: center 42%; }
@media (min-width: 901px) {
  .hero--storefront .hero-media { left: 34%; }
  .hero--storefront::before {
    background:
      linear-gradient(90deg, var(--navy-ink) 0%, var(--navy-ink) 34%, rgba(27,33,96,.55) 44%, rgba(27,33,96,0) 60%),
      linear-gradient(180deg, rgba(27,33,96,0) 55%, rgba(20,16,20,.55) 100%);
  }
  .hero--storefront .hero-content { max-width: 600px; }
  .hero--storefront .hero-content p { max-width: 34ch; }
}
@media (max-width: 900px) {
  .hero--storefront { display: block; min-height: 0; }
  .hero--storefront::before { display: none; }
  .hero--storefront .hero-media { position: relative; inset: auto; aspect-ratio: 5 / 4; overflow: hidden; }
  .hero--storefront .hero-media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 35%; background: linear-gradient(180deg, rgba(27,33,96,0), var(--navy-ink)); }
  .hero--storefront .hero-media img { object-position: 50% 52%; transform: scale(1.35); transform-origin: 50% 55%; }
  .hero--storefront .hero-content { padding-block: 1.2rem 2.5rem; }
}
