/*
  Cafe Orelo — public-site design layer ("The lit wall").
  Loaded after site.css + mobile.css on public pages only (base.html).
  POS / QR ordering also load site.css, so everything here is scoped to .site-body.

  Idea: the room at night. Dark "dining room" sections alternate with lit plaster,
  and the cafe's illuminated wavy wall is the one signature — the glowing wave on
  the hero's lower edge, echoed once on the footer.

  Token        Hex       Role
  --night      #13150F   dining room — dark sections, header, footer
  --night-2    #1D2018   raised surface on dark
  --plaster    #E7E5D8   lit plaster wall — light sections (cool, not cream)
  --plaster-2  #F3F2EA   card on plaster
  --olive      #7C8B4E   wordmark olive — rules, icons on light
  --leaf       #C2CC86   olive lit up — actions and accents on dark
  --bench      #2E4636   green bench seating — offer panel
  --glow       #F6E7B8   LED wall light — the wave only, prices on dark
*/

/* ---------- Tokens ---------- */
/* site.css sets the root to 70% for the dense POS screens. Public pages read at 14px rem. */
html:has(> body.site-body) { font-size: 87.5%; background: #13150f; }

body.site-body {
  --night: #13150f;
  --night-2: #1d2018;
  --plaster: #e7e5d8;
  --plaster-2: #f3f2ea;
  --olive: #7c8b4e;
  --leaf: #c2cc86;
  --bench: #2e4636;
  --glow: #f6e7b8;
  --on-dark: #e7e5d8;
  --on-dark-mute: #a9ad97;
  --ink: #191b14;
  --mute: #4e5143;
  --rule: color-mix(in srgb, var(--olive) 30%, transparent);
  --rule-dark: color-mix(in srgb, var(--on-dark) 14%, transparent);

  /* Remap the shared site.css palette for public pages. */
  --charcoal: var(--night);
  --linen: var(--plaster);
  --paper: var(--plaster-2);
  --ceramic: #dcdacb;
  --moss: #3c4a22;
  --olive-deep: #2c3618;
  --olive-on-dark: var(--leaf);
  --forest: #3a4a26;
  --terracotta: var(--olive);
  --brass: var(--leaf);
  --clay: #4e5143;
  --color-surface-page: var(--plaster);
  --color-focus-ring: var(--moss);

  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-base: 1.125rem;
  --radius-card: 1.25rem;
  --radius-panel: 1.75rem;
  --shadow-card: 0 1px 2px rgba(19, 21, 15, 0.05), 0 8px 24px -14px rgba(19, 21, 15, 0.3);
  --shadow-raised: 0 2px 6px rgba(19, 21, 15, 0.08), 0 24px 48px -24px rgba(19, 21, 15, 0.5);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --display-soft: "SOFT" 100, "WONK" 0;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .16 0 0 0 0 .18 0 0 0 0 .1 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  /* The wall: a soft undulating edge with an LED line riding its crest. */
  --wave-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0 64 C 160 4 320 4 480 58 S 800 120 960 62 S 1280 0 1440 52 L1440 120 L0 120 Z' fill='black'/%3E%3C/svg%3E");
  --wave-glow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cdefs%3E%3Cfilter id='g' x='-5%25' y='-80%25' width='110%25' height='260%25'%3E%3CfeGaussianBlur stdDeviation='7'/%3E%3C/filter%3E%3C/defs%3E%3Cpath d='M0 64 C 160 4 320 4 480 58 S 800 120 960 62 S 1280 0 1440 52' fill='none' stroke='%23F6E7B8' stroke-width='10' filter='url(%23g)' opacity='.75'/%3E%3Cpath d='M0 64 C 160 4 320 4 480 58 S 800 120 960 62 S 1280 0 1440 52' fill='none' stroke='%23FFF6DA' stroke-width='2.2'/%3E%3C/svg%3E");

  background: var(--plaster) var(--grain);
  color: var(--ink);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Type ---------- */
.site-body h1,
.site-body h2,
.site-body h3 {
  font-variation-settings: var(--display-soft);
  font-weight: 460;
  text-wrap: balance;
}
.site-body h2 {
  font-size: clamp(2.2rem, 8vw, 4rem);
  line-height: 1;
  letter-spacing: -0.025em;
}
.site-body .lede { font-size: 1.1em; line-height: 1.6; text-wrap: pretty; }
.site-body p { text-wrap: pretty; }
.site-body .eyebrow {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--olive);
  margin-bottom: 1rem;
}

/* ---------- Buttons ---------- */
.site-body .btn {
  gap: 0.55rem;
  min-height: 3.25rem;
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  transition:
    background-color var(--duration-base) var(--ease-soft),
    color var(--duration-base) var(--ease-soft),
    border-color var(--duration-base) var(--ease-soft),
    transform var(--duration-base) var(--ease-soft);
}
.site-body .btn--olive { background: var(--moss); color: var(--plaster-2); }
.site-body .btn--ghost { border-color: color-mix(in srgb, var(--ink) 35%, transparent); color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .site-body .btn:hover:not(:disabled) { transform: translateY(-1px); }
  .site-body .btn--ghost:hover:not(:disabled) { background: color-mix(in srgb, var(--olive) 12%, transparent); border-color: var(--olive); }
}

/* ---------- Header: always the dining room ---------- */
.site-body .site-header {
  background: var(--night);
  color: var(--on-dark);
  border-bottom-color: var(--rule-dark);
}
.site-body .site-header__logo { filter: var(--logo-white-filter); }
.site-body .site-header__nav a {
  color: color-mix(in srgb, var(--on-dark) 78%, transparent);
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}
.site-body .site-header__nav a.is-active {
  color: var(--on-dark);
  font-weight: 500;
  box-shadow: inset 0 -1.5px 0 var(--leaf);
}
.site-body .site-header__cta.btn--olive,
.site-body[data-chrome="over-photo"] .site-header__cta.btn--olive {
  min-height: 2.75rem;
  padding: 0.55rem 1.15rem;
  background: var(--leaf);
  border-color: var(--leaf);
  color: var(--night);
}
.site-body .nav-toggle { color: var(--on-dark); }
@media (hover: hover) and (pointer: fine) {
  .site-body .site-header__nav a:hover { color: var(--leaf); }
}

.site-body .mobile-nav { background: var(--night) var(--grain); color: var(--on-dark); }
.site-body .mobile-nav nav a {
  font-family: var(--display);
  font-variation-settings: var(--display-soft);
  font-size: 2rem;
  min-height: 3.4rem;
  border-bottom: 1px solid var(--rule-dark);
}
.site-body .mobile-nav .btn--olive { background: var(--leaf); color: var(--night); }
.site-body .mobile-nav .btn--ghost { border-color: var(--rule-dark); color: var(--on-dark); }

/* ---------- Section rhythm ---------- */
.site-body .stream-block { padding-block: 4.5rem; }
.site-body .stream-block--hero { padding: 0; }

/* Dining-room sections. */
.site-body .stream-block--stats,
.site-body .stream-block--menu_board:has(.menu-showcase),
.site-body .stream-block--testimonials,
.site-body .stream-block--reservation_cta {
  background: var(--night) var(--grain);
  color: var(--on-dark);
  --rule: var(--rule-dark);
}
:is(.stream-block--stats, .stream-block--menu_board, .stream-block--testimonials, .stream-block--reservation_cta) .eyebrow { color: var(--leaf); }
:is(.stream-block--menu_board:has(.menu-showcase), .stream-block--testimonials, .stream-block--reservation_cta) .lede { color: var(--on-dark-mute); }
:is(.stream-block--menu_board:has(.menu-showcase), .stream-block--testimonials, .stream-block--reservation_cta) .btn--ghost {
  border-color: color-mix(in srgb, var(--on-dark) 35%, transparent);
  color: var(--on-dark);
}
@media (hover: hover) and (pointer: fine) {
  :is(.stream-block--menu_board, .stream-block--testimonials, .stream-block--reservation_cta) .btn--ghost:hover:not(:disabled) {
    border-color: var(--leaf);
    color: var(--leaf);
    background: transparent;
  }
}

/* ---------- Hero: ends in the lit wall on every page ---------- */
.site-body .hero {
  --wave-h: 2.25rem;
  --wave-fill: var(--plaster);
}
/* Photo heroes are capped at 40% of the viewport. */
.site-body .hero:not(.hero--text),
.site-body:not([data-page-kind="home"]) .hero:not(.hero--text) {
  min-height: 0;
  height: 40vh;
  height: 40svh;
  max-height: 40svh;
  padding: calc(var(--header-h) + 0.5rem) 0 calc(var(--wave-h) + 0.5rem);
  align-items: end;
}
.site-body .hero.hero--text { padding-top: calc(var(--header-h) + 1.75rem); padding-bottom: calc(var(--wave-h) + 1.75rem); max-height: 40svh; }
.site-body .hero.hero--text .hero__rule { margin-bottom: 0.75rem; }
.site-body .hero.hero--text .hero__title {
  font-size: clamp(1.75rem, min(5.6svh, 8.6vw), 4.6rem);
  line-height: 0.98;
  margin-bottom: 0.6rem;
}
.site-body .hero.hero--text .hero__sub {
  max-width: 44rem;
  margin: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}
/* The wave takes the colour of whatever section follows it. */
.site-body .stream-block--hero:has(+ :is(.stream-block--stats, .stream-block--testimonials, .stream-block--reservation_cta)) .hero,
.site-body .stream-block--hero:has(+ .stream-block--menu_board .menu-showcase) .hero { --wave-fill: var(--night); }
.site-body .hero::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: var(--wave-h);
  z-index: 0;
  background: var(--wave-fill);
  -webkit-mask: var(--wave-shape) center / 100% 100% no-repeat;
  mask: var(--wave-shape) center / 100% 100% no-repeat;
  pointer-events: none;
}
.site-body .hero .hero__lockup::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: var(--wave-h);
  background: var(--wave-glow) center / 100% 100% no-repeat;
  pointer-events: none;
}
.site-body .hero .hero__lockup { position: static; }
.site-body .hero .hero__lockup > * { position: relative; z-index: 1; }
.site-body .hero__image { object-position: center 40%; }
.site-body .hero::before {
  background:
    linear-gradient(180deg, rgba(19, 21, 15, 0.6) 0%, rgba(19, 21, 15, 0.2) 22%, rgba(19, 21, 15, 0.35) 50%, rgba(19, 21, 15, 0.9) 100%),
    linear-gradient(90deg, rgba(19, 21, 15, 0.55) 0%, rgba(19, 21, 15, 0.25) 55%, rgba(19, 21, 15, 0) 85%);
}
.site-body .hero:not(.hero--text) .hero__title {
  font-size: clamp(1.75rem, min(5.6svh, 8.6vw), 4.6rem);
  font-weight: 420;
  line-height: 0.95;
  letter-spacing: -0.03em;
  max-width: 18ch;
  margin-bottom: 0.55rem;
}
.site-body .hero__chip {
  min-height: 0;
  padding: 0.3rem 0.75rem;
  margin-bottom: 0.65rem;
  border: 1px solid color-mix(in srgb, var(--leaf) 35%, transparent);
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--night) 62%, transparent);
  backdrop-filter: blur(8px);
  color: var(--leaf);
  letter-spacing: 0.2em;
}
.site-body .hero:not(.hero--text) :is(.hero__title, .hero__sub) { text-shadow: 0 1px 2px rgba(19, 21, 15, 0.45), 0 2px 24px rgba(19, 21, 15, 0.6); }
.site-body .hero:not(.hero--text) .hero__rule,
.site-body .hero:not(.hero--text) .hero__hours { display: none; }
.site-body .hero:not(.hero--text) .hero__sub {
  max-width: 40rem;
  margin: 0;
  color: color-mix(in srgb, var(--on-dark) 86%, transparent);
  font-size: 1.02rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}
