/* Hyde: food page */
.m-sprig, .m-ring, .m-dots, .m-striped, .m-blob { width: 100%; height: auto; overflow: visible; }
@keyframes fbreathe { from { scale: 1; } to { scale: 1.07; } }
@keyframes fstripes { to { background-position: 68px 0; } }

/* ---------- opener: type + framed dish collage ---------- */
.fopen { position: relative; background: var(--chalk); color: var(--ink); min-height: 78svh; padding: calc(var(--head-h) + clamp(18px, 3.4vh, 44px)) 0 clamp(30px, 5vh, 60px); display: flex; align-items: center; overflow: clip; }
.fopen .rings { -webkit-mask-image: linear-gradient(100deg, #000 0 35%, transparent 80%); mask-image: linear-gradient(100deg, #000 0 35%, transparent 80%); }
.fopen__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 4vw, 72px); align-items: center; }
.fopen__title { font-size: clamp(2.5rem, min(4.35vw, 7.4vh), 5rem); line-height: .98; font-stretch: 112%; letter-spacing: -.025em; margin-bottom: clamp(18px, 2.8vh, 28px); }
.fopen__lede { color: var(--ink-soft); margin-bottom: clamp(20px, 3vh, 30px); }
.fopen__status { margin-top: clamp(16px, 2.6vh, 24px); color: var(--ink-soft); }
.fopen .btn--ghost { color: var(--ink); }
.js .fopen__title { visibility: hidden; }
.js [data-fopen-fade] { opacity: 0; transform: translateY(24px); }

.collage { --ch: min(56vh, 540px); position: relative; width: calc(var(--ch) * 1.06); height: var(--ch); margin-right: clamp(10px, 2vw, 30px); }
.js .collage { visibility: hidden; }
.collage > * { position: absolute; }
.collage__panel { left: 22%; top: 9%; width: 52%; height: 78%; background: var(--pink); border-radius: var(--r); overflow: hidden; z-index: 0; }
.collage__panel span { position: absolute; left: 0; right: 0; bottom: 0; height: 24%; background: var(--mural-lilac); }
.collage__ring { right: 0; top: 0; width: 17%; z-index: 1; }
.collage__dots { left: 1%; bottom: 3%; width: 15%; z-index: 0; }
.collage__sprig { right: -3%; bottom: 4%; width: 17%; z-index: 1; }
.collage__striped { left: 7%; top: 3%; width: 8%; z-index: 0; }
.snap { margin: 0; --ox: 12px; --oc: var(--ink); }
.snap::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; aspect-ratio: 4 / 5; border: 2px solid var(--oc); border-radius: var(--r); transform: translate(var(--ox), var(--ox)); }
.snap__img { position: relative; width: 100%; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--grey); box-shadow: 0 24px 50px rgba(18, 17, 20, .24); }
.snap__img img { width: 100%; height: 100%; object-fit: cover; }
.snap__tag { font-size: clamp(1.1rem, 1.5vw, 1.4rem); }
.snap--avo { left: 0; top: 23%; width: 35%; z-index: 2; rotate: -4deg; --oc: var(--teal); }
.snap--pb { left: 31%; top: 0; width: 41%; z-index: 3; rotate: 2deg; }
.snap--beans { right: 4%; top: 39%; width: 37%; z-index: 4; rotate: 4deg; --oc: var(--pink); }
.snap--granola { left: 19%; bottom: 0; width: 29%; z-index: 5; rotate: -2deg; --oc: var(--purple); }
.snap--avo .snap__tag { left: -8%; top: 12%; }
.snap--pb .snap__tag { right: -14%; top: 9%; transform: rotate(4deg); }
.snap--beans .snap__tag { left: -22%; bottom: 10%; }
.snap--granola .snap__tag { left: 40%; bottom: -6%; transform: rotate(3deg); }

