/* Blue Dog Cafe v4: "the order docket" world. Cream paper, cobalt ink, yolk yellow, blue gingham. */
:root {
  --paper: #FFF6EA;
  --paper-2: #FBEBD3;
  --ink: #12204A;
  --ink-soft: #3C4770;
  --blue: #1D4ED8;
  --blue-deep: #1238A8;
  --sky: #DCE6FF;
  --yolk: #FFC233;
  --tomato: #EE5434;
  --line: rgba(18, 32, 74, .14);
  --shadow: 0 1px 0 rgba(18,32,74,.06), 0 18px 40px -18px rgba(18,32,74,.35);
  --r: 22px;
  --gut: clamp(16px, 4vw, 56px);
  --serif: "Young Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, Menlo, monospace;
  --nav-h: 68px;
  --card: #fff;
  --edge: var(--ink);
  --blue-t: var(--blue);
  --deep: #12204A;
  --on-deep: #FFF6EA;
  --on-yolk: #12204A;
  --nav-bg: rgba(255,246,234,.97);
  --glow: rgba(240,168,90,0);
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--paper); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
main { overflow-x: clip; }
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--yolk); outline-offset: 3px; border-radius: 8px; }

/* type */
.h2 { font: 400 clamp(34px, 5.2vw, 72px)/1.02 var(--serif); letter-spacing: -.015em; margin: 0 0 18px; text-wrap: balance; }
.h2 em, .hero__line em, .story__big em { font-style: normal; color: var(--blue-t); }
.eyebrow { font: 500 13px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--blue-t); margin: 0 0 16px; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.eyebrow--yolk { color: var(--ink); }
.eyebrow--yolk::before { background: var(--yolk); height: 6px; border-radius: 3px; }
.kicker { font: 500 13px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; margin: 0; display: inline-flex; align-items: center; gap: 10px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--tomato); box-shadow: 0 0 0 4px rgba(238,84,52,.18); }
.credit-chip { font: 400 12px/1 var(--mono); color: var(--ink-soft); margin: 28px 0 0; opacity: .8; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 700 16px/1 var(--sans); text-decoration: none; border: 2px solid var(--edge); transition: translate .2s cubic-bezier(.3,.7,.4,1.4), box-shadow .2s, background .2s; box-shadow: 0 4px 0 var(--edge); white-space: nowrap; }
.btn:hover { translate: 0 -2px; box-shadow: 0 6px 0 var(--edge); }
.btn:active { translate: 0 3px; box-shadow: 0 1px 0 var(--edge); }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn--blue { background: var(--blue); color: #fff; }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--paper { background: var(--paper); color: var(--ink); }
.btn--big { min-height: 58px; font-size: 18px; padding: 0 28px; }
.btn svg { width: 18px; height: 18px; fill: currentColor; }

/* nav */
.nav { position: fixed; z-index: 50; inset: 0 0 auto; height: var(--nav-h); display: flex; align-items: center; gap: 24px; padding: 0 var(--gut); transition: background .3s, box-shadow .3s; }
.nav.is-solid { background: var(--nav-bg); box-shadow: 0 1px 0 var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.brand__disc { width: 38px; height: 38px; color: var(--blue-t); transition: rotate .5s cubic-bezier(.3,.7,.4,1.5); }
.brand:hover .brand__disc { rotate: -14deg; }
.brand__word { font: 400 24px/1 var(--serif); letter-spacing: -.01em; }
.brand__word em { font: 500 12px/1 var(--mono); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-t); margin-left: 4px; vertical-align: 3px; }
.nav__links { display: none; margin-left: auto; gap: 6px; }
.nav__links a { text-decoration: none; font-weight: 600; padding: 10px 14px; border-radius: 999px; transition: background .2s; }
.nav__links a:hover { background: var(--sky); }
.nav__call { margin-left: auto; min-height: 44px; padding: 0 14px; font-size: 15px; box-shadow: 0 3px 0 var(--blue); border-color: var(--ink); }
.nav__call span { display: none; }
@media (min-width: 900px) {
  .nav__links { display: flex; }
  .nav__call { margin-left: 8px; padding: 0 18px; }
  .nav__call span { display: inline; }
}

/* ---------- hero scrub ---------- */
.hero { position: relative; height: 330svh; }
.hero__stage { position: sticky; top: 0; height: 100svh; min-height: 560px; display: grid; grid-template-rows: auto 1fr auto; gap: 14px; padding: calc(var(--nav-h) + 6px) var(--gut) 92px; }
.hero__copy { position: relative; z-index: 3; min-width: 0; }
.hero__lines { position: relative; height: 2.05em; font: 400 clamp(40px, 11.5vw, 64px)/1 var(--serif); letter-spacing: -.02em; margin-top: 12px; }
.hero__line { position: absolute; inset: 0 auto auto 0; margin: 0; opacity: 0; translate: 0 .35em; transition: opacity .45s ease, translate .6s cubic-bezier(.2,.8,.2,1); }
.hero__line.on { opacity: 1; translate: 0 0; }
.no-js .hero__line:first-child, .hero__line:first-child:not(.on):only-child { opacity: 1; }
.hero__frame { position: relative; min-height: 0; border-radius: var(--r); overflow: hidden; background: #eceee9; box-shadow: var(--shadow); border: 2px solid var(--edge); }
.hero__frame .seq-poster img, .hero__frame canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero__frame canvas { opacity: 0; transition: opacity .3s; }
.seq-ready .hero__frame canvas { opacity: 1; }
.hero__progress { position: absolute; left: 14px; right: 14px; bottom: 12px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.55); overflow: hidden; z-index: 2; }
.hero__progress i { display: block; height: 100%; background: var(--blue); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.hero__foot { position: relative; z-index: 3; display: grid; gap: 12px; }
.hero__cta { display: flex; gap: 10px; flex-wrap: wrap; }
.hero__cta .btn { flex: 1 1 140px; }
.hero__facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--ink-soft); }
.hero__facts b { color: var(--ink); }
.stars { color: var(--yolk); letter-spacing: 1px; -webkit-text-stroke: .6px #b78400; }
.hero__hint { display: none; }

@media (min-width: 761px) {
  .hero__stage { display: block; padding: 0; }
  .hero__frame { position: absolute; inset: calc(var(--nav-h) + 4px) var(--gut) 24px; border-radius: 28px; }
  .hero__copy { position: absolute; top: calc(var(--nav-h) + 40px); left: calc(var(--gut) + 44px); right: calc(var(--gut) + 44px); }
  .hero__lines { font-size: clamp(52px, 6.4vw, 100px); height: 2.1em; color: var(--ink); max-width: 9.5em; }
  .hero__line { text-shadow: 0 0 28px rgba(255,255,255,.85), 0 0 2px rgba(255,255,255,.9); }
  .kicker { background: var(--paper); padding: 10px 14px; border-radius: 999px; border: 2px solid var(--edge); }
  .hero__foot { position: absolute; left: calc(var(--gut) + 32px); bottom: 52px; grid-template-columns: auto; }
  .hero__facts { background: var(--paper); border: 2px solid var(--edge); border-radius: 999px; padding: 10px 18px; width: max-content; }
  .hero__progress { left: auto; right: 30px; bottom: 30px; width: 160px; }
  .hero__hint { display: block; position: absolute; right: calc(var(--gut) + 30px); bottom: 48px; margin: 0; font: 500 12px var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--ink); opacity: calc(1 - var(--p, 0) * 8); }
  .hero__cta .btn { flex: 0 0 auto; }
}

