/* Ma Chef demo site. Colours sampled from their menu, sign, wall and room. */
:root {
  --paper: #F4E842;
  --wall: #F2B71C;
  --smile: #F29A2E;
  --header-red: #D4452A;
  --chilli: #D8361F;
  --ink: #1B1916;
  --banquette: #FAF8F2;
  --wood: #8B5E3C;
  --steel: #B8BCBF;
  --white: #fff;

  --f-brush: 'Nanum Brush Script', 'Malgun Gothic', cursive;
  --f-head: 'Jua', 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
  --f-body: 'IBM Plex Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;

  --grain: 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='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.04'/%3E%3C/svg%3E");
  --gutter: 16px;
  --max: 1200px;
  --header-h: 68px;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--banquette);
  color: var(--ink);
  font: 400 1rem/1.6 var(--f-body);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
picture { display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-head); font-weight: 400; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 4.4vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
[lang="ko"] { word-break: keep-all; }
.ko { font-family: var(--f-body); font-weight: 500; font-size: .8em; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 0;
  box-shadow: 0 0 0 4px var(--smile);
  border-radius: 4px;
}

.jump-link {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 10px 14px; border-radius: 6px;
}
.jump-link:focus { top: 8px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 64px 0; }
.paper { background: var(--paper) var(--grain); }
.lede { font-size: 1.12rem; max-width: 40em; }

/* ---------- Labels (motif 2, animation 5) ---------- */
.label {
  display: inline-block;
  font-family: var(--f-head);
  font-size: 1.5rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--header-red);
  margin: 0 0 .6em;
  line-height: 1.3;
}
.js .label { clip-path: inset(0 100% 0 0); transition: clip-path 450ms var(--ease-out); }
.js .label.in { clip-path: inset(0 0 0 0); }
.marker { display: inline-flex; align-items: center; gap: 10px; }
.marker > svg { width: 30px; height: 36px; flex: none; }

/* ---------- Buttons (animation 4) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 22px;
  border: 2px solid var(--ink); border-radius: 999px;
  font: 600 1rem/1.2 var(--f-body);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  background: transparent; color: var(--ink);
  transition: transform 100ms ease;
}
.btn:active { transform: scale(.97); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-light { background: var(--banquette); }
.btn-sm { min-height: 40px; padding: 6px 16px; font-size: .95rem; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header (animation 1, 2, 3) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
}
.site-header::before {
  content: ""; position: absolute; inset: 0;
  background: var(--banquette);
  border-bottom: 1px solid rgba(27, 25, 22, .12);
  opacity: 0; transition: opacity 200ms ease;
}
.site-header.is-settled::before, .site-header.nav-open::before { opacity: 1; }
.header-inner {
  position: relative; height: 100%;
  display: flex; align-items: center; gap: 12px;
}
.wordmark {
  display: inline-flex; flex-direction: column; align-items: flex-start;
  text-decoration: none; color: var(--ink);
  transform-origin: left center; transition: transform 200ms var(--ease-out);
}
.is-settled .wordmark { transform: scale(.86); }
.wm-top { display: inline-flex; align-items: center; gap: 4px; }
.wm-name { position: relative; font: 400 2.25rem/1 var(--f-brush); padding-top: 4px; white-space: nowrap; }
.wm-h { position: relative; }
.wm-hat { position: absolute; left: 50%; top: -6px; width: 14px; height: 8px; transform: translateX(-30%); }
.wm-smiley { width: 24px; height: 29px; }
.wm-sub { font: 400 .62rem/1 var(--f-head); letter-spacing: .18em; margin-top: 2px; white-space: nowrap; }
.wm-eyes { transform-box: fill-box; transform-origin: center; animation: blink 180ms 500ms both; }
.wordmark:hover .wm-eyes, .wordmark:focus-visible .wm-eyes { animation: blink-again 180ms both; }
@keyframes blink { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.1); } }
@keyframes blink-again { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.1); } }

.nav { display: none; }
.nav a {
  font-family: var(--f-head); font-size: 1.2rem; text-decoration: none;
  padding: 8px 4px; border-bottom: 3px solid transparent;
}
.nav a[aria-current="page"] { border-bottom-color: var(--wall); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.header-actions .chip { display: none; }
.nav-toggle {
  width: 44px; height: 44px; border: 2px solid var(--ink); border-radius: 50%;
  background: var(--banquette); display: grid; place-items: center; cursor: pointer; padding: 0;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 2px; background: var(--ink); position: relative; content: "";
  transition: transform 150ms ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

.nav-sheet {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--banquette); border-bottom: 2px solid var(--ink);
  padding: 8px var(--gutter) 20px;
  display: none;
}
.nav-open .nav-sheet { display: block; }
.nav-sheet a {
  display: block; font: 400 1.6rem/1 var(--f-head); text-decoration: none;
  padding: 14px 0; border-bottom: 1px dashed rgba(27, 25, 22, .3);
}
.nav-sheet .chip { margin-top: 16px; }

@media (max-width: 420px) {
  .header-inner { gap: 8px; }
  .header-actions { gap: 6px; }
  .header-actions .btn { padding: 6px 12px; font-size: .88rem; min-height: 40px; }
  .nav-toggle { width: 40px; height: 40px; }
  .wm-name { font-size: 1.8rem; }
  .wm-smiley { width: 20px; height: 24px; }
  .wm-sub { font-size: .5rem; letter-spacing: .12em; }
}

/* Open/closed chip */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 .9rem/1.2 var(--f-body);
  padding: 6px 12px 6px 8px; border-radius: 999px;
  background: var(--banquette); border: 1.5px solid var(--ink);
  white-space: nowrap;
}
.chip:not(.ready) { visibility: hidden; }
.dot { position: relative; width: 12px; height: 12px; flex: none; isolation: isolate; }
.dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--steel); z-index: -1; }
.dot svg { display: none; width: 16px; height: 19px; }
.is-open .dot { width: 16px; height: 19px; }
.is-open .dot svg { display: block; }
.is-open .dot::after { inset: auto 1px 0; height: 14px; background: var(--smile); animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.7); opacity: 0; } }