.site-body .hero:not(.hero--text) .hero__actions { margin-top: 0.85rem; gap: 0.6rem; }
.site-body .hero .btn--olive { background: var(--leaf); color: var(--night); }
.site-body .hero .btn--ghost {
  background: color-mix(in srgb, var(--night) 35%, transparent);
  border-color: color-mix(in srgb, var(--on-dark) 55%, transparent);
  color: var(--on-dark);
  backdrop-filter: blur(6px);
}
/* Text-only heroes (e.g. /menu/) sit on the dark room too. */
.site-body .hero.hero--text { background: var(--night) var(--grain); }
.site-body .hero.hero--text .hero__sub { color: var(--on-dark-mute); }

/* ---------- Stats: a quiet strip under the wave, not a card ---------- */
.site-body .stream-block--stats { padding-block: 0.5rem 1.5rem; }
.site-body .stats {
  padding: 0;
  gap: 0;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.site-body .stats li { padding: 0.35rem 0.5rem; }
.site-body .stats li + li { border-left: 1px solid var(--rule-dark); }
.site-body .stats strong {
  font-variation-settings: var(--display-soft);
  font-weight: 400;
  color: var(--glow);
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.site-body .stats span {
  display: block;
  margin-top: 0.25rem;
  color: var(--on-dark-mute);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Dish showcase (home + landing pages) ---------- */
.site-body .stream-block--stats + .stream-block--menu_board { padding-top: 2.5rem; }
.menu-showcase { max-width: 76rem; margin: 0 auto; }
.menu-showcase__intro { display: grid; gap: 1.25rem; margin-bottom: 2.25rem; }
.menu-showcase__intro h2 { margin-bottom: 0.7rem; max-width: 14ch; }
.menu-showcase__intro .lede { margin: 0; }
.menu-showcase__more { justify-self: start; }
.menu-showcase__more span { transition: transform var(--duration-base) var(--ease-soft); }

.menu-showcase__rail {
  list-style: none;
  margin: 0 calc(var(--space-gutter) * -1);
  padding: 0 var(--space-gutter) 0.5rem;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(76vw, 18.5rem);
  gap: 1.1rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--space-gutter);
  scrollbar-width: none;
}
.menu-showcase__rail::-webkit-scrollbar { display: none; }

.dish-tile {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: var(--on-dark);
}
.dish-tile__media {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-panel);
  background: var(--night-2);
}
.dish-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms var(--ease-soft);
}
.dish-tile__price {
  position: absolute;
  right: 0.8rem;
  top: 0.8rem;
  z-index: 1;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--night) 70%, transparent);
  backdrop-filter: blur(10px);
  color: var(--glow);
  font-family: var(--display);
  font-variation-settings: var(--display-soft);
  font-size: 1.1rem;
  line-height: 1.25;
  font-variant-numeric: lining-nums;
}
/* No photo yet: the dish name set on the dark wall, lit from below. */
.dish-tile--type .dish-tile__media {
  display: grid;
  place-items: end start;
  padding: 1.25rem;
  background:
    radial-gradient(120% 70% at 50% 110%, color-mix(in srgb, var(--glow) 22%, transparent), transparent 60%),
    var(--night-2);
  border: 1px solid var(--rule-dark);
}
.dish-tile__mark {
  font-family: var(--display);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-style: italic;
  font-weight: 380;
  font-size: 7.5rem;
  line-height: 0.8;
  color: color-mix(in srgb, var(--leaf) 70%, transparent);
}
.dish-tile__body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 0.25rem 0;
  flex: 1;
}
.dish-tile__category {
  margin: 0;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--leaf);
}
.dish-tile h3 {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--on-dark);
}
.dish-tile__desc {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--on-dark-mute);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}
.dish-tile .menu-dish__tags { margin-top: 0.4rem; }
.dish-tile .menu-dish__tags li { color: var(--on-dark-mute); }
.dish-tile .diet-icon { color: var(--leaf); }
.dish-tile .diet-icon--non_veg { color: #e0937d; }
@media (hover: hover) and (pointer: fine) {
  .dish-tile:hover .dish-tile__media img { transform: scale(1.05); }
  .menu-showcase__more:hover span { transform: translateX(3px); }
}

/* ---------- Full menu explorer (reads on plaster) ---------- */
.site-body .menu-explorer__intro h2 { font-size: clamp(2.2rem, 7vw, 3.6rem); }
.site-body .menu-section__heading { border-bottom: 1px solid var(--olive); background: var(--plaster) var(--grain); }
.site-body .menu-section__heading h2 { color: var(--ink); font-size: clamp(2rem, 4vw, 3rem); }
.site-body .menu-dish {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1.35rem 0;
}
.site-body .menu-dish--photo { grid-template-columns: minmax(0, 1fr) 6.75rem; }
.menu-dish__head { display: flex; align-items: baseline; gap: 0.6rem; }
.site-body .menu-dish h3 {
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  min-width: 0;
}
.menu-dish__leader {
  flex: 1 1 1.5rem;
  min-width: 1.5rem;
  height: 0;
  border-bottom: 1.5px dotted color-mix(in srgb, var(--olive) 60%, transparent);
  transform: translateY(-0.3em);
}
.site-body .menu-dish__price {
  font-variation-settings: var(--display-soft);
  font-size: 1.3rem;
  color: var(--moss);
  font-variant-numeric: lining-nums;
}
.site-body .menu-dish p { font-size: 1rem; }
.site-body .menu-dish__tags li { font-size: var(--text-xs); }
.site-body .menu-dish__tags .diet-icon { width: 16px; height: 16px; }
.menu-dish__media {
  margin: 0;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 1.1rem;
  overflow: hidden;
  background: var(--night-2);
}
.menu-dish__media img { width: 100%; height: 100%; object-fit: cover; }
.site-body .menu-categories a { font-size: var(--text-sm); }
.site-body .menu-categories a[aria-current] { color: var(--ink); border-color: var(--olive); background: color-mix(in srgb, var(--olive) 14%, transparent); }
.site-body .menu-sidebar summary { color: var(--ink); }
.site-body .menu-filter { font-size: var(--text-xs); background: var(--plaster-2); }
.site-body .menu-filter:has(input:checked) { background: var(--moss); border-color: var(--moss); }
.site-body .menu-results__status { font-size: var(--text-sm); }

/* Small print floor: nothing public reads below ~11.4px. */
.site-body .menu-filter__count,
.site-body .menu-category-count,
.site-body .menu-filters__hint,
.site-body .menu-sidebar__label,
.site-body .occasions__place span,
.site-body .occasions__chips span,
.site-body .occasions__food-label { font-size: var(--text-xs); }

/* ---------- Story ---------- */
.site-body .story { gap: 2.5rem; }
.site-body .story__frame {
  border-radius: var(--radius-panel);
  background: var(--night-2);
  box-shadow: none;
}
.site-body .story__copy [data-prose] { font-size: 1.05rem; color: var(--mute); }
.site-body .story__copy .text-link { color: var(--moss); text-underline-offset: 0.25em; }

/* ---------- Rich text: long-form guides need reading rhythm ---------- */
.site-body .prose-block { font-size: 1.05rem; line-height: 1.65; max-width: 68ch; }
.site-body .prose-block h2 { font-size: clamp(1.7rem, 5vw, 2.5rem); line-height: 1.1; margin: 2.4rem 0 0.75rem; }
.site-body .prose-block h3 { margin: 1.6rem 0 0.5rem; }
.site-body .prose-block > :first-child { margin-top: 0; }
.site-body .prose-block p + p { margin-top: 0.9rem; }
.site-body .prose-block ul,
.site-body .prose-block ol { margin: 0.75rem 0 1rem; padding-left: 1.25rem; }
.site-body .prose-block ul { list-style: disc; }
.site-body .prose-block ol { list-style: decimal; }
.site-body .prose-block li + li { margin-top: 0.4rem; }
.site-body .prose-block li::marker { color: var(--olive); }
.site-body .prose-block a { color: var(--olive-deep); text-decoration: underline; text-underline-offset: 0.2em; }

/* ---------- Pet policy: house rules (not a sequence, so no numbers) ---------- */
.site-body .pet-policy .eyebrow { color: var(--olive); }
.site-body .pet-policy h2 { font-size: clamp(2.2rem, 8vw, 4rem); line-height: 1; }
.site-body .pet-policy__rules { gap: 0; border-top: 1px solid var(--rule); }
.site-body .pet-policy__rules li {
  position: relative;
  padding: 1.1rem 0 1.1rem 1.6rem;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  box-shadow: none;
}
.site-body .pet-policy__rules li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--olive);
}
.site-body .pet-policy__rules strong { font-size: 1.08rem; font-weight: 600; }
.site-body .pet-policy__rules span { font-size: 0.98rem; color: var(--mute); }
.site-body .pet-policy__note { font-size: var(--text-sm); }

