/* Pátio Brunch House
   Sunday light: cream paper, yolk sun, coffee text, tomato and leaf accents.
   One hand throughout: every surface is paper, every accent is tape, every
   heading carries the same swash, every photograph sits in the same frame.
   Tokens in :root, dark and on-paper contexts re-derived per surface. */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url("fonts/bricolage-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url("fonts/bricolage-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Karla";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/karla-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Karla";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/karla-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Karla";
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/karla-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Karla";
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/karla-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Cream carries the page, coffee gives it structure, yolk is the sun,
     tomato is the price and the warning, leaf is the fresh tag. */
  --cream: #FBF6EC;
  --cream-2: #F5EDDD;
  --cream-3: #EADFC9;
  --paper: #FFFDF8;
  --coffee: #2A211B;
  --coffee-2: #3B2E25;
  --yolk: #F2B33D;
  --yolk-deep: #DE9C15;
  --tomato: #E4583B;
  --tomato-text: #B5341B;
  --leaf: #7FA05A;
  --leaf-text: #4C6B24;
  --leaf-tint: #E8EFDD;
  --text-hi: #2A211B;
  --text-mid: #463930;
  --text-lo: #675649;
  --line: rgba(42, 33, 27, 0.16);
  --line-strong: rgba(42, 33, 27, 0.46);
  --focus: #2A211B;
  --focus-gap: #FBF6EC;

  /* One shadow logic, three pitches: paper, lifted paper, photograph. */
  --shadow-paper-sm: 0 1px 2px rgba(42, 33, 27, 0.07), 0 10px 22px -18px rgba(42, 33, 27, 0.4);
  --shadow-paper: 0 2px 4px rgba(42, 33, 27, 0.07), 0 18px 36px -24px rgba(42, 33, 27, 0.45);
  --shadow-paper-lg: 0 3px 6px rgba(42, 33, 27, 0.08), 0 30px 58px -30px rgba(42, 33, 27, 0.5);
  --shadow-photo: 0 3px 6px rgba(42, 33, 27, 0.1), 0 20px 40px -22px rgba(42, 33, 27, 0.5);
  --shadow-card: 0 20px 44px -26px rgba(42, 33, 27, 0.42);
  --shadow-plate: 0 14px 30px -18px rgba(42, 33, 27, 0.35);
  --sheen: inset 0 1px 0 rgba(255, 255, 255, 0.75);

  /* Tape: the one accent that ties every surface together. */
  --tape-leaf: rgba(127, 160, 90, 0.55);
  --tape-yolk: rgba(242, 179, 61, 0.6);
  --tape-tomato: rgba(228, 88, 59, 0.45);
  --tape-paper: rgba(255, 253, 248, 0.72);

  --toast: #E6B96E;
  --bacon: #C0503A;
  --queijo: #EFD9A0;
  --cogumelos: #8C6A4E;
  --chourico: #A8332A;
  --fruta: #E4583B;
  --iogurte: #F1E4CE;
  --drink-cafe: #6B4A32;
  --drink-cappuccino: #C99A6A;
  --drink-sumo: #F2A93A;
  --drink-limonada: #C2D46A;

  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-text: "Karla", ui-sans-serif, system-ui, -apple-system, sans-serif;

  --fs-h1: clamp(3.4rem, 1.9rem + 8.5vw, 7.5rem);
  --fs-display: clamp(1.9rem, 1.35rem + 2.4vw, 3rem);
  --fs-h3: clamp(1.12rem, 1.04rem + 0.4vw, 1.35rem);
  --fs-body: clamp(0.98rem, 0.94rem + 0.18vw, 1.05rem);
  --fs-small: 0.84rem;
  --fs-tag: 0.72rem;
  --fs-price: clamp(1.05rem, 1rem + 0.35vw, 1.28rem);

  --wrap: 1180px;
  --gutter: clamp(1.1rem, 4vw, 3rem);
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --sec-y: clamp(3.25rem, 8vw, 6.5rem);
  --head-h: 66px;

  --r-sm: 6px;
  --r-md: 14px;
  --r-lg: 26px;
  --r-xl: 40px;
  --r-full: 999px;

  --z-dawn: 0;
  --z-content: 1;
  --z-grain: 30;
  --z-head: 50;
  --z-drawer: 60;

  --dur-micro: 150ms;
  --dur-base: 240ms;
  --dur-enter: 700ms;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: linear(0, 0.42, 0.98, 1.18, 1.04, 0.97, 1.01, 1);
  --swash: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12'%3E%3Cpath d='M2 8 Q 25 2 50 8 T 100 8 T 150 8 T 198 8' fill='none' stroke='%23F2B33D' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* Coffee context: every text, line, focus and signal token is re-derived for a
   dark surface so nothing carries a value tuned for cream. */
.is-dark {
  --text-hi: #FBF6EC;
  --text-mid: #E2D7C8;
  --text-lo: #BCAD9A;
  --line: rgba(251, 246, 236, 0.16);
  --line-strong: rgba(251, 246, 236, 0.44);
  --tomato-text: #F0A48F;
  --leaf-text: #BFD69A;
  --leaf-tint: rgba(127, 160, 90, 0.22);
  --focus: #F2B33D;
  --focus-gap: #2A211B;
  --cream: #FBF6EC;
  --paper: rgba(251, 246, 236, 0.06);
  --shadow-card: 0 20px 44px -24px rgba(0, 0, 0, 0.6);
  color-scheme: dark;
  background: var(--coffee);
  color: var(--text-mid);
}

/* Paper context: a real sheet pinned onto the coffee wall keeps the cream
   token set, so a form stays legible whatever surrounds it. */
.on-paper {
  --text-hi: #2A211B;
  --text-mid: #463930;
  --text-lo: #675649;
  --line: rgba(42, 33, 27, 0.16);
  --line-strong: rgba(42, 33, 27, 0.46);
  --paper: #FFFDF8;
  --tomato-text: #B5341B;
  --leaf-text: #4C6B24;
  --leaf-tint: #E8EFDD;
  --focus: #2A211B;
  --focus-gap: #FFFDF8;
  --shadow-paper-lg: 0 3px 6px rgba(42, 33, 27, 0.12), 0 30px 58px -30px rgba(0, 0, 0, 0.55);
  color-scheme: light;
  color: var(--text-mid);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  overflow-x: clip;
  scroll-padding-top: calc(var(--head-h) + 1rem);
  background: var(--cream);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-text);
  font-size: var(--fs-body);
  line-height: 1.62;
  color: var(--text-mid);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 var(--s-4); }
