/* Chilean Brunch — tokens from the logo (mint #BBDFD1, butter #F9ECB1, black) plus derived deep teal for AA contrast */
:root {
  --ground: #F3FAF7;
  --surface: #FFFFFF;
  --mint: #BBDFD1;
  --mint-soft: #DCEFE7;
  --butter: #F9ECB1;
  --ink: #1A1A18;
  --ink-soft: #3B3B37;
  --teal: #2F6B5E;
  --teal-deep: #1F4A41;
  --terracotta: #B5482F;
  --on-teal: #FFFFFF;
  --focus: #1A1A18;

  --font-display: "Libre Caslon Display", "Times New Roman", Georgia, serif;
  --font-hand: "Caveat", "Segoe Script", cursive;
  --font-body: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1320px;
  --section-gap: clamp(72px, 11vw, 168px);
  --radius: 0px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body {
  overflow-x: clip; margin: 0; background: var(--ground); color: var(--ink);
  font: 400 1.0625rem/1.55 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.025em; line-height: 1.02; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }
ul { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
::selection { background: var(--butter); }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.grid-2 { display: grid; gap: clamp(32px, 5vw, 80px); }
@media (min-width: 900px) { .grid-2 { grid-template-columns: 1fr 1fr; align-items: start; } }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* Bar */
.bar {
  position: sticky; top: 0; z-index: 40; background: var(--surface);
  display: flex; align-items: center; gap: 24px; padding: 8px var(--gutter);
}
.bar__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font: 400 1.15rem/1 var(--font-display); letter-spacing: -0.02em; margin-right: auto; }
.bar__brand img { border-radius: 50%; }
.bar__nav { display: none; gap: 28px; }
.bar__nav a { text-decoration: none; font-weight: 500; padding: 8px 0; }
.bar__nav a:hover { color: var(--teal); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
@media (min-width: 960px) { .bar__nav { display: flex; } }
.lang { display: flex; background: var(--mint-soft); padding: 3px; border-radius: 999px; }
.lang button {
  font: 700 .85rem/1 var(--font-body); border: 0; background: transparent; color: var(--ink);
  padding: 9px 13px; border-radius: 999px; cursor: pointer; min-width: 44px; min-height: 36px;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.lang button[aria-pressed="true"] { background: var(--teal); color: var(--on-teal); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
  font: 700 1rem/1 var(--font-body); padding: 17px 28px; border-radius: 999px; min-height: 52px;
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
  cursor: pointer; border: 0; text-align: center;
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--teal); color: var(--on-teal); }
.btn--primary:hover { background: var(--teal-deep); }
.btn--ghost { background: #fff; color: var(--ink); }
.btn--ghost:hover { background: var(--butter); }
.btn--ghost-dark { background: var(--mint); color: var(--ink); }
.btn--ghost-dark:hover { background: var(--butter); }

/* Hero: the plate is a circle, like the logo */
.hero { position: relative; background: var(--mint-soft) url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22380%22 height=%22360%22%3E%3Cg font-family=%22Georgia,serif%22 font-style=%22italic%22 font-size=%2219%22 fill=%22%232F6B5E%22 fill-opacity=%22.08%22%3E%3Ctext x=%2220%22 y=%2240%22 transform=%22rotate%28-8 20 40%29%22%3Ebac%C3%A1n %C2%B7 great%3C/text%3E%3Ctext x=%22190%22 y=%2295%22 transform=%22rotate%286 190 95%29%22%3Eal tiro %C2%B7 right away%3C/text%3E%3Ctext x=%2230%22 y=%22150%22 transform=%22rotate%284 30 150%29%22%3E%C2%BFcachai%3F %C2%B7 you get it%3F%3C/text%3E%3Ctext x=%22210%22 y=%22205%22 transform=%22rotate%28-6 210 205%29%22%3Eharto %C2%B7 a lot%3C/text%3E%3Ctext x=%2240%22 y=%22250%22 transform=%22rotate%28-3 40 250%29%22%3Ela once %C2%B7 evening tea%3C/text%3E%3Ctext x=%22200%22 y=%22300%22 transform=%22rotate%287 200 300%29%22%3E%C2%A1salud%21 %C2%B7 cheers%3C/text%3E%3Ctext x=%2230%22 y=%22330%22 transform=%22rotate%28-5 30 330%29%22%3Epololo %C2%B7 sweetheart%3C/text%3E%3C/g%3E%3C/svg%3E") ; overflow: hidden; }
.hero__grid { display: grid; gap: 40px; align-items: center; padding-block: clamp(40px, 7vw, 96px); }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.05fr .95fr; min-height: min(88svh, 860px); } }
.hero__title { font-size: clamp(3rem, 7.4vw, 6.8rem); line-height: 1; max-width: 11ch; }
.hero__sub { font-size: clamp(1.15rem, 2vw, 1.45rem); max-width: 30em; margin: 28px 0 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__hours { margin: 22px 0 0; font-weight: 700; color: var(--teal-deep); }
.hero__plate { position: relative; width: min(100%, 640px); aspect-ratio: 1; justify-self: center; }
.hero__brush { position: absolute; inset: -8% -12% auto auto; width: 118%; height: auto; transform: rotate(-8deg); }
.hero__img { position: absolute; inset: 4%; width: 92%; height: 92%; border-radius: 50%; object-fit: cover; object-position: 60% 50%; box-shadow: none; }
.hero__badge { position: absolute; left: -4%; bottom: 2%; width: clamp(96px, 20%, 140px); height: auto; border-radius: 50%; animation: spin 46s linear infinite; background: #fff; }
.hero__plate .word { position: absolute; left: auto; top: auto; right: -2%; bottom: -3%; width: min(46%, 230px); padding: 18px 20px 22px; transform: rotate(4deg); }
.word__term { font: 400 1.9rem/1 var(--font-display); letter-spacing: -0.02em; margin: 0 0 6px; }
.word__def { font-size: .95rem; line-height: 1.35; margin: 0; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 899px) { .hero__plate .word { right: 0; } .hero__brush { inset: -6% -8% auto auto; width: 112%; } }

/* Sections */
.sec { padding-block: var(--section-gap); }
.sec__head { margin-bottom: clamp(32px, 5vw, 64px); max-width: 52rem; }
.sec__head h2 { font-size: clamp(2.4rem, 5.6vw, 4.9rem); }
.sec__head p { margin-top: 18px; font-size: 1.2rem; }
h2 { font-size: clamp(2.2rem, 4.8vw, 4.1rem); }
.lead { font-size: clamp(1.2rem, 2.2vw, 1.6rem); line-height: 1.4; }

.sec--exp { background: var(--ground); }
.exp__text h2 { margin-bottom: 28px; max-width: 15ch; }
.exp__text p { max-width: 36em; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chips li { background: var(--mint); padding: 10px 18px; border-radius: 999px; font-weight: 500; }

/* The paper: the printed sheet that arrives with each dish */
.paper { position: relative; background: #FFF4BF; padding: clamp(24px, 3.5vw, 44px) clamp(24px, 3.5vw, 44px) clamp(32px, 4vw, 52px); margin: 0; transform: rotate(-1.2deg); transition: transform .4s var(--ease);
  clip-path: polygon(0 0, 100% 0, 100% 97%, 95% 100%, 90% 97%, 85% 100%, 80% 97%, 75% 100%, 70% 97%, 65% 100%, 60% 97%, 55% 100%, 50% 97%, 45% 100%, 40% 97%, 35% 100%, 30% 97%, 25% 100%, 20% 97%, 15% 100%, 10% 97%, 5% 100%, 0 97%); }
.paper::before { content: ""; position: absolute; top: 0; left: 50%; width: 92px; height: 26px; background: var(--mint); opacity: .85; transform: translateX(-50%) rotate(-2deg); }
.paper:hover { transform: rotate(0); }
.paper__label { font: 700 1rem/1.2 var(--font-body); color: var(--teal-deep); margin-bottom: 14px; }
.paper__text { font: 400 clamp(1.25rem, 2.3vw, 1.75rem)/1.35 var(--font-display); margin: 0 0 16px; letter-spacing: -0.01em; }
.paper__note { font-size: .95rem; margin: 0; color: var(--ink-soft); }
.paper__line { font-weight: 500; margin-bottom: 14px; }
.paper--live { transform: none; margin-top: 28px; }
.paper--live h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 10px; }
.paper--live .paper__text { font-size: 1.2rem; margin: 0; }

/* Huaso */
.sec--huaso { background: var(--mint); }
.huaso__photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.parts { display: flex; flex-wrap: wrap; gap: 8px; }
.parts button {
  font: 500 1rem/1.2 var(--font-body); background: #fff; color: var(--ink); border: 0; cursor: pointer;
  padding: 12px 18px; border-radius: 999px; min-height: 48px; text-align: left;
  transition: background .2s var(--ease), transform .2s var(--ease), color .2s var(--ease);
}
.parts button:hover { background: var(--butter); }
.parts button:active { transform: scale(.97); }
.parts button[aria-pressed="true"] { background: var(--teal); color: var(--on-teal); }
.huaso__buy { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; }
.huaso__buy p { margin: 0; font-size: 1.15rem; }
.huaso__buy strong { font: 400 2.2rem/1 var(--font-display); display: block; letter-spacing: -0.02em; }

/* Menu */
.sec--menu { background: var(--surface); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.filters button {
  font: 700 1rem/1 var(--font-body); background: var(--mint-soft); color: var(--ink); border: 0; cursor: pointer;
  padding: 14px 22px; border-radius: 999px; min-height: 48px;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.filters button:hover { background: var(--mint); }
.filters button:active { transform: scale(.97); }
.filters button[aria-pressed="true"] { background: var(--teal); color: var(--on-teal); }
.menu__refill { background: var(--butter); display: inline-block; padding: 12px 20px; border-radius: 999px; font-weight: 500; margin: 8px 0 36px; }
.menu { display: grid; gap: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 40px); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .menu { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .menu { grid-template-columns: repeat(4, 1fr); } }
.item { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.item__img { aspect-ratio: 1; width: 100%; object-fit: cover; background: var(--mint-soft); }
.item--feature { grid-column: 1 / -1; display: grid; gap: 24px; background: var(--butter); padding: clamp(16px, 3vw, 32px); }
@media (min-width: 720px) { .item--feature { grid-template-columns: 1fr 1fr; align-items: center; } }
.item--feature h3 { font-size: clamp(2rem, 4vw, 3.4rem); }
.item--plain { background: var(--ground); padding: 20px; justify-content: flex-start; }
.item h3 { font-size: 1.35rem; line-height: 1.12; letter-spacing: -0.015em; }
.item p { margin: 0; font-size: .98rem; color: var(--ink-soft); }
.item__price { font: 400 1.2rem/1.2 var(--font-display); color: var(--ink); margin-top: auto; }
.item__price small { font: 500 .9rem var(--font-body); color: var(--ink-soft); }
.badge { display: inline-block; background: var(--teal); color: var(--on-teal); font: 700 .8rem/1 var(--font-body); padding: 6px 10px; border-radius: 999px; margin-left: 6px; vertical-align: middle; }
.item.is-hidden { display: none; }
.menu__empty { grid-column: 1/-1; }
.lists { display: grid; gap: 40px; margin-top: 72px; }
@media (min-width: 900px) { .lists { grid-template-columns: 1.4fr 1fr; gap: 80px; } }
.lists h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 20px; }
.lists table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.lists th { text-align: left; font-weight: 500; color: var(--ink-soft); padding-bottom: 8px; }
.lists td, .lists th { padding: 10px 0; }
.lists td:not(:first-child), .lists th:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; padding-left: 16px; white-space: nowrap; }
.lists tbody tr:nth-child(odd) { background: var(--ground); }
.lists tbody td:first-child { padding-left: 10px; }
.lists tbody td:last-child { padding-right: 10px; }
.menu__foot { margin-top: 64px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; background: var(--mint-soft); padding: clamp(20px, 3vw, 36px); }
.menu__foot p { margin: 0; max-width: 34em; }
.menu__links { display: flex; flex-wrap: wrap; gap: 10px; }
.is-off { display: none !important; }

/* Gallery */
.sec--gallery { background: var(--ground); }
.gallery { columns: 2; column-gap: 12px; }
@media (min-width: 720px) { .gallery { columns: 3; column-gap: 16px; } }
@media (min-width: 1100px) { .gallery { columns: 4; } }
.gallery li { break-inside: avoid; margin-bottom: 12px; }
@media (min-width: 720px) { .gallery li { margin-bottom: 16px; } }
.gallery button { display: block; width: 100%; padding: 0; border: 0; background: var(--mint-soft); cursor: zoom-in; overflow: hidden; }
.gallery img { width: 100%; height: auto; transition: transform .6s var(--ease); }
.gallery button:hover img { transform: scale(1.04); }
.lightbox { border: 0; padding: 0; background: rgba(12, 26, 22, .94); color: #fff; max-width: none; max-height: none; width: 100vw; height: 100dvh; }
.lightbox[open] { display: grid; grid-template-columns: 56px 1fr 56px; align-items: center; }
.lightbox::backdrop { background: rgba(12, 26, 22, .94); }
.lightbox figure { margin: 0; display: grid; place-items: center; gap: 12px; padding: 16px 0; min-width: 0; max-height: 100dvh; }
.lightbox img { max-width: 100%; max-height: calc(100dvh - 96px); width: auto; height: auto; object-fit: contain; }
.lightbox figcaption { font-weight: 500; text-align: center; }
.lightbox__btn { background: transparent; color: #fff; border: 0; font-size: 2.6rem; line-height: 1; cursor: pointer; min-width: 52px; min-height: 52px; }
.lightbox__btn:hover { color: var(--butter); }
.lightbox__close { position: absolute; top: 8px; right: 8px; }

/* Reviews */
.sec--reviews { background: var(--butter); }
.reviews__num { font: 400 clamp(7rem, 22vw, 17rem)/.85 var(--font-display); letter-spacing: -0.05em; margin: 0; color: var(--teal-deep); }
.reviews__sub { font-size: 1.2rem; margin: 18px 0 0; font-weight: 500; }
.reviews__text p { max-width: 34em; margin: 20px 0 28px; }
.reviews__cta { display: flex; flex-wrap: wrap; gap: 10px; }

/* Visit */
.sec--visit { background: var(--surface); }
.visit__info h2 { margin-bottom: 32px; }
.facts { margin: 0 0 32px; display: grid; gap: 22px; }
.facts dt { font-weight: 700; color: var(--teal-deep); margin-bottom: 4px; }
.facts dd { margin: 0; font-size: 1.15rem; }
.visit__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.visit__map iframe { width: 100%; height: clamp(320px, 52vw, 560px); border: 0; background: var(--mint-soft); }

/* Contact */
.sec--contact { background: var(--teal); color: var(--on-teal); }
.sec--contact h2 { font-size: clamp(2.6rem, 8vw, 7rem); margin-bottom: clamp(28px, 4vw, 56px); }
.contact { display: grid; gap: 12px; }
@media (min-width: 900px) { .contact { grid-template-columns: repeat(3, 1fr); } }
.contact a { display: flex; flex-direction: column; gap: 8px; text-decoration: none; background: var(--teal-deep); padding: 28px; min-height: 140px; transition: background .2s var(--ease), color .2s var(--ease); }
.contact a:hover { background: var(--butter); color: var(--ink); }
.contact strong { font: 400 clamp(1.3rem, 2.4vw, 1.9rem)/1.1 var(--font-display); letter-spacing: -0.02em; overflow-wrap: anywhere; }
.contact__tag { margin: -16px 0 32px; font-weight: 500; }

/* Footer */
.foot { background: var(--teal-deep); color: #fff; padding-block: clamp(40px, 6vw, 80px) 32px; }
.foot__name { font: 400 clamp(2.2rem, 10.4vw, 11rem)/1 var(--font-display); letter-spacing: -0.045em; margin: 0 0 40px; white-space: nowrap; overflow: hidden; }
.foot__row { display: grid; gap: 8px; }
.foot__row p { margin: 0; }
@media (min-width: 900px) { .foot__row { grid-template-columns: 1fr 1fr 1.4fr; gap: 40px; } .foot__row p:last-child { text-align: right; } }

/* WhatsApp float, mobile only */
.wa-float {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 45;
  display: inline-flex; align-items: center; gap: 10px; background: #1F7A4D; color: #fff; text-decoration: none;
  font-weight: 700; padding: 14px 18px; border-radius: 999px; min-height: 52px;
  transition: transform .2s var(--ease), background .2s var(--ease);
}
.wa-float:hover { background: #17603c; }
.wa-float:active { transform: scale(.96); }
@media (min-width: 900px) { .wa-float { display: none; } }

/* Motion: entrances. Content is visible if scripts fail. */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .paper.reveal { transform: translateY(24px) rotate(-1.2deg); }
.js .paper.reveal.is-in { transform: rotate(-1.2deg); }
.js .paper.reveal.is-in:hover { transform: rotate(0); }
.hero__title, .hero__sub, .hero__cta, .hero__hours { animation: rise .8s var(--ease) both; }
.hero__sub { animation-delay: 90ms; } .hero__cta { animation-delay: 180ms; } .hero__hours { animation-delay: 260ms; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .paper.reveal { transform: rotate(-1.2deg); }
}

/* Founders */
.names { margin-top: 36px; background: var(--teal); color: #fff; padding: clamp(22px, 3vw, 36px); }
.names__big { font: 400 clamp(2.4rem, 5.4vw, 4.6rem)/1 var(--font-display); letter-spacing: -0.03em; margin: 0 0 14px; }
.names__big span { color: var(--butter); }
.names__note { margin: 0; max-width: 32em; }
.sec--exp { background: var(--ground) url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22380%22 height=%22360%22%3E%3Cg font-family=%22Georgia,serif%22 font-style=%22italic%22 font-size=%2219%22 fill=%22%232F6B5E%22 fill-opacity=%22.08%22%3E%3Ctext x=%2220%22 y=%2240%22 transform=%22rotate%28-8 20 40%29%22%3Ebac%C3%A1n %C2%B7 great%3C/text%3E%3Ctext x=%22190%22 y=%2295%22 transform=%22rotate%286 190 95%29%22%3Eal tiro %C2%B7 right away%3C/text%3E%3Ctext x=%2230%22 y=%22150%22 transform=%22rotate%284 30 150%29%22%3E%C2%BFcachai%3F %C2%B7 you get it%3F%3C/text%3E%3Ctext x=%22210%22 y=%22205%22 transform=%22rotate%28-6 210 205%29%22%3Eharto %C2%B7 a lot%3C/text%3E%3Ctext x=%2240%22 y=%22250%22 transform=%22rotate%28-3 40 250%29%22%3Ela once %C2%B7 evening tea%3C/text%3E%3Ctext x=%22200%22 y=%22300%22 transform=%22rotate%287 200 300%29%22%3E%C2%A1salud%21 %C2%B7 cheers%3C/text%3E%3Ctext x=%2230%22 y=%22330%22 transform=%22rotate%28-5 30 330%29%22%3Epololo %C2%B7 sweetheart%3C/text%3E%3C/g%3E%3C/svg%3E"); }

/* Huaso: deep teal field, the plate as a circle */
.sec--huaso { background: var(--teal-deep); color: #fff; }
.sec--huaso .sec__head p { color: #fff; }
.huaso__photo img { border-radius: 50%; aspect-ratio: 1; }
.sec--huaso .parts button { background: rgba(255,255,255,.14); color: #fff; }
.sec--huaso .parts button:hover { background: rgba(255,255,255,.28); }
.sec--huaso .parts button[aria-pressed="true"] { background: var(--butter); color: var(--ink); }
.sec--huaso .paper--live { color: var(--ink); }
.huaso__buy p, .huaso__buy strong { color: #fff; }
.sec--huaso .btn--primary { background: var(--butter); color: var(--ink); }
.sec--huaso .btn--primary:hover { background: #fff; }

/* Menu: arch-shaped photos echo the doorway of the house */
.item__img { border-radius: 999px 999px 0 0; }
.item--feature .item__img { border-radius: 50%; }
.sec--gallery { background: var(--mint); }
.sec--gallery .gallery button { background: var(--mint-soft); }
.lists th[scope="row"] { text-align: left; font-weight: 400; padding-left: 10px; }
.exp__side { display: grid; gap: 28px; justify-items: end; }
.exp__photo { width: min(78%, 420px); aspect-ratio: 1; object-fit: cover; border-radius: 999px 999px 0 0; }
@media (max-width: 899px) { .exp__side { justify-items: start; } }

/* ===== Identity layer: type, hand notes, motion ===== */
.paper__label { font: 600 1.7rem/1 var(--font-hand); color: var(--teal-deep); margin-bottom: 10px; }
.paper__text { font: 500 clamp(1.1rem, 1.9vw, 1.4rem)/1.4 var(--font-body); letter-spacing: 0; }
.paper--live .paper__text { font-size: 1.15rem; }
.word__term { font-family: var(--font-display); font-weight: 400; }
.hand { font: 600 clamp(1.6rem, 2.6vw, 2.2rem)/1 var(--font-hand); color: var(--teal-deep); margin: 0; display: inline-flex; align-items: flex-start; gap: 4px; transform: rotate(-4deg); }
.hand svg { overflow: visible; margin-top: 8px; }
.hand path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .hand { opacity: 0; transition: opacity .5s var(--ease); }
.js .hand.is-in { opacity: 1; }
.hand.is-in path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s var(--ease) .35s; }
.hand--plate { position: absolute; left: -2%; top: 2%; z-index: 3; }
.hand--chips { color: var(--butter); margin-bottom: 14px; }
@media (max-width: 899px) { .hand--plate { left: 0; top: -4%; } }

/* headline words rise out of a mask */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.wi { display: inline-block; }
.js [data-split]:not(.is-split) { visibility: hidden; }
.js [data-split] .wi { transform: translateY(112%) rotate(4deg); transition: transform .9s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-split].is-in .wi { transform: none; }

/* Huaso: the paper drops in when you pick a part */
.paper--live.swap { animation: paperIn .6s cubic-bezier(.2,.9,.3,1.2) both; }
@keyframes paperIn { from { opacity: 0; transform: translateY(18px) rotate(5deg); } to { opacity: 1; transform: none; } }

/* marquee of dishes */
.marquee { background: var(--teal); color: #fff; overflow: hidden; transform: rotate(-1.4deg); margin: -22px 0 0; padding: 18px 0; position: relative; z-index: 2; }
.marquee__track { display: flex; width: max-content; animation: slide 46s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__item { font: 400 clamp(1.4rem, 2.4vw, 2.1rem)/1 var(--font-display); white-space: nowrap; padding-inline: clamp(16px, 2vw, 28px); }
.marquee__dot { width: 14px; height: 14px; border-radius: 50%; background: var(--butter); flex: none; }
@keyframes slide { to { transform: translateX(-50%); } }
.sec--exp { padding-top: calc(var(--section-gap) * .8); }

/* scalloped edges, like a doily on the cloth */
.sec--huaso, .sec--reviews, .sec--gallery, .sec--contact { position: relative; }
.sec--huaso::before, .sec--reviews::before, .sec--gallery::before, .sec--contact::before { content: ""; position: absolute; left: 0; right: 0; top: -21px; height: 22px; background-repeat: repeat-x; background-size: 44px 22px; background-position: center bottom; }
.sec--huaso::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='22' viewBox='0 0 44 22'%3E%3Cpath d='M0 22A22 22 0 0 1 44 22Z' fill='%231F4A41'/%3E%3C/svg%3E"); }
.sec--gallery::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='22' viewBox='0 0 44 22'%3E%3Cpath d='M0 22A22 22 0 0 1 44 22Z' fill='%23BBDFD1'/%3E%3C/svg%3E"); }
.sec--reviews::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='22' viewBox='0 0 44 22'%3E%3Cpath d='M0 22A22 22 0 0 1 44 22Z' fill='%23F9ECB1'/%3E%3C/svg%3E"); }
.sec--contact::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='22' viewBox='0 0 44 22'%3E%3Cpath d='M0 22A22 22 0 0 1 44 22Z' fill='%232F6B5E'/%3E%3C/svg%3E"); }

/* menu */
.item.pop { animation: pop .55s cubic-bezier(.2,.9,.3,1.15) both; animation-delay: var(--d, 0ms); }
@keyframes pop { from { opacity: 0; transform: translateY(22px) scale(.94); } to { opacity: 1; transform: none; } }
.item__img { transition: transform .5s cubic-bezier(.34,1.45,.5,1); }
.item:hover .item__img { transform: rotate(-3deg) scale(1.04); }
.parts button.is-on { animation: chip .4s cubic-bezier(.34,1.6,.5,1); }
@keyframes chip { 50% { transform: scale(1.1); } }

/* gallery as prints on a table */
.gallery li { transform: rotate(var(--r, 0deg)); transition: transform .4s cubic-bezier(.34,1.45,.5,1), opacity .7s var(--ease); }
.js .gallery li.reveal { transform: translateY(30px) rotate(calc(var(--r, 0deg) * 2)); }
.js .gallery li.reveal.is-in { transform: rotate(var(--r, 0deg)); }
.js .gallery li.reveal.is-in:hover, .gallery li:hover { transform: rotate(0deg) scale(1.03); z-index: 2; position: relative; }

/* hero parallax hooks */
.hero__plate { transform: translate3d(0, var(--ty, 0px), 0); will-change: transform; }
.hero__brush { transform: translate(var(--bx, 0px), var(--by, 0px)) rotate(-8deg); transition: transform .5s var(--ease); }
.hero__img { transform: translate(var(--ix, 0px), var(--iy, 0px)); transition: transform .5s var(--ease); }
.hero__badge { animation: none; transform: rotate(var(--rot, 0deg)); }
.foot__name { font-weight: 400; letter-spacing: -0.03em; }
.foot__name .w { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .js [data-split] .wi { transform: none !important; }
  .marquee__track { animation: none !important; }
  .hand path { stroke-dashoffset: 0 !important; }
  .js .hand { opacity: 1; }
  .js .gallery li.reveal { transform: rotate(var(--r, 0deg)); }
}
main { overflow-x: clip; }
.hand { padding-left: 8px; }
@media (max-width: 899px) { .hand--plate { left: 2%; } }
.item__price { font-family: var(--font-body); font-weight: 700; }
.item h3 { font-size: clamp(1.1rem, 1.9vw, 1.5rem); }
.bar__brand { font-size: 1.3rem; letter-spacing: -0.02em; }
.word__term { font-size: 2.2rem; }
.item h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.08rem; letter-spacing: 0; line-height: 1.2; }
.item--feature h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -0.02em; line-height: 1.02; }