/* ---------- house favourites ---------- */
.favs { position: relative; background: var(--ink); color: var(--chalk); overflow: clip; padding: clamp(70px, 10vh, 120px) 0; }
.favs__dots { width: 100px; left: 46%; top: 15%; opacity: .5; }
.favs__back { display: none; }
.favs__stage { position: relative; z-index: 1; }
.favs__side h2 { margin-bottom: 14px; }
.favs__lede { color: var(--ink-78); margin-bottom: 28px; }
.favs__nav { display: none; }
.favs__pane { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "track track track" "count bar arrows"; align-items: center; gap: 18px 18px; }
.favs__count { grid-area: count; margin: 0; font-family: var(--display); font-weight: 800; font-stretch: 112%; font-size: 1.7rem; line-height: 1; display: flex; align-items: baseline; gap: 2px; overflow: clip; font-variant-numeric: tabular-nums; }
.favs__count span { display: inline-block; color: var(--teal); }
.favs__count small { font-size: .6em; color: var(--ink-78); font-weight: 600; }
.favs__track { grid-area: track; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--gut)); padding: 4px var(--gut) 6px; scroll-padding-inline: var(--gut); overscroll-behavior-x: contain; }
.favs__track::-webkit-scrollbar { display: none; }
.dish { flex: 0 0 100%; scroll-snap-align: start; position: relative; }
.dish__media { position: relative; aspect-ratio: 4 / 5; max-height: 54vh; width: 100%; border-radius: var(--r); overflow: hidden; container-type: inline-size; }
.dish__media img { position: absolute; left: 0; top: -5%; width: 100%; height: 110%; object-fit: cover; animation: fbreathe 6s ease-in-out infinite alternate; }
.dish__tag { left: 14px; top: 16px; font-size: 1.3rem; }
.dish__text { padding-top: 18px; }
.dish__text h3 { font-size: clamp(1.3rem, 1.55vw, 1.55rem); line-height: 1.1; margin-bottom: 10px; }
.dish__text p { color: var(--ink-78); margin: 0; font-size: 1rem; line-height: 1.55; }
.favs__swipe { grid-area: bar; }
.favs__swipe-bar { display: block; height: 3px; background: rgba(245, 243, 248, .18); border-radius: 2px; overflow: hidden; }
.favs__swipe-bar span { display: block; height: 100%; background: var(--pink); transform-origin: left; transform: scaleX(.125); }
.favs__arrows { grid-area: arrows; display: flex; gap: 10px; }
.favs__btn { width: 48px; height: 48px; flex: none; border-radius: var(--btn-r); border: 2px solid rgba(245, 243, 248, .35); background: transparent; color: var(--chalk); display: grid; place-items: center; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.favs__btn svg { width: 20px; height: 20px; }
.favs__btn:hover, .favs__btn:focus-visible { background: var(--teal); border-color: var(--teal); color: var(--ink); }
.favs__slab { position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none; border-radius: var(--r); visibility: hidden; }

/* mural cards for dishes without a photo */
.mcard { background: var(--pink); color: var(--ink); --fs: 17cqi; }
.mcard > * { position: absolute; }
.mcard__band { left: 0; right: 0; bottom: 0; height: 24%; background: var(--mural-lilac); }
.mcard--teal { background: var(--teal); } .mcard--teal .mcard__band { background: var(--pink); }
.mcard--purple { background: var(--purple); } .mcard--purple .mcard__band { background: var(--teal); }
.mcard--lilac { background: var(--lilac); } .mcard--lilac .mcard__band { background: var(--purple); }
.mcard--pink { --fs: 13.5cqi; }
.mcard__name { left: 8%; right: 6%; bottom: 13%; margin: 0; display: flex; flex-direction: column; font-family: var(--display); font-weight: 900; font-stretch: 125%; font-size: var(--fs); line-height: .9; letter-spacing: -.035em; color: var(--ink); z-index: 2; }
.mcard__name span { display: block; }
.mcard__ring { right: 8%; top: 8%; width: 36%; }
.mcard__ring--low { right: auto; left: 52%; top: 22%; width: 30%; }
.mcard__dots { left: 10%; top: 24%; width: 22%; }
.mcard__dots--big { left: 8%; top: 20%; width: 36%; }
.mcard--purple .mcard__dots circle { fill: var(--chalk); }
.mcard--pink .mcard__dots circle { fill: var(--ink); }
.mcard__sprig { right: 6%; top: 5%; width: 32%; }
.mcard__sprig--teal { right: auto; left: 54%; top: 6%; width: 26%; }
.mcard__blob { left: 10%; top: 26%; width: 34%; }
.mcard__striped { left: 12%; top: 20%; width: 20%; }
.mcard--lilac .m-striped path { fill: var(--chalk); }
.mcard .dish__tag { z-index: 3; }

/* pinned layout: list beside a preview pane (desktop with JS) */
@media (min-width: 961px) {
  .js .favs { padding: 0; }
  .js .favs__stage { --ph: min(52vh, 540px); --pw: calc(var(--ph) * .8); height: 100svh; min-height: 620px; padding-top: 74px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(40px, 6vw, 110px); align-items: center; }
  .js .favs__lede { margin-bottom: clamp(18px, 3.4vh, 34px); }
  .js .favs__nav { display: grid; grid-template-columns: 3px minmax(0, 1fr); gap: 0 26px; }
  .js .favs__rail { position: relative; background: rgba(245, 243, 248, .16); border-radius: 2px; overflow: hidden; }
  .js .favs__rail span { position: absolute; inset: 0; background: var(--pink); transform-origin: top; transform: scaleY(0); }
  .js .favs__list { list-style: none; margin: 0; padding: 0; display: grid; }
  .js .favs__item { display: flex; align-items: center; width: 100%; min-height: clamp(38px, 5.4vh, 52px); padding: 0; background: none; border: 0; color: rgba(245, 243, 248, .52); font-family: var(--display); font-weight: 800; font-stretch: 112%; font-size: clamp(1.1rem, min(1.85vw, 3.2vh), 1.95rem); letter-spacing: -.01em; text-align: left; line-height: 1.1; cursor: pointer; transition: color .4s; }
  .js .favs__item span { display: inline-flex; align-items: center; gap: 14px; transition: transform .55s var(--ease); }
  .js .favs__item span::before { content: ""; width: 0; height: 3px; background: var(--pink); border-radius: 2px; transition: width .55s var(--ease); }
  .js .favs__item:hover, .js .favs__item:focus-visible { color: var(--chalk); }
  .js .favs__item.is-active { color: var(--chalk); }
  .js .favs__item.is-active span::before { width: 30px; }
  .js .favs__pane { position: relative; width: var(--pw); grid-template-columns: auto auto; grid-template-areas: "count arrows" "track track"; justify-content: space-between; gap: 16px 18px; margin-right: 0; }
  .js .favs__count { font-size: 2.3rem; }
  .js .favs__swipe { display: none; }
  .js .favs__btn { width: 46px; height: 46px; }
  .js .favs__track { position: relative; display: block; height: calc(var(--ph) + 186px); overflow: visible; margin: 0; padding: 0; scroll-snap-type: none; }
  .js .dish { position: absolute; left: 0; top: 0; width: var(--pw); display: none; z-index: 1; }
  .js .dish.is-active, .js .dish.is-in { display: block; }
  .js .dish.is-in { z-index: 3; }
  .js .dish__media { height: var(--ph); max-height: none; aspect-ratio: auto; }
  .js .favs__slab { width: var(--pw); height: var(--ph); }
  .js .dish__text { padding-top: 20px; }
  .js .favs__back { display: block; position: absolute; left: -38%; top: 24%; width: 78%; height: 52%; background: var(--teal); border-radius: var(--r); z-index: 0; transform-origin: 50% 100%; }
  .js .favs__band { position: absolute; left: 0; right: 0; bottom: 0; height: 22%; background: var(--mural-lilac); border-radius: 0 0 var(--r) var(--r); }
  .js .favs__ring { position: absolute; left: -12%; bottom: -14%; width: 30%; z-index: 1; }
  .js .favs__sprig { position: absolute; left: 14%; top: 6%; width: 24%; transform-origin: 50% 100%; }
  .js .favs__count, .js .favs__arrows, .js .favs__track { position: relative; z-index: 1; }
}

/* ---------- check the window ---------- */
.window { padding: clamp(56px, 8vh, 100px) 0; }
.window__marquee { position: relative; z-index: 1; font-size: clamp(3.2rem, 8vw, 8.4rem); line-height: 1.12; color: transparent; -webkit-text-stroke: 2px var(--ink); }
.window__marquee .marquee__item { gap: .3em; padding-right: .3em; }
.window__marquee .marquee__item.is-fill { color: #E8277A; -webkit-text-stroke: 0; }
.window__marquee .marquee__item svg { width: .42em; height: .42em; color: var(--teal); }
.window__marquee .marquee__item.is-fill svg { color: var(--purple); }
.window__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(40px, 6vw, 96px); align-items: center; margin-block: clamp(30px, 5vh, 60px); }
.window__copy h2 { margin-bottom: 18px; }
.window__copy .lede { color: var(--ink-soft); margin-bottom: 28px; }
.window__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.window__list li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; align-items: center; padding: 16px 20px; background: #fff; border-radius: var(--r); box-shadow: 0 10px 30px rgba(18, 17, 20, .06); }
.window__ico { width: 52px; height: 52px; border-radius: var(--r); background: var(--ink); display: grid; place-items: center; }
.window__ico svg { width: 34px; height: 34px; }
.window__ico .draw { fill: none; stroke: var(--teal); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.window__list li:nth-child(2) .draw { stroke: var(--pink); }
.window__list li:nth-child(3) .draw { stroke: var(--lilac); }
.window__list h3 { font-size: 1.2rem; margin-bottom: 4px; }
.window__list p { margin: 0; color: var(--ink-soft); font-size: 1rem; line-height: 1.5; }
.shopwin { --wh: min(60vh, 560px); position: relative; margin: 0 48px 0 0; width: calc(var(--wh) * .668 + 28px); padding: 36px 14px 14px; background: var(--ink); border-radius: var(--r); box-shadow: 0 30px 60px rgba(18, 17, 20, .25); }
.shopwin__fascia { position: absolute; left: 14px; right: 14px; top: 11px; height: 14px; background: repeating-linear-gradient(-55deg, var(--purple) 0 12px, var(--ink) 12px 24px); background-size: 68px 14px; animation: fstripes 3s linear infinite; }
.shopwin__glass { position: relative; height: var(--wh); overflow: hidden; border-radius: 2px; background: var(--grey); }
.shopwin__glass img { position: absolute; left: 0; top: -6%; width: 100%; height: 112%; object-fit: cover; }
.shopwin__glint { position: absolute; top: -20%; bottom: -20%; left: 0; width: 34%; background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .38) 50%, rgba(255, 255, 255, 0)); transform: translateX(-160%) skewX(-14deg); pointer-events: none; }
.shopwin__tag { left: -46px; bottom: 15%; font-size: 1.5rem; }
.shopwin__blob { position: absolute; right: -54px; top: -34px; width: 110px; z-index: 2; }