/* ---------- Offer: the green bench ---------- */
.site-body .offer {
  position: relative;
  overflow: hidden;
  padding: 2.75rem 1.5rem;
  border: 0;
  border-radius: var(--radius-panel);
  background: var(--bench) var(--grain);
  color: var(--on-dark);
}
.site-body .offer .eyebrow { color: var(--leaf); }
.site-body .offer h2 { font-size: clamp(2rem, 7vw, 3.4rem); max-width: 18ch; }
.site-body .offer p { color: color-mix(in srgb, var(--on-dark) 82%, transparent); max-width: 48ch; }
.site-body .offer .btn--ghost { border-color: var(--leaf); color: var(--leaf); }
.site-body .offer--poster { display: grid; gap: 2rem; align-items: center; }
.site-body .offer__poster { width: 100%; max-width: 26rem; height: auto; border-radius: var(--radius-panel); justify-self: center; }
@media (min-width: 900px) {
  .site-body .offer--poster { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 3rem; }
}

/* ---------- Testimonials (see the sticky-note board at the end) ---------- */
.site-body .quotes h2 { color: var(--on-dark); }

/* ---------- Hours & map ---------- */
.site-body .hours-map__hours {
  font-variation-settings: var(--display-soft);
  font-size: clamp(1.8rem, 6vw, 2.6rem);
  color: var(--moss);
  line-height: 1.1;
}
.site-body .hours-map__frame {
  border: 0;
  border-radius: var(--radius-panel);
  min-height: 18rem;
  background: var(--ceramic);
  box-shadow: var(--shadow-card);
}

