* { box-sizing: border-box; }
html { scroll-padding-top: 98px; }
body.home { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.65 "Be Vietnam Pro", sans-serif; }
.home h1, .home h2, .home h3, .identity { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; }
.home h2 { font-size: clamp(2.65rem, 5.2vw, 5.25rem); line-height: .98; margin: 0 0 1.5rem; letter-spacing: -.035em; }
.home p, .home figure { margin: 0; }
.home img { display: block; max-width: 100%; }
.home a { color: inherit; }
.shell { width: min(100% - clamp(40px, 9vw, 144px), 1280px); margin-inline: auto; }
.home .skip, .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.home .skip:focus { position: fixed; width: auto; height: auto; clip-path: none; top: 12px; left: 20px; background: var(--bg); padding: 12px; z-index: 6; }
.site-header { position: sticky; top: 0; z-index: 4; background: var(--bg); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 76px; display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); }
.identity { display: flex; align-items: center; gap: 9px; margin-right: auto; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1; text-decoration: none; white-space: nowrap; }
.identity img { width: 46px; height: 46px; object-fit: contain; }
.identity i { color: var(--muted); }
.site-header nav { display: flex; align-items: center; gap: clamp(10px, 2vw, 25px); }
.site-header nav a { display: flex; align-items: center; min-height: 44px; font-size: .875rem; text-decoration: none; }
.site-header nav [aria-current="page"] { text-decoration: underline; text-underline-offset: .35em; }
.site-header nav a:hover, .home-footer-bar a:hover { text-decoration: underline; text-underline-offset: .3em; }
.home .cta { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 10px 24px; background: var(--action); color: var(--action-ink); border: 1px solid var(--action); border-radius: 3px; font-weight: 600; font-size: .875rem; text-decoration: none; white-space: nowrap; }
.home .cta:hover { background: var(--bg); color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }
.home .header-delivery { background: transparent; color: var(--ink); border-color: var(--control); }
.home .header-delivery:hover { background: var(--surface); }
.nav-toggle { display: none; }
.home-hero { padding-block: clamp(28px, 4.2vw, 66px) clamp(20px, 3vw, 46px); }
.hero-content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 350px); align-items: end; gap: 20px clamp(24px, 5vw, 74px); margin-bottom: clamp(20px, 3vw, 40px); }
.home .kicker { color: var(--warm); font-size: .875rem; font-weight: 600; letter-spacing: .12em; margin-bottom: 20px; }
.home-hero h1 { font-size: clamp(3.65rem, 7.5vw, 7.5rem); line-height: .9; letter-spacing: -.055em; margin: 0; animation: headline 450ms ease-out both; }
.home-hero h1 em { color: var(--warm); }
.home .hero-intro { color: var(--muted); max-width: 36ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 16px; }
.home .quiet-link { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: .35em; font-weight: 600; font-size: .875rem; }
.album {
  --album-edge: max(clamp(20px, 4.5vw, 72px), calc((100% - 1280px) / 2));
}
.album-track {
  position: relative;
  display: flex;
  gap: clamp(10px, 1.25vw, 20px);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--album-edge);
  padding-inline: var(--album-edge);
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--control) transparent;
  cursor: grab;
  user-select: none;
}
.album-track:focus-visible { outline-offset: -3px; }
.album-track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.album-slide { position: relative; flex: 0 0 min(78%, 1040px); height: clamp(300px, 33vw, 485px); isolation: isolate; overflow: hidden; background: var(--deep); border-radius: 6px; scroll-snap-align: start; }
.album-slide:last-child { scroll-snap-align: end; }
.album-slide img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.album-slide:first-child img { object-position: center 58%; animation: album-reveal 950ms cubic-bezier(.2,.65,.2,1) both; }
.album-slide::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, #150d08e8); pointer-events: none; }
.home .album-slide figcaption { position: absolute; z-index: 1; margin: 0; inset: auto 20px 16px; color: #fff4df; font: 600 clamp(1.65rem, 3.5vw, 3.6rem)/1 "Cormorant Garamond", Georgia, serif; }
.album-tools { display: flex; align-items: center; justify-content: space-between; gap: 6px 16px; padding-top: 8px; }
.album-instructions { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 14px; font-size: .875rem; color: var(--ink); }
.album-instructions small { color: var(--muted); font-size: .875rem; }
.album-controls { display: flex; align-items: center; gap: clamp(5px, 1.6vw, 12px); flex: 0 0 auto; }
.album-controls button { min-width: 44px; min-height: 44px; padding: 0 .65rem; border-radius: 3px; border: 1px solid var(--control); background: var(--surface); color: var(--ink); cursor: pointer; font-size: .875rem; }
.album-controls button:not([aria-disabled="true"]):hover { background: var(--action); color: var(--action-ink); }
.album-controls button[aria-disabled="true"] { opacity: .65; cursor: default; }
.album-controls [data-album-count] { color: var(--muted); font-size: .875rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
@keyframes album-reveal { from { transform: scale(1.035); filter: brightness(.8); } }
@keyframes headline { from { transform: translateY(12px); opacity: .55; } }
.menu-panel, .reviews-panel { background: var(--surface); padding-block: clamp(58px, 8vw, 115px); border-block: 1px solid var(--line); }
.home .categories { display: flex; gap: .25rem; overflow-x: auto; padding: 5px 4px 9px; margin: 18px -4px 26px; }
.home .categories button { position: relative; flex: 0 0 auto; min-height: 44px; background: transparent; color: var(--muted); padding: .6em 1em; border: 1px solid transparent; border-radius: 3px; font: inherit; font-size: .875rem; cursor: pointer; }
.home .categories button[aria-pressed=true] { color: var(--ink); border-color: var(--control); background: var(--card); }
.home .categories button[aria-pressed=true]::after { content: ""; position: absolute; inset: auto 10px -1px; height: 2px; background: var(--warm); animation: category-line 180ms ease-out both; }
@keyframes category-line { from { transform: scaleX(.2); } }
.menu-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.category-feature { position: sticky; top: 105px; }
.category-image { position: relative; aspect-ratio: 1.08; overflow: hidden; background: var(--deep); }
.category-image img { width: 100%; height: 100%; object-fit: cover; }
.category-image img + img { position: absolute; inset: 0; animation: dish-reveal 380ms cubic-bezier(.2,.7,.2,1) both; }
@keyframes dish-reveal { from { clip-path: circle(3% at center); } to { clip-path: circle(76% at center); } }
.home figcaption { margin-top: 10px; color: var(--muted); font-size: .875rem; }
.menu-controls { display: flex; align-items: stretch; gap: 10px; }
.menu-controls > :first-child { flex: 1; min-width: 0; }
.home input, .home select, .home button:not(.nav-toggle) { font-family: inherit; }
.home input, .home select { min-height: 44px; border: 1px solid var(--control); border-radius: 3px; background: var(--card); color: var(--ink); padding: .55em .65em; font-size: .875rem; max-width: 100%; }
.home input::placeholder { color: var(--muted); }
.home #result-count { min-height: 1.7em; color: var(--muted); font-size: .875rem; margin-block: 10px; }
.home #menu-list { min-height: 11rem; }
.home .dish { display: grid; grid-template-columns: 60px minmax(0,1fr) auto; gap: 12px; align-items: center; padding-block: 13px; border-top: 1px solid var(--line); }
.home .dish h3 { font-family: inherit; font-size: 1rem; line-height: 1.4; margin: 0; }
.home .dish-photo { padding: 0; border: 0; border-radius: 3px; width: 60px; height: 60px; overflow: hidden; background: var(--deep); cursor: pointer; }
.home .dish-photo img { width: 100%; height: 100%; object-fit: cover; }
.home .dish-description, .home .menu-footnote { font-size: .875rem; color: var(--muted); }
.home .dish-price { white-space: nowrap; font-size: .875rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.home .menu-footnote { padding-top: 18px; border-top: 1px solid var(--line); }
.home .category-count, .home .dish-category, .home .photo-hint { display: none; }
.sauce-story { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(25px, 8vw, 118px); align-items: center; padding-block: clamp(58px, 8vw, 115px); }
.sauce-story p:not(.kicker) { color: var(--muted); margin-bottom: 12px; }
.sauce-story img { width: 100%; aspect-ratio: 1.4; object-fit: cover; }
.home-footer-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding-block: 12px; border-top: 1px solid var(--line); color: var(--muted); }
.home-footer-bar a { min-height: 44px; display: inline-flex; align-items: center; font-size: .875rem; }
.home dialog { width: min(540px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0; background: var(--card); color: var(--ink); border: 1px solid var(--control); border-radius: 5px; }
.home dialog[open] { animation: headline 240ms ease-out both; }
.home dialog::backdrop { background: #100d0bc9; }
.home dialog img { width: 100%; max-height: 54vh; object-fit: cover; }
.home dialog button { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; background: var(--card); color: var(--ink); border: 1px solid var(--control); border-radius: 50%; font-size: 1.5rem; cursor: pointer; }
.home .dish-dialog-copy { padding: 20px 25px; }
.home .dish-dialog-copy h2 { font-size: 2.25rem; margin-bottom: 10px; }
.home .empty button { min-height: 44px; background: var(--card); color: var(--ink); border: 1px solid var(--control); border-radius: 3px; padding-inline: 12px; cursor: pointer; }
.in-view { animation: headline 450ms ease-out both; }
@media(max-width: 1060px) {
  .header-inner { min-height: 68px; }
  .site-header nav { display: none; position: absolute; inset: 100% 0 auto; padding: 14px 20px 20px; background: var(--bg); border-bottom: 1px solid var(--control); max-height: calc(100dvh - 68px); overflow-y: auto; }
  .site-header nav[data-open] { display: grid; }
  .site-header nav .preferences { order: -1; }
  .header-actions .cta { min-height: 44px; padding-inline: 11px; }
  .nav-toggle { display: grid; place-content: center; gap: 5px; width: 44px; height: 44px; padding: 0; border: 1px solid var(--control); border-radius: 3px; background: transparent; color: var(--ink); cursor: pointer; }
  .nav-toggle span { width: 18px; height: 1px; background: currentColor; }
}
@media(max-width: 680px) {
  html { scroll-padding-top: 80px; }
  .hero-content, .menu-layout, .sauce-story { grid-template-columns: minmax(0,1fr); }
  .home-hero h1 { font-size: clamp(3.15rem, 11.4vw, 4.85rem); }
  .home-hero .kicker { margin-bottom: 12px; }
  .album-slide { flex-basis: 92%; height: clamp(235px, 71vw, 420px); }
  .home .album-slide figcaption { inset: auto 12px 12px; }
  .album-instructions { display: grid; line-height: 1.45; }
  .album-instructions small { font-size: .78rem; }
  .category-feature { position: static; }
  .category-image { aspect-ratio: 3 / 1; }
  .category-image img + img { animation-name: mobile-dish-reveal; animation-duration: 220ms; }
  @keyframes mobile-dish-reveal { from { opacity: 0; } }
  .menu-controls select { width: min(40vw, 170px); }
  .home .dish { grid-template-columns: 52px minmax(0,1fr) auto; gap: 8px; }
  .home .dish-photo { width: 52px; height: 52px; }
  .home .dish-price { white-space: normal; text-align: right; max-width: 8ch; }
}
@media(max-width: 480px) {
  .header-inner { width: calc(100% - 24px); gap: 8px; }
  .identity img { width: 38px; height: 38px; }
  .identity span { display: none; }
  .nav-toggle { flex: 0 0 44px; }
}
@media(max-width: 360px) {
  .header-inner { gap: 6px; }
  .header-actions { gap: 5px; }
  .header-actions .cta { padding-inline: 8px; font-size: .8125rem; }
}
@media (prefers-reduced-motion: reduce) { .home *, .home *::before, .home *::after { animation-duration: 0s !important; scroll-behavior: auto !important; } }