/* ---------- pair it ---------- */
.pair__sprig { width: 120px; right: 1.5%; bottom: 30px; opacity: .85; }
.pair__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(40px, 6vw, 100px); align-items: center; }
.pair__copy h2 { margin-bottom: 18px; }
.pair__copy .lede { color: var(--ink-soft); margin-bottom: 26px; }
.pair__list { margin: 0 0 30px; display: grid; gap: 0; }
.pair__list div { display: grid; grid-template-columns: minmax(210px, .4fr) minmax(0, 1fr); gap: 20px; align-items: baseline; padding: 14px 0; border-top: 1px solid rgba(18, 17, 20, .16); }
.pair__list div:last-child { border-bottom: 1px solid rgba(18, 17, 20, .16); }
.pair__list dt { font-family: var(--display); font-weight: 800; font-stretch: 112%; font-size: 1.12rem; }
.pair__list dd { margin: 0; color: var(--ink-soft); }
.pair__art { --pa: min(62vh, 580px); position: relative; width: calc(var(--pa) * .98); height: var(--pa); margin-right: clamp(10px, 2vw, 30px); }
.pcard { position: absolute; margin: 0; width: 57%; }
.pcard__img { aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--grey); box-shadow: 0 26px 50px rgba(18, 17, 20, .25); }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; animation: fbreathe 7s ease-in-out infinite alternate; }
.pcard--latte { left: 0; top: 0; rotate: -3deg; z-index: 1; }
.pcard--matcha { right: 0; bottom: 0; rotate: 4deg; z-index: 2; }
.pcard--latte .pcard__tag { left: -10%; bottom: 12%; transform: rotate(-4deg); }
.pcard--matcha .pcard__tag { right: -6%; top: 10%; transform: rotate(3deg); }
.pair__plus { position: absolute; left: 46%; top: 6%; width: 19%; z-index: 3; }