/* ---------- Instagram ---------- */
.site-body .instagram { text-align: center; }
.site-body .instagram h2 {
  margin-bottom: 0.25rem;
  font-family: var(--sans);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--olive);
}
.site-body .instagram__handle {
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-style: italic;
  font-weight: 380;
  font-size: clamp(2.4rem, 11vw, 5rem);
  letter-spacing: -0.03em;
  color: var(--ink);
}
@media (hover: hover) and (pointer: fine) {
  .site-body .instagram__handle:hover { color: var(--olive); }
}

/* ---------- Celebrations panel ---------- */
.site-body .occasions__stage { border: 0; }
.site-body .occasions__copy h2 { color: var(--on-dark); }
.site-body .occasions__cta .btn--olive { background: var(--leaf); color: var(--night); }
.site-body .occasions__cta .btn--ghost {
  border-color: color-mix(in srgb, var(--on-dark) 55%, transparent);
  color: var(--on-dark);
  background: color-mix(in srgb, var(--night) 35%, transparent);
}

/* ---------- Reserve: form card on the dark room ---------- */
.site-body .reserve h2 { color: var(--on-dark); }
.site-body .reserve .ticket {
  border: 0;
  border-radius: var(--radius-panel);
  background: var(--plaster-2);
  color: var(--ink);
  box-shadow: none;
}
.site-body .reserve .ticket::before { display: none; }
.site-body .inquiry-form label { font-size: var(--text-sm); font-weight: 500; }
.site-body .inquiry-form input,
.site-body .inquiry-form select,
.site-body .inquiry-form textarea {
  font-size: 16px; /* stops iOS zooming into fields */
  min-height: 3.25rem;
  background: #fff;
  border-color: color-mix(in srgb, var(--ink) 16%, transparent);
  transition: border-color var(--duration-base) var(--ease-soft), box-shadow var(--duration-base) var(--ease-soft);
}
.site-body .inquiry-form input:focus-visible,
.site-body .inquiry-form select:focus-visible,
.site-body .inquiry-form textarea:focus-visible {
  outline: none;
  border-color: var(--moss);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--olive) 30%, transparent);
}

