/* ==========================================================================
   Sweet Rabbit Bakery — v2 ("printed menu" direction)
   Flat color, thin chocolate rules, chunky soft serif, no soft-shadow cards.
   ========================================================================== */

:root {
  /* 4 colors + neutrals */
  --cream: #FBF6EE;
  --cream-2: #F3EADB;
  --paper: #FFFDF8;
  --choc: #3A2A21;
  --choc-2: #6B5546;
  --butter: #F5D77E;
  --butter-2: #FBEBC0;
  --matcha: #9DB47F;
  --matcha-2: #E6EDDB;
  --matcha-ink: #4F6B3A;
  --ube: #7A5A9E;
  --ube-2: #ECE3F4;

  --rule: 1.5px solid var(--choc);
  --rule-soft: 1px solid rgba(58, 42, 33, 0.18);

  --display: "Fraunces", "Cooper Black", Georgia, serif;
  --body: "Karla", "Helvetica Neue", Arial, sans-serif;

  /* 8px spacing scale */
  --s1: 0.5rem; --s2: 1rem; --s3: 1.5rem; --s4: 2rem;
  --s5: 3rem; --s6: 4rem; --s7: 6rem; --s8: 8rem;

  --gutter: clamp(1.25rem, 5vw, 3rem);
  --max: 1240px;
  --section: clamp(4.5rem, 9vw, 8rem);
  --radius: 10px;
  --header-h: 72px;

  --ease: cubic-bezier(0.22, 0.8, 0.3, 1);
  --bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--choc);
  font: 400 1.0625rem/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure, address { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
a { color: inherit; }
::selection { background: var(--butter); }
:focus-visible { outline: 3px solid var(--ube); outline-offset: 3px; border-radius: 3px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.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: -100px; z-index: 100; padding: .5rem 1rem; background: var(--choc); color: var(--cream); border-radius: 6px; font-weight: 700; }
.skip-link:focus { top: 1rem; }

/* Display type: chunky and soft, like a painted shop sign */
.h2, .hero-title, .brand-word, .wordmark {
  font-family: var(--display);
  font-variation-settings: "SOFT" 100, "WONK" 0;
  font-optical-sizing: auto;
  letter-spacing: -0.02em;
}
.h2 {
  font-size: clamp(2.25rem, 1.5rem + 3vw, 3.75rem);
  font-weight: 750;
  line-height: 1;
  text-wrap: balance;
}

.text-link {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--butter);
  text-decoration-thickness: 4px;
  text-underline-offset: 3px;
  transition: text-decoration-color .2s;
}
.text-link:hover { text-decoration-color: var(--ube); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 1.75rem;
  border: 2px solid var(--choc);
  border-radius: 8px;
  font: 700 1rem/1 var(--body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--choc); }
.btn:active { transform: none; box-shadow: none; }
.btn-dark { background: var(--choc); color: var(--cream); }
.btn-dark:hover { background: var(--ube); border-color: var(--choc); }
.btn-line { background: transparent; color: var(--choc); }
.btn-line:hover { background: var(--paper); }
.btn-butter { background: var(--butter); color: var(--choc); }

/* ---------- Scalloped edge (like a bakery awning) ---------- */
.scallop-top { position: relative; }
.scallop-top::before {
  content: "";
  position: absolute; left: 0; right: 0; top: -15px; height: 16px;
  background: radial-gradient(circle at 12px 16px, var(--scallop) 12px, transparent 12.5px) 0 0 / 24px 16px repeat-x;
  pointer-events: none;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--cream);
  border-bottom: 1.5px solid transparent;
  transition: border-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--choc); }
.header-inner {
  display: flex; align-items: center; gap: var(--s3);
  height: var(--header-h);
  transition: height .3s var(--ease);
}
.is-scrolled .header-inner { height: 58px; }

.brand { display: inline-flex; align-items: center; gap: 8px; margin-right: auto; text-decoration: none; }
.brand-mark { width: 32px; height: 32px; fill: var(--choc); transition: transform .4s var(--bounce); }
.brand:hover .brand-mark { transform: rotate(-10deg) translateY(-2px); }
.brand-word { font-size: 1.5rem; font-weight: 800; line-height: 1; }

