/* ===== Hot Berries & Crepes — hand-drawn French café ===== */

/* Palette taken from the shop itself: the turquoise storefront sign, the
   berry-red lettering on the badge and the neon, the chocolate drizzle on
   every plate, powdered sugar, and the golden edge of a crepe. */
:root {
  --paper: #fffdf9;        /* powdered sugar */
  --paper-deep: #e6f6f8;   /* a wash of the sign's turquoise */
  --ink: #3a1e14;          /* chocolate drizzle */
  --ink-soft: #6a4d42;
  --fraise: #d42a41;       /* badge lettering, neon crepe */
  --fraise-deep: #a91b30;
  --myrtille: #0b7483;     /* turquoise, deep enough to read as text */
  --lagoon: #3fc5d5;       /* the storefront sign */
  --butter: #f4a62a;       /* golden crepe edge */
  --leaf: #4f7d2c;
  --espresso: #2b160e;
  /* Lobster, Manrope and Caveat are loaded on Russian pages only, and only draw
     the Cyrillic letters the brand faces don't have. */
  --font-show: "Shrikhand", "Lobster", Georgia, serif;
  --font-display: "Figtree", "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-hand: "Borel", "Caveat", cursive;
  --font-body: "Figtree", "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --wobble: 18px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Eiffel Tower watermark, fixed behind the page content. Content and any
   opaque section backgrounds sit above it via z-index below. */
body::before {
  content: "";
  position: fixed;
  top: 120px;
  right: clamp(-60px, 2vw, 120px);
  bottom: 0;
  width: min(42vw, 460px);
  background: url("images/eiffel-watercolour.png") center bottom / 100% auto no-repeat;
  opacity: 0.14;
  pointer-events: none;
  z-index: 0;
}

main > *, .nav, .footer { position: relative; z-index: 1; }

body {
  font-family: var(--font-body);
  font-size: 1.02rem;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.12;
}

a { color: var(--fraise); }

img, svg { max-width: 100%; }

.illo { display: block; }

/* Handwritten accent — Borel sits low, give it room */
.hand {
  font-family: var(--font-hand);
  font-weight: 400;
  color: var(--fraise);
  line-height: 2;
  font-size: 1.15rem;
}

/* Squiggly underline for headings */
.squiggle {
  display: inline-block;
  padding-bottom: 0.55em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='12' viewBox='0 0 120 12'%3E%3Cpath d='M3 8 Q 13 2 25 7 T 48 6 T 72 7 T 95 5 T 117 7' fill='none' stroke='%23c2334f' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") bottom left / auto 12px no-repeat;
}

/* Short hand-dash divider, like ---- on a chalk menu */
.dashes {
  border: 0;
  height: 12px;
  margin: 0.4rem 0 1rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='12' viewBox='0 0 90 12'%3E%3Cg stroke='%236f5a4e' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M4 7 l12 -1'/%3E%3Cpath d='M26 6 l12 1'/%3E%3Cpath d='M48 7 l12 -1'/%3E%3Cpath d='M70 6 l12 1'/%3E%3C/g%3E%3C/svg%3E") left center / auto 12px no-repeat;
}

.dashes.center { background-position: center; }

/* ===== Nav =====
   The header is the café's own artwork: one banner per language with the name
   and slogan painted in, the links and the language button on its clear sky.
   Scroll past it and a plain bar slides down and stays. ===== */
.hb-illus {
  position: relative;
  background: var(--paper) var(--hb-banner) center top / 100% auto no-repeat;
  aspect-ratio: 2400 / 560;
  border-bottom: 2px solid var(--edge-cream);
}

/* A whisper of cream at the top, so the links read over blossom or birds. */
.hb-illus::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 74px;
  background: linear-gradient(to bottom, rgba(255, 253, 249, 0.88), rgba(255, 253, 249, 0));
  pointer-events: none;
}

.hb-illus-inner {
  position: relative;
  max-width: 1180px;
  margin-inline: auto;
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
}

.hb-illus .nav-links {
  justify-content: flex-end;
  align-items: center;
  gap: 1.4rem;
  flex: none;
}

.hb-illus .nav-links > a {
  color: var(--ink);
  font-weight: 600;
 
}

.hb-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.hb-sticky {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  background: var(--paper);
  border-bottom: 2px solid var(--edge-cream);
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.28s ease;
}

.hb-sticky.is-on { transform: none; visibility: visible; }

.hb-sticky-inner {
  max-width: 1180px;
  margin-inline: auto;
  padding: 0.5rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hb-sticky-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
}

.hb-sticky-brand svg { width: 34px; height: 34px; flex: none; }

.hb-sticky-brand span {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
}

.hb-sticky-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.hb-sticky-links > a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.96rem;
  text-decoration: none;
}

.hb-sticky-links > a:hover { color: var(--fraise); }

@media (prefers-reduced-motion: reduce) {
  .hb-sticky { transition: none; }
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.brand-mark { width: 34px; height: 34px; flex: none; }

.brand-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--ink);
  line-height: 1;
}

.brand-name .hand {
  font-size: 1.05rem;
  margin-left: 0.15rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.98rem;
}

.nav-links a:hover { color: var(--fraise); }

.nav-links a[aria-current="page"] {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='8' viewBox='0 0 60 8'%3E%3Cpath d='M2 5 Q 12 1 24 4 T 45 4 T 58 4' fill='none' stroke='%23c2334f' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") bottom center / 100% 8px no-repeat;
  padding-bottom: 6px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
}

/* ===== Buttons — pen-outlined, print-offset shadow ===== */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  color: var(--ink);
  background: var(--paper);
  border: 2.5px solid var(--edge-cream);
  border-radius: var(--wobble);
 
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.btn:hover {
  transform: translate(-1px, -1px) rotate(-0.5deg);
 
}

.btn:active {
  transform: translate(2px, 2px);
 
}

.btn-primary {
  background: var(--fraise);
  color: #fff8f0;
}

.btn-primary:hover { background: var(--fraise-deep); }

.btn-small { padding: 0.45rem 1.05rem; font-size: 0.9rem; }

.btn-dark-bg {
  background: transparent;
  color: var(--paper);
  border-color: var(--paper);
 
}

.btn-dark-bg:hover { }

/* ===== Hero ===== */
.hero {
  max-width: 1080px;
  margin: 0 auto;
  padding: 3.8rem 1.25rem 3.2rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-kicker { font-size: 1.3rem; }

.hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.5rem);
  margin: 0.4rem 0 1.1rem;
}

.hero-sub {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 34rem;
  margin-bottom: 1.7rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.1rem;
}

.hero-notes {
  display: flex;
  gap: 1.8rem;
  flex-wrap: wrap;
  align-items: center;
}

.note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.note svg { width: 30px; height: 30px; flex: none; }

.note strong { color: var(--ink); }

.hero-illo { justify-self: center; width: min(100%, 400px); }

/* ===== Sections ===== */
.section {
  padding: 3.8rem 1.25rem;
}

.section-inner { max-width: 1080px; margin: 0 auto; }

.section-tint { background: var(--paper-deep); }

.section-kicker { font-size: 1.25rem; }

.section h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin-bottom: 0.5rem; }

.section-sub { color: var(--ink-soft); max-width: 40rem; }

/* Wavy hand-torn edges between sections. The path is the NEXT section's
   color; the svg background is the PREVIOUS section's color. */
.wave {
  display: block;
  width: 100%;
  height: 26px;
  margin: -1px 0;
}

.wave.bg-paper { background: var(--paper); }
.wave.bg-tint { background: var(--paper-deep); }
.wave.bg-espresso { background: var(--espresso); }
.wave .to-tint { fill: var(--paper-deep); }
.wave .to-espresso { fill: var(--espresso); }
.wave .to-paper { fill: var(--paper); }

/* ===== Specialties (menu-board style) ===== */
.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 3rem;
  margin-top: 1.8rem;
}

.spec {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 1rem 0;
}

.spec svg { width: 46px; height: 46px; }

.spec-line {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.spec-line h3 { font-size: 1.18rem; white-space: nowrap; }

.spec-line .leader {
  flex: 1;
  border-bottom: 2.5px dotted var(--edge-cream);
  opacity: 0.6;
  transform: translateY(-4px);
}

.spec-line .price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--fraise);
  white-space: nowrap;
}

.spec p { color: var(--ink-soft); font-size: 0.95rem; margin-top: 0.2rem; }

.spec .fav {
  font-family: var(--font-hand);
  color: var(--leaf);
  font-size: 0.95rem;
  line-height: 2;
  margin-left: 0.5rem;
}

.section-cta { margin-top: 1.6rem; }

/* ===== Story teaser / story page ===== */
.story-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: center;
}

.story-grid .illo-wrap { text-align: center; }

.story-grid .illo-wrap svg { width: min(100%, 340px); height: auto; }

.story-grid blockquote {
  font-size: 1.35rem;
  font-family: var(--font-display);
  line-height: 1.4;
  margin: 1rem 0 1.4rem;
}

.story-grid blockquote .hand { font-size: 1.35rem; color: var(--fraise); }

/* Timeline */
.timeline {
  margin-top: 2.6rem;
  display: grid;
  gap: 2.6rem;
}

.tl-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 2rem;
  align-items: center;
}

.tl-item:nth-child(even) { grid-template-columns: 1fr 150px; }

.tl-item:nth-child(even) .tl-illo { order: 2; }

.tl-illo { text-align: center; }

.tl-illo svg { width: 140px; height: auto; }

.tl-date {
  font-family: var(--font-hand);
  color: var(--myrtille);
  font-size: 1.2rem;
  line-height: 2;
}

.tl-item h3 { font-size: 1.35rem; margin-bottom: 0.3rem; }

.tl-item p { color: var(--ink-soft); max-width: 44rem; }

/* ===== Dark quote band ===== */
.band {
  background: var(--espresso);
  color: var(--paper);
  text-align: center;
  padding: 3.4rem 1.25rem;
}

.band blockquote {
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  max-width: 46rem;
  margin: 0 auto 0.9rem;
  line-height: 1.5;
}

.band figcaption { color: var(--butter); font-weight: 500; }

.band .rosette-row {
  margin-top: 1.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--paper);
}

.band .rosette-row svg { width: 46px; height: 46px; }

.band .rosette-row span { font-weight: 700; }

/* ===== Press clippings ===== */
.press-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  margin-top: 2rem;
  align-items: stretch;
}

.clip {
  background: var(--paper);
  border: 2px solid var(--edge-cream);
  border-radius: 4px 10px 6px 12px / 10px 5px 12px 6px;
 
  padding: 1.4rem 1.5rem 1.2rem;
  display: flex;
  flex-direction: column;
}

.clip:nth-child(odd) { transform: rotate(-0.8deg); }
.clip:nth-child(even) { transform: rotate(0.9deg); }

.clip-source {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-hand);
  color: var(--myrtille);
  font-size: 0.98rem;
  line-height: 2;
}

.clip-source svg { width: 30px; height: 30px; flex: none; }

.clip h3 {
  font-size: 1.18rem;
  margin: 0.4rem 0 0.4rem;
}

.clip p { color: var(--ink-soft); font-size: 0.94rem; flex: 1; }

.clip .clip-link {
  margin-top: 0.8rem;
  font-weight: 700;
  font-size: 0.94rem;
}

.mentions-row {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.6rem;
  color: var(--ink-soft);
  font-weight: 500;
}

.mentions-row .hand { font-size: 1.05rem; }

/* ===== Order strip ===== */
.order-strip { text-align: center; }

.order-strip .order-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}

/* ===== Menu page ===== */
.page-head {
  max-width: 1080px;
  margin: 0 auto;
  padding: 3rem 1.25rem 0.5rem;
}

.page-head h1 { font-size: clamp(2.1rem, 4.5vw, 3rem); margin: 0.2rem 0 0.7rem; }

.page-head .lede { color: var(--ink-soft); max-width: 42rem; }

.menu-jump {
  max-width: 1080px;
  margin: 1.6rem auto 0;
  padding: 0 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.menu-jump a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
  border: 2px solid var(--edge-cream);
  border-radius: var(--wobble);
  padding: 0.35rem 0.95rem;
  background: var(--paper);
}

.menu-jump a:hover { background: var(--paper-deep); }

.menu-cat {
  max-width: 880px;
  margin: 0 auto;
  padding: 2.6rem 1.25rem 0.6rem;
  scroll-margin-top: 90px;
}

.menu-cat-head {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.menu-cat-head svg { width: 52px; height: 52px; flex: none; }

.menu-cat h2 { font-size: 1.7rem; }

.menu-cat .blurb { margin: 0.3rem 0 1.4rem; }

.menu-list { list-style: none; }

.menu-row { padding: 0.85rem 0; }

.menu-row-line {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.menu-row-line h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.menu-row-line .leader {
  flex: 1;
  border-bottom: 2.5px dotted var(--edge-cream);
  opacity: 0.6;
  transform: translateY(-4px);
}

.menu-row-line .price {
  font-family: var(--font-display);
  color: var(--fraise);
  white-space: nowrap;
}

.menu-row p { color: var(--ink-soft); font-size: 0.95rem; }

.menu-row .contains {
  font-size: 0.82rem;
  color: var(--ink-soft);
  opacity: 0.85;
  margin-top: 0.2rem;
  font-style: italic;
}

.menu-row .fav {
  font-family: var(--font-hand);
  color: var(--leaf);
  font-size: 0.95rem;
  line-height: 2;
  margin-left: 0.5rem;
}

.menu-note {
  max-width: 880px;
  margin: 2.4rem auto 0;
  padding: 0 1.25rem 3.4rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* ===== Visit page ===== */
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2.6rem;
  align-items: start;
  margin-top: 2rem;
}

.visit-info h2 { font-size: 1.4rem; margin: 1.6rem 0 0.5rem; }

.visit-info h2:first-child { margin-top: 0; }

.visit-info p { color: var(--ink-soft); }

.hours-table { border-collapse: collapse; width: 100%; max-width: 360px; }

.hours-table td {
  padding: 0.45rem 0;
  color: var(--ink-soft);
  border-bottom: 2px dotted rgba(111, 90, 78, 0.4);
}

.hours-table td:last-child { text-align: right; font-weight: 700; color: var(--ink); }

.perk-list {
  list-style: none;
  display: grid;
  gap: 0.45rem;
  margin-top: 0.4rem;
}

.perk-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink-soft);
  font-weight: 500;
}