/* ---------- good to know ---------- */
.gingham { height: 34px; background-color: var(--paper);
  background-image: linear-gradient(90deg, rgba(29,78,216,.55) 50%, transparent 50%), linear-gradient(rgba(29,78,216,.55) 50%, transparent 50%);
  background-size: 34px 34px; }
.gingham--thin { height: 18px; background-size: 18px 18px; }
.know { background: var(--blue); color: #fff; }
.know__track { overflow: hidden; padding: 18px 0; }
.know__row { display: flex; gap: 0; width: max-content; animation: marquee 38s linear infinite; }
.know__row span { font: 400 clamp(22px, 3vw, 34px)/1 var(--serif); padding: 0 22px; display: inline-flex; align-items: center; gap: 44px; white-space: nowrap; }
.know__row span::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--yolk); margin-left: 22px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- story ---------- */
.story { padding: clamp(72px, 12vw, 160px) var(--gut) clamp(56px, 8vw, 110px); max-width: 1400px; margin: 0 auto; }
.story__big { font: 400 clamp(32px, 5.6vw, 80px)/1.12 var(--serif); letter-spacing: -.015em; margin: 0 0 48px; text-wrap: pretty; }
.chip-img { display: inline-block; width: 1.5em; height: 1.05em; vertical-align: -0.12em; border-radius: .52em; overflow: hidden; border: 2px solid var(--edge); rotate: var(--r); transition: rotate .4s, scale .4s; box-shadow: 0 4px 0 var(--edge); }
.chip-img img { width: 100%; height: 100%; object-fit: cover; }
.chip-img:hover { rotate: 0deg; scale: 1.12; }
.story__row { display: grid; gap: 28px; }
.story__row > p { margin: 0; font-size: clamp(17px, 1.5vw, 20px); max-width: 60ch; color: var(--ink-soft); }
.story__stats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.story__stats li { border: 2px solid var(--edge); border-radius: 18px; padding: 16px 14px; background: var(--card); min-width: 0; }
.story__stats b { display: block; font: 400 26px/1 var(--serif); color: var(--blue-t); margin-bottom: 8px; }
.story__stats span { font-size: 14px; line-height: 1.3; display: block; }
@media (min-width: 900px) { .story__row { grid-template-columns: 1.1fr 1fr; align-items: end; } }