.stamp {
  display: none;
  padding: 4px 10px;
  border: 2px solid var(--ube);
  border-radius: 4px;
  color: var(--ube);
  font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  transform: rotate(-3deg);
  white-space: nowrap;
}

.menu-toggle {
  position: relative; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 14px;
  border: var(--rule); border-radius: 8px;
  background: var(--paper); color: var(--choc);
  font: 700 .9375rem/1 var(--body);
  cursor: pointer;
}
.menu-toggle-bars, .menu-toggle-bars::before {
  display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .3s var(--ease);
}
.menu-toggle-bars { position: relative; transform: translateY(-3px); }
.menu-toggle-bars::before { content: ""; position: absolute; top: 6px; left: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars { transform: translateY(0) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { transform: translateY(-6px) rotate(-90deg); }

.site-nav {
  position: fixed; inset: 0; z-index: 55;
  display: flex; align-items: flex-end;
  padding: var(--s7) var(--gutter) var(--s6);
  background: var(--butter);
  visibility: hidden; opacity: 0;
  transition: opacity .25s var(--ease), visibility 0s linear .25s;
}
.site-nav.is-open { visibility: visible; opacity: 1; transition: opacity .25s var(--ease), visibility 0s; }
.site-nav ul { width: 100%; }
.site-nav li { border-top: var(--rule); }
.site-nav li:last-child { border-bottom: var(--rule); }
.site-nav a {
  display: block; padding: 12px 0;
  font-family: var(--display); font-variation-settings: "SOFT" 100;
  font-size: 2.25rem; font-weight: 750; line-height: 1.1; letter-spacing: -.02em;
  text-decoration: none;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { display: grid; }
.hero-text { padding-block: var(--s5) var(--s6); }
.hero-where { font-weight: 700; font-size: .9375rem; color: var(--choc-2); margin-bottom: var(--s3); }
.hero-title {
  font-size: clamp(3.25rem, 1.6rem + 6vw, 6.5rem);
  font-weight: 850;
  line-height: .92;
  letter-spacing: -0.035em;
  margin-bottom: var(--s3);
  max-width: 9ch;
}
.hero-sub { max-width: 32rem; font-size: clamp(1.125rem, 1rem + .4vw, 1.3125rem); color: var(--choc-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); }

.hero-photo { position: relative; background: var(--cream-2); aspect-ratio: 4 / 3; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.hang-tag {
  position: absolute; left: var(--gutter); bottom: 36px;
  padding: 14px 18px 14px 34px;
  background: var(--butter);
  border: var(--rule);
  border-radius: 4px 14px 14px 4px;
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-size: 1.0625rem; line-height: 1.25;
  transform: rotate(-4deg);
  transform-origin: left center;
}
.hang-tag::before { /* punched hole */
  content: ""; position: absolute; left: 12px; top: 50%;
  width: 10px; height: 10px; margin-top: -5px;
  border-radius: 50%; background: var(--cream); border: var(--rule);
}

/* ==========================================================================
   Values — one sentence on a chocolate band
   ========================================================================== */
.values {
  --scallop: var(--choc);
  background: var(--choc);
  color: var(--cream);
  padding-block: var(--s7) var(--s6);
}
.values-text {
  max-width: 30ch;
  font-family: var(--display);
  font-variation-settings: "SOFT" 100, "WONK" 0;
  font-weight: 400;
  font-size: clamp(1.625rem, 1.1rem + 2.2vw, 2.75rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.values-text strong { color: var(--butter); font-weight: 750; }
.values-rabbit { width: 36px; height: 36px; margin-top: var(--s4); fill: var(--butter); }

/* ==========================================================================
   The case — printed-menu list
   ========================================================================== */
.menu-grid { display: grid; gap: var(--s5); }
.menu-intro { margin-top: var(--s2); max-width: 30ch; color: var(--choc-2); font-size: 1.125rem; }

.taped {
  position: relative;
  padding: 12px 12px 0;
  background: var(--paper);
  border: var(--rule-soft);
  transform: rotate(-1.5deg);
}
.taped::before { /* strip of tape */
  content: ""; position: absolute; top: -12px; left: 50%;
  width: 96px; height: 26px; margin-left: -48px;
  background: rgba(245, 215, 126, .78);
  transform: rotate(3deg);
}
.taped img { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; background: var(--cream-2); }
.taped figcaption {
  padding: 10px 4px 14px;
  font-family: var(--display); font-style: italic; font-variation-settings: "SOFT" 100, "WONK" 1;
  font-size: 1rem; color: var(--choc-2);
}
.feature-photo { margin-top: var(--s5); display: none; }

.menu-list { border-top: var(--rule); }
.item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: var(--s2);
  padding-block: var(--s3);
  border-bottom: var(--rule);
}
.item-photo {
  width: 88px; height: 88px;
  object-fit: cover;
  border-radius: 6px;
  background: var(--cream-2);
  transition: transform .35s var(--bounce);
}
.item:hover .item-photo { transform: rotate(-4deg) scale(1.04); }
.item-line { display: flex; align-items: baseline; gap: 10px; }
.item-name {
  font-family: var(--display); font-variation-settings: "SOFT" 100;
  font-weight: 700; font-size: 1.3125rem; line-height: 1.15; letter-spacing: -.01em;
}
.leader { flex: 1; min-width: 16px; border-bottom: 2px dotted rgba(58, 42, 33, .4); transform: translateY(-5px); }
.price { font-family: var(--display); font-weight: 600; font-size: 1.125rem; white-space: nowrap; }
.item-desc { margin-top: 4px; color: var(--choc-2); font-size: 1rem; line-height: 1.55; max-width: 46ch; }
.item-note {
  margin-top: 6px;
  font-family: var(--display); font-style: italic; font-variation-settings: "SOFT" 100, "WONK" 1;
  font-size: .9375rem; color: var(--choc-2);
}
.item-note::before { content: "— "; }
.item-note-matcha { color: var(--matcha-ink); }
.item-note-ube { color: var(--ube); }
.item-note-butter { color: #8a6416; }

/* ==========================================================================
   Baker
   ========================================================================== */
.baker { display: grid; background: var(--butter); }
.baker-photo { aspect-ratio: 4 / 3; background: var(--cream-2); }
.baker-photo img { width: 100%; height: 100%; object-fit: cover; }
.baker-text { padding: var(--s6) var(--gutter); }
.baker-text .h2 { margin-bottom: var(--s3); max-width: 13ch; }
.baker-text p:not(.sign) { margin-bottom: var(--s2); max-width: 44ch; }
.baker-goal {
  font-family: var(--display); font-variation-settings: "SOFT" 100;
  font-size: clamp(1.375rem, 1.2rem + .8vw, 1.75rem); line-height: 1.3; font-weight: 500;
  margin-top: var(--s3);
}
.scribble { position: relative; display: inline-block; white-space: nowrap; }
.scribble svg {
  position: absolute; left: -6%; bottom: -.22em; width: 112%; height: .42em; overflow: visible;
  fill: none; stroke: var(--ube); stroke-width: 4; stroke-linecap: round;
}
.scribble svg path:last-child { stroke-width: 3; opacity: .7; }
.js .scribble svg path { stroke-dasharray: 140; stroke-dashoffset: 140; transition: stroke-dashoffset .9s var(--ease) .5s; }
.js .scribble svg path:last-child { transition-delay: .8s; }
.js .is-visible .scribble svg path { stroke-dashoffset: 0; }
.sign { margin-top: var(--s3); font-weight: 700; font-size: .875rem; letter-spacing: .1em; text-transform: uppercase; }

/* ==========================================================================
   Full-bleed band
   ========================================================================== */
.band { position: relative; height: clamp(300px, 52vw, 680px); background: var(--cream-2); }
.band img { width: 100%; height: 100%; object-fit: cover; }
.band-caption {
  position: absolute; right: var(--gutter); bottom: var(--s3);
  padding: 8px 14px;
  background: var(--cream);
  border: var(--rule); border-radius: 6px;
  font-family: var(--display); font-style: italic; font-variation-settings: "SOFT" 100, "WONK" 1;
  font-size: 1.0625rem;
}

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s2); margin-bottom: var(--s5); }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 8px; }
.g1 { grid-column: span 2; grid-row: span 2; }
.g2, .g5, .g6 { grid-row: span 2; }
.g-btn { display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 4px; overflow: hidden; background: var(--cream-2); cursor: zoom-in; }
.g-btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.g-btn:hover img { transform: scale(1.04); }

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox {
  position: fixed; inset: 0; width: 100%; height: 100%;
  max-width: none; max-height: none; margin: 0; padding: var(--s6) var(--s2);
  border: 0; background: rgba(36, 26, 20, .95); color: var(--cream);
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: transparent; }
.lightbox-figure { display: grid; gap: var(--s2); justify-items: center; max-width: min(1100px, 100%); }
.lightbox-img { max-width: 100%; max-height: 76vh; object-fit: contain; border-radius: 4px; }
.lightbox-caption { font-family: var(--display); font-style: italic; font-size: 1.125rem; }
.lb-btn {
  position: fixed; width: 52px; height: 52px; display: grid; place-items: center;
  border: 1.5px solid rgba(251, 246, 238, .4); border-radius: 50%;
  background: transparent; color: var(--cream); cursor: pointer;
}
.lb-btn:hover { background: rgba(251, 246, 238, .15); }
.lb-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lb-close { top: var(--s2); right: var(--s2); }
.lb-prev { left: var(--s2); bottom: var(--s2); }
.lb-next { right: var(--s2); bottom: var(--s2); }
.lightbox :focus-visible { outline-color: var(--butter); }

/* ==========================================================================
   Reviews
   ========================================================================== */
.reviews { background: var(--matcha-2); }
.reviews-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s3); margin-bottom: var(--s5); }
.rating-badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 18px 10px 10px;
  background: var(--paper); border: var(--rule); border-radius: var(--radius);
}
.rating-value { font-family: var(--display); font-weight: 700; font-size: 1.1875rem; line-height: 1.2; }
.rating-meta { font-size: .875rem; color: var(--choc-2); }
/* Placeholder for Google's "G" — swap for the official asset */
.g-icon {
  width: 42px; height: 42px; flex-shrink: 0; display: grid; place-items: center;
  border-radius: 50%; border: var(--rule); font: 700 1.125rem/1 var(--body);
}