.perk-list svg { width: 20px; height: 20px; flex: none; }

.visit-map iframe {
  width: 100%;
  height: 400px;
  border: 2.5px solid var(--edge-cream);
  border-radius: var(--wobble);
 
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 720px;
  margin-top: 1.4rem;
}

.faq-list details {
  border-bottom: 2px dotted rgba(111, 90, 78, 0.4);
  padding: 0.9rem 0;
}

.faq-list summary {
  font-family: var(--font-display);
  font-size: 1.12rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::before {
  content: "+";
  color: var(--fraise);
  font-family: var(--font-body);
  font-weight: 700;
  flex: none;
}

.faq-list details[open] summary::before { content: "–"; }

.faq-list details p {
  margin-top: 0.5rem;
  padding-left: 1.2rem;
  color: var(--ink-soft);
}

/* ===== Photos (hand-drawn frames) ===== */
.photo-frame {
  display: block;
  width: 100%;
  height: auto;
  border: 2.5px solid var(--edge-cream);
  border-radius: 18px 24px 16px 26px / 24px 17px 25px 16px;
 
}

.photo-wrap { position: relative; }

.photo-wrap.tilt-left { transform: rotate(-1.4deg); }
.photo-wrap.tilt-right { transform: rotate(1.4deg); }

.photo-wrap .photo-accent {
  position: absolute;
  top: -22px;
  left: -20px;
  width: 56px;
  height: 56px;
  transform: rotate(-14deg);
}

.photo-caption {
  font-family: var(--font-hand);
  color: var(--myrtille);
  font-size: 1rem;
  line-height: 2;
  text-align: center;
  margin-top: 0.7rem;
}

.page-head-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

/* ===== Footer ===== */
.footer {
  background: var(--espresso);
  color: rgba(250, 243, 231, 0.8);
  padding: 1.8rem 1.25rem 2.2rem;
}

.footer .skyline {
  display: block;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 2.2rem;
  opacity: 0.4;
}

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

.footer a:hover { text-decoration: underline; }

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2.4rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--paper);
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.footer-brand svg { width: 30px; height: 30px; }

.footer-tag {
  font-family: var(--font-hand);
  color: var(--butter);
  line-height: 2;
  margin-top: 0.5rem;
}

.footer h3 {
  color: var(--paper);
  font-size: 1.02rem;
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.footer ul { list-style: none; display: grid; gap: 0.35rem; }

.footer-fine {
  max-width: 1080px;
  margin: 2.4rem auto 0;
  padding-top: 1.2rem;
  border-top: 2px dotted rgba(250, 243, 231, 0.3);
  font-size: 0.85rem;
  opacity: 0.65;
}

/* ===== Accessibility ===== */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--myrtille);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}

/* ===== Mobile ===== */
@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; padding-top: 2.6rem; text-align: left; }

  .hero-illo { order: -1; }

  .hero-illo { width: min(78vw, 340px); margin-bottom: 1rem; }

  .page-head-grid { grid-template-columns: 1fr; gap: 1.8rem; }

  body::before { opacity: 0.06; width: 56vw; right: -14vw; }

  .spec-grid { grid-template-columns: 1fr; gap: 0; }

  .story-grid { grid-template-columns: 1fr; gap: 1.6rem; }

  .tl-item, .tl-item:nth-child(even) { grid-template-columns: 96px 1fr; }

  .tl-item:nth-child(even) .tl-illo { order: 0; }

  .tl-illo svg { width: 90px; }

  .visit-grid { grid-template-columns: 1fr; }

  .press-grid { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: 1.8rem; }
}

@media (max-width: 860px) {
  /* Narrow screens get the upright crop of the same artwork. */
  .hb-illus {
    background-image: var(--hb-banner-phone);
    aspect-ratio: 1200 / 620;
  }

  .hb-illus-inner { padding: 12px 14px; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }

  /* The links fold into the hamburger, which sits on the picture; the panel
     drops onto cream below the band. `static` here so the panel's `top: 100%`
     measures the whole header, not this row — the hamburger carries its own
     stacking context, so nothing falls behind the cream scrim. */
  .hb-illus-inner {
    position: static;
    flex-direction: row;
    justify-content: flex-end;
    align-items: flex-start;
  }

  .hb-illus .nav-toggle {
    position: relative;
    z-index: 3;
    background: rgba(250, 245, 234, 0.86);
    border: 2px solid var(--edge-cream);
    border-radius: 12px;
    padding: 8px 7px;
  }

  .hb-illus .nav-links {
    top: 100%;
    gap: 1rem;
    padding: 1.2rem;
    z-index: 3;
    align-items: flex-start;
    text-align: left;
  }

  .hb-illus .nav-links > a,
  .hb-illus .nav-links .lang-switch {
    align-self: flex-start;
    margin: 0;
  }

  .hb-sticky-brand span { font-size: 0.98rem; }
  .hb-sticky-links { gap: 0.7rem; }
  .hb-sticky-links > a:not(.btn) { display: none; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.2rem;
    gap: 1rem;
    border-bottom: 2.5px solid var(--edge-cream);
  }

  .nav-links.open { display: flex; }
}

/* ===== Logo badge (inline #i-logo symbol) ===== */
:root { --ciel: #cfe3ee; --crepe: #e8893a; --nav-h: 72px; }

.brand-mark { width: 46px; height: 46px; }

.footer-brand svg { width: 40px; height: 40px; }

/* ===== Welcome — a little celebration on arrival. The badge pops onto the
   paper with a burst ring, confetti showers out from behind it, the greeting
   rises, then the curtain lifts. Once a day per browser;
   skipped for reduced motion (see the inline script in index.html). ===== */
.welcome {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--paper);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  cursor: pointer;
  overflow: hidden;
  text-align: center;
  padding: 0 1.2rem;
}

.welcome-stage {
  position: relative;
  display: grid;
  place-items: center;
  width: min(60vw, 280px);
  height: min(60vw, 280px);
}

.welcome-logo {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
 
  opacity: 0;
}

.welcome-ring {
  position: absolute;
  inset: 0;
  border: 3px solid var(--fraise);
  border-radius: 50%;
  opacity: 0;
  z-index: 1;
}

.welcome-ring-2 { border-color: var(--butter); border-style: dashed; }

.welcome-word {
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.5;
  margin-top: 1.2rem;
  opacity: 0;
}

.welcome-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 7vw, 4.2rem);
  line-height: 1.05;
  color: var(--ink);
  margin: 0.1rem 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 0.28em;
}

.welcome-title span { display: inline-block; opacity: 0; }

/* the ampersand is part of the name, so it is set in the name's own lettering */
.welcome-title .amp { color: inherit; font-family: inherit; font-size: 1em; }

.welcome-sub {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: clamp(0.85rem, 2vw, 1rem);
  margin-top: 0.9rem;
  opacity: 0;
}

.welcome-skip {
  position: absolute;
  right: 1.2rem;
  bottom: 1.6rem;
  background: none;
  border: 0;
  font: inherit;
  font-weight: 700;
  color: var(--ink-soft);
  cursor: pointer;
  opacity: 0;
}

/* confetti pieces: positioned at the center, flung to --x/--y */
.welcome-confetti { position: absolute; inset: 0; pointer-events: none; z-index: 3; }

.cf {
  position: absolute;
  left: 50%;
  top: 44%;
  opacity: 0;
  will-change: transform, opacity;
}

.cf-bit {
  width: 12px; height: 18px;
  margin: -9px 0 0 -6px;
  background: var(--c);
  border: 1.5px solid var(--edge-cream);
  border-radius: 3px 5px 2px 6px;
}

.cf-bit:nth-child(3n) { width: 10px; height: 10px; border-radius: 50%; }
.cf-bit:nth-child(4n) { width: 20px; height: 8px; border-radius: 4px; }

.cf-berry { width: 34px; height: 34px; margin: -17px 0 0 -17px; }

html.welcome-on { overflow: hidden; }

html.welcome-on .welcome {
  display: flex;
  animation: welcome-lift 0.8s cubic-bezier(0.7, 0, 0.3, 1) 3.6s forwards;
}

html.welcome-on .welcome.skip { animation: welcome-lift 0.45s cubic-bezier(0.7, 0, 0.3, 1) 0s forwards; }

html.welcome-on .welcome-logo { animation: pop 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s both; }
html.welcome-on .welcome-ring { animation: ring 1.1s cubic-bezier(0.2, 0.8, 0.3, 1) 0.45s both; }
html.welcome-on .welcome-ring-2 { animation: ring 1.3s cubic-bezier(0.2, 0.8, 0.3, 1) 0.6s both; }
html.welcome-on .cf { animation: confetti var(--t) cubic-bezier(0.15, 0.7, 0.3, 1) var(--d) both; }
html.welcome-on .welcome-word { animation: rise 0.55s cubic-bezier(0.2, 0.9, 0.3, 1.1) 0.85s forwards; }
html.welcome-on .welcome-title span { animation: rise 0.6s cubic-bezier(0.2, 0.9, 0.3, 1.2) both; }
html.welcome-on .welcome-title span:nth-child(1) { animation-delay: 1.05s; }
html.welcome-on .welcome-title span:nth-child(2) { animation-delay: 1.17s; }
html.welcome-on .welcome-title span:nth-child(3) { animation-delay: 1.29s; }
html.welcome-on .welcome-title span:nth-child(4) { animation-delay: 1.41s; }
html.welcome-on .welcome-sub { animation: rise 0.5s ease-out 1.75s forwards; }
html.welcome-on .welcome-skip { animation: rise 0.4s ease-out 1.6s forwards; }
html.welcome-on .hero { animation: rise 0.7s ease-out 3.9s both; }

@keyframes pop {
  0% { transform: scale(0) rotate(-25deg); opacity: 0; }
  60% { transform: scale(1.12) rotate(4deg); opacity: 1; }
  80% { transform: scale(0.96) rotate(-2deg); }
  100% { transform: scale(1) rotate(-3deg); opacity: 1; }
}

@keyframes ring {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(2.1); opacity: 0; }
}

@keyframes confetti {
  0% { transform: translate(0, 0) scale(0) rotate(0); opacity: 0; }
  12% { opacity: 1; }
  60% { transform: translate(calc(var(--x) * 0.9), calc(var(--y) * 0.85)) scale(var(--s)) rotate(calc(var(--r) * 0.7)); opacity: 1; }
  100% { transform: translate(var(--x), calc(var(--y) + 160px)) scale(var(--s)) rotate(var(--r)); opacity: 0; }
}

@keyframes rise {
  from { transform: translateY(18px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes welcome-lift {
  to { transform: translateY(-112%); }
}

/* ===== Specialties with photos ===== */
.spec { grid-template-columns: 132px 1fr; }

.spec .spec-photo {
  display: block;
  width: 132px;
  height: 100px !important;
  object-fit: cover;
  border: 2.5px solid var(--edge-cream);
  border-radius: 10px 14px 9px 15px / 14px 10px 15px 9px;
 
}

.spec:nth-child(even) .spec-photo { transform: rotate(1.2deg); }
.spec:nth-child(odd) .spec-photo { transform: rotate(-1.2deg); }

/* ===== Photo wall — snapshots pinned to the paper ===== */
.photo-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 1.6rem;
  margin-top: 2rem;
}

.photo-wall figure { margin: 0; }

.photo-wall figure:nth-child(3n+1) { transform: rotate(-1.6deg); }
.photo-wall figure:nth-child(3n+2) { transform: rotate(1.1deg) translateY(10px); }
.photo-wall figure:nth-child(3n+3) { transform: rotate(-0.6deg); }

.photo-wall img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 2.5px solid var(--edge-cream);
  border-radius: 12px 16px 10px 18px / 16px 11px 17px 10px;
 
  background: var(--paper-deep);
}

.photo-wall figure.tall img { aspect-ratio: 3 / 4; }

.photo-wall figcaption {
  font-family: var(--font-hand);
  color: var(--myrtille);
  font-size: 1rem;
  line-height: 2;
  text-align: center;
  margin-top: 0.5rem;
}

/* pin (tape) on top of each snapshot */
.photo-wall figure { position: relative; }
.photo-wall figure::before {
  content: "";
  position: absolute;
  top: -12px; left: 50%;
  width: 70px; height: 22px;
  transform: translateX(-50%) rotate(-3deg);
  background: rgba(233, 180, 76, 0.55);
  border: 1.5px solid rgba(59, 42, 35, 0.35);
  z-index: 1;
}

.photo-wall.two { grid-template-columns: repeat(2, 1fr); max-width: 760px; }

/* ===== Menu page: photo per section ===== */
.menu-cat-body {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 0.6rem 2.4rem;
  align-items: start;
  margin-top: 0.4rem;
}

.menu-cat-photo { grid-column: 2; grid-row: 1; margin: 0.4rem 0 0; }

.menu-cat-photo .photo-frame { height: auto; aspect-ratio: 4 / 3; object-fit: cover; }

.menu-cat-body .menu-list { grid-column: 1; }

.menu-cat-body .photo-caption { font-size: 0.95rem; margin-top: 0.4rem; }

/* ===== Order page ===== */
.test-banner {
  background: #f4ead6;
  border: 2px solid var(--edge-cream);
  border-radius: var(--wobble);
 
  max-width: 1080px;
  margin: 1.4rem auto 0;
  padding: 0.8rem 1.1rem;
  font-size: 0.93rem;
}

.order-head {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 2rem;
  align-items: center;
}

.order-badge { width: 150px; height: 150px; transform: rotate(-4deg);  }

.order-tabs {
  position: sticky;
  top: var(--nav-h);
  z-index: 40;
  background: var(--paper);
  border-bottom: 2px dotted rgba(111, 90, 78, 0.4);
  /* The bar runs edge to edge, but its tabs start where the sections below
     do: the 1080px column plus its 1.25rem gutter. */
  padding: 0.7rem max(1.25rem, calc((100% - 1080px) / 2 + 1.25rem));
  margin-top: 1.6rem;
}

.order-tabs::after { content: ""; }

.order-tabs a {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
  border: 2px solid var(--edge-cream);
  border-radius: var(--wobble);
  padding: 0.3rem 0.9rem;
  background: var(--paper);
  margin: 0.2rem 0.4rem 0.2rem 0;
}

.order-tabs a.on { background: var(--fraise); color: #fff8f0; }

.order-tabs a:hover { background: var(--paper-deep); color: var(--ink); }

.order-cat {
  max-width: 1080px;
  margin: 0 auto;
  padding: 2.6rem 1.25rem 0.6rem;
  scroll-margin-top: calc(var(--nav-h) + 64px);
}

.order-cat .menu-cat-head svg { width: 52px; height: 52px; flex: none; }

.order-cat h2 { font-size: 1.7rem; }

.order-cat .blurb { margin: 0.3rem 0 1.2rem; }

.dish-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(225px, 1fr));
  gap: 1.3rem;
}