p:last-child { margin-bottom: 0; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 92%;
  color: var(--text-hi);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 var(--s-4);
  text-wrap: balance;
}

a { color: inherit; text-decoration: none; }
::selection { background: var(--yolk); color: var(--coffee); }

.display { font-size: var(--fs-display); }

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

.wrapper {
  width: min(100% - (var(--gutter) * 2), var(--wrap));
  margin-inline: auto;
}

main, .site-foot { position: relative; z-index: var(--z-content); }

.skip {
  position: absolute;
  left: var(--s-4);
  top: var(--s-3);
  z-index: 100;
  transform: translateY(-180%);
  background: var(--coffee);
  color: var(--cream);
  border: 1px solid var(--coffee);
  border-radius: var(--r-full);
  padding: var(--s-2) var(--s-5);
  font-weight: 700;
  transition: transform var(--dur-base) var(--ease-out);
}
.skip:focus { transform: translateY(0); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Sunrise behind everything: a slow shift from low and warm to open morning. */
.dawn {
  position: fixed;
  inset: 0;
  z-index: var(--z-dawn);
  pointer-events: none;
  background-image:
    radial-gradient(52% 42% at 50% 100%, rgba(242, 179, 61, 0.55), rgba(242, 179, 61, 0) 72%),
    radial-gradient(60% 50% at 82% 4%, rgba(228, 88, 59, 0.16), rgba(228, 88, 59, 0) 62%);
  background-repeat: no-repeat;
  background-size: 100% 165%, 100% 120%;
  background-position: 40% 104%, 88% 2%;
  animation: dawn 34s ease-in-out infinite alternate;
}
@keyframes dawn {
  0% { background-position: 34% 108%, 90% 0%; }
  100% { background-position: 62% 38%, 68% 14%; }
}

.grain {
  position: fixed;
  inset: 0;
  z-index: var(--z-grain);
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* One tape rule for every surface that gets held down. Each host tunes the
   colour, size and tilt with custom properties. */
.post::before,
.pin::before,
.menu__cat::before,
.plate::before,
.form::before,
.patio__fig::before,
.hoje__week li.is-hoje::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 50%;
  width: var(--tape-w, 62px);
  height: var(--tape-h, 19px);
  transform: translateX(-50%) rotate(var(--tape-rot, -4deg));
  background: var(--tape-bg, var(--tape-yolk));
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(42, 33, 27, 0.07);
  z-index: 3;
  pointer-events: none;
}

/* Buttons and chips */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 44px;
  padding: 0.7rem 1.5rem;
  font-family: var(--font-text);
  font-size: 0.94rem;
  font-weight: 700;
  border-radius: var(--r-full);
  border: 1.5px solid var(--line-strong);
  background: transparent;
  color: var(--text-hi);
  cursor: pointer;
  position: relative;
  transition: background-color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), transform var(--dur-micro) var(--spring);
}
.btn:active { transform: scale(0.96); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn--primary { background: var(--coffee); border-color: var(--coffee); color: var(--cream); }
.btn--primary:hover { background: var(--yolk); border-color: var(--yolk); color: var(--coffee); }
.btn--ghost:hover { border-color: var(--coffee); }
.btn--lg { min-height: 52px; padding: 0.95rem 1.9rem; font-size: 1.02rem; }
.btn--block { width: 100%; }
.is-dark .btn--primary { background: var(--yolk); border-color: var(--yolk); color: var(--coffee); }
.is-dark .btn--primary:hover { background: var(--cream); border-color: var(--cream); color: var(--coffee); }

/* Header */
.site-head {
  position: sticky;
  top: 0;
  z-index: var(--z-head);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(251, 246, 236, 0.9), rgba(245, 237, 221, 0.82));
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  backdrop-filter: blur(16px) saturate(130%);
}
.site-head__in {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  min-height: var(--head-h);
  padding-block: var(--s-2);
}
.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 92%;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  color: var(--text-hi);
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-right: auto;
}
.brand__sub {
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: var(--leaf-text);
  text-transform: lowercase;
}
.head-nav ul { display: flex; gap: var(--s-5); }
.head-nav a {
  color: var(--text-mid);
  font-size: 0.9rem;
  font-weight: 600;
  padding: var(--s-2) 0;
  border-bottom: 2px solid transparent;
  transition: color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.head-nav a:hover { color: var(--text-hi); border-color: var(--tomato); }
.head-cta { min-height: 44px; }

.menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: transparent;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-full);
  cursor: pointer;
}
.menu-btn__bars,
.menu-btn__bars::before,
.menu-btn__bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-hi);
  border-radius: 2px;
}
.menu-btn__bars { position: relative; }
.menu-btn__bars::before { content: ""; position: absolute; top: -6px; left: 0; }
.menu-btn__bars::after { content: ""; position: absolute; top: 6px; left: 0; }

/* Drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: var(--z-drawer);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-out), visibility 0s linear var(--dur-base);
}
.drawer.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition: opacity var(--dur-base) var(--ease-out);
}
.drawer__scrim { position: absolute; inset: 0; background: rgba(42, 33, 27, 0.55); }
.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(86vw, 22rem);
  height: 100%;
  padding: calc(var(--head-h) + 1rem) var(--s-6) var(--s-6);
  background: var(--cream);
  border-left: 1px solid var(--line);
  box-shadow: -20px 0 50px -30px rgba(42, 33, 27, 0.5);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  transform: translateX(100%);
  transition: transform var(--dur-base) var(--ease-out);
}
.drawer.is-open .drawer__panel { transform: translateX(0); }
.drawer__panel ul { display: flex; flex-direction: column; gap: var(--s-2); }
.drawer__panel a:not(.btn) {
  display: block;
  padding: var(--s-3) var(--s-2);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-hi);
  border-bottom: 1px solid var(--line);
}
.drawer__note { margin-top: auto; font-size: var(--fs-small); color: var(--text-lo); }

/* Quadro de hoje: a strip of paper slips pinned to the wall, today's slip
   laid on top in coffee. */
.hoje { border-bottom: 1px solid var(--line); background: var(--cream-2); }
.hoje__in {
  padding-block: clamp(1.1rem, 3vw, 1.6rem);
  display: grid;
  gap: var(--s-3) var(--s-5);
}
.hoje__head { display: flex; align-items: center; gap: var(--s-3); }
.hoje__sun {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  border-radius: var(--r-full);
  background: radial-gradient(circle at 50% 45%, var(--yolk) 0 42%, var(--yolk-deep) 46% 62%, rgba(242, 179, 61, 0) 66%);
  box-shadow: 0 0 0 4px rgba(242, 179, 61, 0.18);
  animation: sun 12s ease-in-out infinite alternate;
}
@keyframes sun {
  0% { transform: rotate(-8deg) scale(0.94); }
  100% { transform: rotate(8deg) scale(1.06); }
}
.hoje__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 92%;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--coffee);
  white-space: nowrap;
}
.hoje__week {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: var(--s-3);
}
.hoje__week li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: var(--s-2) var(--s-3) var(--s-3);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-paper-sm);
  transform: rotate(var(--rot, 0deg));
  min-width: 0;
}
.hoje__week li:nth-child(odd) { --rot: -0.6deg; }
.hoje__week li:nth-child(even) { --rot: 0.6deg; }
.hoje__d {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--leaf-text);
}
.hoje__dish { font-size: 0.8rem; line-height: 1.3; color: var(--text-mid); }
.hoje__p { font-size: 0.8rem; font-weight: 700; color: var(--tomato-text); }
.hoje__week li.is-hoje {
  background: var(--coffee);
  border-color: var(--coffee);
  --rot: -1deg;
  box-shadow: var(--shadow-paper-lg);
  animation: pop var(--dur-enter) var(--spring) both;
}
.hoje__week li.is-hoje::before { --tape-w: 46px; --tape-h: 14px; --tape-bg: var(--tape-yolk); top: -8px; }
.hoje__week li.is-hoje .hoje__d { color: var(--yolk); }
.hoje__week li.is-hoje .hoje__dish { color: var(--cream); font-weight: 600; }
.hoje__week li.is-hoje .hoje__p { color: var(--yolk); }
.hoje__note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: var(--fs-small);
  color: var(--text-lo);
}
@keyframes pop {
  0% { transform: rotate(var(--rot, 0deg)) scale(0.9); }
  100% { transform: rotate(var(--rot, 0deg)) scale(1); }
}

/* Hero: the poster wall. Photographs pinned on a tabletop, the label card
   laid over the seam. */
