/* Frenchies Cafe — website preview
   Palette from the cafe itself: teal walls, orange table tops, black line-art mural, denim wall. */
:root {
  --cream: #f5ecdc;
  --paper: #fbf6ec;
  --ink: #1c1915;
  --ink-2: #4a433a;
  --teal: #13a7a1;
  --teal-deep: #0a6763;
  --orange: #f07a1a;
  --orange-deep: #c85a06;
  --pink: #f49ac1;
  --slate: #1f2c27;
  --chalk: #f3efe4;
  --display: 'Gloock', 'Times New Roman', serif;
  --body: 'Bricolage Grotesque', system-ui, sans-serif;
  --hand: 'Caveat Brush', 'Comic Sans MS', cursive;
  --nav-h: 64px;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 17px/1.5 var(--body);
  font-optical-sizing: auto;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }

/* paper grain over everything, very light */
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 100;
  opacity: .22; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .38 0 0 0 0 .3 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

.skip { position: absolute; left: -999px; top: 8px; z-index: 300; background: var(--ink); color: var(--cream); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 16px; letter-spacing: .01em; text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--spring), background-color .2s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn--orange { background: var(--orange); color: #fff; box-shadow: 0 4px 0 var(--orange-deep); }
.btn--orange:hover { box-shadow: 0 6px 0 var(--orange-deep); }
.btn--ink { background: var(--ink); color: var(--cream); }
.btn--ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); }
.btn--big { min-height: 58px; padding: 0 30px; font-size: 18px; }
.btn--block { width: 100%; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.eyebrow {
  font: 700 13px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--teal-deep);
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 26px; height: 2px; background: currentColor; }
.eyebrow--light { color: #ffd9ea; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center; gap: 22px; padding: 0 clamp(16px, 3vw, 36px);
  transition: background-color .3s, box-shadow .3s, transform .35s var(--ease-out);
}
.nav.is-solid { background: rgba(245, 236, 220, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(28, 25, 21, .08); }
.nav__logo { display: flex; align-items: center; gap: 8px; text-decoration: none; font: 400 26px/1 var(--display); opacity: 0; transform: translateY(-6px); transition: opacity .3s, transform .3s; }
.nav.is-solid .nav__logo { opacity: 1; transform: none; }
.nav__paw {
  width: 22px; height: 22px; background: var(--orange);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cellipse cx='12' cy='16' rx='5.2' ry='4.4'/%3E%3Cellipse cx='5.2' cy='10' rx='2.2' ry='2.8'/%3E%3Cellipse cx='9.4' cy='5.6' rx='2.2' ry='2.9'/%3E%3Cellipse cx='14.6' cy='5.6' rx='2.2' ry='2.9'/%3E%3Cellipse cx='18.8' cy='10' rx='2.2' ry='2.8'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cellipse cx='12' cy='16' rx='5.2' ry='4.4'/%3E%3Cellipse cx='5.2' cy='10' rx='2.2' ry='2.8'/%3E%3Cellipse cx='9.4' cy='5.6' rx='2.2' ry='2.9'/%3E%3Cellipse cx='14.6' cy='5.6' rx='2.2' ry='2.9'/%3E%3Cellipse cx='18.8' cy='10' rx='2.2' ry='2.8'/%3E%3C/svg%3E") center/contain no-repeat;
}
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { text-decoration: none; font-weight: 600; font-size: 15px; position: relative; }
.nav__links a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -4px; height: 2px; background: var(--orange); transition: right .25s var(--ease-out); }
.nav__links a:hover::after { right: 0; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .6); white-space: nowrap; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: #aaa; }
.status.is-open i { background: #1fae5b; box-shadow: 0 0 0 0 rgba(31, 174, 91, .6); animation: ping 2s infinite; }
.status.is-closed i { background: var(--orange); }
@keyframes ping { 70% { box-shadow: 0 0 0 7px rgba(31, 174, 91, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 174, 91, 0); } }
.bagbtn {
  position: relative; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px 0 12px;
  border: 0; border-radius: 999px; background: var(--ink); color: var(--cream); font-weight: 700; font-size: 15px;
  transition: transform .25s var(--spring);
}
.bagbtn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.bagbtn__count[hidden] { display: none; }
.bagbtn__count { position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--orange); color: #fff; font-size: 12px; display: grid; place-items: center; }
.bagbtn.is-bump { animation: bump .45s var(--spring); }
@keyframes bump { 40% { transform: scale(1.18) rotate(-6deg); } }

/* ---------- hero ---------- */
.hero {
  position: relative; height: 100svh; min-height: 640px; max-height: 1100px; overflow: hidden;
  background:
    radial-gradient(70% 55% at 50% 95%, rgba(240, 122, 26, .10), transparent 70%),
    radial-gradient(60% 50% at 50% 20%, #fffaf0 0%, transparent 70%),
    var(--cream);
  cursor: url('img/cursor.png') 22 22, pointer;
}
.hero__word {
  position: absolute; left: 0; right: 0; top: clamp(70px, 11vh, 120px);
  display: flex; justify-content: center;
  font: 400 clamp(92px, 23.5vw, 420px)/.82 var(--display); letter-spacing: -.035em; color: var(--ink);
  user-select: none; -webkit-user-select: none; pointer-events: none;
}
.hero__word span { display: inline-block; will-change: transform; }
.js .hero__word span { opacity: 0; transform: translateY(40%) rotate(4deg); }
.js .hero.is-in .hero__word span { opacity: 1; transform: none; transition: transform .9s var(--spring), opacity .5s; transition-delay: calc(var(--i) * 45ms); }

.hero__stage {
  position: absolute; left: 50%; bottom: 0; z-index: 2;
  height: min(80svh, 860px); aspect-ratio: 3 / 4; transform: translateX(-50%);
}
.hero__still, .hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__canvas { opacity: 0; transition: opacity .4s; }
.hero__stage.is-live .hero__canvas { opacity: 1; }
.hero__stage.is-live .hero__still { opacity: 0; transition: opacity .2s .25s; }
.js .hero__stage { opacity: 0; transform: translate(-50%, 6%); transition: opacity .8s .35s, transform 1s .35s var(--spring); }
.js .hero.is-in .hero__stage { opacity: 1; transform: translate(-50%, 0); }
.hero__floor { position: absolute; left: 18%; right: 18%; bottom: 3.2%; height: 6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(60, 40, 20, .28), transparent); z-index: -1; }
.hero__cup { position: absolute; left: 55%; top: 34%; width: 11%; height: 12%; border: 0; background: transparent; border-radius: 40%; cursor: inherit; }

/* hint sits to the left of the dog, below the wordmark, arrow pointing at its mouth */
.hero__hint {
  position: absolute; z-index: 3; right: calc(50% + min(80svh, 860px) * .22); top: calc(100% - min(80svh, 860px) * .66);
  display: flex; align-items: flex-start; color: var(--teal-deep); pointer-events: none; transform: rotate(-5deg);
}
.hero__hint-text { font: 400 28px/1.05 var(--hand); text-align: right; }
.hero__hint svg { width: 84px; height: 60px; margin: -18px 0 0 4px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; transform: rotate(-12deg); }
.js .hero__hint { opacity: 0; transition: opacity .6s 1.6s; }
.js .hero.is-in .hero__hint { opacity: 1; }
.hero__hint.is-gone { opacity: 0 !important; transition: opacity .4s; }

.hero__left, .hero__right { position: absolute; z-index: 3; bottom: clamp(24px, 6vh, 64px); }
.hero__left { left: clamp(18px, 4vw, 64px); }
.hero__right { right: clamp(18px, 4vw, 64px); text-align: right; display: grid; gap: 18px; justify-items: end; }
.hero__kicker { font: 700 13px/1.5 var(--body); letter-spacing: .16em; text-transform: uppercase; }
.hero__caught { margin-top: 14px; font: 400 22px/1 var(--hand); color: var(--orange-deep); opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--spring); }
.hero__caught.is-on { opacity: 1; transform: none; }
.hero__caught b { font-weight: 400; display: inline-block; }
.hero__caught b.is-pop { animation: pop .4s var(--spring); }
@keyframes pop { 40% { transform: scale(1.6) rotate(-8deg); } }
.hero__line { font: 400 clamp(22px, 2vw, 30px)/1.15 var(--display); }
.hero__line strong { font-weight: 400; color: var(--orange-deep); }
.hero__ctas { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.js .hero__left, .js .hero__right { opacity: 0; transform: translateY(14px); transition: opacity .7s .9s, transform .8s .9s var(--ease-out); }
.js .hero.is-in .hero__left, .js .hero.is-in .hero__right { opacity: 1; transform: none; }

/* thrown biscuits */
.biscuit {
  position: fixed; left: 0; top: 0; z-index: 60; width: 54px; height: 54px; margin: -27px 0 0 -27px;
  pointer-events: none; will-change: transform; filter: drop-shadow(0 6px 6px rgba(60, 30, 0, .25));
}

/* ---------- ticker ---------- */
.ticker { background: var(--teal); color: #fff; overflow: hidden; border-block: 3px solid var(--ink); position: relative; z-index: 4; }
.ticker__track { display: flex; align-items: center; gap: 28px; width: max-content; padding: 16px 0; animation: tick 38s linear infinite; }
.ticker__track span { font: 400 clamp(22px, 2.6vw, 34px)/1 var(--display); white-space: nowrap; }
.ticker__track i { width: 22px; height: 22px; flex: none; background: var(--cream); -webkit-mask: inherit; }
.ticker__track i {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cellipse cx='12' cy='16' rx='5.2' ry='4.4'/%3E%3Cellipse cx='5.2' cy='10' rx='2.2' ry='2.8'/%3E%3Cellipse cx='9.4' cy='5.6' rx='2.2' ry='2.9'/%3E%3Cellipse cx='14.6' cy='5.6' rx='2.2' ry='2.9'/%3E%3Cellipse cx='18.8' cy='10' rx='2.2' ry='2.8'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cellipse cx='12' cy='16' rx='5.2' ry='4.4'/%3E%3Cellipse cx='5.2' cy='10' rx='2.2' ry='2.8'/%3E%3Cellipse cx='9.4' cy='5.6' rx='2.2' ry='2.9'/%3E%3Cellipse cx='14.6' cy='5.6' rx='2.2' ry='2.9'/%3E%3Cellipse cx='18.8' cy='10' rx='2.2' ry='2.8'/%3E%3C/svg%3E") center/contain no-repeat;
}
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- the wall (mural) ---------- */
.wall {
  position: relative; display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: clamp(24px, 5vw, 80px);
  padding: clamp(70px, 11vw, 150px) clamp(18px, 5vw, 80px); background: #fff;
}
.wall__mural { margin: 0; position: relative; }
.wall__mural img { width: 100%; height: auto; mix-blend-mode: multiply; }
.js .wall__mural img { clip-path: inset(0 100% 0 0); transition: clip-path 2.2s cubic-bezier(.6, 0, .2, 1); }
.js .wall__mural.is-in img { clip-path: inset(0 0 0 0); }
.wall__mural::after {
  content: ''; position: absolute; top: 4%; bottom: 4%; width: 10px; left: 0; border-radius: 6px; background: var(--ink); opacity: 0;
}
.js .wall__mural.is-in::after { animation: brush 2.2s cubic-bezier(.6, 0, .2, 1) forwards; }
@keyframes brush { 0% { left: 0; opacity: 1; } 95% { left: 100%; opacity: 1; } 100% { left: 100%; opacity: 0; } }
.wall__copy h2 { font: 400 clamp(40px, 5.2vw, 78px)/.98 var(--display); letter-spacing: -.02em; }
.wall__copy h2 em { font-style: normal; color: var(--teal); }
.facts { list-style: none; padding: 0; margin: 34px 0 30px; display: grid; gap: 18px; }
.facts li { display: grid; grid-template-columns: 130px 1fr; gap: 18px; align-items: baseline; padding-top: 16px; border-top: 2px solid var(--ink); }
.facts b { font: 400 26px/1 var(--display); color: var(--orange-deep); }
.facts span { color: var(--ink-2); }
.rating { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 999px; background: var(--cream); text-decoration: none; font-weight: 600; font-size: 15px; transition: transform .25s var(--spring); }
.rating:hover { transform: translateY(-2px); }
.rating__num { background: var(--ink); color: var(--cream); border-radius: 999px; padding: 6px 10px; font-weight: 800; }
.rating__stars { color: var(--orange); letter-spacing: 2px; }

.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s, transform .8s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Bark Board ---------- */
.board { padding: clamp(40px, 7vw, 100px) clamp(10px, 3vw, 48px); background: var(--cream); }
.board__frame {
  max-width: 1320px; margin: 0 auto; padding: clamp(12px, 1.6vw, 22px); border-radius: 10px;
  background: linear-gradient(135deg, #8a5a32, #5e3b1e 40%, #7b5130 60%, #4d3018);
  box-shadow: 0 30px 60px -20px rgba(40, 20, 0, .45), inset 0 0 0 2px rgba(255, 255, 255, .08);
  perspective: 1800px;
}
.board__slate {
  position: relative; border-radius: 4px; padding: clamp(26px, 4vw, 60px) clamp(18px, 4vw, 60px) clamp(26px, 3vw, 40px);
  background:
    radial-gradient(120% 90% at 30% 20%, rgba(255, 255, 255, .07), transparent 60%),
    radial-gradient(80% 60% at 80% 90%, rgba(255, 255, 255, .05), transparent 60%),
    var(--slate);
  color: var(--chalk); overflow: hidden; transform-style: preserve-3d;
}
.board__slate.is-flip { animation: flip .7s var(--ease-out); }
@keyframes flip { 0% { transform: rotateX(0); } 45% { transform: rotateX(-9deg) scale(.985); } 100% { transform: rotateX(0); } }
.board__dust { position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='d'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .04' numOctaves='3' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .18 -.05'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23d)'/%3E%3C/svg%3E"); }
.board__head { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(24px, 3vw, 40px); }
.chalk { font: 400 clamp(46px, 6.4vw, 96px)/1 var(--hand); color: var(--chalk); text-shadow: 0 0 1px rgba(255, 255, 255, .6), 0 0 14px rgba(255, 255, 255, .08); transform: rotate(-1.5deg); }
.chalk-small, .chalk-hand { font: 400 22px/1.2 var(--hand); }
.switch { position: relative; display: inline-flex; padding: 5px; border-radius: 999px; border: 2px dashed rgba(243, 239, 228, .55); }
.switch button { position: relative; z-index: 1; border: 0; background: none; padding: 10px 20px; font: 400 26px/1 var(--hand); color: var(--chalk); transition: color .3s; }
.switch button[aria-selected="true"] { color: var(--slate); }
.switch__dot { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: var(--chalk); transition: transform .45s var(--spring), background-color .3s; }
.board__slate[data-side="hounds"] .switch__dot { transform: translateX(100%); background: var(--pink); }
.board__list { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: clamp(20px, 2.6vw, 36px) clamp(18px, 2.4vw, 32px); }
.item { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; align-items: center; animation: chalkin .55s var(--ease-out) both; animation-delay: calc(var(--i) * 60ms); }
@keyframes chalkin { from { opacity: 0; transform: translateY(10px); filter: blur(3px); } }
.item__pic { width: 96px; height: 116px; padding: 5px 5px 16px; background: #fbf7ee; border-radius: 2px; box-shadow: 0 8px 18px rgba(0, 0, 0, .35); transform: rotate(var(--r, -3deg)); position: relative; transition: transform .3s var(--spring); }
.item__pic::before { content: ''; position: absolute; top: -8px; left: 50%; width: 38px; height: 14px; margin-left: -19px; background: rgba(240, 220, 160, .7); transform: rotate(3deg); }
.item__pic img { width: 100%; height: 100%; object-fit: cover; }
.item:hover .item__pic { transform: rotate(0) scale(1.06); }
.item__name { font: 400 30px/1 var(--hand); }
.item__desc { margin-top: 6px; font-size: 14px; line-height: 1.4; color: rgba(243, 239, 228, .78); }
.item__tag { display: inline-block; margin-top: 8px; font: 400 17px/1 var(--hand); color: var(--pink); }
.add {
  width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--chalk); background: transparent; color: var(--chalk);
  font: 400 30px/1 var(--hand); display: grid; place-items: center; transition: transform .3s var(--spring), background-color .2s, color .2s;
}
.add:hover { background: var(--chalk); color: var(--slate); transform: rotate(90deg); }
.add.is-added { background: var(--orange); border-color: var(--orange); color: #fff; animation: bump .45s var(--spring); }
.board__note { position: relative; z-index: 1; margin-top: clamp(26px, 3vw, 40px); color: rgba(243, 239, 228, .75); text-align: center; }
.board__note b { font-weight: 400; display: inline-grid; place-items: center; width: 26px; height: 26px; border: 2px solid currentColor; border-radius: 50%; line-height: 1; }

/* ---------- order section ---------- */
.order { position: relative; overflow: hidden; color: #fff; padding: clamp(70px, 10vw, 140px) clamp(18px, 5vw, 80px); isolation: isolate; }
.order__denim { position: absolute; inset: -4% 0; z-index: -2; background: url('img/denim.jpg') center/cover; }
.order::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 22, 44, .82) 0%, rgba(10, 22, 44, .55) 52%, rgba(10, 22, 44, .05) 100%); }
.order__inner { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(20px, 4vw, 60px); align-items: center; }
.order h2 { font: 400 clamp(44px, 6vw, 92px)/.95 var(--display); letter-spacing: -.02em; }
.order h2 em { font-style: normal; color: var(--pink); }
.steps { list-style: none; padding: 0; margin: 34px 0 36px; display: grid; gap: 16px; max-width: 520px; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; font-size: 17px; color: rgba(255, 255, 255, .86); }
.steps b { width: 40px; height: 40px; border-radius: 50%; background: var(--cream); color: var(--ink); display: grid; place-items: center; font: 400 22px/1 var(--display); }
.steps strong { color: #fff; }
.order__dog { margin: 0; position: relative; justify-self: center; width: min(100%, 440px); }
.order__dog img { width: 100%; height: auto; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .45)); animation: trot 1.6s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes trot { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-10px) rotate(1.5deg); } }
.order__dog figcaption { position: absolute; top: 4%; right: -2%; transform: rotate(8deg); background: var(--cream); color: var(--ink); padding: 10px 16px; border-radius: 14px; box-shadow: 0 10px 24px rgba(0, 0, 0, .3); font-size: 24px; }
.order__dog figcaption::after { content: ''; position: absolute; left: 22px; bottom: -10px; border: 10px solid transparent; border-top-color: var(--cream); border-bottom: 0; }