.dish-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  text-align: left;
  font: inherit;
  color: var(--ink);
  background: #fbf3e2;
  border: 2.5px solid var(--edge-cream);
  border-radius: var(--wobble);
 
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.dish-btn:hover { transform: translate(-1px, -1px); }
.dish-btn:active { transform: translate(2px, 2px); }

.dish-photo { display: block; border-bottom: 2.5px solid var(--edge-cream); background: var(--paper-deep); }

.dish-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }

.dish-body { display: flex; flex-direction: column; gap: 0.25rem; padding: 0.85rem 1rem 1rem; flex: 1; }

.dish-name { font-family: var(--font-display); font-size: 1.12rem; line-height: 1.2; padding-right: 2rem; }

.dish-desc {
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dish-price {
  font-family: var(--font-display);
  color: var(--fraise);
  margin-top: auto;
  padding-top: 0.3rem;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.dish-star { color: var(--leaf); font-size: 0.9rem; line-height: 1.6; }

.dish-add {
  position: absolute;
  right: 0.8rem;
  bottom: 0.85rem;
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--edge-cream);
  border-radius: 50%;
 
}

.dish-btn.added .dish-add { background: var(--leaf); color: #fff8f0; }

/* cart bar */
.cart-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--espresso);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.6rem 1.25rem;
  z-index: 60;
  font-weight: 700;
  border-top: 2.5px solid var(--edge-cream);
}

.cart-bar svg { width: 38px; height: 38px; }

.cart-bar button {
  font-family: var(--font-body);
  font-weight: 700;
  background: var(--fraise);
  color: #fff8f0;
  border: 2px solid var(--paper);
  border-radius: 14px;
  padding: 0.45rem 1.3rem;
  cursor: pointer;
  font-size: 0.95rem;
}

.cart-bar[hidden] { display: none; }

body.has-cart { padding-bottom: 76px; }
body.no-scroll { overflow: hidden; }

/* sheets */
.overlay {
  position: fixed; inset: 0;
  background: rgba(47, 33, 24, 0.55);
  z-index: 70;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 3vh 1rem;
  overflow-y: auto;
}

.sheet {
  position: relative;
  background: var(--paper);
  border: 2.5px solid var(--edge-cream);
  border-radius: var(--wobble);
 
  width: min(560px, 100%);
  padding: 1.4rem 1.5rem 1.6rem;
  animation: sheet-in 0.25s cubic-bezier(0.2, 0.9, 0.3, 1.1) both;
}

@keyframes sheet-in { from { transform: translateY(18px) scale(0.98); opacity: 0; } }

.sheet h2 { margin-top: 0; }

.sheet-item { width: min(620px, 100%); padding: 0; overflow: hidden; }

.sheet-close {
  position: absolute;
  top: 0.7rem; right: 0.7rem;
  z-index: 2;
  width: 38px; height: 38px;
  border: 2px solid var(--edge-cream);
  border-radius: 50%;
  background: var(--paper);
 
  font: 700 1.4rem/1 var(--font-body);
  color: var(--ink);
  cursor: pointer;
}

.item-photo { border-bottom: 2.5px solid var(--edge-cream); background: var(--paper-deep); }

.item-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }

.item-body { padding: 1.1rem 1.5rem 0.6rem; }

.item-cat { font-size: 1rem; line-height: 1.6; }

.item-title { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }

.item-title h2 { font-size: 1.55rem; }

.item-title .price { font-family: var(--font-display); font-size: 1.2rem; color: var(--fraise); white-space: nowrap; }

.item-desc { color: var(--ink-soft); margin-top: 0.3rem; }

.item-body .contains { font-size: 0.8rem; font-style: italic; color: var(--ink-soft); margin-top: 0.3rem; }

.opt-group { border: 0; padding: 0; margin: 1.1rem 0 0; }

.opt-legend {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  padding: 0;
}

.opt-hint { font-family: var(--font-hand); color: var(--myrtille); font-size: 0.9rem; font-weight: 400; }

/* .sheet label / .sheet input (checkout form) would otherwise win here */
.sheet .opt {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
  padding: 0.45rem 0;
  font-weight: 400;
  font-size: 1rem;
  color: var(--ink);
  border-bottom: 2px dotted rgba(111, 90, 78, 0.3);
  cursor: pointer;
}

.sheet .opt input {
  width: 20px; height: 20px;
  padding: 0; margin: 0;
  border: 0; background: none;
  accent-color: var(--fraise);
  flex: none;
}

.sheet .opt-legend { display: flex; margin: 0 0 0.35rem; font-weight: 400; font-size: 1.05rem; color: var(--ink); }

.opt-name { flex: 1; }

.opt-price { font-family: var(--font-display); color: var(--ink-soft); font-size: 0.92rem; }

.opt-group textarea {
  font-family: var(--font-body); font-size: 0.95rem; color: var(--ink);
  background: #fbf3e2; border: 2px solid rgba(111,90,78,.35);
  border-radius: 8px; padding: 0.5rem 0.65rem; width: 100%; resize: vertical;
}

.opt-group textarea:focus { border-color: var(--myrtille); outline: none; }

.note-count { text-align: right; font-size: 0.82rem; color: var(--ink-soft); margin-top: 0.15rem; }

.item-foot {
  position: sticky;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.5rem 1.1rem;
  background: var(--paper);
  border-top: 2px dotted rgba(111, 90, 78, 0.4);
}

.item-foot .btn { flex: 1; text-align: center; }

.qty { display: flex; align-items: center; gap: 0.6rem; font-weight: 700; font-variant-numeric: tabular-nums; }

.qty-btn {
  width: 32px; height: 32px;
  border: 2px solid var(--edge-cream);
  background: #fbf3e2;
  border-radius: 8px;
  font: 700 1.1rem/1 var(--font-body);
  color: var(--ink);
  cursor: pointer;
}

.qty-btn:active { background: var(--paper-deep); }

.cart-row { display: flex; align-items: center; gap: 0.6rem; padding: 0.55rem 0; border-bottom: 2px dotted rgba(111,90,78,.35); }
.cart-row .n { flex: 1; display: flex; flex-direction: column; }
.cart-row .qty-btn { width: 26px; height: 26px; font-size: 1rem; }
.cart-row .amt { font-variant-numeric: tabular-nums; white-space: nowrap; min-width: 4.2rem; text-align: right; }
.cart-opts { font-size: 0.82rem; color: var(--ink-soft); }
.cart-note { font-size: 0.82rem; color: var(--myrtille); font-style: italic; }

.totals { margin-top: 0.9rem; font-variant-numeric: tabular-nums; }
.totals div { display: flex; justify-content: space-between; padding: 0.15rem 0; }
.totals .grand { font-family: var(--font-display); font-size: 1.15rem; border-top: 2px solid var(--edge-cream); margin-top: 0.4rem; padding-top: 0.5rem; }

.sheet label { font-weight: 700; font-size: 0.82rem; color: var(--ink-soft); display: block; margin: 0.7rem 0 0.15rem; }
.sheet input, .sheet > div > textarea {
  font-family: var(--font-body); font-size: 0.95rem; color: var(--ink);
  background: #fbf3e2; border: 2px solid rgba(111,90,78,.35);
  border-radius: 8px; padding: 0.45rem 0.6rem; width: 100%;
}
.sheet .err { color: var(--fraise-deep); font-weight: 700; min-height: 1.2em; margin: 0.5rem 0 0; }
.pay-note { font-size: 0.82rem; color: var(--ink-soft); margin-top: 0.6rem; }
.stripe-head { display: flex; justify-content: space-between; align-items: center; }
.stripe-badge { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; background: var(--myrtille); color: #fff; border-radius: 6px; padding: 0.2rem 0.6rem; }
.success-mark { display: block; width: 120px; height: 120px; margin: 0 auto 0.6rem; transform: rotate(-4deg); }
.hidden { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  .sheet { animation: none; }
  .dish-btn { transition: none; }
}

@media (max-width: 800px) {
  .menu-cat-body { grid-template-columns: 1fr; }
  .menu-cat-photo { grid-column: 1; grid-row: 1; max-width: 300px; }
  .menu-cat-body .menu-list { grid-column: 1; }
  .photo-wall { grid-template-columns: repeat(2, 1fr); gap: 1.6rem 1rem; }
  .order-head { grid-template-columns: 100px 1fr; gap: 1.2rem; }
  .order-badge { width: 100px; height: 100px; }
  .spec { grid-template-columns: 96px 1fr; }
  .spec .spec-photo { width: 96px; height: 76px; }
}

@media (max-width: 560px) {
  .order-tabs { overflow-x: auto; white-space: nowrap; padding: 0.55rem 1.25rem; -webkit-overflow-scrolling: touch; }
  .dish-grid { grid-template-columns: 1fr; gap: 0.9rem; }
  .dish-btn { flex-direction: row-reverse; align-items: stretch; }
  .dish-photo { flex: none; width: 118px; border-bottom: 0; border-left: 2.5px solid var(--edge-cream); }
  .dish-photo img { height: 100%; aspect-ratio: auto; min-height: 110px; }
  .dish-add { display: none; }
  .dish-name { padding-right: 0; }
  .photo-wall figure:nth-child(n) { transform: none; }
  .overlay { padding: 0; align-items: flex-end; }
  .sheet { width: 100%; border-radius: 18px 18px 0 0; border-bottom: 0; box-shadow: none; max-height: 96vh; overflow-y: auto; }
  .sheet-item .item-photo img { aspect-ratio: 16 / 9; }
}

/* ===== Documents: allergens, terms, privacy, accessibility ===== */
.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 1rem 1.25rem 4rem;
  color: var(--ink);
}

.doc h2 { font-size: 1.45rem; margin: 2.2rem 0 0.6rem; scroll-margin-top: calc(var(--nav-h) + 16px); }

.doc h3 { font-size: 1.15rem; margin: 1.8rem 0 0.5rem; }

.doc p { margin-bottom: 0.9rem; max-width: 40rem; }

.doc-meta { font-family: var(--font-hand); color: var(--myrtille); font-size: 1rem; line-height: 2; }

.doc-list { list-style: none; display: grid; gap: 0.6rem; margin: 0.4rem 0 1rem; max-width: 40rem; }

.doc-list li { padding-left: 1.4rem; position: relative; }

.doc-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--fraise);
  border: 1.5px solid var(--edge-cream);
}

.doc-table { width: 100%; border-collapse: collapse; margin: 0.4rem 0 1.2rem; font-size: 0.95rem; }

.doc-table th {
  text-align: left;
  font-family: var(--font-display);
  font-weight: 400;
  padding: 0.5rem 0.6rem 0.5rem 0;
  border-bottom: 2.5px solid var(--edge-cream);
}

.doc-table td { padding: 0.5rem 0.6rem 0.5rem 0; border-bottom: 2px dotted rgba(111, 90, 78, 0.35); vertical-align: top; color: var(--ink-soft); }

.doc-table td:first-child { color: var(--ink); font-weight: 500; width: 42%; }

.doc-table .none { font-style: italic; opacity: 0.8; }

.doc-fine { font-size: 0.9rem; color: var(--ink-soft); }

.notice {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1rem;
  align-items: center;
  background: #f4ead6;
  border: 2.5px solid var(--edge-cream);
  border-radius: var(--wobble);
 
  padding: 1rem 1.2rem;
  margin: 0.4rem 0 1.6rem;
}

.notice svg { width: 64px; height: 64px; transform: rotate(-4deg); }

.notice p { margin: 0; max-width: none; }

.notice-draft { grid-template-columns: 1fr; background: var(--paper-deep); font-size: 0.92rem; }

/* highlighted placeholder to be filled in by the owner / attorney */
.ph {
  background: #f4ead6;
  color: var(--ink);
  border-bottom: 2px dashed var(--butter);
  padding: 0 0.25em;
  font-style: italic;
}

.footer-inner { grid-template-columns: 1.2fr 0.9fr 0.9fr 0.9fr; }

@media (max-width: 800px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .notice { grid-template-columns: 1fr; }
  .doc-table td:first-child { width: auto; }
}

@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
}

.doc-head { max-width: 760px; padding-bottom: 0; }

/* =====================================================================
   The sign, the plate, the drizzle — theme layer over everything above.
   Shrikhand is the storefront voice (h1/h2 only), Figtree does the
   clear work, Borel stays for the odd handwritten aside.
   ===================================================================== */
body { font-size: 1.04rem; }

h1, h2 {
  font-family: var(--font-show);
  font-weight: 400;
  line-height: 1.1;
}

h3 { font-family: var(--font-body); font-weight: 800; letter-spacing: -0.01em; }

.price, .dish-price, .dish-name, .opt-legend, .opt-price, .totals .grand,
.faq-list summary, .doc-table th, .item-title .price, .brand-name { font-weight: 800; }

.brand-name { letter-spacing: -0.02em; }

.welcome { background: var(--lagoon); }
.welcome-title { font-family: var(--font-show); }
.welcome-word, .welcome-title .amp { color: var(--ink); }
.welcome-sub, .welcome-skip { color: var(--ink); }

/* Buttons: round like a plate rim, sitting on a chocolate shadow */
.btn {
  border-width: 2px;
  border-radius: 14px;
 
  padding: 0.78rem 1.55rem;
  font-weight: 800;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(3px); }