/* ---------- closing band ---------- */
.fcta { position: relative; background: var(--pink); color: var(--ink); padding: clamp(80px, 11vh, 130px) 0 calc(clamp(70px, 10vh, 120px) + 46px); overflow: clip; }
.fcta::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px; background: repeating-linear-gradient(-55deg, var(--purple) 0 18px, var(--ink) 18px 36px); background-size: 101.8px 14px; animation: fstripes 4s linear infinite; }
.fcta__band { position: absolute; left: 0; right: 0; bottom: 0; height: 46px; background: var(--mural-lilac); }
.fcta__sprig { width: 120px; right: 4%; bottom: 20px; z-index: 0; }
.fcta__dots { width: 100px; left: 50%; top: 34px; opacity: .9; }
.fcta__dots svg circle { fill: var(--chalk); }
.fcta__ring { width: 130px; left: 46%; bottom: 74px; z-index: 0; }
.fcta__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 36px clamp(40px, 6vw, 96px); align-items: end; }
.fcta h2 { font-size: clamp(2.2rem, 4vw, 3.9rem); margin-bottom: 22px; }
.fcta__status { font-weight: 600; color: var(--ink); }
.fcta .status__dot { background: var(--ink); box-shadow: 0 0 0 0 rgba(18, 17, 20, .5); animation: fpulse 2.2s infinite; }
@keyframes fpulse { 0% { box-shadow: 0 0 0 0 rgba(18, 17, 20, .45); } 70% { box-shadow: 0 0 0 12px rgba(18, 17, 20, 0); } 100% { box-shadow: 0 0 0 0 rgba(18, 17, 20, 0); } }
.fcta .status.is-closed .status__dot { background: var(--chalk); animation: none; }
.fcta__hours { margin: 0 0 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fcta__hours div { background: var(--chalk); border-radius: var(--r); padding: 14px 16px; }
.fcta__hours dt { font-size: .95rem; color: var(--ink-soft); }
.fcta__hours dd { margin: 2px 0 0; font-family: var(--display); font-weight: 800; font-stretch: 112%; font-size: 1.35rem; line-height: 1.15; }
.fcta__addr { font-weight: 600; margin-bottom: 20px; }

/* ---------- responsive ---------- */
@media (max-width: 1200px) {
  .pair__list div { grid-template-columns: 1fr; gap: 2px; }
}
@media (max-width: 960px) {
  .fopen { min-height: auto; padding-top: calc(var(--head-h) + 22px); padding-bottom: 36px; }
  .fopen__grid { grid-template-columns: 1fr; gap: 26px; }
  .fopen__title { font-size: clamp(2.4rem, 10vw, 4rem); }
  .collage { --ch: min(64vw, 300px); width: 100%; margin: 0; }
  .collage__panel { left: 16%; top: 8%; width: 62%; height: 68%; }
  .collage__ring { right: 1%; top: -4%; width: 14%; }
  .collage__striped, .collage__sprig { display: none; }
  .collage__dots { left: 0; bottom: 0; width: 12%; }
  .snap { --ox: 7px; }
  .snap--avo { left: 1%; top: 18%; width: 28%; }
  .snap--pb { left: 24%; top: 0; width: 32%; }
  .snap--beans { right: auto; left: 50%; top: 12%; width: 28%; }
  .snap--granola { left: auto; right: 2%; bottom: auto; top: 30%; width: 25%; }
  .snap__tag { font-size: 1.05rem; padding: 6px 10px 7px; }
  .snap--avo .snap__tag { left: 4%; top: auto; bottom: -10%; }
  .snap--pb .snap__tag, .snap--granola .snap__tag { display: none; }
  .snap--beans .snap__tag { left: 10%; right: auto; bottom: auto; top: -9%; }
  .window__grid, .pair__grid, .fcta__grid { grid-template-columns: 1fr; }
  .shopwin { --wh: min(56vh, 460px); justify-self: center; margin: 10px 0 0; }
  .shopwin__tag { left: 14px; }
  .shopwin__blob { right: -16px; width: 80px; }
  .pair__art { --pa: min(110vw, 440px); width: min(100%, 380px); height: auto; aspect-ratio: .86; justify-self: center; margin: 10px 0 0; }
  .pcard--latte .pcard__tag { left: 10%; }
  .pcard--matcha .pcard__tag { right: 8%; }
  .fcta__ring { width: 80px; left: auto; right: 6%; bottom: auto; top: 34px; }
  .fcta__dots { left: auto; right: 34%; top: 22px; width: 54px; }
  .pair__sprig { width: 64px; right: 3%; bottom: 20px; }
  .pair__art { order: -1; margin: 0 0 10px; }
  .pair__plus { left: 40%; top: 40%; width: 17%; }
  .pcard--latte .pcard__tag { bottom: auto; top: 6%; }
}
@media (max-width: 640px) {
  .fopen__lede { font-size: 1rem; }
  .fopen .btn-row { gap: 10px; }
  .fopen .btn { padding: 0 14px; min-height: 50px; font-size: .93rem; gap: .45em; }
  .fopen .btn svg { width: 16px; height: 16px; }
  .fopen__status { margin-top: 12px; }
  .window__marquee { -webkit-text-stroke-width: 1.5px; }
  .window__list li { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 14px 16px; }
  .window__ico { width: 44px; height: 44px; }
  .window__ico svg { width: 28px; height: 28px; }
  .fcta__hours { grid-template-columns: 1fr; }
  .fcta__sprig { width: 70px; }
  .favs__dots { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .js .fopen__title { visibility: visible; }
  .js [data-fopen-fade] { opacity: 1; transform: none; }
  .js .collage { visibility: visible; }
  .dish__media img, .pcard__img img, .shopwin__fascia, .fcta::before, .fcta .status__dot { animation: none; }
}