/* ---------- scroll scenes (extra clips) ---------- */
.scene { position: relative; height: 260svh; }
.scene__stage { position: sticky; top: 0; height: 100svh; display: grid; place-items: center; padding: calc(var(--nav-h) + 8px) var(--gut) 92px; }
.scene__frame { position: relative; width: 100%; height: 100%; max-height: 74svh; border-radius: var(--r); overflow: hidden; border: 2px solid var(--edge); box-shadow: var(--shadow); background: #222; clip-path: inset(calc((1 - min(1, var(--p, 0) * 3.2)) * 9%) round var(--r)); }
.scene__frame .seq-poster img, .scene__frame canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scene__frame canvas { opacity: 0; transition: opacity .3s; }
.seq-ready .scene__frame canvas { opacity: 1; }
.scene__beat { position: absolute; z-index: 3; left: calc(var(--gut) + 18px); right: calc(var(--gut) + 18px); bottom: 112px; margin: 0; opacity: 0; translate: 0 20px; transition: opacity .45s, translate .6s cubic-bezier(.2,.8,.2,1); }
.scene__beat.on { opacity: 1; translate: 0 0; }
.scene__beat span { display: inline; background: var(--paper); color: var(--ink); font: 400 clamp(28px, 7vw, 64px)/1.18 var(--serif); padding: .04em .28em; border-radius: .2em; -webkit-box-decoration-break: clone; box-decoration-break: clone; box-shadow: 0 3px 0 var(--edge); }
.scene__tag { position: absolute; z-index: 3; top: calc(var(--nav-h) + 26px); left: calc(var(--gut) + 18px); font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; background: var(--yolk); color: var(--on-yolk); padding: 9px 12px; border-radius: 999px; border: 2px solid var(--edge); }
@media (min-width: 761px) {
  .scene__stage { padding: calc(var(--nav-h) + 8px) var(--gut) 28px; }
  .scene__frame { max-height: none; }
  .scene__beat { left: calc(var(--gut) + 44px); bottom: 64px; right: auto; max-width: 55%; }
  .scene__tag { left: calc(var(--gut) + 44px); }
}

/* ---------- menu ---------- */
.menu { padding: clamp(64px, 10vw, 140px) 0; background: var(--paper-2); border-top: 2px solid var(--edge); border-bottom: 2px solid var(--edge); }
.menu__head { padding: 0 var(--gut); max-width: 1400px; margin: 0 auto 28px; }
.menu__note { margin: 0; color: var(--ink-soft); max-width: 52ch; }
.menu__note b { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 15px; }
.tabs { position: relative; display: flex; gap: 4px; margin: 0 var(--gut) 26px; padding: 5px; background: var(--card); border: 2px solid var(--edge); border-radius: 999px; width: max-content; max-width: calc(100% - 2 * var(--gut)); overflow-x: auto; scrollbar-width: none; }
.tabs button { position: relative; z-index: 1; border: 0; background: none; min-height: 44px; padding: 0 16px; border-radius: 999px; font-weight: 700; font-size: 15px; white-space: nowrap; transition: color .25s; }
.tabs button[aria-selected="true"] { color: #fff; }
.tabs__ink { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 999px; background: var(--blue); transition: translate .45s cubic-bezier(.3,.8,.3,1.1), width .45s cubic-bezier(.3,.8,.3,1.1); }
.panels { max-width: 1400px; margin: 0 auto; }
.panel { display: grid; grid-auto-flow: column; grid-auto-columns: 74%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gut) 18px; scrollbar-width: none; }
.panel::-webkit-scrollbar { display: none; }
.panel[hidden] { display: none; }
.panel.is-entering .dish { animation: dealIn .55s cubic-bezier(.2,.8,.2,1) both; }
.panel.is-entering .dish:nth-child(2) { animation-delay: .06s; }
.panel.is-entering .dish:nth-child(3) { animation-delay: .12s; }
.panel.is-entering .dish:nth-child(4) { animation-delay: .18s; }
@keyframes dealIn { from { opacity: 0; transform: translateY(26px) rotate(2deg); } }
.dish { position: relative; scroll-snap-align: start; background: var(--card); border: 2px solid var(--edge); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; min-width: 0; box-shadow: 0 5px 0 var(--edge); transition: translate .3s, box-shadow .3s; }
.dish figure { margin: 0; aspect-ratio: 4 / 4.2; overflow: hidden; border-bottom: 2px solid var(--edge); background: var(--sky); }
.dish figure img { width: 100%; height: 100%; object-fit: cover; transition: scale .7s cubic-bezier(.2,.8,.2,1); }
.dish:hover { translate: 0 -4px; box-shadow: 0 9px 0 var(--edge); }
.dish:hover figure img { scale: 1.06; }
.dish__txt { padding: 16px 64px 18px 18px; }
.dish h3 { font: 400 23px/1.1 var(--serif); margin: 0 0 6px; }
.dish p { margin: 0; font-size: 15px; color: var(--ink-soft); line-height: 1.4; }
.dish--type figure { display: grid; place-items: center; background: var(--blue); color: #fff; }
.dish--type figure span { font: 400 clamp(36px, 4vw, 52px)/.98 var(--serif); text-align: center; rotate: -4deg; }
.dish--yolk figure { background: var(--yolk); color: var(--on-yolk); }
.dish--blue figure { background: var(--tomato); }
.add { position: absolute; right: 14px; bottom: 16px; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--edge); background: var(--yolk); color: var(--on-yolk); font: 700 26px/1 var(--sans); display: grid; place-items: center; box-shadow: 0 3px 0 var(--edge); transition: rotate .3s, translate .15s; }
.add:hover { rotate: 90deg; }
.add:active { translate: 0 2px; }
.add.bump { animation: bump .45s; }
@keyframes bump { 40% { scale: 1.3; background: var(--blue); color: #fff; } }
.menu .credit-chip { padding: 0 var(--gut); max-width: 1400px; margin-left: auto; margin-right: auto; }
@media (min-width: 761px) { .panel { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0,1fr)); overflow: visible; } }
@media (min-width: 1100px) { .panel { grid-template-columns: repeat(4, minmax(0,1fr)); } }

/* ---------- docket (standout) ---------- */
.docket { display: grid; gap: 40px; padding: clamp(72px, 11vw, 150px) var(--gut); max-width: 1400px; margin: 0 auto; align-items: start; }
.docket__intro > p { color: var(--ink-soft); max-width: 50ch; margin: 0 0 24px; }
.docket__intro a { color: var(--blue-t); font-weight: 700; }
.docket__picks { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.docket__picks button { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 2px solid var(--edge); background: var(--card); font-weight: 600; font-size: 15px; transition: background .2s, translate .15s; }
.docket__picks button:hover { background: var(--sky); }
.docket__picks button:active { translate: 0 2px; }
.docket__mode { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--deep); gap: 2px; }
.docket__mode button { min-height: 42px; padding: 0 16px; border: 0; border-radius: 999px; background: none; color: var(--on-deep); font-weight: 700; font-size: 14px; }
.docket__mode button[aria-checked="true"] { background: var(--yolk); color: var(--on-yolk); }
.printer { position: relative; display: grid; justify-items: center; min-width: 0; }
.printer__body { position: relative; z-index: 2; width: min(100%, 420px); height: 96px; border-radius: 22px 22px 14px 14px; background: linear-gradient(180deg, #2E3A63, var(--deep)); border: 2px solid var(--edge); box-shadow: 0 10px 0 #0a1330; }
.printer__led { position: absolute; left: 20px; top: 20px; width: 10px; height: 10px; border-radius: 50%; background: #6ee7a8; box-shadow: 0 0 12px #6ee7a8; }
.printer.is-printing .printer__led { animation: blink .18s steps(2) infinite; }
@keyframes blink { 50% { background: var(--yolk); box-shadow: 0 0 12px var(--yolk); } }
.printer__slot { position: absolute; left: 34px; right: 34px; bottom: 18px; height: 8px; border-radius: 4px; background: #050b20; }
.printer__label { position: absolute; right: 20px; top: 16px; font: 500 11px var(--mono); letter-spacing: .14em; color: rgba(255,246,234,.7); }
.paper { position: relative; z-index: 1; width: min(calc(100% - 64px), 340px); margin-top: -26px; overflow: hidden; transition: height .5s cubic-bezier(.3,.7,.3,1); height: 260px; filter: drop-shadow(0 12px 18px rgba(18,32,74,.22)); }
.paper__inner { background: #fffdf8; padding: 46px 22px 30px; font: 400 14px/1.6 var(--mono); color: #1b1b1b;
  -webkit-mask: radial-gradient(circle at 8px 100%, transparent 7px, #000 7.5px) -8px 0 / 16px 100% repeat-x; mask: radial-gradient(circle at 8px 100%, transparent 7px, #000 7.5px) -8px 0 / 16px 100% repeat-x; }
.paper__head { text-align: center; font-weight: 500; letter-spacing: .1em; margin: 0 0 12px; }
.paper__head small { letter-spacing: 0; opacity: .7; }
.paper__meta { display: flex; justify-content: space-between; border-top: 1px dashed #999; border-bottom: 1px dashed #999; padding: 6px 0; margin: 0 0 10px; }
.paper__lines { list-style: none; padding: 0; margin: 0 0 10px; min-height: 22px; }
.paper__lines li { display: flex; justify-content: space-between; gap: 10px; animation: printLine .35s steps(4) both; }
.paper__lines li b { font-weight: 500; }
.paper__lines .paper__empty { opacity: .55; animation: none; }
@keyframes printLine { from { clip-path: inset(0 100% 0 0); } }
.paper__total { display: flex; justify-content: space-between; border-top: 1px dashed #999; padding-top: 6px; margin: 0 0 12px; font-weight: 500; }
.paper__foot { text-align: center; margin: 0; opacity: .75; font-size: 12px; }
.printer__actions { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; justify-content: center; }
.paper.is-torn { animation: tear .8s cubic-bezier(.5,0,.7,.4) forwards; }
@keyframes tear { 20% { transform: rotate(-3deg) translateY(6px); } to { transform: translate(40px, 120vh) rotate(18deg); opacity: 0; } }
.torn { text-align: center; margin-top: 18px; display: grid; gap: 10px; justify-items: center; }
.torn[hidden] { display: none; }
.torn__title { font: 400 34px/1 var(--serif); margin: 0; color: var(--blue-t); }
.torn p { margin: 0; }
@media (min-width: 900px) { .docket { grid-template-columns: 1fr 1fr; gap: 64px; } .printer { position: sticky; top: calc(var(--nav-h) + 30px); } }

/* ---------- reviews ---------- */
.reviews { background: var(--deep); color: var(--on-deep); padding: clamp(72px, 10vw, 140px) var(--gut); display: grid; gap: 22px; }
.reviews__score { text-align: left; }
.reviews__num { font: 400 clamp(90px, 16vw, 200px)/.85 var(--serif); margin: 0; color: var(--yolk); }
.stars--big { font-size: 30px; margin: 10px 0 4px; }
.reviews__score p:last-child { margin: 0; opacity: .8; }
.quote { margin: 0; background: var(--paper); color: var(--ink); border-radius: var(--r); padding: 26px 24px; border: 2px solid var(--paper); rotate: -1.2deg; box-shadow: 0 6px 0 var(--yolk); }
.quote--blue { background: var(--blue); color: #fff; rotate: 1.4deg; border-color: var(--blue); }
.quote blockquote { margin: 0 0 14px; font: 400 clamp(22px, 2.6vw, 34px)/1.2 var(--serif); }
.quote figcaption { font: 500 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.mentions p { font: 500 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; opacity: .7; margin: 0 0 12px; }
.mentions ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mentions li { border: 1.5px solid rgba(255,246,234,.4); border-radius: 999px; padding: 8px 14px; font-size: 15px; }
@media (min-width: 900px) {
  .reviews { grid-template-columns: .8fr 1fr 1fr; align-items: center; column-gap: 36px; }
  .mentions { grid-column: 1 / -1; }
}

/* ---------- visit ---------- */
.visit { display: grid; gap: 22px; padding: clamp(72px, 10vw, 140px) var(--gut); max-width: 1400px; margin: 0 auto; }
.visit__card { background: var(--card); border: 2px solid var(--edge); border-radius: var(--r); padding: clamp(24px, 4vw, 48px); box-shadow: 0 6px 0 var(--edge); min-width: 0; }
.visit__list { margin: 0 0 26px; display: grid; gap: 16px; }
.visit__list div { display: grid; grid-template-columns: 70px minmax(0,1fr); gap: 12px; border-top: 1px solid var(--line); padding-top: 14px; }
.visit__list dt { font: 500 12px/1.9 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--blue-t); }
.visit__list dd { margin: 0; }
.visit__list a { color: var(--blue-t); font-weight: 700; }
.copy { margin-top: 8px; display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--edge); background: var(--paper); font-size: 14px; font-weight: 600; }
.visit__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.map { position: relative; display: block; border-radius: var(--r); overflow: hidden; border: 2px solid var(--edge); min-height: 300px; box-shadow: 0 6px 0 var(--edge); text-decoration: none; }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__pin { position: absolute; left: 50%; top: 46%; translate: -50% -100%; display: grid; justify-items: center; }
.map__pin span { background: var(--blue); color: #fff; font: 400 20px/1 var(--serif); padding: 12px 18px; border-radius: 999px; border: 2px solid var(--edge); position: relative; animation: hop 2.4s ease-in-out infinite; }
.map__pin::after { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--tomato); border: 2px solid var(--edge); margin-top: 8px; }
@keyframes hop { 50% { translate: 0 -8px; } }
.map__open { position: absolute; right: 14px; bottom: 14px; background: var(--paper); border: 2px solid var(--edge); border-radius: 999px; padding: 10px 14px; font-weight: 700; font-size: 14px; }
@media (min-width: 900px) { .visit { grid-template-columns: 1fr 1.1fr; } .map { min-height: 100%; } }

/* ---------- footer, dock, toast ---------- */
.foot { background: var(--paper-2); border-top: 2px solid var(--edge); padding-bottom: 96px; }
.foot__grid { display: grid; gap: 28px; padding: 48px var(--gut) 24px; max-width: 1400px; margin: 0 auto; }
.foot__grid p { margin: 0 0 10px; color: var(--ink-soft); }
.foot__grid a { display: inline-block; padding: 6px 0; min-height: 32px; }
.foot__brand { font: 400 34px/1 var(--serif) !important; color: var(--ink) !important; }
.foot__brand em { font: 500 12px var(--mono); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-t); }
.foot__h { font: 500 12px var(--mono) !important; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-t) !important; }
.foot__base { text-align: center; font-size: 13px; color: var(--ink-soft); margin: 18px var(--gut) 6px; }
.site-credit { text-align: center; font-size: 11px; margin: 0 0 10px; opacity: .65; }
.site-credit a { text-decoration: none; }
@media (min-width: 900px) { .foot__grid { grid-template-columns: 2fr 1fr 1fr; } .foot { padding-bottom: 20px; } }

.dock { position: fixed; z-index: 60; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 6px; background: var(--deep); border-radius: 22px; box-shadow: 0 14px 30px -10px rgba(18,32,74,.6); transition: translate .35s cubic-bezier(.3,.7,.3,1); }
.dock a { position: relative; display: grid; justify-items: center; align-content: center; gap: 3px; min-height: 54px; border-radius: 16px; color: var(--on-deep); text-decoration: none; font-size: 12px; font-weight: 700; }
.dock a:first-child { background: var(--blue); }
.dock svg { width: 21px; height: 21px; fill: currentColor; }
.dock b { position: absolute; top: 4px; right: calc(50% - 22px); min-width: 20px; height: 20px; border-radius: 10px; background: var(--yolk); color: var(--on-yolk); font-size: 12px; display: grid; place-items: center; padding: 0 5px; }
.dock b[hidden] { display: none; }
@media (min-width: 900px) { .dock { display: none; } }
.toast { position: fixed; z-index: 80; left: 50%; bottom: 96px; translate: -50% 20px; opacity: 0; pointer-events: none; background: var(--deep); color: var(--on-deep); padding: 12px 18px; border-radius: 999px; font-weight: 600; font-size: 15px; transition: opacity .25s, translate .3s; max-width: calc(100vw - 32px); text-align: center; }
.toast.show { opacity: 1; translate: -50% 0; }

/* reveals */
.js [data-rv] { opacity: 0; translate: 0 26px; transition: opacity .7s ease, translate .8s cubic-bezier(.2,.8,.2,1); }
.js [data-rv].in { opacity: 1; translate: 0 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .know__row, .map__pin span { animation: none; }
  .js [data-rv] { opacity: 1; translate: none; transition: none; }
  .hero__line { transition: opacity .2s; translate: none; }
}

/* ---------- flatlay band ---------- */
.band { position: relative; margin: 0 0 48px; border-radius: var(--r); overflow: hidden; border: 2px solid var(--edge); box-shadow: 0 6px 0 var(--edge); aspect-ratio: 16 / 8; }
.band img { width: 100%; height: 100%; object-fit: cover; }
.band figcaption { position: absolute; left: 16px; bottom: 16px; background: var(--paper); border: 2px solid var(--edge); border-radius: 999px; padding: 8px 14px; font: 400 clamp(16px, 2vw, 22px)/1.1 var(--serif); }
@media (max-width: 760px) { .band { aspect-ratio: 4 / 3; } }

/* ---------- pass-through scrub cards ---------- */
.pass { position: relative; margin: 56px 0 0; }
.pass__frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; border: 2px solid var(--edge); box-shadow: 0 8px 0 var(--edge); background: #2a2018;
  clip-path: circle(calc(30% + var(--p, 0) * 160%) at 50% 50%); }
.pass__frame .seq-poster img, .pass__frame canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pass__frame canvas { opacity: 0; transition: opacity .3s; }
.seq-ready .pass__frame canvas { opacity: 1; }
.pass__cap { position: absolute; left: 50%; bottom: 18px; translate: -50% 0; display: grid; z-index: 2; pointer-events: none; }
.pass__cap span { grid-area: 1 / 1; justify-self: center; white-space: nowrap; background: var(--paper); border: 2px solid var(--edge); border-radius: 999px; padding: 10px 18px; font: 400 clamp(17px, 2.2vw, 26px)/1 var(--serif); opacity: 0; translate: 0 10px; transition: opacity .35s, translate .5s cubic-bezier(.2,.8,.2,1); }
.pass__cap span.on { opacity: 1; translate: 0 0; }
.pass--tilt .pass__frame { clip-path: none; rotate: calc((1 - min(1, var(--p, 0) * 2)) * -5deg); scale: calc(.9 + min(1, var(--p, 0) * 2) * .1); }
@media (max-width: 760px) { .pass__frame { aspect-ratio: 4 / 5; } .pass__cap span { font-size: 17px; } }

/* ---------- split scene ---------- */
.scene--split { height: 240svh; }
.scene--split .scene__stage { grid-template-rows: auto 1fr; place-items: stretch; gap: 16px; }
.split__copy { min-width: 0; }
.split__copy .eyebrow { margin-bottom: 10px; }
.split__lines { position: relative; height: 2.15em; font: 400 clamp(34px, 9vw, 72px)/1.02 var(--serif); letter-spacing: -.015em; }
.split__lines p { position: absolute; inset: 0 auto auto 0; margin: 0; opacity: 0; translate: 0 .3em; transition: opacity .4s, translate .6s cubic-bezier(.2,.8,.2,1); }
.split__lines p.on { opacity: 1; translate: 0 0; }
.split__lines em { font-style: normal; color: var(--tomato); }
.split__sub { margin: 6px 0 0; color: var(--ink-soft); }
.scene--split .scene__frame { clip-path: none; max-height: none; }
@media (min-width: 900px) {
  .scene--split .scene__stage { grid-template-columns: .9fr 1.1fr; grid-template-rows: 1fr; align-items: center; gap: 48px; padding-bottom: 40px; }
  .scene--split .scene__frame { height: min(78svh, 620px); }
  .split__lines { height: 3.2em; }
}

/* ---------- take-home ---------- */
.takehome { display: grid; gap: 8px; padding: clamp(72px, 10vw, 140px) var(--gut) 0; max-width: 1400px; margin: 0 auto; align-items: center; }
.takehome__copy > p:not(.eyebrow) { color: var(--ink-soft); max-width: 48ch; }
.takehome .pass { margin-top: 24px; }
@media (min-width: 900px) { .takehome { grid-template-columns: .9fr 1.1fr; gap: 56px; } .takehome .pass { margin: 0; } }

/* flipped split (frame left) + quote */
.split__quote { margin: 14px 0 0; display: inline-block; background: var(--yolk); color: var(--on-yolk); border: 2px solid var(--edge); border-radius: 18px; padding: 12px 16px; font: 400 clamp(17px, 1.8vw, 22px)/1.25 var(--serif); box-shadow: 0 4px 0 var(--edge); rotate: -1.5deg; }
.split__quote small { display: block; font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; margin-top: 6px; }
@media (max-width: 899px) { .split__quote { display: none; } }
@media (min-width: 900px) { .scene--flip .scene__stage { grid-template-columns: 1.1fr .9fr; } .scene--flip .scene__frame { order: -1; } }

/* trio of pass-through scrub cards */
.trio { padding: clamp(64px, 9vw, 120px) var(--gut) 0; max-width: 1400px; margin: 0 auto; }
.trio__row { display: grid; gap: 18px; }
.pass--mini { margin: 0; }
.pass--mini .pass__frame { aspect-ratio: 4 / 5; clip-path: inset(calc((1 - min(1, var(--p, 0) * 2.4)) * 10%) round var(--r)); }
.pass--mini .pass__cap span { font-size: 17px; }
@media (min-width: 761px) { .trio__row { grid-template-columns: repeat(3, minmax(0,1fr)); } .pass--mini:nth-child(2) { translate: 0 48px; } }

/* ---------- logo (rebuilt from the cafe's real mark: thin ring, brush "Blue Dog", spaced CAFE) ---------- */
@font-face { font-family: "Kaushan Script"; src: url("kaushan.ttf?v=42") format("truetype"); font-display: swap; }
.brand { gap: 0; }
.logo { position: relative; display: inline-grid; place-content: center; justify-items: center; width: 64px; height: 64px; color: var(--ink); text-align: center; flex: none; }
.logo::before { content: ""; position: absolute; inset: 0; border: 1.6px solid currentColor; border-radius: 50%; transition: rotate .6s cubic-bezier(.3,.7,.4,1.5); }
.brand:hover .logo::before { rotate: 40deg; }
.logo__script { font: 400 14px/1 "Kaushan Script", "Brush Script MT", cursive; rotate: -7deg; white-space: nowrap; margin-top: -2px; }
.logo__cafe { font: 600 6.5px/1 var(--sans); font-style: normal; letter-spacing: .34em; text-indent: .34em; margin-top: 3px; }
.logo--lg { width: 156px; height: 156px; margin-bottom: 18px; }
.logo--lg::before { border-width: 2.4px; }
.logo--lg .logo__script { font-size: 32px; }
.logo--lg .logo__cafe { font-size: 13px; margin-top: 8px; }
.foot__brand-logo { display: grid; }
/* ---------- day / night ---------- */
.switcher { max-width: 1400px; margin: 0 auto; padding: clamp(72px, 11vw, 150px) var(--gut); display: grid; gap: 40px; align-items: center; }
.switcher > * { min-width: 0; }
.switcher__copy { display: grid; gap: 8px; max-width: 520px; }
.switcher__copy > p:not(.eyebrow) { color: var(--ink-soft); margin: 0 0 14px; }
.switch { position: relative; display: grid; grid-template-columns: 1fr 1fr; width: min(100%, 380px); padding: 6px; border-radius: 999px; background: var(--paper-2); border: 2px solid var(--edge); }
.switch__opt { position: relative; z-index: 2; min-height: 52px; border: 0; background: transparent; border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: 8px; font: 800 17px/1 var(--sans); color: var(--ink-soft); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: color .45s; }
.switch__opt svg { width: 18px; height: 18px; fill: currentColor; }
.switch__knob { position: absolute; z-index: 1; top: 6px; bottom: 6px; left: 6px; width: calc(50% - 6px); border-radius: 999px; background: var(--ink); transition: transform .6s cubic-bezier(.16,1,.3,1); }
.letterboard { position: relative; padding: clamp(26px, 4vw, 52px) clamp(20px, 4vw, 56px); border-radius: 16px; color: #F4F1EA; background: repeating-linear-gradient(0deg, rgba(255,255,255,.045) 0 1px, transparent 1px 8px), radial-gradient(ellipse at 30% 20%, rgba(255,255,255,.05), transparent 60%), #1B1B20; box-shadow: inset 0 0 0 12px #8A5B33, inset 0 0 0 14px #6A4424, inset 0 0 40px rgba(0,0,0,.55), 0 30px 60px -30px rgba(0,0,0,.6), 0 0 120px 10px var(--glow); display: grid; gap: clamp(14px, 2vw, 22px); text-align: center; }
.letterboard__title { font: 800 clamp(22px, 3vw, 40px)/1 var(--sans); letter-spacing: .3em; text-indent: .3em; color: #F0A85A; margin: 0; }
.letterboard__list { display: grid; gap: clamp(8px, 1.2vw, 14px); min-height: calc(7 * 1.5em); padding: 0; margin: 0; list-style: none; }
.letterboard__list li { font: 700 clamp(15px, 2vw, 26px)/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; overflow-wrap: anywhere; }
.letterboard__foot { font: 700 clamp(11px, 1.2vw, 14px)/1 var(--sans); letter-spacing: .32em; color: rgba(244,241,234,.55); margin: 6px 0 0; }
@media (min-width: 900px) { .switcher { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 64px; } }

.switch[data-board="lunch"] .switch__knob { transform: translateX(100%); }
.switch__opt[aria-pressed="true"] { color: var(--paper); }