.btn-small { padding: 0.45rem 1.1rem; }
.btn-primary { color: #fff; }
/* Ordering not open yet: still pressable, so it can say why, but it looks it. */
.btn.is-closed { opacity: 0.5; box-shadow: none; }
.btn-dark-bg { }
.btn-dark-bg:hover { }

a:focus-visible, button:focus-visible { outline-color: var(--fraise); }

/* ---------- Hero: what the café makes, and where to start ----------
   The banner above already carries the badge, the name and the slogan, so
   this band doesn't say them again: it opens on what's made here. */
.hb-hero {
  position: relative;
  background: var(--lagoon);
  overflow: hidden;
}

.hb-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(2.4rem, 5vw, 3.6rem) 1.25rem clamp(5.5rem, 10vw, 7.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* the award, stuck beside the stars like a sticker on the shop window */
/* big enough to read "Best of Wichita" at a glance */
.hb-sticker {
  width: 88px;
  height: 88px;
  flex: none;
  margin: -0.4rem 0.2rem -0.4rem 0;
  transform: rotate(-10deg);
  overflow: visible;
}

.hb-sticker path { fill: var(--fraise); stroke: var(--ink); stroke-width: 1.4; stroke-linejoin: round; }
.hb-sticker text { fill: #fff; font: 800 4.3px var(--font-body); text-anchor: middle; }
.hb-sticker text.big { font: 400 7px var(--font-show); }

.hb-lede {
  margin: 0;
  font-size: clamp(1.15rem, 1.9vw, 1.4rem);
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink);
  max-width: 40rem;
  text-wrap: pretty;
}

.hb-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem 1rem;
  margin-top: 1.15rem;
}

.hb-proof {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.4rem 0.6rem;
  margin-top: 1.2rem;
  color: var(--ink);
  font-size: 0.98rem;
}

.hb-proof p {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.4rem 0.6rem;
}

.hb-stars { color: var(--paper); letter-spacing: 0.08em; font-size: 1.1rem; -webkit-text-stroke: 1px var(--ink); }

/* a round plate with a sugar-white rim, sitting on a chocolate shadow */
.plate {
  position: absolute;
  margin: 0;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--paper);
 
}

.plate img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* food frames the name from the edges on wide screens, and steps aside
   entirely where it would crowd it */
.hb-flank {
  z-index: 0;
  width: clamp(200px, 20vw, 300px);
  display: none;
}

.hb-flank-left { left: -3%; top: 12%; transform: rotate(-6deg); }
.hb-flank-right { right: -3%; bottom: 16%; transform: rotate(5deg); }

@media (min-width: 1100px) {
  .hb-flank { display: block; }
}

html.welcome-on .hb-hero-inner { animation: rise 0.7s ease-out 3.9s both; }

/* ---------- At a glance ---------- */
.hb-glance {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: calc(-1 * clamp(3rem, 6vw, 4.2rem)) auto 0;
  padding: 0 1.25rem;
}

.hb-glance-card {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem 1.6rem;
  background: var(--paper);
  border: 2px solid var(--edge-cream);
  border-radius: 26px;
 
  padding: 1.3rem 1.6rem;
}

.glance { display: flex; align-items: center; gap: 0.8rem; min-width: 0; }

.glance-ico {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--paper-deep);
  border: 2px solid var(--edge-cream);
}

.glance-ico svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.glance p { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }

.glance-value { font-weight: 800; color: var(--ink); font-size: 1rem; }
.glance a.glance-value, .glance-value a { color: var(--ink); text-decoration-color: var(--lagoon); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.glance a:hover { color: var(--fraise); }
.glance-sub { font-size: 0.88rem; color: var(--ink-soft); }

#openStatus[data-state]::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 0.45rem;
  border-radius: 50%;
  vertical-align: 0.08em;
  background: var(--leaf);
}
#openStatus[data-state="closed"]::before { background: var(--fraise); }
#openStatus[data-state="soon"]::before { background: var(--butter); }

/* ---------- Ticker ---------- */
.hb-ticker {
  margin-top: clamp(2.8rem, 6vw, 4rem);
  background: var(--fraise);
  color: #fff;
  border-block: 2px solid var(--edge-cream);
  overflow: hidden;
}

.hb-ticker-track { display: flex; width: max-content; }

.hb-ticker-group {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  padding: 0.55rem 0.65rem;
  font-family: var(--font-show);
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  line-height: 1.4;
  white-space: nowrap;
}

.hb-ticker-group svg { width: 38px; height: 22px; color: var(--ink); flex: none; }

@media (prefers-reduced-motion: no-preference) {
  .hb-ticker-track { animation: ticker 42s linear infinite; }
  .hb-ticker:hover .hb-ticker-track { animation-play-state: paused; }
}

@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Shared section frame ---------- */
.hb-section { padding: clamp(3.6rem, 8vw, 6rem) 1.25rem; }

.hb-inner { max-width: 1180px; margin: 0 auto; }

.hb-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 1rem 3rem;
  align-items: end;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.hb-head h2 { font-size: clamp(2.2rem, 4.8vw, 3.7rem); color: var(--ink); max-width: 14ch; }

.hb-head p { color: var(--ink-soft); max-width: 30rem; }

.hb-head .btn { margin-top: 1rem; }

.hb-links { display: flex; flex-wrap: wrap; gap: 0 0.7rem; }

/* ---------- Known for ---------- */
.hb-dishes {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.6rem 1.8rem;
}

.hb-dish { position: relative; text-align: center; }

.hb-dish-plate {
  display: block;
  width: min(100%, 250px);
  aspect-ratio: 1;
  margin: 0 auto 1.4rem;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--edge-cream);
 
}

.hb-dish-plate img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }

.hb-tag {
  position: absolute;
  top: 0.2rem;
  right: 0;
  transform: rotate(9deg);
  font-family: var(--font-hand);
  font-size: 0.92rem;
  line-height: 1.9;
  color: var(--ink);
  background: var(--butter);
  border: 2px solid var(--edge-cream);
  border-radius: 14px;
  padding: 0 0.8rem;
}

.hb-dish h3 { font-size: 1.22rem; }

.hb-price { font-weight: 800; color: var(--fraise); margin: 0.1rem 0 0.35rem; }

.hb-dish p:last-child { color: var(--ink-soft); font-size: 0.95rem; max-width: 26ch; margin: 0 auto; }

/* ---------- Inside ---------- */
.hb-inside {
  background: var(--espresso);
  color: rgba(255, 253, 249, 0.86);
  padding: clamp(3.6rem, 8vw, 6rem) 1.25rem;
}

.hb-inside-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hb-collage {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.9rem;
  aspect-ratio: 1 / 1.08;
}

.hb-collage img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  border-radius: 22px;
}

.hb-collage .c-tall { grid-row: span 2; }

.hb-inside h2 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); color: var(--lagoon); margin-bottom: 1rem; max-width: 12ch; }

.hb-inside-text > p { font-size: 1.1rem; max-width: 34rem; }

.hb-steps {
  list-style: none;
  margin: 1.8rem 0 2rem;
  display: grid;
  gap: 0;
  max-width: 34rem;
}

.hb-steps li {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: 0.7rem 0;
  border-top: 2px dotted rgba(255, 253, 249, 0.25);
}

.hb-when { font-family: var(--font-hand); color: var(--butter); font-size: 0.98rem; line-height: 1.8; }

.hb-steps li span:last-child { color: #fff; font-weight: 600; }

/* ---------- Photo wall ---------- */
.hb-wall {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(150px, 17vw, 215px);
  grid-auto-flow: dense;
  gap: 0.9rem;
}

.hb-wall img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.hb-wall .w-tall { grid-row: span 2; }
.hb-wall .w-wide { grid-column: span 2; }

/* ---------- Love: reviews + press ---------- */
.hb-love { background: var(--paper-deep); }

.hb-quote { margin: 0 auto clamp(2.6rem, 5vw, 3.6rem); text-align: center; }

.hb-quote-drops { display: block; width: 64px; height: 38px; margin: 0 auto 1rem; color: var(--fraise); }

.hb-quote blockquote {
  font-family: var(--font-show);
  font-size: clamp(1.7rem, 3.8vw, 2.9rem);
  line-height: 1.22;
  color: var(--ink);
  max-width: 22ch;
  margin: 0 auto;
}

.hb-quote figcaption { margin-top: 1rem; font-weight: 700; color: var(--ink-soft); }

.clip {
  border-radius: 22px;
  border-width: 2px;
 
}

.clip:nth-child(odd), .clip:nth-child(even) { transform: none; }

.clip-source { font-family: var(--font-body); font-weight: 700; font-size: 0.9rem; color: var(--myrtille); line-height: 1.5; }

.clip h3 { font-size: 1.15rem; }

.mentions-row { justify-content: center; }

.mentions-row a { color: var(--ink); font-weight: 700; text-decoration-color: var(--lagoon); text-decoration-thickness: 3px; text-underline-offset: 3px; }

/* ---------- Visit ---------- */
.hb-visit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1.4rem;
  align-items: stretch;
}

.hb-visit-card {
  background: var(--lagoon);
  border: 2px solid var(--edge-cream);
  border-radius: 32px;
 
  padding: clamp(1.8rem, 4vw, 3rem);
  color: var(--ink);
}

.hb-visit-card h2 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); max-width: 12ch; }

.hb-addr { font-size: 1.15rem; font-weight: 700; margin-top: 1.2rem; }

.hb-hours { margin-top: 1.2rem; max-width: 26rem; }

.hb-hours div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 2px dotted rgba(58, 30, 20, 0.35);
}

.hb-hours dd { font-weight: 800; }

.hb-home { margin-top: 1.6rem; font-weight: 500; }

.hb-home a { color: var(--ink); font-weight: 800; }

.hb-visit-photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  contain: size; /* let the card, not the tall photo, set the row height */
  object-fit: cover;
  border: 2px solid var(--edge-cream);
  border-radius: 32px;
 
}

/* ---------- Theme: responsive ---------- */
@media (max-width: 960px) {
  .hb-glance-card { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hb-dishes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .hb-head { grid-template-columns: 1fr; }
  .hb-inside-grid { grid-template-columns: 1fr; }
  .hb-visit-grid { grid-template-columns: 1fr; }
  .hb-visit-photo { max-height: 420px; }
  .hb-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 170px; }
}

@media (max-width: 520px) {
  .hb-glance-card { grid-template-columns: 1fr; padding: 1.1rem 1.2rem; }
  .hb-dishes { gap: 2.2rem 1rem; }
  .hb-dish h3 { font-size: 1.05rem; }
  .hb-dish p:last-child { font-size: 0.88rem; }
  .hb-tag { font-size: 0.82rem; right: -0.3rem; }
  .hb-wall { grid-auto-rows: 140px; gap: 0.6rem; }
  .hb-wall img { border-radius: 14px; }
  .hb-steps li { grid-template-columns: 5.2rem 1fr; }
}

/* ---------- Coffee + USD 385 ---------- */
.hb-duo { padding-top: 0; }

.hb-duo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1.4rem;
  align-items: stretch;
}

/* Coffee runs the full height on the left; teachers and kids stack right and
   fill it between them, so the tops and bottoms of both columns line up. */
.hb-coffee { grid-row: span 2; }
.hb-teachers, .hb-kids { display: flex; flex-direction: column; justify-content: center; }

.hb-kids { background: var(--butter); }
.hb-kids-links { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.2rem; }

.hb-duo-card {
  --duo-pad: clamp(1.8rem, 4vw, 2.8rem);
  border: 2px solid var(--edge-cream);
  border-radius: 32px;
 
  padding: var(--duo-pad);
}

.hb-duo-card h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: 1rem; }

/* Coffee: the photo bleeds across the top of the card and fades into its own
   backdrop teal, which deepens to myrtille under the words. White text keeps
   5.5:1 on myrtille; on the photo's teal it would be under 4:1. */