/* ---------- FAQ ---------- */
.site-body .faq__list { border-top: 1px solid var(--rule); }
.site-body .faq details { border-bottom: 1px solid var(--rule); padding: 0; }
.site-body .faq summary {
  list-style: none;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.5rem;
  padding: 0.95rem 0;
  font-size: 1.05rem;
  font-weight: 500;
}
.site-body .faq summary::-webkit-details-marker { display: none; }
.site-body .faq summary::after {
  content: "";
  flex: none;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid var(--rule);
  background:
    linear-gradient(var(--moss), var(--moss)) center / 0.75rem 1.5px no-repeat,
    linear-gradient(var(--moss), var(--moss)) center / 1.5px 0.75rem no-repeat;
  transition: transform var(--duration-moderate) var(--ease-soft), background-color var(--duration-base);
}
.site-body .faq details[open] summary::after {
  transform: rotate(45deg);
  background-color: color-mix(in srgb, var(--olive) 16%, transparent);
}
.site-body .faq details p { margin: 0 0 1.2rem; max-width: 62ch; color: var(--mute); }

/* ---------- Calendar teaser ---------- */
.site-body .celebrate-teaser {
  border: 0;
  border-radius: var(--radius-panel);
  background: color-mix(in srgb, var(--olive) 16%, var(--plaster));
}