/* ---------- visit ---------- */
.visit { display: grid; grid-template-columns: 1fr 1.1fr; min-height: 600px; background: var(--teal); }
.visit__card { padding: clamp(50px, 8vw, 110px) clamp(18px, 5vw, 80px); background: var(--cream); border-right: 3px solid var(--ink); }
.visit__card h2 { font: 400 clamp(40px, 5vw, 70px)/1 var(--display); letter-spacing: -.02em; }
.visit__sub { margin: 16px 0 26px; color: var(--ink-2); max-width: 440px; }
.hours { width: 100%; max-width: 440px; border-collapse: collapse; margin-bottom: 30px; }
.hours caption { text-align: left; font: 700 13px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 10px; color: var(--teal-deep); }
.hours th, .hours td { padding: 10px 0; border-bottom: 1px dashed rgba(28, 25, 21, .25); text-align: left; font-weight: 500; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 800; color: var(--orange-deep); }
.hours tr.is-today th::after { content: ' · today'; font-weight: 600; font-size: 13px; }
.visit__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.visit__map { position: relative; display: grid; place-items: center; background:
  repeating-linear-gradient(0deg, transparent 0 46px, rgba(255, 255, 255, .12) 46px 48px),
  repeating-linear-gradient(90deg, transparent 0 46px, rgba(255, 255, 255, .12) 46px 48px), var(--teal); }