.hb-coffee { background: var(--myrtille); color: #fff; overflow: hidden; }
.hb-coffee h2 { color: #fff; }
.hb-coffee p { max-width: 38rem; }
.hb-coffee .latte-shot { margin: calc(-1 * var(--duo-pad)) calc(-1 * var(--duo-pad)) 1.4rem; }

.hb-duo-list { font-weight: 700; margin: 1rem 0 1.5rem; }

.hb-teachers { background: var(--fraise); color: #fff; }
.hb-teachers h2 { color: #fff; }

.hb-big {
  font-family: var(--font-show);
  font-size: clamp(3.2rem, 7vw, 5rem);
  line-height: 1;
  color: var(--butter);
 
  margin-bottom: 0.3rem;
}

@media (max-width: 860px) {
  .hb-duo-grid { grid-template-columns: 1fr; }
  .hb-coffee { grid-row: auto; }
}

/* ---------- The lattes photo, blended into its own backdrop ----------
   --latte-teal is sampled from the photo's backdrop just around the cups (its
   outer edge is vignetted darker). The cups sit between 17% and 86% of the
   height but run almost edge to edge, so the mask fades the top and bottom
   generously and only a sliver of the side. */
:root { --latte-teal: #0294aa; }

.latte-shot { background: linear-gradient(to bottom, var(--latte-teal) 72%, var(--myrtille)); }

.latte-shot img {
  display: block;
  width: 100%;
  height: auto;
  -webkit-mask-image: linear-gradient(to bottom, #000 84%, transparent);
          mask-image: linear-gradient(to bottom, #000 84%, transparent);
}

/* Story page: words on myrtille at the left, the photo on teal at the right */
.coffee-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  background: var(--myrtille);
  color: #fff;
  border: 2px solid var(--edge-cream);
  border-radius: 32px;
 
  overflow: hidden;
}

.coffee-band-text { padding: clamp(1.8rem, 4vw, 2.8rem); }
.coffee-band h2, .coffee-band .hand, .coffee-band .section-sub { color: #fff; }
.coffee-band .squiggle {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='12' viewBox='0 0 120 12'%3E%3Cpath d='M3 8 Q 13 2 25 7 T 48 6 T 72 7 T 95 5 T 117 7' fill='none' stroke='%23f4a62a' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E");
}

.coffee-band .latte-shot {
  display: flex;
  align-items: center;
  padding-left: 3rem;
  background: linear-gradient(to right, var(--myrtille), var(--latte-teal) 6rem);
}

.coffee-band .latte-shot img {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%),
                      linear-gradient(to bottom, transparent, #000 16%, #000 86%, transparent);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(to right, transparent, #000 8%),
                      linear-gradient(to bottom, transparent, #000 16%, #000 86%, transparent);
          mask-composite: intersect;
}

@media (max-width: 760px) {
  .coffee-band { grid-template-columns: 1fr; }
  .coffee-band .latte-shot {
    order: -1;
    padding-left: 0;
    background: linear-gradient(to bottom, var(--latte-teal) 72%, var(--myrtille));
  }
  .coffee-band .latte-shot img {
    -webkit-mask-image: linear-gradient(to bottom, #000 84%, transparent);
    -webkit-mask-composite: source-over;
            mask-image: linear-gradient(to bottom, #000 84%, transparent);
            mask-composite: add;
  }
}

/* ---------- Languages: the switcher, the offer, translated pages ---------- */
.lang-switch { position: relative; }

.lang-switch summary {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  cursor: pointer;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  padding: 0.32rem 0.7rem;
  border: 2px solid var(--edge-cream);
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary svg { width: 1.05rem; height: 1.05rem; fill: none; stroke: currentColor; stroke-width: 1.8; }
.lang-switch[open] summary { background: var(--ink); color: var(--paper); }

.lang-switch ul {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  z-index: 60;
  min-width: 10rem;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  background: var(--paper);
  border: 2px solid var(--edge-cream);
  border-radius: 18px;
 
}
.nav-links .lang-switch a { display: block; padding: 0.45rem 0.8rem; border-radius: 12px; }
.nav-links .lang-switch a[aria-current="true"] { background: var(--paper-deep); }

@media (max-width: 720px) {
  .lang-switch ul { position: static; min-width: 0; margin-top: 0.4rem; box-shadow: none; }
}

/* Offered on an English page to a browser that prefers another language */
.lang-offer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 1rem;
  background: var(--myrtille);
  color: #fff;
  font-weight: 700;
}
.lang-offer a { color: #fff; }
.lang-offer-close { background: none; border: 0; color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; padding: 0 0.35rem; }

/* What the allergy notices and the allergen disclaimer say in English, kept
   under their translation (data-i18n="with-en" in the templates) */
.en-original { display: block; margin-top: 0.4rem; font-size: 0.86em; opacity: 0.85; }

/* Checkout on a translated page: allergies instead of a note to the kitchen */
.allergy-pick {
  margin-top: 0.9rem;
  border: 2px solid var(--edge-cream);
  border-radius: 16px;
  background: var(--paper);
}
.allergy-pick summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.3rem 1rem;
  padding: 0.7rem 2.4rem 0.7rem 0.9rem;
  position: relative;
  list-style: none;
  cursor: pointer;
}
.allergy-pick summary::-webkit-details-marker { display: none; }
.allergy-pick summary::after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 50%;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2.5px solid var(--edge-cream);
  border-bottom: 2.5px solid var(--edge-cream);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.15s ease;
}
.allergy-pick[open] summary::after { transform: translateY(-20%) rotate(-135deg); }
.allergy-pick-name { font-weight: 800; }
.allergy-pick-value { font-weight: 700; color: var(--fraise-deep); }
.allergy-pick fieldset { border: 0; margin: 0; padding: 0 0.9rem; }
.allergy-pick legend { font-size: 0.92rem; color: var(--ink-soft); padding: 0; margin-bottom: 0.4rem; }
.allergy-options { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: 0.1rem 0.8rem; }
.allergy-pick-why { margin: 0.6rem 0.9rem 0.9rem; font-size: 0.88rem; color: var(--ink-soft); }
.allergy-later { font-size: 0.95rem; color: var(--ink-soft); }

/* Top of a translated legal page: the English version applies */
.translation-note {
  max-width: 46rem;
  margin: 1rem auto 0;
  padding: 0.7rem 1rem;
  border: 2px dashed var(--edge-cream);
  border-radius: 14px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* ---------- Allergy notice (menu, order page, checkout) ---------- */
.allergy-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  max-width: calc(1080px - 2.5rem);
  margin: 1.8rem auto 0;
  background: #f4ead6;
  border: 2px solid var(--edge-cream);
  border-radius: 18px;
  padding: 0.9rem 1.2rem;
  font-size: 0.95rem;
  line-height: 1.55;
}

.allergy-notice svg {
  flex: none;
  width: 28px;
  height: 28px;
  margin-top: 0.1rem;
  fill: var(--butter);
  stroke: var(--ink);
  stroke-width: 1.8;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.allergy-notice a { color: var(--ink); font-weight: 700; }

.sheet .allergy-notice { margin: 1rem 0 0; max-width: none; font-size: 0.88rem; padding: 0.7rem 0.9rem; }

@media (max-width: 1130px) {
  .allergy-notice { margin-inline: 1.25rem; }
  .sheet .allergy-notice { margin-inline: 0; }
}

.dish-allergy {
  margin-top: 0.9rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--ink);
  background: #f4ead6;
  border-radius: 12px;
  padding: 0.55rem 0.8rem;
}

/* ---------- Menu page: clean list, every item opens a card ---------- */
.menu-badge {
  justify-self: center;
  width: min(230px, 56vw);
  height: auto;
  transform: rotate(-6deg);
 
}

.menu-row {
  position: relative;
  margin-inline: -0.8rem;
  padding-inline: 0.8rem;
  border-radius: 14px;
}

.menu-row:not(.menu-row-info):hover { background: var(--paper-deep); }

.menu-item {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: var(--lagoon);
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

/* the whole row is the target, not just the name */
.menu-item::after { content: ""; position: absolute; inset: 0; border-radius: 14px; }

.menu-item:focus-visible { outline: none; }
.menu-item:focus-visible::after { outline: 3px solid var(--fraise); outline-offset: 2px; }

.dish-dialog {
  margin: auto; /* the global * { margin: 0 } reset would pin it to the top-left */
  width: min(600px, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  padding: 0;
  border: 2px solid var(--edge-cream);
  border-radius: 26px;
 
  background: var(--paper);
  color: var(--ink);
  overflow: auto;
}

.dish-dialog::backdrop { background: rgba(43, 22, 14, 0.55); }

.dish-dialog[open] { animation: sheet-in 0.25s cubic-bezier(0.2, 0.9, 0.3, 1.1) both; }

.dish-close-form { position: sticky; top: 0; height: 0; z-index: 2; }

.dish-figure { position: relative; margin: 0; background: var(--paper-deep); border-bottom: 2px solid var(--edge-cream); }

.dish-figure img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }

.dish-figure figcaption,
.item-photo-note {
  position: absolute;
  left: 0.8rem;
  bottom: 0.8rem;
  background: rgba(250, 245, 234, 0.94);
  border: 1.5px solid var(--edge-cream);
  border-radius: 14px;
  padding: 0.15rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 700;
}

.item-photo { position: relative; }

.dish-info { padding: 1.1rem 1.5rem 1.5rem; }

.dish-cat { font-family: var(--font-hand); color: var(--myrtille); line-height: 1.9; }

.dish-opt { margin-top: 1rem; }

.dish-opt h3 { font-size: 0.95rem; margin-bottom: 0.4rem; }

.dish-opt ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; }

.dish-opt li {
  border: 1.5px solid var(--edge-cream);
  border-radius: 14px;
  padding: 0.12rem 0.7rem;
  font-size: 0.86rem;
  background: #fbf3e2;
}

.dish-opt li b { color: var(--fraise); font-weight: 800; margin-left: 0.25rem; }

.dish-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem; margin-top: 1.3rem; }

.dish-counter { font-weight: 600; color: var(--ink-soft); }

@media (max-width: 560px) {
  .dish-dialog {
    width: 100%;
    max-width: 100%;
    margin: auto 0 0;
    max-height: 94dvh;
    border-radius: 22px 22px 0 0;
    border-bottom: 0;
    box-shadow: none;
  }
  .dish-info { padding: 1rem 1.1rem 1.3rem; }
}

/* ---------- Order confirmation: a thank-you with confetti ---------- */
#doneView { position: relative; }

.done-burst { position: absolute; inset: 0; pointer-events: none; }

.done-burst .cf { top: 18%; animation: confetti var(--t) cubic-bezier(0.15, 0.7, 0.3, 1) var(--d) both; }

#doneView:not(.hidden) .success-mark { animation: pop 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) both; }

@media (prefers-reduced-motion: reduce) {
  .done-burst { display: none; }
  #doneView:not(.hidden) .success-mark { animation: none; }
  .dish-dialog[open] { animation: none; }
}

/* =====================================================================
   Gift cards, online card payment and deleting an account
   ===================================================================== */

/* ---------- footer credit ---------- */
.footer-credit {
  max-width: 1080px;
  margin: 0.45rem auto 0;
  font-size: 0.82rem;
  opacity: 0.55;
}

/* ---------- forms outside the checkout sheet ---------- */
.hb-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }

.hb-form label,
.hb-form legend {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 0.95rem 0 0.25rem;
  padding: 0;
}

.hb-form input:not([type="radio"]):not([type="checkbox"]),
.hb-form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: #fbf3e2;
  border: 2px solid rgba(111, 90, 78, 0.35);
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
  width: 100%;
}

.hb-form textarea { resize: vertical; }

.hb-form input:focus-visible,
.hb-form textarea:focus-visible,
.sheet input:focus-visible,
.sheet textarea:focus-visible {
  outline: 3px solid var(--myrtille);
  outline-offset: 1px;
  border-color: var(--edge-cream);
}

.hb-form .opt {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0.3rem 0;
  font-weight: 400;
  font-size: 1rem;
  color: var(--ink);
  cursor: pointer;
}

.hb-form .opt input { width: 20px; height: 20px; accent-color: var(--fraise); flex: none; }
.hb-form .opt-inline { display: flex; flex-wrap: wrap; gap: 0 1.6rem; }
.hb-form .err { color: var(--fraise-deep); font-weight: 700; min-height: 1.2em; margin: 0.7rem 0 0; }

.field-hint { font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.3rem; }

.link-btn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-weight: 700;
  color: var(--fraise-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* ---------- the gift card itself: the sign's turquoise, the badge, the drizzle ---------- */
.gift-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1.586;
  padding: 5.5% 6.5%;
  color: var(--ink);
  background: var(--lagoon);
  border: 2.5px solid var(--edge-cream);
  border-radius: 22px;
 
  transform: rotate(-2deg);
  overflow: hidden;
  container-type: inline-size;
}

/* a sugar-white plate rim peeking in from the corner */
.gift-card::before {
  content: "";
  position: absolute;
  right: -18%;
  bottom: -46%;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 9cqi solid rgba(255, 253, 249, 0.3);
  pointer-events: none;
}

.gift-card-top { position: relative; display: flex; align-items: center; gap: 3cqi; }
.gift-card-badge { flex: none; width: 17cqi; height: 17cqi;  }
.gift-card-brand { font-weight: 800; font-size: 0.95rem; font-size: max(0.72rem, 5.4cqi); line-height: 1.05; letter-spacing: -0.02em; }

.gift-card-mid { position: relative; }

.gift-card-amount {
  display: block;
  font-family: var(--font-show);
  font-size: 3.4rem;
  font-size: 19cqi;
  line-height: 1.05;
  color: var(--ink);
 
}

.gift-card-drizzle { display: block; width: 56%; height: 2.4cqi; min-height: 8px; margin-top: 1.2cqi; overflow: visible; }
.gift-card-drizzle path { fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: round; vector-effect: non-scaling-stroke; }

.gift-card-for {
  display: block;
  font-family: var(--font-hand);
  font-size: 1rem;
  font-size: max(0.8rem, 5cqi);
  line-height: 1.9;
  min-height: 1.9em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gift-card-bottom {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-weight: 800;
  font-size: 0.85rem;
  font-size: max(0.7rem, 4.2cqi);
}

.gift-card-last4 { font-variant-numeric: tabular-nums; letter-spacing: 0.08em; }

.gift-card.is-void { background: #c9d6d8; }

.gift-card-stamp {
  position: absolute;
  right: 7%;
  top: 36%;
  transform: rotate(-12deg);
  padding: 0.1em 0.5em;
  border: 3px solid var(--fraise-deep);
  border-radius: 8px;
  background: rgba(250, 245, 234, 0.85);
  color: var(--fraise-deep);
  font-weight: 800;
  font-size: max(0.85rem, 6cqi);
}

/* ---------- order page: buying a gift card ---------- */
.order-tabs-list { display: contents; }
.order-tabs a.hidden { display: none; }

.gift-shop { padding-bottom: 2.4rem; }

.gift-shop-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.8rem, 5vw, 3.6rem);
  align-items: start;
}

.gift-stage { position: sticky; top: calc(var(--nav-h) + 84px); padding: 0.4rem 0.5rem 0 0.2rem; }

.gift-promises { list-style: none; margin: 1.7rem 0 0; display: grid; gap: 0.5rem; max-width: 26rem; }
.gift-promises li { position: relative; padding-left: 1.6rem; }
.gift-promises li::before {
  content: "";
  position: absolute;
  left: 0.1rem;
  top: 0.42em;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: var(--fraise);
  border: 2px solid var(--edge-cream);
}

.gift-form {
  background: #fbf3e2;
  border: 2.5px solid var(--edge-cream);
  border-radius: var(--wobble);
 
  padding: 0.3rem 1.4rem 1.3rem;
}

.gift-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.hb-form .gift-chip { position: relative; display: block; margin: 0; padding: 0; }
.gift-chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.gift-chip span {
  display: inline-block;
  min-width: 4.4rem;
  padding: 0.45rem 0.95rem;
  text-align: center;
  font-weight: 800;
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--edge-cream);
  border-radius: 14px;
}
.gift-chip input:checked + span { background: var(--lagoon); }
.gift-chip input:focus-visible + span { outline: 3px solid var(--fraise); outline-offset: 2px; }

.gift-form .btn { display: block; width: 100%; margin-top: 0.8rem; text-align: center; }
.gift-added { min-height: 1.2em; margin-top: 0.6rem; color: var(--leaf); font-weight: 700; }

/* ---------- checkout: gift cards in the cart, spending one, specials ---------- */
.cart-gift-ico { width: 22px; height: 22px; vertical-align: -5px; margin-right: 0.35rem; }
.totals .minus span:last-child { color: var(--leaf); font-weight: 700; }
.totals-note { font-size: 0.8rem; color: var(--ink-soft); margin-top: 0.25rem; }

.gift-redeem-body { padding: 0 0.9rem 0.9rem; }
.sheet .gift-redeem-body label { margin-top: 0; }
.gift-redeem-row { display: flex; gap: 0.5rem; align-items: center; }
.sheet .gift-redeem-row input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: 0.03em; }
.gift-redeem-row .btn { flex: none; }
.gift-redeem-status { min-height: 1.2em; margin-top: 0.5rem; font-size: 0.9rem; }
.gift-redeem-status.bad { color: var(--fraise-deep); font-weight: 700; }
.gift-redeem-status.good { color: var(--leaf); font-weight: 700; }

.sheet .co-optin { margin-top: 0.8rem; border-bottom: 0; font-size: 0.95rem; }

.pay-summary { margin: 0.2rem 0 0.4rem; }
.stripe-element { min-height: 1rem; margin-top: 0.9rem; }
.pay-loading { margin-top: 0.8rem; color: var(--ink-soft); font-size: 0.92rem; }

.done-gifts { list-style: none; display: grid; gap: 0.4rem; max-width: 28rem; margin: 0.9rem auto 0; text-align: center; }
.done-last4 { display: block; font-size: 0.85rem; color: var(--ink-soft); }
.done-totals { max-width: 20rem; margin: 1rem auto 0; font-size: 0.95rem; }

@media (max-width: 800px) {
  .gift-shop-grid { grid-template-columns: 1fr; }
  .gift-stage { position: static; max-width: 440px; padding-right: 0.6rem; }
}

/* ---------- gift.html: a card's balance ---------- */
.gift-page { max-width: 1080px; margin: 0 auto; padding: 1.2rem 1.25rem 3.4rem; }

.gift-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: center;
  margin-top: 1rem;
}

.gift-hero .gift-card { max-width: 480px; justify-self: center; }

.gift-balance-label { font-weight: 800; color: var(--ink-soft); }

.gift-balance {
  font-family: var(--font-show);
  font-size: clamp(3.2rem, 9vw, 5rem);
  line-height: 1.05;
  color: var(--fraise);
 
}

.gift-meta { margin-top: 0.4rem; color: var(--ink-soft); }

.gift-code { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin-top: 1.2rem; }
.gift-code code {
  font: 800 1.02rem/1.3 var(--font-body);
  letter-spacing: 0.05em;
  background: #fbf3e2;
  border: 2px dashed var(--edge-cream);
  border-radius: 10px;
  padding: 0.45rem 0.8rem;
  overflow-wrap: anywhere;
}

.gift-promise { margin-top: 1.2rem; font-weight: 800; font-size: 1.1rem; }
.gift-test-note, .gift-void-note {
  margin-top: 1rem;
  max-width: 30rem;
  font-size: 0.92rem;
  background: var(--paper-deep);
  border: 2px dashed var(--edge-cream);
  border-radius: 12px;
  padding: 0.55rem 0.85rem;
}

.gift-ways { margin-top: clamp(2.4rem, 6vw, 3.6rem); }
.gift-ways h2 { font-size: 1.8rem; }
.gift-ways-list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem 2rem; margin-top: 1.2rem; }
.gift-ways-list li { border-top: 2.5px solid var(--edge-cream); padding-top: 0.8rem; }
.gift-ways-list h3 { font-size: 1.1rem; margin-bottom: 0.3rem; }
.gift-ways-list p { color: var(--ink-soft); }

.gift-lookup { max-width: 32rem; }
.gift-lookup-row { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
.gift-lookup-row input { flex: 1 1 14rem; min-width: 0; }
.gift-status { max-width: 36rem; min-height: 1.4em; margin-top: 0.9rem; font-weight: 700; }
.gift-status.bad { color: var(--fraise-deep); }

@media (prefers-reduced-motion: no-preference) {
  .gift-hero .gift-card.landed { animation: card-land 0.7s cubic-bezier(0.2, 0.9, 0.3, 1.25) both; }
}

@keyframes card-land {
  from { opacity: 0; transform: translateY(-28px) rotate(-10deg); }
  to { opacity: 1; transform: rotate(-2deg); }
}

@media (max-width: 800px) {
  .gift-hero { grid-template-columns: 1fr; }
  .gift-hero .gift-card { justify-self: start; width: calc(100% - 10px); }
  .gift-ways-list { grid-template-columns: 1fr; }
}

/* ---------- delete-account.html ---------- */
.del-wrap { max-width: 760px; margin: 0 auto; padding: 0.2rem 1.25rem 3.4rem; }

.del-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; margin: 1.3rem 0 1.2rem; counter-reset: step; }
.del-steps li { counter-increment: step; display: flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: 0.92rem; color: var(--ink-soft); }
.del-steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  border: 2px solid var(--edge-cream);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  font-weight: 800;
}
.del-steps li[aria-current="step"] { color: var(--ink); }
.del-steps li[aria-current="step"]::before { background: var(--lagoon); }
.del-steps li.done::before { content: "✓"; background: var(--leaf); color: #fff; }

.del-panel {
  background: #fbf3e2;
  border: 2.5px solid var(--edge-cream);
  border-radius: var(--wobble);
 
  padding: 0.3rem 1.4rem 1.4rem;
}

.del-panel h2 { font-size: 1.55rem; margin: 1rem 0 0.4rem; }
.del-panel p { max-width: 40rem; }
.del-panel .btn { margin-top: 0.9rem; }
.del-panel .link-btn { margin-top: 0.9rem; margin-left: 1rem; }
.del-panel input.del-code { font-size: 1.4rem; letter-spacing: 0.3em; max-width: 12rem; font-variant-numeric: tabular-nums; }

.del-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.6rem; margin: 1rem 0 0.4rem; }
.del-lists h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.del-lists ul { list-style: none; display: grid; gap: 0.4rem; font-size: 0.95rem; }
.del-lists li { position: relative; padding-left: 1.3rem; }
.del-gone li::before { content: "×"; position: absolute; left: 0.1rem; top: -0.05em; color: var(--fraise); font-weight: 800; }
.del-kept li::before { content: ""; position: absolute; left: 0.2rem; top: 0.55em; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--myrtille); }