/* ---------- Footer: the wall again, from above ---------- */
.site-body .site-footer {
  position: relative;
  margin-top: 0;
  background: var(--night) var(--grain);
}
.site-body .site-footer::before,
.site-body .site-footer::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% - 1px);
  height: 2.25rem;
  pointer-events: none;
}
.site-body .site-footer::before {
  background: var(--night);
  -webkit-mask: var(--wave-shape) center / 100% 100% no-repeat;
  mask: var(--wave-shape) center / 100% 100% no-repeat;
}
.site-body .site-footer::after { background: var(--wave-glow) center / 100% 100% no-repeat; }
.site-body .site-footer__rule { display: none; }
.site-body .site-footer__heading { font-size: var(--text-xs); color: var(--leaf); }
.site-body .site-footer__voice { color: var(--on-dark-mute); }

/* ---------- Mobile dock ---------- */
.site-body .mobile-dock { border-top-color: var(--rule-dark); }

/* ---------- Tablet / desktop ---------- */
@media (min-width: 761px) {
  .menu-showcase__intro { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 2rem; }
  .menu-showcase__more { justify-self: end; }
  .menu-showcase__rail {
    margin: 0;
    padding: 0;
    overflow: visible;
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem 1.5rem;
  }
  .site-body .menu-dish--photo { grid-template-columns: minmax(0, 1fr) 8.5rem; gap: 1.75rem; }
  .site-body .pet-policy__rules { grid-template-columns: 1fr 1fr; column-gap: 3rem; }
  .site-body .offer { padding: 4rem 3.5rem; }
}