.hero { padding-top: clamp(1.5rem, 4vw, 3rem); padding-bottom: var(--sec-y); }
.hero__wall {
  position: relative;
  display: grid;
  align-items: start;
  gap: clamp(0.35rem, 1.2vw, 0.9rem);
}
.post { position: relative; margin: 0; transform: translate(var(--tx, 0%), var(--py, 0px)) rotate(var(--rot, 0deg)); }
.post picture { display: block; }
.post img {
  width: 100%;
  border-radius: var(--r-md);
  border: 8px solid var(--paper);
  box-shadow: var(--shadow-photo);
  background: var(--paper);
}
.post::before {
  top: -11px;
  width: var(--tape-w, 66px);
  height: var(--tape-h, 21px);
}
.post--a { --tape-bg: var(--tape-leaf); --tape-rot: 5deg; }
.post--b { --tape-bg: var(--tape-yolk); }
.post--c { --tape-bg: var(--tape-tomato); --tape-rot: -7deg; }

.hero__label {
  --lx: -50%;
  --ly: -46%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(var(--lx), calc(var(--ly) + var(--py, 0px))) rotate(-1.4deg);
  z-index: 6;
  width: min(82%, 27rem);
  text-align: center;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.2rem, 3vw, 2rem) clamp(1.3rem, 4vw, 2.6rem);
  box-shadow: 0 30px 60px -30px rgba(42, 33, 27, 0.55), var(--sheen);
  animation: label-in var(--dur-enter) var(--spring) 0.15s both;
}
.hero__kicker {
  margin: 0 0 var(--s-1);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--leaf-text);
}
.hero__title {
  font-size: var(--fs-h1);
  font-weight: 800;
  font-stretch: 92%;
  line-height: 0.84;
  letter-spacing: -0.035em;
  margin: 0;
  color: var(--coffee);
}
.hero__title-sub {
  display: block;
  font-family: var(--font-text);
  font-weight: 700;
  font-size: clamp(0.9rem, 0.8rem + 0.8vw, 1.3rem);
  letter-spacing: 0.03em;
  color: var(--tomato-text);
  margin-top: 0.35rem;
}
.hero__lead {
  margin: var(--s-3) 0 0;
  font-size: 0.98rem;
  color: var(--text-mid);
}
.hero__swash {
  display: block;
  width: 60%;
  height: 11px;
  margin: var(--s-3) auto 0;
  background: var(--swash) no-repeat center / contain;
}

.post { animation: drop var(--dur-enter) var(--spring) both; }
.post--b { animation-delay: 0.1s; }
.post--c { animation-delay: 0.2s; }
@keyframes drop {
  0% {
    opacity: 0;
    transform: translate(var(--tx, 0%), calc(var(--py, 0px) - 30px)) rotate(calc(var(--rot, 0deg) * 1.8)) scale(0.96);
  }
  100% { opacity: 1; }
}
@keyframes label-in {
  0% { opacity: 0; transform: translate(var(--lx), calc(var(--ly) + var(--py, 0px))) rotate(-1.4deg) scale(0.92); }
  100% { opacity: 1; transform: translate(var(--lx), calc(var(--ly) + var(--py, 0px))) rotate(-1.4deg) scale(1); }
}

.hero__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-4) var(--s-6);
  margin-top: clamp(2rem, 5vw, 3.5rem);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.hero__demo { flex: 1 1 20rem; margin: 0; font-size: var(--fs-small); color: var(--text-lo); max-width: 46ch; }

/* Section heads: same voice as the hero, with the same swash. */
.sec-head { max-width: 62ch; margin-bottom: clamp(1.5rem, 4vw, 2.5rem); }
.sec-head h2 { margin-bottom: 0; }
.sec-head h2::after {
  content: "";
  display: block;
  width: clamp(4.5rem, 11vw, 7rem);
  height: 10px;
  margin-top: 0.55rem;
  background: var(--swash) no-repeat left center / contain;
}
.sec-spec { color: var(--text-lo); margin: var(--s-3) 0 0; max-width: 58ch; }

/* Carta */
.carta { padding-block: var(--sec-y); background: var(--cream); }
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: clamp(1.5rem, 4vw, 2.5rem); }
.chip {
  min-height: 44px;
  padding: 0.5rem 1.15rem;
  font-family: var(--font-text);
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--text-mid);
  box-shadow: var(--shadow-paper-sm);
  cursor: pointer;
  transition: background-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), transform var(--dur-micro) var(--spring);
}
.chip:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.chip:active { transform: scale(0.95); }
.chip[aria-pressed="true"] {
  background: var(--coffee);
  border-color: var(--coffee);
  color: var(--cream);
  box-shadow: var(--shadow-card);
  transform: rotate(-1deg);
}

.menu { display: flex; flex-direction: column; gap: clamp(2rem, 5vw, 3.5rem); }
.menu__head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--s-5);
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}
.menu__cat {
  position: relative;
  display: inline-block;
  font-size: var(--fs-h3);
  margin: 0;
  padding: 0.4rem 1rem 0.45rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-paper-sm);
  transform: rotate(-1.2deg);
}
.menu__cat::before { --tape-w: 54px; --tape-h: 17px; --tape-bg: var(--tape-yolk); top: -9px; --tape-rot: 3deg; }