.del-aside { margin-top: 1.6rem; color: var(--ink-soft); font-size: 0.95rem; max-width: 40rem; }

@media (max-width: 600px) {
  .del-lists { grid-template-columns: 1fr; }
  .del-panel .link-btn { display: block; margin-left: 0; }
}

/* gift cards when online sales aren't open: the counter sells them */
.gift-counter {
  background: var(--paper-deep);
  border: 2.5px dashed var(--edge-cream);
  border-radius: var(--wobble);
  padding: 1.1rem 1.3rem;
  font-size: 1.02rem;
}

/* Headings that take focus when a sheet changes view: announced, not outlined. */
.sheet h2[tabindex="-1"]:focus,
.del-panel h2[tabindex="-1"]:focus { outline: none; }

.sheet .co-notes textarea {
  font-family: var(--font-body); font-size: 0.95rem; color: var(--ink);
  background: #fbf3e2; border: 2px solid rgba(111,90,78,.35);
  border-radius: 8px; padding: 0.45rem 0.6rem; width: 100%; resize: vertical;
}

/* gift.html: the card's code as a QR code the till can scan */
.gift-qr { margin: 0.9rem 0 0; display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; }
.gift-qr-code { width: 132px; max-width: 100%; background: var(--paper); border: 2px solid var(--edge-cream); border-radius: 14px; padding: 6px; }
.gift-qr-code svg { display: block; width: 100%; height: auto; }
.gift-qr-note { margin: 0; font-size: 0.9rem; max-width: 16rem; opacity: 0.85; }


/* ===== Tipping at checkout =====
   Round amounts under the threshold, percentages above it; the server decides
   which (api/orders.js tipChoices). Pills, like the rest of the page's
   choices, so this reads as part of the order rather than a demand. */