.review-track {
  display: flex; gap: var(--s2);
  margin-inline: calc(-1 * var(--gutter));
  padding: 4px var(--gutter) var(--s3);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  scrollbar-width: thin; scrollbar-color: var(--matcha) transparent;
}
.review {
  flex: 0 0 min(84%, 360px);
  scroll-snap-align: start;
  display: flex; flex-direction: column; gap: var(--s2);
  padding: var(--s3);
  background: var(--paper);
  border: var(--rule); border-radius: var(--radius);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.review:hover { transform: translate(-3px, -3px); box-shadow: 5px 5px 0 var(--choc); }
.stars { display: flex; gap: 2px; }
.stars svg { width: 18px; height: 18px; fill: #C9961F; }
.review-text {
  flex: 1;
  font-family: var(--display); font-variation-settings: "SOFT" 100;
  font-size: 1.1875rem; line-height: 1.4; font-weight: 400;
}
.review-who { display: flex; align-items: center; gap: 12px; padding-top: var(--s2); border-top: var(--rule-soft); }
.avatar {
  width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center;
  border-radius: 50%; background: var(--butter); font-family: var(--display); font-weight: 700; font-size: 1.125rem;
}
.avatar-matcha { background: var(--matcha); }
.avatar-ube { background: var(--ube); color: var(--cream); }
.review-name { font-weight: 700; line-height: 1.3; }
.review-date { font-size: .875rem; color: var(--choc-2); line-height: 1.3; }
.reviews-btn { margin-top: var(--s4); }

/* ==========================================================================
   Cakes
   ========================================================================== */
.cakes { display: grid; background: var(--ube); color: var(--cream); }
.cakes-photo { order: -1; aspect-ratio: 4 / 3; background: var(--cream-2); }
.cakes-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.cakes-text { padding: var(--s6) var(--gutter); align-self: center; }
.cakes-text .h2 { margin-bottom: var(--s3); max-width: 11ch; }
.cakes-text p { max-width: 40ch; margin-bottom: var(--s4); font-size: 1.125rem; }
.cakes .btn-butter { border-color: var(--butter); }
.cakes .btn:hover { box-shadow: 4px 4px 0 var(--choc); }
.cakes :focus-visible { outline-color: var(--butter); }

/* ==========================================================================
   Visit
   ========================================================================== */
.visit-grid { display: grid; gap: var(--s5); }
.visit-address {
  margin-top: var(--s3);
  font-family: var(--display); font-variation-settings: "SOFT" 100;
  font-size: 1.75rem; font-weight: 600; line-height: 1.2;
}
.visit-small { margin-top: var(--s1); color: var(--choc-2); }
.visit-small .text-link { color: var(--choc); margin-left: 4px; }

.hours-card { margin-top: var(--s4); padding: var(--s3); border: var(--rule); border-radius: var(--radius); background: var(--paper); max-width: 440px; }
.hours-title { display: flex; align-items: center; gap: 10px; margin-bottom: var(--s1); font-family: var(--display); font-size: 1.375rem; font-weight: 700; }
.ph-flag {
  padding: 2px 8px; border: 1.5px dashed var(--ube); border-radius: 4px; color: var(--ube);
  font: 700 .6875rem/1.4 var(--body); letter-spacing: .1em; text-transform: uppercase;
}
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: 8px 0; border-bottom: 1px dotted rgba(58, 42, 33, .35); text-align: left; }
.hours th { font-weight: 700; }
.hours td { text-align: right; color: var(--choc-2); }
.patio { margin-top: var(--s2); padding: 12px 14px; background: var(--butter-2); border-radius: 6px; line-height: 1.5; }

.map { position: relative; min-height: 380px; border: var(--rule); border-radius: var(--radius); overflow: hidden; background: var(--cream-2); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: sepia(.2) saturate(.85); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { --scallop: var(--butter); margin-top: var(--s4); background: var(--butter); padding-top: var(--s6); }
.footer-cols { display: grid; gap: var(--s3); }
.footer-line { font-family: var(--display); font-style: italic; font-variation-settings: "SOFT" 100, "WONK" 1; font-size: 1.375rem; }
.footer-ig { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; justify-self: start; }
.footer-ig:hover { color: var(--ube); }

.wordmark-wrap { position: relative; margin-top: var(--s6); overflow-x: clip; }
.wordmark {
  position: relative; z-index: 2;
  font-size: 17.2vw; font-weight: 900; line-height: .78;
  letter-spacing: -0.05em;
  text-align: center; white-space: nowrap;
  color: var(--choc);
  user-select: none;
  pointer-events: none; /* let the hidden rabbit receive hover/click */
}
.peek-rabbit {
  position: absolute; z-index: 1;
  left: 60%; top: 18%;
  width: clamp(48px, 9vw, 120px); height: clamp(48px, 9vw, 120px);
  padding: 0; border: 0; background: none; cursor: pointer;
  transform: translateY(0);
  transition: transform .45s var(--bounce);
}
.peek-rabbit svg { width: 100%; height: 100%; fill: var(--ube); }
.peek-rabbit:hover, .peek-rabbit:focus-visible { transform: translateY(-55%); }
.peek-rabbit.is-hopping { animation: hop .7s var(--ease) both; }
@keyframes hop {
  0% { transform: translateY(-55%); }
  40% { transform: translateY(-95%) rotate(-8deg); }
  70% { transform: translateY(-45%) rotate(4deg); }
  100% { transform: translateY(-55%); }
}
.peek-bubble {
  position: absolute; left: 90%; bottom: 80%;
  padding: 8px 12px; border: var(--rule); border-radius: 12px 12px 12px 2px;
  background: var(--paper); color: var(--choc);
  font: 700 .875rem/1.3 var(--body); white-space: nowrap;
  opacity: 0; transform: translateY(6px) scale(.95); transform-origin: bottom left;
  transition: opacity .2s, transform .3s var(--bounce);
  pointer-events: none;
}
.peek-bubble:empty { padding: 0; border: 0; }
.peek-rabbit.has-bubble .peek-bubble { opacity: 1; transform: none; }

.footer-bottom {
  position: relative; z-index: 3;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px var(--s3);
  padding-block: var(--s3);
  background: var(--butter);
  font-size: .875rem; font-weight: 500;
}
.site-footer :focus-visible { outline-color: var(--choc); }

/* ==========================================================================
   Scroll reveal (uses `translate` so hover transforms still work)
   ========================================================================== */
.js .reveal {
  opacity: 0; translate: 0 22px;
  transition-property: opacity, translate, transform, box-shadow;
  transition-duration: .7s, .7s, .25s, .25s;
  transition-timing-function: var(--ease);
  transition-delay: var(--d, 0ms), var(--d, 0ms), 0ms, 0ms;
}
.js .reveal.is-visible { opacity: 1; translate: none; }

/* ==========================================================================
   Breakpoints
   ========================================================================== */
@media (min-width: 640px) {
  .item { grid-template-columns: 112px 1fr; gap: var(--s3); }
  .item-photo { width: 112px; height: 112px; }
  .gallery-grid { grid-auto-rows: 190px; gap: 10px; }
  .footer-cols { grid-template-columns: 2fr 1fr 1fr; align-items: start; }
}

@media (min-width: 960px) {
  :root { --header-h: 84px; }
  .stamp { display: inline-block; }
  .menu-toggle { display: none; }
  .site-nav { position: static; padding: 0; background: none; visibility: visible; opacity: 1; transition: none; }
  .site-nav ul { display: flex; align-items: center; gap: var(--s4); }
  .site-nav li, .site-nav li:last-child { border: 0; }
  .site-nav a {
    padding: 6px 0;
    font-family: var(--body); font-size: 1rem; font-weight: 500; letter-spacing: 0;
    text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 3px; text-underline-offset: 6px;
    transition: text-decoration-color .2s;
  }
  .site-nav a:hover { text-decoration-color: var(--butter); }
  .site-nav .nav-cta { padding: 10px 16px; border: var(--rule); border-radius: 8px; font-weight: 700; text-decoration: none; }
  .site-nav .nav-cta:hover { background: var(--choc); color: var(--cream); }

  /* Hero: text left, photo bleeding off the right edge */
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    min-height: min(calc(100vh - var(--header-h)), 820px);
  }
  .hero-text {
    max-width: none; margin: 0; align-self: center;
    padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
    padding-right: var(--s5);
  }
  .hero-photo { aspect-ratio: auto; border-left: var(--rule); }
  .hang-tag { left: -28px; bottom: 18%; font-size: 1.1875rem; }

  /* Menu: sticky intro + photo, list on the right */
  .menu-grid { grid-template-columns: 5fr 7fr; gap: var(--s7); align-items: start; }
  .menu-side { position: sticky; top: calc(var(--header-h) + var(--s4)); }
  .feature-photo { display: block; max-width: 380px; }

  /* Baker: photo bleeds left, text right */
  .baker { grid-template-columns: 1fr 1fr; min-height: 640px; }
  .baker-photo { aspect-ratio: auto; border-right: var(--rule); }
  .baker-text {
    align-self: center;
    padding: var(--s7) max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) var(--s7) var(--s6);
  }

  .gallery-grid { grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(150px, 15vw, 210px); }
  .g1 { grid-column: 1 / 4; grid-row: 1 / 3; }
  .g2 { grid-column: 4 / 5; grid-row: 1 / 3; }
  .g3 { grid-column: 5 / 7; grid-row: 1 / 2; }
  .g4 { grid-column: 5 / 7; grid-row: 2 / 3; }
  .g5 { grid-column: 1 / 3; grid-row: 3 / 5; }
  .g6 { grid-column: 3 / 7; grid-row: 3 / 5; }

  .lb-prev { left: var(--s4); top: 50%; bottom: auto; margin-top: -26px; }
  .lb-next { right: var(--s4); top: 50%; bottom: auto; margin-top: -26px; }
  .lb-close { top: var(--s4); right: var(--s4); }

  .review-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); margin: 0; padding: 0; overflow: visible; }
  .review { padding: var(--s4); }

  .cakes { grid-template-columns: 1fr 1fr; min-height: 620px; }
  .cakes-photo { order: 0; aspect-ratio: auto; border-left: var(--rule); }
  .cakes-text { padding: var(--s7) var(--s6) var(--s7) max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }

  .visit-grid { grid-template-columns: 5fr 7fr; gap: var(--s6); align-items: stretch; }
  .map { min-height: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0ms !important; }
  .js .reveal { opacity: 1; translate: none; }
  .js .scribble svg path { stroke-dashoffset: 0; }
  .btn:hover, .review:hover, .item:hover .item-photo, .g-btn:hover img { transform: none; }
}

/* hours card (no table) */
.hours-lead { line-height: 1.6; color: var(--choc-2); }
.hours-btn { margin-top: var(--s2); }