@media (min-width: 900px) {
  .site-body .stream-block { padding-block: 7rem; }
  .site-body .stream-block--hero { padding: 0; }
  .site-body .stream-block--stats { padding-block: 0.75rem 2rem; }
  .site-body .stream-block--stats + .stream-block--menu_board { padding-top: 4rem; }
  .site-body .hero { --wave-h: 3.5rem; }
  .site-body .hero.hero .hero__title { max-width: 26ch; }
  .site-body .site-footer::before,
  .site-body .site-footer::after { height: 3.5rem; }
  .site-body .stats { max-width: 52rem; }

  .site-body .reserve,
  .site-body .faq {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    grid-template-rows: auto auto auto 1fr;
    column-gap: clamp(2.5rem, 6vw, 6rem);
    align-items: start;
  }
  .site-body .reserve > :not(.reserve__ticket) { grid-column: 1; }
  .site-body .reserve__ticket { grid-column: 2; grid-row: 1 / -1; margin-top: 0; }
  .site-body .faq > h2 { grid-column: 1; position: sticky; top: calc(var(--header-h) + 2rem); }
  .site-body .faq__list { grid-column: 2; grid-row: 1 / -1; }
}

@media (min-width: 1100px) {
  .menu-showcase__rail { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- Phones ---------- */
@media (max-width: 899px) {
  .site-body .stream-block { padding-block: 4rem; }
  .site-body .stream-block--hero { padding: 0; }
  .site-body .stream-block--stats { padding-block: 0.25rem 1rem; }
  .site-body .stats strong { font-size: 1.55rem; }
  .site-body .mobile-dock a,
  .site-body .mobile-dock__btn { font-size: 0.95rem; min-height: 3rem; background: var(--leaf); color: var(--night); }
}

@media (max-width: 760px) {
  .site-body .menu-dish--photo { grid-template-columns: minmax(0, 1fr) 6rem; }
  .site-body .menu-dish h3 { font-size: 1.25rem; }
  .menu-dish__leader { display: none; }
  .menu-dish__head { flex-wrap: wrap; row-gap: 0.15rem; column-gap: 0.75rem; }
  .menu-dish--photo .menu-dish__head { flex-direction: column; align-items: flex-start; }
  .site-body .menu-sidebar summary { font-size: 1.05rem; }
}

/* Short phones (iPhone SE): keep the hero inside 40% by dropping the intro line. */
@media (max-height: 760px) {
  .site-body .hero.hero { --wave-h: 2.25rem; }
  .site-body .hero.hero .hero__sub,
  .site-body .hero.hero .hero__rule { display: none; }
}

@media (max-width: 374px) {
  .site-body .stats li + li { border-left: 0; border-top: 1px solid var(--rule-dark); padding-top: 0.6rem; }
  .menu-showcase__rail { grid-auto-columns: 80vw; }
}

@media (prefers-reduced-motion: reduce) {
  .dish-tile__media img,
  .site-body .btn,
  .site-body .faq summary::after { transition: none; }
}

/* Very short screens (netbooks, landscape phones): compact hero buttons. */
@media (max-height: 640px) {
  .site-body .hero .hero__actions .btn { min-height: 2.6rem; padding: 0.5rem 1.1rem; font-size: 0.95rem; }
  .site-body .hero:not(.hero--text) .hero__actions { margin-top: 0.6rem; }
}

/* ---------- Guest reviews: a sticky-note board ----------
   Each review is a paper note pinned on the dark wall, three rows drifting in
   alternating directions. Seven note colours cycle so neighbours never match. */
.site-body .stream-block--testimonials { padding-bottom: 3rem; overflow: clip; }
.site-body .quotes--notes h2 { margin-bottom: 1.25rem; }

.note-board {
  --note: 15rem;
  --note-gap: 1.1rem;
  display: grid;
  gap: 0.5rem;
  /* Full-bleed rows that fade at the edges of the screen. */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.note-row { overflow: hidden; padding-block: 1rem; }
.note-row__track {
  display: flex;
  width: max-content;
  animation: note-drift var(--drift, 120s) linear infinite;
}
.note-row--1 { --drift: 90s; }
.note-row--2 { --drift: 110s; }
.note-row--2 .note-row__track { animation-direction: reverse; }
.note-row--3 { --drift: 100s; }
.note-row--3 .note-row__track { margin-left: calc(var(--note) * -0.5); }
.note-row:hover .note-row__track,
.note-row:focus-within .note-row__track { animation-play-state: paused; }
@keyframes note-drift {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.note-row__set {
  display: flex;
  align-items: flex-start;
  gap: var(--note-gap);
  margin: 0;
  padding: 0 var(--note-gap) 0 0;
  list-style: none;
}

.review-note {
  --paper: #f4e3a1;
  --tilt: -2deg;
  flex: none;
  width: var(--note);
}
.review-note:nth-child(7n + 2) { --paper: #d4db9a; }
.review-note:nth-child(7n + 3) { --paper: #f2c7b5; }
.review-note:nth-child(7n + 4) { --paper: #bfd3be; }
.review-note:nth-child(7n + 5) { --paper: #c9d9e4; }
.review-note:nth-child(7n + 6) { --paper: #f6d2a2; }
.review-note:nth-child(7n + 7) { --paper: #d9cde6; }
.note-row--2 .review-note:nth-child(7n + 1) { --paper: #f6d2a2; }
.note-row--2 .review-note:nth-child(7n + 6) { --paper: #f4e3a1; }
.note-row--3 .review-note:nth-child(7n + 1) { --paper: #c9d9e4; }
.note-row--3 .review-note:nth-child(7n + 5) { --paper: #f4e3a1; }
.review-note:nth-child(5n + 2) { --tilt: 1.5deg; }
.review-note:nth-child(5n + 3) { --tilt: -0.75deg; }
.review-note:nth-child(5n + 4) { --tilt: 2.25deg; }
.review-note:nth-child(5n + 5) { --tilt: -2.75deg; }

.site-body .quotes .review-note blockquote {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  min-height: var(--note);
  margin: 0;
  padding: 1.5rem 1.2rem 1.1rem;
  color: #26271e;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.3), transparent 30%),
    linear-gradient(135deg, transparent 90%, rgba(0, 0, 0, 0.06) 90%),
    var(--paper);
  border: 0;
  border-radius: 2px 2px 3px 16px / 2px 2px 3px 7px;
  box-shadow:
    0 1px 1px rgba(0, 0, 0, 0.18),
    0 14px 20px -12px rgba(0, 0, 0, 0.6),
    inset 0 -12px 20px -16px rgba(0, 0, 0, 0.25);
  font-family: var(--sans);
  font-variation-settings: normal;
  transform: rotate(var(--tilt));
  transition: transform 350ms var(--ease-soft), box-shadow 350ms var(--ease-soft);
}
/* Washi tape across the top. */
.site-body .quotes .review-note blockquote::before {
  content: "";
  position: absolute;
  top: -0.6rem;
  left: 50%;
  width: 3.8rem;
  height: 1.15rem;
  transform: translateX(-50%) rotate(-3deg);
  background: color-mix(in srgb, var(--plaster-2) 55%, transparent);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}
.site-body .quotes .review-note p {
  margin: 0;
  flex: 1;
  font-family: "Kalam", "Comic Sans MS", cursive;
  font-size: 1.22rem;
  font-weight: 400;
  line-height: 1.32;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 7;
  line-clamp: 7;
  overflow: hidden;
}
.site-body .quotes .review-note footer {
  margin: 0;
  padding: 0;
  border: 0;
  font-family: "Kalam", "Comic Sans MS", cursive;
  font-size: 1.1rem;
  font-weight: 700;
  color: #3c4a22;
}
.site-body .quotes .review-note footer span {
  display: block;
  font-family: var(--sans);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in srgb, #26271e 60%, transparent);
}
@media (hover: hover) and (pointer: fine) {
  .site-body .quotes .review-note blockquote:hover {
    transform: rotate(0deg) translateY(-6px) scale(1.03);
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.15), 0 24px 30px -14px rgba(0, 0, 0, 0.65);
  }
}

@media (min-width: 900px) {
  .note-board { --note: 17rem; --note-gap: 1.4rem; gap: 0.75rem; }
  .site-body .quotes .review-note p { font-size: 1.3rem; }
}

/* Reduced motion: rows stand still and scroll by hand instead. */
@media (prefers-reduced-motion: reduce) {
  .note-row { overflow-x: auto; scrollbar-width: none; }
  .note-row::-webkit-scrollbar { display: none; }
  .note-row__track { animation: none; padding-inline: 1rem; }
  .note-row__set[aria-hidden="true"] { display: none; }
  .note-row--3 .note-row__track { margin-left: 0; }
  .site-body .quotes .review-note blockquote { transition: none; }
}