.visit__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.85) contrast(1.02); }
.visit__mapbtn { border: 3px solid var(--ink); background: var(--cream); padding: 14px 22px; border-radius: 999px; font-weight: 800; box-shadow: 0 5px 0 var(--ink); }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: rgba(245, 236, 220, .82); text-align: center; padding: 60px 20px 110px; font-size: 15px; display: grid; gap: 10px; }
.foot__word { font: 400 clamp(60px, 12vw, 160px)/.9 var(--display); color: var(--cream); letter-spacing: -.03em; }
.foot a { color: inherit; }
.foot__note { max-width: 640px; margin: 14px auto 0; font-size: 13px; color: rgba(245, 236, 220, .6); }

/* ---------- mobile order bar ---------- */
.mbar { display: none; }

/* ---------- bag drawer ---------- */
.bag { position: fixed; inset: 0; z-index: 80; }
.bag[hidden], .done[hidden] { display: none; }
.bag__shade, .done__shade { position: absolute; inset: 0; background: rgba(20, 16, 12, .45); animation: fade .3s; }
@keyframes fade { from { opacity: 0; } }
.bag__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--paper);
  display: flex; flex-direction: column; box-shadow: -20px 0 50px rgba(0, 0, 0, .2); animation: slidein .45s var(--ease-out);
}
@keyframes slidein { from { transform: translateX(100%); } }
.bag__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 2px solid var(--ink); }
.bag__head h2 { font: 400 30px/1 var(--display); }
.bag__x { width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--ink); background: none; font-size: 26px; line-height: 1; }
.bag__body { flex: 1; overflow: auto; padding: 18px 22px 28px; }
.bag__empty { text-align: center; padding: 50px 10px; display: grid; gap: 18px; justify-items: center; color: var(--ink-2); }
.bag__items { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 12px; }
.bag__items li { display: grid; grid-template-columns: 54px 1fr auto; gap: 12px; align-items: center; padding: 10px; background: #fff; border-radius: 14px; box-shadow: 0 1px 0 rgba(0, 0, 0, .06); animation: chalkin .35s var(--ease-out); }
.bag__items img { width: 54px; height: 54px; border-radius: 10px; object-fit: cover; }
.bag__items .nm { font-weight: 700; line-height: 1.2; }
.bag__items .for { font-size: 13px; color: var(--teal-deep); font-weight: 600; }
.bag__items .for.is-dog { color: #c2397a; }
.qty { display: inline-flex; align-items: center; gap: 4px; }
.qty button { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--ink); background: none; font-weight: 800; line-height: 1; }
.qty span { min-width: 22px; text-align: center; font-weight: 800; }
.bag__form { display: grid; gap: 14px; padding-top: 6px; }
.bag__form label { display: grid; gap: 6px; font-weight: 700; font-size: 14px; }
.bag__form small { font-weight: 500; color: var(--ink-2); }
.bag__form input, .bag__form select { height: 48px; border-radius: 12px; border: 2px solid rgba(28, 25, 21, .2); background: #fff; padding: 0 14px; font: 500 16px var(--body); color: var(--ink); }
.bag__form input:focus, .bag__form select:focus { outline: none; border-color: var(--teal); }
.bag__demo { font-size: 13px; color: var(--ink-2); background: rgba(19, 167, 161, .1); padding: 10px 12px; border-radius: 10px; }

/* ---------- confirmation ---------- */
.done { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; }
.done__box { position: relative; width: min(920px, 100%); max-height: calc(100svh - 32px); overflow: auto; background: var(--cream); border-radius: 22px; padding: clamp(22px, 4vw, 44px); border: 3px solid var(--ink); box-shadow: 0 10px 0 var(--ink); animation: popin .5s var(--spring); }
@keyframes popin { from { opacity: 0; transform: translateY(30px) scale(.96); } }
.done__x { position: absolute; top: 14px; right: 14px; }
.done__box h2 { font: 400 clamp(28px, 3.4vw, 44px)/1.05 var(--display); padding-right: 50px; margin-bottom: 26px; }
.done__split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 36px); align-items: start; }
.done__split figure { margin: 0; }
.done__split figcaption { font: 700 12px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 12px; }
.phone__screen { background: #fff; border: 3px solid var(--ink); border-radius: 30px; padding: 22px 16px 26px; min-height: 320px; display: grid; align-content: start; gap: 10px; }
.phone__from { text-align: center; font-weight: 800; font-size: 14px; padding-bottom: 10px; border-bottom: 1px solid #eee; margin-bottom: 6px; }
.bubble { justify-self: start; max-width: 88%; background: #e9e9ee; border-radius: 18px 18px 18px 6px; padding: 10px 14px; font-size: 15px; line-height: 1.35; opacity: 0; transform: translateY(8px) scale(.96); transform-origin: left bottom; }
.bubble.is-in { opacity: 1; transform: none; transition: opacity .3s, transform .4s var(--spring); }
.printer { position: relative; }
.printer__slot { height: 22px; border-radius: 10px 10px 4px 4px; background: var(--ink); position: relative; z-index: 2; }
.docket {
  position: relative; z-index: 1; margin: -6px 16px 0; background: #fffdf7; color: #222; padding: 22px 18px 26px;
  font: 500 14px/1.45 'Courier New', ui-monospace, monospace; box-shadow: 0 10px 20px rgba(0, 0, 0, .12);
  clip-path: inset(0 0 100% 0); transition: clip-path 1.6s steps(18, end);
  -webkit-mask: radial-gradient(circle at 8px 100%, transparent 6px, #000 6.5px) 0 0/16px 100% repeat-x;
          mask: radial-gradient(circle at 8px 100%, transparent 6px, #000 6.5px) -8px 0/16px 100% repeat-x;
}
.docket.is-printing { clip-path: inset(0 0 0 0); }
.docket h3 { font: 800 20px/1 'Courier New', monospace; text-align: center; margin-bottom: 4px; }
.docket .c { text-align: center; }
.docket hr { border: 0; border-top: 2px dashed #999; margin: 10px 0; }
.docket .row { display: flex; justify-content: space-between; gap: 10px; }
.docket .paid { margin-top: 10px; text-align: center; font-weight: 800; font-size: 18px; border: 3px solid #1d8a52; color: #1d8a52; padding: 6px; transform: rotate(-3deg); }
.docket .dog { color: #b8326f; }
.done__foot { margin-top: 24px; font: 400 clamp(20px, 2vw, 26px)/1.25 var(--display); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .nav__links { display: none; }
  .status { margin-left: auto; }
  .wall { grid-template-columns: 1fr; }
  .order__inner { grid-template-columns: 1fr; }
  .order__dog { width: min(80%, 340px); }
  .visit { grid-template-columns: 1fr; }
  .visit__card { border-right: 0; border-bottom: 3px solid var(--ink); }
  .visit__map { min-height: 340px; }
}
@media (max-width: 760px) {
  :root { --nav-h: 58px; }
  body { font-size: 16px; }
  .nav { gap: 10px; }
  .nav__logo { font-size: 22px; }
  .bagbtn__label { display: none; }
  .bagbtn { padding: 0 11px; }
  .status { font-size: 12px; padding: 5px 10px; }
  /* on phones everything hangs off the dog: --sh is its frame height, --sb the gap under it */
  .hero { height: 100svh; min-height: 600px; --sh: min(72svh, 165vw); --sb: 78px; }
  .hero__word { top: auto; bottom: calc(var(--sb) + var(--sh) * .86); font-size: 23vw; letter-spacing: -.045em; }
  .hero__stage { height: var(--sh); bottom: var(--sb); }
  /* the gap between the bar and the wordmark holds the hint, then the biscuit counter */
  .hero__hint { left: 18px; right: auto; top: calc(var(--nav-h) + 16px); bottom: auto; transform: rotate(-3deg); }
  .hero__hint-text { font-size: 21px; text-align: left; }
  .hero__hint svg { width: 52px; height: 40px; margin: 14px 0 0 2px; transform: rotate(38deg); }
  .hero__left { left: 18px; top: calc(var(--nav-h) + 22px); bottom: auto; }
  .hero__kicker { display: none; }
  .hero__caught { margin-top: 0; }
  .hero__right { display: none; }
  .hero__caught { font-size: 19px; }
  .facts li { grid-template-columns: 1fr; gap: 4px; }
  .item { grid-template-columns: 78px 1fr auto; gap: 12px; }
  .item__pic { width: 78px; height: 96px; }
  .item__name { font-size: 26px; }
  .switch button { font-size: 21px; padding: 9px 14px; }
  .order::before { background: linear-gradient(180deg, rgba(10, 22, 44, .86) 0%, rgba(10, 22, 44, .62) 60%, rgba(10, 22, 44, .2) 100%); }
  .done__split { grid-template-columns: 1fr; }
  .mbar {
    display: flex; position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 45;
    align-items: center; justify-content: space-between; height: 56px; padding: 0 20px; border: 0; border-radius: 999px;
    background: var(--orange); color: #fff; font-weight: 800; font-size: 17px; box-shadow: 0 4px 0 var(--orange-deep), 0 12px 30px rgba(0, 0, 0, .25);
    transition: transform .35s var(--spring);
  }
  .mbar b { font-size: 13px; font-weight: 700; background: rgba(255, 255, 255, .22); padding: 5px 10px; border-radius: 999px; }
  .mbar.is-hidden { transform: translateY(150%); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .ticker__track { animation: none; }
}