@media (min-width: 900px) {
  .nav { display: flex; gap: 22px; margin-left: 28px; }
  .nav-toggle, .nav-sheet { display: none !important; }
  .header-actions .chip { display: inline-flex; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--wood); color: var(--white); padding: 48px 0 28px; }
.site-footer a { color: var(--white); }
.site-footer .wordmark { color: var(--white); }
.footer-grid { display: grid; gap: 20px; }
.footer-tag { margin: 10px 0 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 0; margin: 0; list-style: none; }
.footer-links a { font-family: var(--f-head); font-size: 1.15rem; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-small { font-size: .9rem; border-top: 1px solid rgba(255, 255, 255, .35); padding-top: 18px; margin: 12px 0 0; }
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr; align-items: start; }
}

/* ---------- Home hero (animation 6) ---------- */
.hero { display: grid; border-bottom: 16px solid var(--wall); }
.hero-photo { position: relative; order: -1; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink); }
.hero-photo picture { position: absolute; inset: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-panel { padding: 36px var(--gutter) 40px; }
.hero-panel h1 { max-width: 13em; }
.hero-sub { font-size: 1.1rem; max-width: 34em; }
.hero .btn-row { margin: 24px 0 22px; }
.fact-line { font-size: .98rem; margin: 0; }
.fact-line strong { font-weight: 600; }
.only-mobile { display: inline-flex; }
.js .hero-panel { animation: set-down 600ms var(--ease-out) both; }
.js .hero-photo img { animation: fade-in 600ms 120ms ease both; }
@keyframes set-down { from { opacity: 0; transform: translateY(24px) rotate(-2deg); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@media (min-width: 768px) {
  .hero { grid-template-columns: 46fr 54fr; min-height: min(640px, calc(100vh - var(--header-h))); }
  .hero-photo { order: 2; aspect-ratio: auto; }
  .hero-panel { padding: 56px 40px; display: flex; flex-direction: column; justify-content: center; }
  .only-mobile { display: none; }
}
@media (min-width: 1280px) { .hero-panel { padding-left: max(40px, calc((100vw - var(--max)) / 2 + var(--gutter))); } }

/* ---------- Dishes (animation 8, 9) ---------- */
.section-head { margin-bottom: 32px; }
.dishes { display: grid; gap: 36px; list-style: none; padding: 0; margin: 0; }
.dish { display: grid; gap: 14px; align-content: start; }
.dish-photo { position: relative; }
.dish-photo picture { overflow: hidden; border-radius: 6px; }
.dish-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.dish-photo.alt-crop img { transform: scale(1.45); transform-origin: 58% 42%; }
.dish-name { font-size: 1.45rem; margin: 0 0 .15em; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.dish-price { font: 600 1.05rem/1.4 var(--f-body); font-variant-numeric: tabular-nums; margin: 0 0 .35em; }
.dish-desc { margin: 0; }
.sticker {
  position: absolute; top: -12px; right: -6px;
  background: var(--wall); color: var(--ink);
  font: 400 1rem/1.1 var(--f-head); text-align: center;
  width: 92px; height: 92px; border-radius: 50%; border: 2px solid var(--ink);
  display: grid; place-items: center; padding: 10px;
  transform: rotate(-4deg);
}
.js .dish { opacity: 0; }
.js .dish.in { animation: fade-in 400ms calc(var(--i, 0) * 110ms) ease both; }
.js .dish.in .dish-photo picture { animation: photo-rise 500ms calc(var(--i, 0) * 110ms) var(--ease-out) both; }
.js .sticker { opacity: 0; }
.js .dish.in .sticker { animation: pop 420ms calc(var(--i, 0) * 110ms + 380ms) var(--ease-out) both; }
@keyframes photo-rise { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@keyframes pop {
  0% { opacity: 0; transform: scale(.6) rotate(-8deg); }
  70% { opacity: 1; transform: scale(1.05) rotate(-5deg); }
  100% { opacity: 1; transform: scale(1) rotate(-4deg); }
}
@media (min-width: 768px) {
  .dishes { grid-template-columns: 1fr 1fr; gap: 48px 40px; }
}
@media (min-width: 1100px) {
  .dishes { grid-template-columns: repeat(3, 1fr); }
}

/* Chillies (motif 3, animation 14) */
.chillies { display: inline-flex; gap: 1px; vertical-align: middle; }
.chillies svg { width: 16px; height: 20px; }

/* ---------- Soup weather (animation 7) ---------- */
.soup-grid { display: grid; gap: 32px; align-items: center; }
.soup-art { display: flex; align-items: flex-end; gap: 12px; }
.pot-art { width: 170px; flex: none; }
.soup-circle { width: min(280px, 60vw); aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 3px solid var(--ink); flex: none; }
.soup-circle img { width: 100%; height: 100%; object-fit: cover; }
.price-line { font-weight: 600; font-variant-numeric: tabular-nums; }
.steam { transform-box: fill-box; transform-origin: bottom; opacity: 0; animation: steam 3s ease-in-out infinite; }
.steam.s2 { animation-delay: 1s; }
.steam.s3 { animation-delay: 2s; }
.is-paused .steam, .is-paused .flame { animation-play-state: paused; }
@keyframes steam {
  0% { opacity: 0; transform: translateY(0); }
  40% { opacity: .7; }
  100% { opacity: 0; transform: translateY(-16px); }
}
@media (min-width: 768px) {
  .soup-grid { grid-template-columns: 1.1fr 1fr; }
  .soup-art { justify-content: center; }
  .pot-art { width: 210px; }
}

/* ---------- Reviews (animation 10, 11) ---------- */
.slips { display: grid; gap: 22px; list-style: none; padding: 0; margin: 0 0 28px; }
.slip {
  position: relative; background: var(--white);
  border: 1.5px solid var(--ink); border-radius: 4px;
  padding: 30px 22px 20px; margin: 0;
}
.slip::before {
  content: ""; position: absolute; top: -9px; left: 50%; width: 64px; height: 16px; margin-left: -32px;
  background: var(--steel); border: 1.5px solid var(--ink); border-radius: 4px;
}
.slip figure { margin: 0; }
.slip blockquote { margin: 0 0 12px; font-size: 1.02rem; }
.slip blockquote p { margin: 0; }
.slip figcaption { font-family: var(--f-head); font-size: 1.05rem; }
.js .slip { opacity: 0; }
.js .slip.in { animation: slip-in 450ms calc(var(--i, 0) * 90ms) var(--ease-out) both; }
.slip:nth-child(even) { --r: -1deg; }
@keyframes slip-in { from { opacity: 0; transform: translateY(14px) rotate(var(--r, 1deg)); } to { opacity: 1; transform: none; } }
.review-total { font-family: var(--f-head); font-size: 1.5rem; margin: 0 0 4px; }
.press-line { font-size: .95rem; }
@media (min-width: 768px) { .slips { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .slips { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Wall band (motif 5) ---------- */
.wall-band { position: relative; overflow: hidden; background: var(--wall); }
.wall-deco {
  position: absolute; right: -10px; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: center;
  opacity: .3; pointer-events: none;
}
.wall-deco svg { width: 150px; height: 170px; }
.wall-ko::after { content: "B9C8C170D504"; font: 400 clamp(5rem, 16vw, 11rem)/1 var(--f-brush); }
.wall-band .wrap { position: relative; }
.room-grid { display: grid; gap: 28px; align-items: center; }
.room-photos { position: relative; padding-bottom: 18%; max-width: 520px; }
.room-photos .big img { width: 78%; aspect-ratio: 3 / 4; object-fit: cover; border: 3px solid var(--ink); border-radius: 4px; }
.room-photos .small { position: absolute; right: 0; bottom: 0; width: 46%; }
.room-photos .small img { aspect-ratio: 3 / 4; object-fit: cover; border: 3px solid var(--ink); border-radius: 4px; }
@media (min-width: 768px) { .room-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Hours (animation 20) ---------- */
.hours { margin: 0 0 20px; padding: 0; max-width: 420px; }
.hrow {
  position: relative; display: flex; justify-content: space-between; gap: 16px;
  padding: 9px 12px; border-bottom: 1px dashed rgba(27, 25, 22, .35);
}
.hrow dt, .hrow dd { position: relative; margin: 0; }
.hrow dt { font-weight: 500; }
.hrow dd { font-variant-numeric: tabular-nums; }
.hrow::before {
  content: ""; position: absolute; inset: 0; background: var(--wall);
  transform: scaleX(0); transform-origin: left; transition: transform 500ms var(--ease-out);
}
.hrow.today dt, .hrow.today dd { font-weight: 600; }
.hrow.today.in::before { transform: scaleX(1); }
.hrow.today.is-closed::before { background: var(--steel); }
.visit-grid { display: grid; gap: 32px; }
.visit-grid address { font-style: normal; font-size: 1.1rem; margin-bottom: 8px; }
@media (min-width: 768px) { .visit-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Menu page (animations 12–16) ---------- */
.page-menu { background: var(--paper) var(--grain); }
.page-menu .site-header::before { background: var(--paper); }
.page-head { padding: 40px 0 8px; }
.page-head .lede { margin-bottom: 0; }
.tabs-bar { position: sticky; top: var(--header-h); z-index: 20; background: var(--paper) var(--grain); border-bottom: 2px solid var(--ink); }
.tabs { position: relative; display: flex; overflow-x: auto; scrollbar-width: none; margin: 0; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; background: none; border: 0; cursor: pointer; color: var(--ink);
  font: 400 1.1rem/1 var(--f-head); padding: 16px 14px 14px; white-space: nowrap;
}
.tab[aria-selected="true"] { color: var(--ink); }
.tab-ink {
  position: absolute; left: 0; bottom: 0; height: 6px; width: 100px;
  background: var(--wall); border: 1.5px solid var(--ink); border-bottom: 0;
  transform-origin: left; transition: transform 260ms var(--ease-out);
}
.panels { min-height: 70vh; padding: 32px 0 56px; }
.panel { animation: fade-in 180ms ease both; }
.panel[hidden] { display: none; }
.panel-label { display: block; text-align: center; margin: 0 auto 24px; }
#menu-app:empty { min-height: 160vh; }
.photo-strip { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; margin: 0 auto 28px; max-width: 760px; }
.photo-strip img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; border: 2px solid var(--ink); }
.photo-strip.single { max-width: 220px; }
.rows { list-style: none; padding: 0; margin: 0 auto; max-width: 760px; }
.row { padding: 14px 4px; border-bottom: 1px solid rgba(27, 25, 22, .2); }
.row:focus-visible { box-shadow: 0 0 0 4px var(--smile); }
.row-top { display: flex; align-items: baseline; gap: 10px; }
.row-name { font-size: 1.25rem; margin: 0; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; min-width: 0; }
.leader { flex: 1 1 24px; min-width: 24px; border-bottom: 2px dotted var(--ink); transform: translateY(-5px); opacity: .55; }
.price {
  position: relative; flex: none;
  font: 600 1.05rem/1.3 var(--f-body); font-variant-numeric: tabular-nums;
  transition: transform 150ms ease; text-align: right;
}
.price::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 3px;
  background: var(--smile); opacity: 0; transition: opacity 150ms ease;
}
.row:hover .price, .row:focus-within .price, .row:focus .price { transform: translateX(2px); }
.row:hover .price::after, .row:focus-within .price::after, .row:focus .price::after { opacity: 1; }
.row:hover .chillies svg, .row:focus .chillies svg, .row:focus-within .chillies svg { animation: wiggle 300ms ease; }
@keyframes wiggle { 0% { transform: rotate(0); } 33% { transform: rotate(-8deg); } 66% { transform: rotate(8deg); } 100% { transform: rotate(0); } }
.row-desc { margin: 4px 0 0; font-size: .97rem; max-width: 36em; }
.row-size { font-family: var(--f-body); font-size: .85rem; font-weight: 500; }
.panel.show .row { animation: row-rise 300ms calc(var(--i, 0) * 20ms) var(--ease-out) both; }
@keyframes row-rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.subgroup { margin-top: 36px; text-align: center; }
.subgroup .label { margin-bottom: 4px; }
.subgroup p { font-size: .95rem; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.chip-toggle {
  min-height: 40px; padding: 6px 14px; border-radius: 999px; cursor: pointer;
  border: 2px solid var(--ink); background: var(--banquette); color: var(--ink);
  font: 500 .95rem/1 var(--f-body); transition: transform 100ms ease;
}
.chip-toggle:active { transform: scale(.97); }
.chip-toggle[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.total { display: inline-flex; align-items: center; gap: 6px; margin-left: 4px; font-weight: 600; }
.roll { position: relative; display: inline-block; overflow: hidden; height: 1.4em; min-width: 3.4ch; font-variant-numeric: tabular-nums; vertical-align: bottom; }
.roll span { position: absolute; left: 0; top: 0; line-height: 1.4em; }
.roll .out { animation: roll-out 200ms ease both; }
.roll .in-num { animation: roll-in 200ms ease both; }
@keyframes roll-out { to { transform: translateY(-100%); opacity: 0; } }
@keyframes roll-in { from { transform: translateY(100%); opacity: 0; } to { transform: none; opacity: 1; } }

.menu-cta { padding: 56px 0; }
.menu-cta .wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.menu-cta h2 { margin: 0; }

/* ---------- Hot pots (animations 17–19) ---------- */
.hp-hero { display: grid; gap: 28px; align-items: center; padding: 40px 0 56px; }
.hp-hero-art { display: grid; grid-template-columns: 1fr; gap: 16px; }
.burner-art { width: 100%; max-width: 360px; }
.hp-hero-photo img { border-radius: 6px; border: 3px solid var(--ink); }
.flame { transform-box: fill-box; transform-origin: bottom center; animation: flame 1.2s ease-in-out infinite alternate; }
.flame.f2 { animation-delay: -.4s; }
.flame.f3 { animation-delay: -.8s; }
@keyframes flame { from { transform: scaleY(.85); opacity: .7; } to { transform: scaleY(1.1); opacity: 1; } }
@media (min-width: 768px) {
  .hp-hero { grid-template-columns: 1fr 1fr; }
  .hp-hero-art { grid-template-columns: 1fr 1.2fr; align-items: end; }
}
.blocks { display: grid; gap: 40px; }
.block { display: grid; gap: 18px; padding-bottom: 32px; border-bottom: 2px dashed rgba(27, 25, 22, .3); }
.block:last-child { border-bottom: 0; }
.block img { border-radius: 6px; }
.block-note { font-family: var(--f-head); font-size: 1.35rem; max-width: 26em; }
@media (min-width: 768px) {
  .block.has-media { grid-template-columns: 1fr 1fr; align-items: center; }
}
.into-pot { position: relative; max-width: 340px; padding-top: 30px; }
.into-pot svg { width: 100%; }
.ingr {
  position: absolute; z-index: 2;
  font: 400 .95rem/1 var(--f-head); padding: 7px 11px; border-radius: 999px;
  background: var(--banquette); border: 2px solid var(--ink); white-space: nowrap;
}
.ingr:nth-child(1) { left: 14%; top: 31%; }
.ingr:nth-child(2) { left: 45%; top: 27%; }
.ingr:nth-child(3) { left: 22%; top: 47%; }
.ingr:nth-child(4) { left: 48%; top: 44%; }
.js .ingr { opacity: 0; }
.js .into-pot.in .ingr { animation: drop 450ms calc(var(--i, 0) * 140ms) var(--ease-out) both; }
@keyframes drop { from { opacity: 0; transform: translateY(-40px); } to { opacity: 1; transform: none; } }
.quote-band { padding: 64px 0; }
.quote-band blockquote { margin: 0; font: 400 clamp(1.6rem, 4vw, 2.4rem)/1.25 var(--f-head); max-width: 22em; }
.quote-band figcaption { margin-top: 14px; font-weight: 500; }
.groups-grid { display: grid; gap: 24px; align-items: center; }
.table-art { width: 180px; }
.chair { transform-box: fill-box; transform-origin: center; }
.js .chair { transform: scale(0); }
.js .table-art.in .chair { animation: chair 300ms calc(var(--i, 0) * 60ms) var(--ease-out) both; }
@keyframes chair { from { transform: scale(0); } to { transform: scale(1); } }
@media (min-width: 768px) { .groups-grid { grid-template-columns: auto 1fr; gap: 40px; } }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; max-width: 640px; }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 600px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 12px;
  border: 2px solid var(--ink); border-radius: 6px; background: var(--white); color: var(--ink);
  font: 400 1rem/1.4 var(--f-body);
}
.field textarea { min-height: 96px; resize: vertical; }
.field-msg { margin: 6px 0 0; font-weight: 600; color: var(--ink); }
.field-msg:empty { display: none; }
.field-msg::before { content: "● "; color: var(--chilli); }

/* ---------- Visit ---------- */
.visit-photos { position: relative; display: grid; gap: 16px; }
.store { position: relative; max-width: 520px; }
.store img { border-radius: 6px; border: 3px solid var(--ink); }
.pin { position: absolute; left: 66%; top: 1.5%; width: 44px; z-index: 2; }
.js .pin { opacity: 0; }
.js .pin.in { animation: pin-drop 520ms var(--ease-out) both; }
@keyframes pin-drop {
  0% { opacity: 0; transform: translateY(-12px); }
  60% { opacity: 1; transform: translateY(3px); }
  100% { opacity: 1; transform: none; }
}
.room-wide img { border-radius: 6px; }
.map-frame { width: 100%; height: 340px; border: 2px solid var(--ink); border-radius: 6px; display: block; }
.facts { padding-left: 1.2em; margin: 0 0 20px; }
.facts li { margin-bottom: 6px; }
@media (min-width: 900px) {
  .visit-photos { grid-template-columns: 1.1fr 1fr; align-items: end; }
  .getting-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
}

/* ---------- Demo modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(27, 25, 22, .6); animation: fade-in 150ms ease both; }
.modal-card {
  position: relative; width: 100%; max-width: 460px;
  background: var(--paper) var(--grain); border: 3px solid var(--ink); border-radius: 8px;
  padding: 28px 24px 24px; animation: set-down 260ms var(--ease-out) both;
}
.modal-card h2 { font-size: 1.8rem; }

/* ---------- Reduced motion: final states, no loops ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 1ms !important; animation-delay: 0ms !important;
    animation-iteration-count: 1 !important; transition-duration: 1ms !important; transition-delay: 0ms !important;
  }
  .steam, .flame { display: none; }
  .js .label { clip-path: none; }
  .js .dish, .js .slip, .js .ingr, .js .pin, .js .sticker { opacity: 1; }
  .js .chair { transform: none; }
  .is-open .dot::after { animation: none; opacity: 0; }
}

h1.marker { display: flex; align-items: center; gap: 14px; }
h1.marker > svg { width: 44px; height: 53px; }