.tip-box {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 2px dotted var(--line, rgba(58, 30, 20, 0.25));
}
.tip-lead {
  margin: 0 0 0.55rem;
  font-weight: 700;
  font-size: 0.95rem;
}
.tip-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.tip-btn {
  font-family: inherit;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--edge-cream);
  border-radius: 14px;
  padding: 0.4rem 0.95rem;
  min-height: 44px;
  cursor: pointer;
}
.tip-btn:hover { background: var(--wash, #e6f6f8); }
.tip-btn.on {
  background: var(--fraise);
  color: #fff8f0;
 
}
.tip-btn.tip-other { font-weight: 500; }
@media (hover: none) {
  .tip-btn:hover { background: var(--paper); }
  .tip-btn.on:hover { background: var(--fraise); }
}


/* A dish the café has run out of. Read live (api/orders.js sold_out), so this
   is applied after the page is built rather than baked into it. */
.dish-btn.is-off {
  opacity: 0.55;
  cursor: not-allowed;
}
.dish-btn.is-off .dish-photo img { filter: grayscale(1); }
.dish-off {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.05rem 0.55rem;
  border-radius: 14px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.82rem;
  font-weight: 700;
  vertical-align: middle;
}


/* How long the kitchen says it will be, before anyone pays. */
.wait-line {
  margin: 0.8rem 0 0;
  padding: 0.5rem 0.75rem;
  border-radius: 12px;
  background: var(--wash, #e6f6f8);
  font-weight: 700;
  font-size: 0.92rem;
  text-align: center;
}

/* ---------- First-screen pass (2026-10-11): say what this is, show the food, one next step ---------- */
.hb-h1 {
  margin: 0 0 1.1rem;
  font: 400 clamp(1.9rem, 6.4vw, 3rem) / 1.12 var(--font-show);
  color: var(--ink);
  text-wrap: balance;
}
.hb-hero-photo {
  margin: 0 0 1.2rem;
  width: min(50vw, 260px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--edge-cream);
 
}
.hb-hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hb-hero-inner { padding-top: clamp(1.6rem, 4vw, 2.6rem); }
.hb-flank, .hb-flank-left, .hb-flank-right { display: none !important; }
.hb-dishes { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 640px; margin-inline: auto; }
@media (max-width: 480px) { .hb-dishes { grid-template-columns: 1fr; } }


/* =====================================================================
   DESIGN 61 (2026-11) — the whole site in one system.
   Palette: cream page #faf5ea, cream card #f4ead6, pale button #fbf3e2, turquoise, deep teal,
   berry red (the one main action), amber, chocolate. No plain white as a background, no shadows,
   2px tonal edges (a darker shade of the element's own colour), soft rectangles, Caprasimo titles.
   ===================================================================== */
@font-face { font-family: "Caprasimo"; src: url("images/fonts/Caprasimo-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
:root {
  --paper: #faf5ea; --paper-deep: #e6f6f8; --card: #f4ead6; --pale: #fbf3e2;
  --ink: #3a1e14; --ink-soft: #5a3d32; --espresso: #2b160e; --crepe: #e8893a;
  --font-show: "Caprasimo", Georgia, serif;
  --font-display: "Figtree", -apple-system, "Segoe UI", sans-serif;
  --font-hand: "Figtree", -apple-system, "Segoe UI", sans-serif;
  --wobble: 16px;
  --r: 16px; --r-card: 20px; --gutter: 24px; --section: 72px;
  --edge-turquoise: #178a9a; --edge-teal: #085a68; --edge-berry: #a91b30; --edge-amber: #c47d10;
  --edge-cream: #c9a266; --edge-paper: #cdaa72; --edge-paleblue: #5ba5b2; --edge-brown: #7a5846;
  --edge-w: 2px; --edge-w-big: 3px;
  --hair: #e3d2ae;
}
body { font-size: 18px; line-height: 1.55; background: var(--paper); color: var(--ink); -webkit-font-smoothing: antialiased; }
body::before { display: none; }
h1, h2 { font-family: var(--font-show); font-weight: 400; font-style: normal; line-height: 1.15; text-wrap: balance; letter-spacing: 0; }
h3 { font-family: var(--font-body); font-weight: 800; line-height: 1.3; letter-spacing: 0; }
em, i { font-style: normal; }
.hand, .section-kicker, .tl-date, .spec .fav, .clip-source, .footer-tag, .hb-when {
  font-family: var(--font-body); font-style: normal; font-weight: 800; line-height: 1.4; letter-spacing: 0;
}
.squiggle, .dash { background-image: none !important; }
a { color: var(--fraise-deep); }
.wave { display: none; }

/* buttons: pale, soft rectangle, tonal edge; the berry one is the one main action */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px;
  font: 800 18px/1.2 var(--font-body); text-decoration: none; text-align: center; letter-spacing: 0;
  color: var(--ink); background: var(--pale); border: var(--edge-w) solid var(--edge-cream); border-radius: var(--r);
  transform: none; transition: background .12s;
}
.btn:hover { background: #ecd09c; transform: none; }
.btn:active { background: #efd5a3; transform: none; }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--myrtille); outline-offset: 2px; }
.btn-primary { background: var(--fraise); color: #fff8f0; border-color: var(--edge-berry); }
.btn-primary:hover, .btn-primary:active { background: var(--fraise-deep); }
.btn-small { min-height: 52px; padding: 0 20px; font-size: 17px; }
.btn-dark-bg { background: rgba(250,245,234,.12); color: var(--paper); border-color: var(--edge-brown); }
.btn-dark-bg:hover { background: rgba(250,245,234,.22); }
.btn.is-closed { opacity: .6; }

/* ---------- top: one nav strip, then the slim watercolour band ---------- */
.hb-illus { display: contents; }
.hb-illus::before { display: none; }
.hb-nav { position: sticky; top: 0; z-index: 60; background: var(--paper); border-bottom: var(--edge-w) solid var(--edge-paper); }
.hb-nav-in { max-width: calc(1120px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hb-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font: 400 28px/1 var(--font-show); white-space: nowrap; }
.hb-brand svg { width: 44px; height: 44px; flex: none; }
.hb-nav .nav-links { display: flex; align-items: center; gap: 28px; }
.hb-nav .nav-links > a:not(.btn) { font-size: 17px; font-weight: 700; text-decoration: none; padding: 12px 0; color: var(--ink); background: none; }
.hb-nav .nav-links > a:not(.btn):hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.hb-nav .nav-links > a[aria-current="page"]:not(.btn) { background: none; padding-bottom: 12px; text-decoration: underline; text-decoration-color: var(--fraise); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.hb-nav .nav-links .btn { min-height: 48px; padding: 0 22px; }
.hb-nav .nav-toggle { display: none; width: 52px; height: 52px; align-items: center; justify-content: center; background: var(--pale); border: var(--edge-w) solid var(--edge-cream); border-radius: 12px; padding: 0; cursor: pointer; }
.hb-nav .nav-toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; }
.hb-banner { position: relative; height: 200px; border-bottom: var(--edge-w) solid var(--edge-paleblue); overflow: hidden; background: var(--paper); }
.hb-banner > img { width: 100%; height: 100%; object-fit: cover; object-position: center 14%; mix-blend-mode: multiply; }
.hb-lockup { display: none; }
body.home .hb-banner { height: 216px; }
body.home .hb-lockup { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 24px; }
.hb-lockup svg { width: 112px; height: 112px; border-radius: 50%; background: var(--paper); border: 6px solid var(--paper); outline: var(--edge-w) solid var(--edge-paleblue); }
.hb-lockup span { font: 400 44px/1.1 var(--font-show); color: var(--ink); }

/* language button */
.lang-switch summary { min-height: 48px; min-width: 48px; justify-content: center; padding: 0 12px; font-size: 16px; border: var(--edge-w) solid var(--edge-cream); border-radius: 12px; background: var(--pale); color: var(--ink); }
.lang-switch[open] summary { background: #ecd09c; color: var(--ink); }
.lang-switch ul { background: var(--pale); border: var(--edge-w) solid var(--edge-cream); border-radius: 14px; min-width: 11rem; }
.nav-links .lang-switch a { min-height: 44px; display: flex; align-items: center; font-size: 17px; }
.nav-links .lang-switch a[aria-current="true"] { background: var(--paper-deep); }

@media (max-width: 900px) {
  :root { --gutter: 16px; --section: 48px; }
  body { font-size: 17px; }
  .hb-nav-in { height: 64px; }
  .hb-brand { font-size: 22px; } .hb-brand svg { width: 40px; height: 40px; }
  .hb-nav .nav-toggle { display: flex; flex-direction: column; gap: 5px; }
  .hb-nav .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 12px var(--gutter) 20px; background: var(--paper); border-bottom: var(--edge-w) solid var(--edge-paper); }
  .hb-nav .nav-links.open { display: flex; }
  .hb-nav .nav-links > a:not(.btn) { display: flex; align-items: center; min-height: 52px; font-size: 19px; }
  .hb-nav .nav-links .btn { width: 100%; }
  .hb-nav .lang-switch { align-self: flex-start; }
  .lang-switch ul { position: static; margin-top: 8px; }
  .hb-banner { height: 120px; }
  body.home .hb-banner { height: 168px; }
  body.home .hb-lockup { gap: 0; } .hb-lockup span { display: none; }
  .hb-lockup svg { width: 84px; height: 84px; }
}
@media (max-width: 420px) { .hb-brand { font-size: 20px; } }

/* ---------- shared home frame ---------- */
.hb-inner { max-width: calc(1120px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.hb-section { padding: var(--section) 0; }
.hb-head { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin: 0 0 32px; max-width: 720px; }
.hb-head h2 { font-size: 44px; max-width: none; text-shadow: none; }
.hb-head p { font-size: 18px; color: var(--ink); max-width: none; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.hb-head .btn { margin: 0; }
.hb-links { display: flex; flex-wrap: wrap; gap: 16px; }

/* hero */
.hb-hero { background: var(--lagoon); }
.hb-hero-inner { max-width: calc(1120px + 2 * var(--gutter)); padding: var(--section) var(--gutter); display: grid; grid-template-columns: 1fr 340px; column-gap: 48px; align-items: center; justify-items: start; text-align: left; }
.hb-hero-inner > * { grid-column: 1; }
.hb-hero-inner > .hb-hero-photo { grid-column: 2; grid-row: 1 / span 4; justify-self: end; }
.hb-h1 { font: 400 50px/1.15 var(--font-show); margin: 0 0 24px; color: var(--ink); text-wrap: wrap; }
.hb-lede { font-size: 20px; font-weight: 400; max-width: 600px; margin: 0 0 24px; color: var(--ink); }
.hb-hero-photo { margin: 0; width: 340px; max-width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: var(--edge-w-big) solid var(--edge-turquoise); outline: 8px solid var(--paper); outline-offset: -8px; background: var(--paper); box-shadow: none; }
.hb-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hb-cta { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 16px; margin: 0 0 24px; }
.hb-proof { display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: center; gap: 12px 24px; margin: 0; font-size: 18px; }
.hb-proof p { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; justify-content: flex-start; font-size: 18px; }
.hb-award, .hb-tag { display: inline-block; background: var(--butter); border: var(--edge-w) solid var(--edge-amber); border-radius: 12px; padding: 8px 16px; font: 800 17px/1.3 var(--font-body); color: var(--ink); }
.hb-award { transform: rotate(-2deg); }
.hb-stars { color: var(--ink); -webkit-text-stroke: 0; letter-spacing: 2px; font-size: 18px; }
.hb-flank, .plate { display: none !important; }

/* at a glance */
.hb-glance { max-width: calc(1120px + 2 * var(--gutter)); margin: -40px auto 0; padding: 0 var(--gutter); position: relative; z-index: 2; }
.hb-glance-card { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding: 0; background: var(--paper); border: var(--edge-w) solid var(--edge-paper); border-radius: var(--r-card); overflow: hidden; }
.glance { display: flex; align-items: center; gap: 8px; padding: 16px 24px; min-width: 0; }
.glance + .glance { border-left: var(--edge-w) solid var(--edge-paper); }
.glance-ico { display: none; }
.glance p { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.glance-value { font-size: 17px; font-weight: 800; color: var(--ink); line-height: 1.3; }
.glance a.glance-value, .glance-value a { text-decoration: none; color: var(--ink); }
.glance a:hover { color: var(--fraise-deep); text-decoration: underline; }
.glance-sub { font-size: 16px; color: var(--ink-soft); line-height: 1.35; }
#openStatus[data-state]::before { width: 10px; height: 10px; margin-right: 6px; background: #2f8f3f; }
.hb-glance + .hb-section { padding-top: var(--section); }

/* picks */
.hb-dishes { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gutter); max-width: none; margin: 0; }
.hb-dish { display: grid; grid-template-columns: 176px 1fr; gap: 24px; align-items: center; text-align: left; background: var(--card); border: var(--edge-w) solid var(--edge-cream); border-radius: var(--r-card); padding: 24px; position: relative; }
.hb-dish-plate { width: 176px; margin: 0; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: var(--edge-w-big) solid var(--edge-cream); background: var(--paper); box-shadow: none; }
.hb-dish-plate img { width: 100%; height: 100%; object-fit: cover; transform: none; }
.hb-dish-body { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.hb-tag { position: static; transform: none; padding: 2px 12px; font-size: 16px; border-radius: 10px; }
.hb-dish h3 { font-size: 20px; }
.hb-price { font-weight: 800; color: var(--fraise-deep); font-size: 20px; margin: 0; }
.hb-dish p:last-child { font-size: 17px; color: var(--ink); max-width: none; margin: 0; }

/* chocolate story band */
.hb-inside { background: var(--espresso); color: var(--paper); padding: var(--section) 0; }
.hb-inside-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); align-items: stretch; }
.hb-collage { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: minmax(0,1fr) minmax(0,1fr); gap: 12px; min-height: 440px; aspect-ratio: auto; contain: size layout; }
.hb-collage img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); border: var(--edge-w-big) solid var(--edge-brown); }
.hb-collage .c-tall { grid-row: 1 / span 2; }
.hb-inside-text { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 16px; padding-left: 12px; }
.hb-inside h2 { color: var(--crepe); max-width: none; font-size: 44px; margin: 0; }
.hb-inside-text > p { font-size: 18px; max-width: none; color: var(--paper); }
.hb-steps { list-style: none; width: 100%; margin: 0; max-width: none; }
.hb-steps li { display: grid; grid-template-columns: 128px 1fr; gap: 16px; padding: 8px 0; border-top: var(--edge-w) solid var(--edge-brown); align-items: baseline; }
.hb-steps li:last-child { border-bottom: var(--edge-w) solid var(--edge-brown); }
.hb-when { color: var(--butter); font-size: 18px; }
.hb-steps li span:last-child { color: var(--paper); font-weight: 400; }

/* photo wall */
.hb-wall { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: auto; grid-auto-flow: row; gap: 24px; }
.hb-wall img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r); border: var(--edge-w) solid var(--edge-cream); }
.hb-wall .w-tall, .hb-wall .w-wide { grid-row: auto; grid-column: auto; }

/* coffee / 15% off / kids */
.hb-duo { padding: var(--section) 0; background: var(--card); }
.hb-duo-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: auto 1fr; gap: var(--gutter); }
.hb-duo-card { --duo-pad: 32px; border: var(--edge-w-big) solid; border-radius: var(--r-card); padding: 32px 48px; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 16px; }
.hb-duo-card h2 { font-size: 36px; margin: 0; max-width: none; }
.hb-duo-card p { font-size: 17px; }
.hb-coffee { grid-column: 1 / span 6; grid-row: 1 / span 2; background: var(--myrtille); border-color: var(--edge-teal); color: #fff; }
.hb-coffee .latte-shot { margin: 0; width: 100%; background: var(--myrtille); border: var(--edge-w) solid var(--edge-teal); border-radius: var(--r); overflow: hidden; flex: 1 1 140px; min-height: 140px; }
.hb-coffee .latte-shot img { width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: none; mask-image: none; }
.hb-coffee .btn { margin-top: auto; }
.hb-duo-list { font-weight: 400; margin: 0; }
.hb-teachers { grid-column: 7 / span 6; background: var(--fraise); border-color: var(--edge-berry); color: #fff; }
.hb-kids { grid-column: 7 / span 6; background: var(--butter); border-color: var(--edge-amber); color: var(--ink); }
.hb-big { font: 400 56px/1 var(--font-show); color: #fff; margin: 0; }
.hb-duo-card .hb-big { font-size: 56px; }
.hb-kids-links { display: flex; flex-wrap: wrap; gap: 16px; margin: auto 0 0; }

/* review band */
.hb-love { background: var(--paper-deep); }
.hb-quote { text-align: center; max-width: 840px; margin: 0 auto 48px; }
.hb-quote-drops { display: none; }
.hb-quote blockquote { font: 400 40px/1.25 var(--font-show); max-width: none; text-wrap: balance; }
.hb-quote figcaption { margin-top: 12px; font-weight: 700; color: var(--ink-soft); }
.press-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); margin: 0; }
.clip { background: var(--paper); border: var(--edge-w) solid var(--edge-paleblue); border-radius: var(--r-card); padding: 32px; display: flex; flex-direction: column; gap: 12px; transform: none; }
.clip:nth-child(odd), .clip:nth-child(even) { transform: none; }
.clip p { font-size: 17px; color: var(--ink); }
.clip h3 { font-size: 20px; margin: 0; }
.clip-source { color: var(--myrtille); font-size: 16px; margin: 0; }
.clip-source svg { display: none; }
.clip .clip-link, .clip a { margin-top: auto; font-weight: 800; padding: 8px 0; font-size: 17px; }
.mentions-row { margin-top: 48px; justify-content: center; gap: 8px 24px; color: var(--ink); }
.mentions-row a { font-weight: 800; padding: 8px 0; color: var(--ink); }

/* visit */
.hb-visit-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); align-items: stretch; }
.hb-visit-card { grid-column: 1 / span 6; background: var(--lagoon); border: var(--edge-w-big) solid var(--edge-turquoise); border-radius: var(--r-card); padding: 32px 48px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; color: var(--ink); }
.hb-visit-card h2 { font-size: 44px; max-width: none; margin: 0; }
.hb-addr { font-size: 18px; margin: 0; font-weight: 400; }
.hb-hours { width: 100%; margin: 0; max-width: none; }
.hb-hours div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: var(--edge-w) solid var(--edge-turquoise); }
.hb-hours dt { font-weight: 600; } .hb-hours dd { font-weight: 800; }
.hb-home { margin: 0; font-weight: 400; }
.hb-visit-photo { grid-column: 7 / span 6; width: 100%; height: 100%; min-height: 400px; contain: size; object-fit: cover; object-position: 30% 6%; border: var(--edge-w-big) solid var(--edge-turquoise); border-radius: var(--r-card); }

/* footer */
.footer { background: var(--espresso); color: #f1e6d8; padding: 48px 0 32px; }
.footer, .footer p, .footer li { font-size: 17px; }
.footer-inner { max-width: calc(1120px + 2 * var(--gutter)); padding: 0 var(--gutter); display: grid; grid-template-columns: minmax(340px, 1.8fr) 1.4fr .8fr .8fr; gap: var(--gutter); }
.footer h3 { color: var(--butter); margin-bottom: 12px; font-size: 20px; }
.footer ul { display: flex; flex-direction: column; gap: 8px; }
.footer a { color: #f1e6d8; text-decoration: none; padding: 4px 0; display: inline-block; } .footer a:hover { text-decoration: underline; }
.footer-brand { font: 400 28px/1 var(--font-show); color: var(--paper); display: flex; align-items: center; gap: 12px; white-space: nowrap; margin-bottom: 12px; }
.footer-brand svg { width: 44px; height: 44px; }
.footer-tag { color: var(--butter); margin-bottom: 8px; }
.footer-fine, .footer-credit { max-width: calc(1120px + 2 * var(--gutter)); margin: 48px auto 0; padding: 24px var(--gutter) 0; border-top: var(--edge-w) solid var(--edge-brown); font-size: 17px; line-height: 1.5; opacity: 1; box-sizing: content-box; }
.footer-fine { border-top: 0; padding-top: 0; }
.footer-fine, .footer-credit { color: #f1e6d8; }
.footer-fine a, .footer-credit a { color: var(--butter); }
.footer-credit { margin-top: 8px; padding-top: 0; border: 0; }
.footer-fine { margin-top: 48px; }

/* ghosted photos: a greyscale cafe photo blended into each big coloured surface, fading out away from the text */
.hb-hero, .hb-coffee, .hb-teachers, .hb-kids, .hb-love, .hb-visit-card, .hb-inside, .footer { position: relative; isolation: isolate; overflow: hidden; }
:is(.hb-hero, .hb-coffee, .hb-teachers, .hb-kids, .hb-love, .hb-visit-card, .hb-inside, .footer)::before,
:is(.hb-hero, .hb-love, .hb-inside)::after {
  content: ""; display: block; position: absolute; z-index: -1; pointer-events: none;
  background-size: 100% 100%; background-repeat: no-repeat; filter: grayscale(1) contrast(1.15);
  mix-blend-mode: var(--gm, multiply); opacity: var(--go, .5);
  -webkit-mask-image: radial-gradient(farthest-side at var(--ga, 100% 100%), #000 15%, rgba(0,0,0,.55) 55%, transparent 100%);
  mask-image: radial-gradient(farthest-side at var(--ga, 100% 100%), #000 15%, rgba(0,0,0,.55) 55%, transparent 100%);
}
.hb-hero { --gm: multiply; --go: .8; }
.hb-hero::before { background-image: url("images/photos/crepes-trio.jpg"); width: 337px; height: 450px; top: 0; right: 0; --ga: 100% 0; }
.hb-hero::after { background-image: url("images/photos/waffle-banana-teal.jpg"); width: 337px; height: 450px; bottom: 0; left: 0; --ga: 0 100%; }
.hb-coffee { --gm: screen; --go: .5; }
.hb-coffee::before { background-image: url("images/photos/lattes-iced.jpg"); width: 700px; height: 467px; top: 0; right: 0; --ga: 100% 0; }
.hb-teachers { --gm: soft-light; --go: 1; }
.hb-teachers::before { background-image: url("images/photos/crepe-smores.jpg"); width: 337px; height: 450px; top: -40px; right: 0; --ga: 100% 50%; }
.hb-kids { --gm: multiply; --go: .6; }
.hb-kids::before { background-image: url("images/photos/crepe-banana-dots.jpg"); width: 337px; height: 450px; bottom: -90px; right: 0; --ga: 100% 100%; }
.hb-love { --gm: multiply; --go: .4; }
.hb-love::before { background-image: url("images/photos/waffle-peach.jpg"); width: 253px; height: 450px; top: 50%; left: 0; margin-top: -225px; --ga: 0 50%; }
.hb-love::after { background-image: url("images/photos/croissant-neon.jpg"); width: 337px; height: 450px; top: 50%; right: 0; margin-top: -225px; --ga: 100% 50%; }
.hb-visit-card { --gm: multiply; --go: .55; }
.hb-visit-card::before { background-image: url("images/photos/interior-eiffel.jpg"); width: 355px; height: 500px; bottom: 0; right: 0; --ga: 100% 100%; }
.hb-inside { --gm: screen; --go: .32; }
.hb-inside::before { background-image: url("images/photos/panini-torched-wood.jpg"); width: 488px; height: 500px; bottom: 0; right: 0; --ga: 100% 100%; }
.hb-inside::after { background-image: url("images/photos/waffle-smores.jpg"); width: 337px; height: 450px; top: 0; left: 0; --ga: 0 0; }
.footer { --gm: screen; --go: .3; }
.footer::before { background-image: url("images/photos/croissant-ham.jpg"); width: 337px; height: 450px; top: 50%; right: 0; margin-top: -225px; --ga: 100% 50%; }
.hb-hero-inner, .hb-duo-card > *, .hb-visit-card > *, .hb-inside > .hb-inner, .footer-inner, .footer-fine, .footer-credit, .hb-love > .hb-inner { position: relative; z-index: 1; }
.hb-duo-card > .latte-shot { z-index: 1; }

@media (max-width: 900px) {
  .hb-hero::before, .hb-hero::after, .hb-love::before, .hb-love::after { width: 180px; height: 240px; }
  .hb-love::before, .hb-love::after { margin-top: -120px; }
  .hb-inside::before { width: 260px; height: 266px; } .hb-inside::after { width: 180px; height: 240px; }
  .hb-coffee::before { width: 420px; height: 280px; }
  .hb-teachers::before, .hb-kids::before { width: 225px; height: 300px; top: 0; }
  .hb-kids::before { bottom: auto; --ga: 100% 0; width: 180px; height: 240px; }
  .hb-visit-card::before { width: 240px; height: 338px; }
  .footer::before { width: 225px; height: 300px; }

  .hb-head h2, .hb-inside h2, .hb-visit-card h2 { font-size: 32px; }
  .hb-head .btn, .hb-links .btn { width: 100%; } .hb-links { width: 100%; flex-direction: column; }
  .hb-hero-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: var(--section) var(--gutter); }
  .hb-h1 { font-size: 32px; text-align: center; text-wrap: balance; order: 1; margin: 0; }
  .hb-hero-photo { order: 2; width: 152px; }
  .hb-cta { order: 3; width: 100%; flex-direction: column; gap: 12px; margin: 0; } .hb-cta .btn { width: 100%; }
  .hb-proof { order: 4; justify-content: center; gap: 12px; }
  .hb-proof p { justify-content: center; }
  .hb-lede { order: 5; text-align: center; font-size: 17px; line-height: 1.5; margin: 0; }
  .hb-glance { margin-top: -32px; }
  .hb-glance-card { grid-template-columns: 1fr 1fr; }
  .glance { padding: 16px 12px; align-items: flex-start; }
  .glance:nth-child(3), .glance:nth-child(4) { border-top: var(--edge-w) solid var(--edge-paper); }
  .glance:nth-child(3) { border-left: 0; }
  .hb-dishes { grid-template-columns: 1fr; }
  .hb-dish { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .hb-dish-plate { width: 168px; } .hb-dish-body { align-items: center; }
  .hb-inside-grid { grid-template-columns: 1fr; }
  .hb-collage { height: 320px; min-height: 0; contain: none; }
  .hb-inside-text { padding-left: 0; gap: 24px; } .hb-inside-text .btn { width: 100%; }
  .hb-steps li { grid-template-columns: 104px 1fr; }
  .hb-wall { grid-template-columns: 1fr 1fr; gap: 12px; } .hb-wall img { aspect-ratio: 1; }
  .hb-duo-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .hb-coffee, .hb-teachers, .hb-kids { grid-column: 1; grid-row: auto; }
  .hb-duo-card { padding: 24px; }
  .hb-duo-card h2 { font-size: 28px; } .hb-duo-card .hb-big { font-size: 44px; }
  .hb-duo-card .btn, .hb-kids-links, .hb-kids-links .btn { width: 100%; }
  .hb-kids-links { flex-direction: column; }
  .hb-quote blockquote { font-size: 28px; }
  .press-grid { grid-template-columns: 1fr; }
  .hb-visit-grid { grid-template-columns: 1fr; }
  .hb-visit-card, .hb-visit-photo { grid-column: 1 / -1; }
  .hb-visit-card { padding: 24px; } .hb-visit-card .hb-cta, .hb-visit-card .hb-cta .btn { width: 100%; }
  .hb-visit-photo { min-height: 280px; max-height: 320px; height: 300px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) { .hb-hero::after { opacity: .3; width: 140px; height: 190px; } .hb-hero::before { opacity: .6; } }

/* ---------- inner pages: same frame, same surfaces ---------- */
.page-head { max-width: calc(1120px + 2 * var(--gutter)); margin: 0 auto; padding: 56px var(--gutter) 0; }
.page-head h1 { font-size: 44px; margin: 4px 0 16px; }
.page-head .lede { font-size: 20px; color: var(--ink); max-width: 44rem; }
.page-head-grid { gap: 48px; }
.section { padding: var(--section) var(--gutter); }
.section-inner { max-width: 1120px; margin: 0 auto; }
.section h2 { font-size: 36px; margin-bottom: 12px; }
.section-kicker { font-size: 17px; color: var(--myrtille); margin-bottom: 4px; }
.section-sub { color: var(--ink); font-size: 18px; }
.section-tint { background: var(--paper-deep); }
.photo-frame { border: var(--edge-w) solid var(--edge-cream); border-radius: var(--r); }
.photo-wrap.tilt-left, .photo-wrap.tilt-right { transform: none; }
.photo-wrap .photo-accent { display: none; }
.photo-caption { font-size: 16px; line-height: 1.4; color: var(--myrtille); font-weight: 700; margin-top: 10px; }
.faq-list { max-width: 820px; }
.faq-list details { border-bottom: var(--edge-w) solid var(--hair); padding: 8px 0; }
.faq-list summary { min-height: 52px; align-items: center; font: 800 19px/1.3 var(--font-body); color: var(--ink); }
.faq-list summary::before { color: var(--fraise-deep); font-size: 22px; }
.faq-list details p { color: var(--ink); font-size: 17px; }
.hours-table td { border-bottom: var(--edge-w) solid var(--hair); color: var(--ink); font-size: 18px; }
.visit-info h2 { font-size: 24px; font-family: var(--font-body); font-weight: 800; }
.visit-info p, .perk-list li { color: var(--ink); font-size: 18px; }
.visit-map iframe { border: var(--edge-w) solid var(--edge-paleblue); border-radius: var(--r); background: var(--paper-deep); }
@media (max-width: 900px) {
  .page-head { padding-top: 36px; } .page-head h1 { font-size: 32px; } .page-head .lede { font-size: 18px; }
  .section h2 { font-size: 28px; }
}

/* ---------- order, menu and forms ---------- */
:root { --nav-h: 68px; }
@media (max-width: 900px) { :root { --nav-h: 64px; } }
.hb-nav .nav-links a.btn[aria-current="page"] { background: var(--pale); padding: 0 22px; text-decoration: none; }
.order-tabs { border-bottom: var(--edge-w) solid var(--hair); }
.order-tabs a, .menu-jump a { display: inline-flex; align-items: center; min-height: 48px; font-size: 17px; padding: 0 18px; border: var(--edge-w) solid var(--edge-cream); border-radius: 14px; background: var(--pale); color: var(--ink); }
.order-tabs a:hover, .menu-jump a:hover { background: #ecd09c; }
.order-tabs a.on { background: var(--myrtille); border-color: var(--edge-teal); color: #fff; }
.cart-bar { border-top: var(--edge-w) solid var(--edge-brown); }
.cart-bar button { min-height: 52px; font-size: 17px; border: var(--edge-w) solid var(--edge-berry); padding: 0 24px; }
.overlay { background: rgba(43, 22, 14, .55); }
input, select, textarea { font-family: var(--font-body); font-size: 17px; color: var(--ink); background: var(--pale); border: var(--edge-w) solid var(--edge-cream); border-radius: 12px; }
input:not([type="checkbox"]):not([type="radio"]), select { min-height: 52px; }
::placeholder { color: #7a5f52; opacity: 1; }
.tip-btn, .gift-chip span { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; }
.tip-btn { border: var(--edge-w) solid var(--edge-cream); background: var(--pale); color: var(--ink); }
.hb-sr-only { position: absolute; }
.item-photo-note { font-size: 13.5px; background: rgba(250, 245, 234, .96); }
/* checkboxes and radios on cream, never white */
input[type="checkbox"], input[type="radio"] { -webkit-appearance: none; appearance: none; flex: none; width: 24px; height: 24px; min-height: 0; margin: 0; background: var(--pale); border: var(--edge-w) solid var(--edge-cream); border-radius: 7px; display: inline-grid; place-content: center; cursor: pointer; vertical-align: middle; }
input[type="radio"] { border-radius: 50%; }
input[type="checkbox"]:checked, input[type="radio"]:checked { background: var(--myrtille); border-color: var(--edge-teal); }
input[type="checkbox"]:checked::after { content: ""; width: 6px; height: 11px; border: solid var(--paper); border-width: 0 3px 3px 0; transform: rotate(45deg) translate(-1px, -1px); }
input[type="radio"]:checked::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--paper); }
.qty button, .cart-qty button, .qty-btn { min-width: 44px; min-height: 44px; }
.cart-row .qty-btn, .qty-btn { width: 44px; height: 44px; font-size: 1.25rem; }

/* ---------- Play while you wait: games/play.css loads first, this brings it into the system ---------- */
body.play-page *, body.play-page *::before, body.play-page *::after { box-shadow: none !important; text-shadow: none !important; }
body.play-page * { border-color: var(--edge-cream); }
body.play-page .play-head { border-color: var(--edge-turquoise); border-width: var(--edge-w-big); border-radius: var(--r-card); background: var(--lagoon); }
body.play-page .play-tile { border-color: var(--edge-cream); border-radius: var(--r-card); background: var(--card); transform: none; transition: background .12s; }
body.play-page .play-tile:hover, body.play-page .play-tile:active { transform: none; background: #ecd09c; }
body.play-page .play-head h1 { font-size: 44px; }
body.play-page .play-head h1, body.play-page .bc-big { color: var(--ink); }
body.play-page .tile-best, body.play-page .bac-chip, body.play-page .bac-chips button, body.play-page .bac-tabs button,
body.play-page .dm-hud, body.play-page .dm-total, body.play-page .dm-tip, body.play-page .bc-pill, body.play-page .mm-sizes,
body.play-page .mm-size span, body.play-page .mm-stat, body.play-page .gf-hud, body.play-page .gf-total, body.play-page .gf-meter,
body.play-page .gf-tip, body.play-page .gf-breakdown li, body.play-page .ws-hud, body.play-page .ws-tip, body.play-page .ou-hud,
body.play-page .ou-stars, body.play-page .ou-note, body.play-page .ou-tab, body.play-page .ou-summary li { border-radius: 14px; }
body.play-page .dm-tip, body.play-page .gf-tip, body.play-page .ws-tip { background: rgba(250, 245, 234, .94); }
body.play-page .bac-item:hover { background: #ecd09c; transform: none; }
body.play-page .gbtn:hover, body.play-page .gbtn:active, body.play-page .btn:hover, body.play-page .btn:active { transform: none; }
@media (max-width: 900px) { body.play-page .play-head h1 { font-size: 32px; } }
.sheet .opt input, .hb-form .opt input, .sheet input[type="checkbox"], .sheet input[type="radio"], .hb-form input[type="checkbox"], .hb-form input[type="radio"] {
  width: 24px; height: 24px; padding: 0; margin: 0; flex: none; background: var(--pale); border: var(--edge-w) solid var(--edge-cream); border-radius: 7px; accent-color: var(--myrtille); }
.sheet .opt input[type="radio"], .sheet input[type="radio"], .hb-form input[type="radio"] { border-radius: 50%; }
.sheet .opt input:checked, .sheet input[type="checkbox"]:checked, .sheet input[type="radio"]:checked, .hb-form input:checked { background: var(--myrtille); border-color: var(--edge-teal); }
.sheet label { font-size: 15px; color: var(--ink); }

/* design 61: on phones the order header stacks (badge above the words) */
@media (max-width: 640px) {
  .order-head { grid-template-columns: 1fr; gap: 0.8rem; }
  .order-head .order-badge { width: 84px; height: 84px; transform: none; grid-column: 1; grid-row: 1; }
  .order-head > div { grid-column: 1; grid-row: 2; }
}

/* Order tiles: a clear square "add" mark, and text-only tiles for dishes with no photo of their own */
.dish-add { width: 44px; height: 44px; border-radius: 12px; font-size: 1.6rem; font-weight: 800; color: #fffaf0; background: var(--myrtille); border: 2px solid #085a68; right: 0.75rem; bottom: 0.75rem; }
.dish-price { min-height: 44px; align-items: center; padding-right: 3.4rem; }
.dish-nophoto .dish-body { padding-top: 1rem; }
.dish-nophoto .dish-desc { -webkit-line-clamp: 3; }
.sheet-close { border-radius: 12px; }