.pins { display: flex; align-items: center; gap: var(--s-4); flex: 0 0 auto; }
.pin { position: relative; margin: 0; width: clamp(6.5rem, 12vw, 10.5rem); }
.pin img {
  width: 100%;
  height: auto;
  border-radius: var(--r-sm);
  border: 6px solid var(--paper);
  box-shadow: var(--shadow-photo);
  background: var(--paper);
}
.pin::before { --tape-w: 46px; --tape-h: 15px; top: -9px; }
.pin--a { width: clamp(6rem, 10vw, 8.5rem); transform: rotate(-2.6deg); --tape-bg: var(--tape-leaf); }
.pin--a::before { top: -8px; }
.pin--b { z-index: 2; transform: rotate(2.2deg); --tape-bg: var(--tape-yolk); --tape-rot: 5deg; }
.pin--c { z-index: 3; transform: rotate(-1.8deg); margin-left: -1.1rem; --tape-bg: var(--tape-tomato); --tape-rot: -6deg; }

.dishes {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(0.9rem, 2vw, 1.15rem);
  align-items: start;
}
.dish {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.2rem 0.9rem;
  padding: var(--s-4) var(--s-5);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-paper), var(--sheen);
  transform: rotate(var(--rot, 0deg));
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.dish:hover { transform: rotate(0deg) translateY(-3px); box-shadow: var(--shadow-paper-lg), var(--sheen); }
.dish:nth-child(3n+1) { --rot: -0.7deg; }
.dish:nth-child(3n+2) { --rot: 0.5deg; }
.dish:nth-child(3n) { --rot: -0.3deg; }
.dish__name { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.06rem; color: var(--text-hi); line-height: 1.2; }
.dish__price { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: var(--fs-price); color: var(--tomato-text); text-align: right; white-space: nowrap; }
.dish__desc { grid-column: 1 / -1; margin: 0.35rem 0 0; font-size: 0.9rem; color: var(--text-lo); }
.tags { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: var(--s-3); }
.tag {
  font-size: var(--fs-tag);
  font-weight: 700;
  line-height: 1.5;
  padding: 0.1rem 0.55rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-lo);
}
.tag--diet { background: var(--leaf-tint); border-color: rgba(76, 107, 36, 0.35); color: var(--leaf-text); }
.tag--gf { background: rgba(242, 179, 61, 0.18); border-color: rgba(222, 156, 21, 0.45); color: #6E4E06; }
.tag--alg { color: var(--text-lo); border-color: var(--line-strong); }
.carta__foot { margin-top: clamp(1.5rem, 4vw, 2.5rem); font-size: var(--fs-small); color: var(--text-lo); }

/* The filter re-lays the collage: dishes and pins settle back into place. */
.menu__group.is-enter .dish { animation: dish-in 0.5s var(--ease-out) both; }
.menu__group.is-enter .pin { animation: pin-in 0.55s var(--spring) both; }
.menu__group.is-enter .dish:nth-child(2) { animation-delay: 0.05s; }
.menu__group.is-enter .dish:nth-child(3) { animation-delay: 0.1s; }
.menu__group.is-enter .dish:nth-child(4) { animation-delay: 0.15s; }
.menu__group.is-enter .dish:nth-child(5) { animation-delay: 0.2s; }
.menu__group.is-enter .dish:nth-child(6) { animation-delay: 0.25s; }
.menu__group.is-enter .pin--b { animation-delay: 0.08s; }
@keyframes dish-in {
  0% { opacity: 0; transform: translateY(16px) rotate(calc(var(--rot, 0deg) * 2.6)) scale(0.98); }
  100% { opacity: 1; }
}
@keyframes pin-in {
  0% { opacity: 0; transform: translateY(-14px) rotate(calc(var(--pin-rot, 0deg) - 6deg)) scale(0.9); }
  100% { opacity: 1; }
}
.pin--a { --pin-rot: -2.6deg; }
.pin--b { --pin-rot: 2.2deg; }
.pin--c { --pin-rot: -1.8deg; }

/* Monta o teu prato */
.montar { padding-block: var(--sec-y); background: var(--cream-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.montar__grid { display: grid; gap: clamp(1.5rem, 4vw, 3rem); }
.montar__build { display: flex; flex-direction: column; gap: var(--s-5); }
.pick { border: 0; padding: 0; margin: 0; }
.pick legend {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 92%;
  font-size: var(--fs-h3);
  color: var(--text-hi);
  letter-spacing: -0.02em;
  padding: 0;
  margin-bottom: var(--s-3);
}
.pick__opts { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.opt {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.55rem 0.95rem;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--text-mid);
  box-shadow: var(--shadow-paper-sm);
  cursor: pointer;
  position: relative;
  transition: background-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), transform var(--dur-micro) var(--spring);
}
.opt:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.opt:active { transform: scale(0.96); }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt__name { font-weight: 700; font-size: 0.92rem; }
.opt__price { font-size: 0.82rem; font-weight: 700; color: var(--tomato-text); }
.opt:has(input:checked) {
  background: var(--coffee);
  border-color: var(--coffee);
  color: var(--cream);
  box-shadow: var(--shadow-card);
  transform: rotate(-1deg);
}
.opt:has(input:checked) .opt__price { color: var(--yolk); }
.opt:has(input:checked)::after {
  content: "\2713";
  position: absolute;
  top: -7px;
  right: -5px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  background: var(--yolk);
  color: var(--coffee);
  border-radius: var(--r-full);
  border: 2px solid var(--cream-2);
}
.opt:has(:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.montar__acts { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4); }
.montar__demo { margin: 0; font-size: var(--fs-small); color: var(--text-lo); flex: 1 1 16rem; }

/* The plate: a sheet pinned next to the builder, ingredients landing on it. */
.plate {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.2rem, 3vw, 1.8rem);
  box-shadow: var(--shadow-paper-lg), var(--sheen);
}
.plate::before { --tape-bg: var(--tape-yolk); --tape-w: 70px; --tape-rot: -3deg; }
.plate__title { font-size: var(--fs-h3); margin: 0 0 var(--s-3); }
.plate__art { position: relative; }
.diagram { width: 100%; max-width: 380px; height: auto; margin-inline: auto; display: block; }
.diagram.is-bounce { animation: plate-pop 0.55s var(--spring); }
@keyframes plate-pop {
  0% { transform: scale(1); }
  35% { transform: scale(1.045) rotate(-1deg); }
  70% { transform: scale(0.985) rotate(0.5deg); }
  100% { transform: scale(1) rotate(0deg); }
}
.d-saucer { fill: var(--cream-3); opacity: 0.55; }
.d-rim { fill: var(--paper); stroke: rgba(42, 33, 27, 0.16); stroke-width: 2; }
.d-face { fill: #FFFFFF; stroke: rgba(42, 33, 27, 0.08); stroke-width: 1; }
.slot { fill: none; stroke: rgba(42, 33, 27, 0.22); stroke-width: 2; stroke-dasharray: 7 7; }
.yolk { fill: none; }
.d-ovo.is-on .slot { fill: var(--paper); stroke: rgba(42, 33, 27, 0.28); stroke-dasharray: none; }
.d-ovo.is-on .yolk { fill: var(--yolk); }
.d-base.is-on .slot { fill: var(--toast); stroke: rgba(42, 33, 27, 0.2); stroke-dasharray: none; }
.dot { fill: none; stroke: rgba(42, 33, 27, 0.26); stroke-width: 2; stroke-dasharray: 5 5; }
.dot.is-on { stroke: none; }
.dot[data-slot="bacon"].is-on { fill: var(--bacon); }
.dot[data-slot="queijo"].is-on { fill: var(--queijo); stroke: rgba(42, 33, 27, 0.3); }
.dot[data-slot="cogumelos"].is-on { fill: var(--cogumelos); }
.dot[data-slot="chourico"].is-on { fill: var(--chourico); }
.dot[data-slot="fruta"].is-on { fill: var(--fruta); }
.dot[data-slot="iogurte"].is-on { fill: var(--iogurte); stroke: rgba(42, 33, 27, 0.3); }
.cup, .cup-line { fill: none; stroke: rgba(42, 33, 27, 0.26); stroke-width: 2; stroke-dasharray: 6 6; }
.steam { fill: none; stroke: rgba(42, 33, 27, 0.35); stroke-width: 2; stroke-linecap: round; opacity: 0; }
.d-drink.is-on .cup, .d-drink.is-on .cup-line { stroke-dasharray: none; stroke: rgba(42, 33, 27, 0.32); }
.d-drink.is-on .cup { fill: var(--drink-c, var(--drink-cafe)); }
.d-drink.is-on .steam { opacity: 0.55; }
.d-drink.drink-cafe { --drink-c: var(--drink-cafe); }
.d-drink.drink-cappuccino { --drink-c: var(--drink-cappuccino); }
.d-drink.drink-sumo { --drink-c: var(--drink-sumo); }
.d-drink.drink-limonada { --drink-c: var(--drink-limonada); }

/* Ingredients fly in from the edge of the plate they belong to, then the cup
   steams. Nothing here hides content: the slot is already drawn. */
.d-base, .d-ovo, .dot, .d-drink .cup, .d-drink .steam { transform-box: fill-box; transform-origin: center; }
.d-base.is-on { animation: place-base 0.5s var(--spring) both; }
.d-ovo.is-on { animation: place-ovo 0.5s var(--spring) both; }
.dot.is-on { animation: place-dot 0.45s var(--spring) both; }
.d-drink.is-on .cup { animation: place-cup 0.5s var(--spring) both; }
.d-drink.is-on .steam { animation: steam-in 0.6s ease-out 0.15s both, steam 3.6s ease-in-out 1s infinite; }
@keyframes place-base {
  0% { transform: translateY(-14px) scale(0.5) rotate(-9deg); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
@keyframes place-ovo {
  0% { transform: translateY(-22px) scale(0.35) rotate(12deg); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
@keyframes place-dot {
  0% { transform: translate(var(--fx, 14px), var(--fy, -14px)) scale(0.2); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
@keyframes place-cup {
  0% { transform: translateY(16px) scale(0.72); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
@keyframes steam-in {
  from { opacity: 0; }
  to { opacity: 0.55; }
}
@keyframes steam {
  0%, 100% { transform: translateY(0); opacity: 0.35; }
  50% { transform: translateY(-4px); opacity: 0.7; }
}
.dot[data-slot="bacon"] { --fx: -16px; --fy: 10px; }
.dot[data-slot="queijo"] { --fx: 0px; --fy: -18px; }
.dot[data-slot="cogumelos"] { --fx: 16px; --fy: 10px; }
.dot[data-slot="chourico"] { --fx: -16px; --fy: 14px; }
.dot[data-slot="fruta"] { --fx: 0px; --fy: 20px; }
.dot[data-slot="iogurte"] { --fx: 16px; --fy: 14px; }

.plate__empty {
  margin: var(--s-2) 0 0;
  text-align: center;
  font-size: var(--fs-small);
  color: var(--text-lo);
}
.readout { margin: var(--s-4) 0 0; }
.readout__row { display: flex; justify-content: space-between; gap: var(--s-3); padding: var(--s-2) 0; border-bottom: 1px solid var(--line); }
.readout__row dt { font-weight: 700; color: var(--text-lo); font-size: 0.86rem; }
.readout__row dd { margin: 0; text-align: right; font-weight: 600; color: var(--text-hi); }
.readout__row--total { border-bottom: 0; padding-top: var(--s-3); }
.readout__row--total dt { font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: var(--text-hi); }
.readout__row--total dd { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--tomato-text); }
.plate__alg { margin: var(--s-3) 0 0; font-size: 0.86rem; color: var(--text-mid); }
.plate__alg span { font-weight: 700; }
.plate__note { margin: var(--s-2) 0 0; font-size: var(--fs-small); color: var(--text-lo); }

/* O pátio */
.patio { padding-block: var(--sec-y); }
.patio__grid { display: grid; gap: clamp(1.5rem, 4vw, 3rem); }
.patio__lead { max-width: 52ch; color: var(--text-mid); }
.patio__fig { position: relative; margin: clamp(1rem, 3vw, 1.8rem) 0 0; }
.patio__fig img { width: 100%; border-radius: var(--r-lg); border: 8px solid var(--paper); box-shadow: var(--shadow-photo); }
.patio__fig::before { top: -11px; --tape-bg: var(--tape-leaf); --tape-w: 70px; --tape-rot: 4deg; }
.patio__fig figcaption { margin-top: var(--s-3); font-size: var(--fs-small); color: var(--text-lo); }
.patio__h3 { font-size: var(--fs-h3); margin: 0 0 var(--s-3); }
.patio__side h3:not(:first-child) { margin-top: var(--s-6); }
.hours { width: 100%; border-collapse: collapse; margin-bottom: var(--s-3); }
.hours th, .hours td { text-align: left; padding: 0.55rem 0; border-bottom: 1px solid var(--line); }
.hours th { font-weight: 700; color: var(--text-hi); }
.hours td { text-align: right; color: var(--text-mid); }
.patio__addr { font-size: var(--fs-small); color: var(--text-lo); }
.policy { display: flex; flex-direction: column; gap: var(--s-3); }
.policy li { padding-left: 1rem; border-left: 3px solid var(--yolk); font-size: 0.94rem; color: var(--text-mid); }
.policy strong { color: var(--text-hi); }

/* Reservar: the form is a sheet of paper pinned to the coffee wall. */
.reservar { padding-block: var(--sec-y); }
.reservar__grid { display: grid; gap: clamp(1.5rem, 4vw, 3rem); }
.reservar__intro { max-width: 46ch; }
.reservar__demo { font-size: var(--fs-small); color: var(--text-lo); }
.form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.3rem, 3vw, 2.1rem);
  box-shadow: var(--shadow-paper-lg);
}
.form::before { --tape-bg: var(--tape-tomato); --tape-w: 78px; --tape-rot: -3deg; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field label { font-weight: 700; color: var(--text-hi); font-size: 0.94rem; }
.field input, .field select, .field textarea {
  font: inherit;
  color: var(--text-hi);
  background: var(--paper);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-sm);
  padding: 0.7rem 0.85rem;
  min-height: 46px;
  transition: border-color var(--dur-base) var(--ease-out);
}
.field textarea { min-height: 5.5rem; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--text-hi); }
.field input::placeholder, .field textarea::placeholder { color: var(--text-lo); opacity: 1; }
.field .hint { margin: 0; font-size: var(--fs-small); color: var(--text-lo); }
.err {
  margin: 0;
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--tomato-text);
}
.field:has(.err:not([hidden])) input,
.field:has(.err:not([hidden])) select,
.field:has(.err:not([hidden])) textarea { border-color: var(--tomato-text); }
.form-status { margin: 0; font-weight: 600; color: var(--text-hi); }
.form-status.is-ok { color: var(--leaf-text); }
.noscript { padding: var(--s-4) var(--gutter); text-align: center; background: var(--yolk); color: var(--coffee); }

/* Footer */
.site-foot { background: var(--coffee); color: var(--text-mid); border-top: 1px solid rgba(251, 246, 236, 0.12); }
.foot__grid { display: grid; gap: var(--s-6); padding-block: clamp(2.5rem, 6vw, 4rem); }
.foot__brand { font-family: var(--font-display); font-weight: 800; font-stretch: 92%; font-size: 1.6rem; color: var(--cream); display: flex; align-items: baseline; gap: 0.5rem; }
.foot__brand .brand__sub { color: var(--leaf-text); }
.foot__nav ul { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); }
.foot__nav a { color: var(--text-mid); border-bottom: 1px solid transparent; }
.foot__nav a:hover { color: var(--cream); border-color: var(--yolk); }
.foot__disclaimer { font-size: var(--fs-small); color: var(--text-lo); }

/* ---- Layout by width ---- */

/* Hero, wide: the twelve-column poster wall. */
@media (min-width: 760px) {
  .hero__wall { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .post--a { grid-column: 1 / span 5; z-index: 1; --rot: -3.4deg; --tx: 0%; margin-top: 3rem; }
  .post--b { grid-column: 6 / span 3; z-index: 3; --rot: 2.6deg; --tx: -15%; margin-top: 0.6rem; }
  .post--c { grid-column: 9 / span 4; z-index: 2; --rot: -2deg; --tx: -13%; margin-top: 1.4rem; }
  .montar__grid { grid-template-columns: 1.15fr 0.85fr; align-items: start; }
  .plate { position: sticky; top: calc(var(--head-h) + 1.25rem); transform: rotate(-0.6deg); }
}

/* Hero, narrow: the same collage re-decided for one screen. Two photos overlap
   across the seam, the label card is laid over the join, the third peeks below.
   The label sits in flow here, so nothing can slide out of the collage. */
@media (max-width: 759px) {
  .hero__wall { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .post--a { grid-area: 1 / 1 / 2 / 5; z-index: 1; --rot: -3deg; --tx: 0%; }
  .post--b { grid-area: 1 / 4 / 2 / 7; z-index: 3; --rot: 3deg; --tx: 0%; margin-top: 2.6rem; }
  .hero__label {
    position: relative;
    left: auto;
    top: auto;
    --lx: 0%;
    --ly: 0%;
    grid-area: 2 / 1 / 3 / 7;
    justify-self: center;
    width: min(92%, 24rem);
    margin-top: -3.4rem;
  }
  .post--c { grid-area: 3 / 2 / 4 / 7; z-index: 2; --rot: -2deg; --tx: 0%; margin-top: -1.1rem; }
  .post img { border-width: 6px; }
  .hero__foot { margin-top: clamp(1.75rem, 6vw, 2.5rem); }
  .montar__grid { grid-template-columns: 1fr; }
  .plate { order: -1; transform: none; position: static; }
}

@media (max-width: 1023px) {
  .head-nav { display: none; }
  .head-cta { display: none; }
  .menu-btn { display: inline-flex; }
}

@media (max-width: 779px) {
  .hoje__in { grid-template-columns: 1fr; }
  .hoje__week { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); }
  .hoje__week li.is-hoje { --rot: -1deg; }
  .hoje__week li { padding: var(--s-2) var(--s-2) var(--s-3); }
  .hoje__week li.is-hoje::before { --tape-w: 40px; --tape-h: 12px; }
  .hoje__dish { font-size: 0.78rem; }
}

@media (min-width: 780px) {
  .hoje__in { grid-template-columns: auto 1fr; align-items: center; }
  .patio__grid { grid-template-columns: 1.15fr 0.85fr; align-items: start; }
  .reservar__grid { grid-template-columns: 0.85fr 1.15fr; align-items: start; }
  .foot__grid { grid-template-columns: 1.2fr 1fr 1.3fr; }
}

/* Carta grid and the hand-set offsets. */
@media (min-width: 680px) and (max-width: 999px) {
  .dishes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dish:nth-child(2n) { margin-top: 1.6rem; }
}

@media (min-width: 1000px) {
  .dishes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dish:nth-child(3n+2) { margin-top: 2rem; }
  .dish:nth-child(3n) { margin-top: 0.7rem; }
}

@media (max-width: 679px) {
  .menu__head { flex-direction: column; align-items: flex-start; gap: var(--s-4); }
  .pins { gap: var(--s-3); }
  .pin { width: clamp(5.5rem, 28vw, 7.5rem); }
  .pin--a { width: clamp(5rem, 24vw, 6.5rem); }
  .pin--c { margin-left: -0.7rem; }
  .dish { padding: var(--s-4) var(--s-4); }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
  .dawn { animation: none; background-position: 40% 104%, 88% 2%; }
  .hoje__sun { animation: none; }
  .dish:hover, .chip:hover, .opt:hover { transform: rotate(var(--rot, 0deg)); }
}

@media (prefers-reduced-transparency: reduce) {
  .site-head {
    background: var(--cream);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .drawer__scrim { background: rgba(42, 33, 27, 0.85); }
  :root {
    --tape-leaf: #AFC58E;
    --tape-yolk: #F4C877;
    --tape-tomato: #EE9A85;
    --tape-paper: #FFFDF8;
  }
}

@media (prefers-contrast: more) {
  :root { --line: rgba(42, 33, 27, 0.4); --line-strong: rgba(42, 33, 27, 0.7); }
  .is-dark { --line: rgba(251, 246, 236, 0.4); --line-strong: rgba(251, 246, 236, 0.7); }
  .tag, .tag--alg { border-color: var(--line-strong); }
}
