/* A. Pekařský pult — warm editorial, paper bakery bag */
:root {
  --cream: #FBEEDA; --paper: #FBF2E4; --ink: #3E1A06; --ink-deep: #2B1204;
  --rust: #944D18; --oxblood: #6B2908; --caramel: #C27D38; --crust: #D3A068; --crust-light: #E6BC84;
  --kraft: #DCB07A; --kraft-dark: #C2915A; --rule: rgba(62, 26, 6, .18);
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --hand: 'Caveat', 'Segoe Print', cursive;
  --gut: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans); overflow-x: clip;
}
body::before { /* paper grain */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .07; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
html:focus-within { scroll-behavior: smooth; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.05; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(2.3rem, 5.2vw, 4.4rem); }
h2 em, h1 em { font-style: italic; color: var(--rust); }
p { margin: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gut); }
:focus-visible { outline: 3px solid var(--rust); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 8px; }
.skip:focus { top: 12px; }
.js-only { display: none !important; }
.js .js-only { display: inline-flex !important; }
.heart { width: .9em; height: .9em; fill: var(--oxblood); vertical-align: -.08em; }

.label {
  font: 700 .78rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--rust);
  display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
}
.label::before { content: ""; width: 30px; height: 1px; background: currentColor; flex: none; }
.label-light { color: var(--crust-light); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 50px; padding: 0 24px;
  border-radius: 999px; font: 700 .95rem/1.1 var(--sans); text-decoration: none; cursor: pointer;
  border: 1.5px solid var(--ink); transition: transform .3s var(--ease), background-color .25s, color .25s;
  text-align: center;
}
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-line { background: transparent; color: var(--ink); }
.btn-cream { background: var(--cream); color: var(--ink-deep); border-color: var(--cream); }
.btn-text { background: none; border: 0; font: 600 .9rem var(--sans); color: var(--rust); text-decoration: underline; text-underline-offset: 4px; min-height: 44px; padding: 0 8px; cursor: pointer; }
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
  .btn-line:hover { background: var(--ink); color: var(--paper); }
  .btn-ink:hover { background: var(--oxblood); border-color: var(--oxblood); }
  .btn-cream:hover { background: var(--crust-light); border-color: var(--crust-light); }
}

/* Header */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(251, 242, 228, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.hdr-in { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-height: 44px; }
.brand img { width: 52px; height: 52px; border-radius: 50%; box-shadow: 0 0 0 1px var(--rule); }
.brand-txt { font: 500 1.25rem/1 var(--serif); }
.brand-txt em { color: var(--rust); }
.nav { display: flex; gap: 4px; justify-content: center; }
.nav a { text-decoration: none; font-weight: 600; font-size: .95rem; padding: 12px 14px; border-radius: 999px; min-height: 44px; display: inline-flex; align-items: center; }
@media (hover: hover) { .nav a:hover { background: var(--cream); color: var(--rust); } }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--cream); border: 1px solid var(--rule); font-size: .85rem; font-weight: 600; white-space: nowrap; }
.pill-state { font-weight: 700; }
.pill-detail:not(:empty)::before { content: "·"; margin-right: 6px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--caramel); position: relative; flex: none; }
.pill.is-open .dot { background: #2F7A3A; }
.pill.is-open .dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #2F7A3A; animation: ping 1.8s var(--ease) infinite; }
.pill.is-closed .dot { background: var(--oxblood); }
@keyframes ping { to { transform: scale(2.6); opacity: 0; } }
.lang { display: flex; border: 1.5px solid var(--ink); border-radius: 999px; padding: 2px; }
.lang button { min-width: 44px; min-height: 40px; border: 0; background: none; border-radius: 999px; font: 700 .8rem var(--sans); letter-spacing: .08em; color: var(--ink); cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

/* Hero */
.hero { padding: clamp(32px, 6vw, 80px) 0 clamp(40px, 6vw, 72px); position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero-h { font-size: clamp(2.6rem, 5.4vw, 5.6rem); line-height: .98; letter-spacing: -.025em; margin-bottom: 22px; }
.line { display: block; white-space: nowrap; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.line-in { display: inline-block; }
.js .line-in { animation: rise 1s var(--ease) both; }
.js .line:nth-child(2) .line-in { animation-delay: .12s; }
.js .line:nth-child(3) .line-in { animation-delay: .24s; }
@keyframes rise { from { translate: 0 108%; } to { translate: 0 0; } }
.motto { font: italic 400 clamp(1.5rem, 2.4vw, 2rem)/1.2 var(--serif); color: var(--oxblood); display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.motto .heart { width: 22px; height: 22px; }
.lede { max-width: 34em; font-size: 1.1rem; margin-bottom: 30px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.js .hero-copy > .label, .js .motto, .js .lede, .js .cta { animation: fadeUp .9s var(--ease) both .45s; }
.js .lede { animation-delay: .55s; } .js .cta { animation-delay: .65s; }
@keyframes fadeUp { from { opacity: 0; translate: 0 16px; } }

.hero-art { position: relative; }
.stage { position: relative; overflow: hidden; aspect-ratio: 1; width: 100%; max-width: 600px; margin-inline: auto; }
.stage::before { content: ""; position: absolute; inset: 9%; border-radius: 50%; background: radial-gradient(circle at 50% 42%, #FFF8EC, var(--cream) 62%, #F5DFBF); box-shadow: 0 0 0 1px var(--rule), 0 0 0 10px var(--paper), 0 0 0 11px var(--rule); }
.ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 60s linear infinite; }
.ring text { font: 700 15px var(--sans); letter-spacing: .2em; fill: var(--rust); }
@keyframes spin { to { rotate: 360deg; } }
.loaf-fallback, .loaf-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.loaf-fallback { transition: opacity .6s; }
.loaf-canvas { opacity: 0; transition: opacity .8s; }
.stage.gl-on .loaf-canvas { opacity: 1; }
.stage.gl-on .loaf-fallback { opacity: 0; }
.stage-cap { text-align: center; font: italic 1.1rem var(--serif); color: var(--rust); margin-top: 6px; }

/* Marquee */
.marquee { background: var(--oxblood); color: var(--cream); overflow: hidden; border-block: 1px solid var(--ink-deep); }
.marquee-track { display: flex; width: max-content; animation: marq 38s linear infinite; }
.marquee-row { display: flex; align-items: center; gap: 28px; padding: 18px 14px; white-space: nowrap; font: italic 400 clamp(1.4rem, 2.6vw, 2.1rem)/1 var(--serif); }
.marquee-row svg { width: 18px; height: 18px; fill: var(--crust-light); flex: none; }
@keyframes marq { to { transform: translateX(-50%); } }

/* Section heads */
section { position: relative; }
.sec-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.sec-head h2 { margin-bottom: 18px; }
.sec-lede { font-size: 1.1rem; max-width: 36em; }

/* Counter */
.counter { padding: clamp(64px, 9vw, 120px) 0; background: linear-gradient(var(--cream), var(--paper)); }
.counter-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.shelf { display: grid; gap: 34px; }
.shelf-h { font: 600 .8rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--rust); padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px solid var(--rule); }
.shelf-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 0; }
.item { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto auto auto; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--rule); position: relative; }
.item-ico { width: 48px; height: 48px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1px var(--rule); display: grid; place-items: center; }
.item-ico svg, .token svg { width: 32px; height: 32px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.item-txt { display: grid; min-width: 0; }
.item-name { font: 500 1.22rem/1.15 var(--serif); }
.item-sub { font-size: .85rem; color: #6A3A18; line-height: 1.35; }
.item-qty { font: 600 1.6rem/1 var(--hand); color: var(--rust); min-width: 1ch; }
.qbtn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--paper); color: var(--ink); font: 500 1.4rem/1 var(--sans); cursor: pointer; display: grid; place-items: center; transition: transform .2s var(--ease), background-color .2s; }
.qbtn.plus { background: var(--ink); color: var(--paper); }
.qbtn[hidden] { display: grid; visibility: hidden; }
.qbtn:active { transform: scale(.9); }
@media (hover: hover) { .qbtn.plus:hover { background: var(--oxblood); transform: rotate(90deg); } .qbtn.minus:hover { background: var(--cream); } }
.item.has .item-ico { background: var(--crust-light); }

/* Bag */
.bag-col { position: sticky; top: 100px; display: grid; gap: 16px; justify-items: center; }
.bag { position: relative; width: 100%; max-width: 400px; padding-top: 30px; transform-origin: 50% 100%; }
.bag-back { position: absolute; left: 7%; right: 7%; top: 0; height: 70px; background: var(--kraft-dark); border-radius: 4px 4px 0 0;
  background-image: linear-gradient(-45deg, var(--paper) 7px, transparent 0), linear-gradient(45deg, var(--paper) 7px, transparent 0);
  background-size: 14px 14px; background-repeat: repeat-x; background-position: left top; }
.bag-back::after { content: ""; position: absolute; inset: 14px 0 0; background: linear-gradient(#5A2C0E, #8B5A2E 70%); opacity: .9; }
.bag-body { position: relative; margin-top: 14px; padding: 30px clamp(20px, 3vw, 34px) 30px; min-height: 380px; color: var(--ink);
  background:
    linear-gradient(90deg, rgba(62,26,6,.10), transparent 9% 91%, rgba(62,26,6,.12)),
    repeating-linear-gradient(90deg, transparent 0 3px, rgba(255,255,255,.05) 3px 4px),
    var(--kraft);
  box-shadow: 0 30px 50px -28px rgba(43, 18, 4, .55), 0 2px 0 rgba(43,18,4,.15); border-radius: 0 0 10px 10px; }
.bag-edge { position: absolute; left: 0; right: 0; top: -12px; height: 12px;
  background: linear-gradient(-45deg, var(--kraft) 6px, transparent 0) 0 100% / 12px 12px repeat-x, linear-gradient(45deg, var(--kraft) 6px, transparent 0) 0 100% / 12px 12px repeat-x; }
.bag-stamp { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 10px; mix-blend-mode: multiply; opacity: .92; filter: sepia(.4) saturate(1.2); }
.bag-title { text-align: center; font: italic 500 1.6rem/1.1 var(--serif); margin-bottom: 14px; }
.bag-empty { font: 500 1.45rem/1.25 var(--hand); text-align: center; color: #4E250B; padding: 18px 8px; }
.bag-list { list-style: none; margin: 0; padding: 0; font: 600 1.55rem/36px var(--hand);
  background: repeating-linear-gradient(transparent 0 35px, rgba(62,26,6,.22) 35px 36px); }
.bag-list li { display: flex; gap: 10px; min-height: 36px; }
.bag-list .q { color: var(--oxblood); min-width: 2.2ch; }
.bag-list li.new { animation: write .6s steps(14, end) both; }
@keyframes write { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.bag-count { margin-top: 12px; font: 700 .78rem var(--sans); letter-spacing: .14em; text-transform: uppercase; text-align: right; color: #4E250B; }
.bag-count:empty { display: none; }
.bag-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; width: 100%; max-width: 400px; }
.bag-actions .btn { flex: 1 1 100%; }
.bag-actions .btn-line { flex: 1 1 40%; }
.note { font-size: .92rem; color: #5A2C0E; text-align: center; font-style: italic; }
.token { position: fixed; z-index: 120; width: 56px; height: 56px; border-radius: 50%; background: var(--crust-light); display: grid; place-items: center; pointer-events: none; box-shadow: 0 6px 16px rgba(43,18,4,.25); }

.bag-pill { position: fixed; right: 16px; bottom: 16px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px 0 16px; border-radius: 999px; background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 700; box-shadow: 0 10px 30px rgba(43,18,4,.35); }
.bag-pill[hidden] { display: none; }
.bag-pill svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linejoin: round; }

/* Orders */
.orders { padding: clamp(64px, 9vw, 120px) 0; }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.card { position: relative; display: flex; flex-direction: column; gap: 10px; background: var(--cream); border-radius: 22px; padding: 12px 12px 18px; box-shadow: inset 0 0 0 1px var(--rule); transition: transform .45s var(--ease), box-shadow .45s; }
.card-img { margin: 0 0 8px; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 5; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card h3 { font-size: 1.55rem; padding-inline: 6px; }
.card > p:not(.stamp) { padding-inline: 6px; font-size: .98rem; }
.stamp { position: absolute; top: 22px; right: 22px; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; text-align: center; background: var(--paper); color: var(--oxblood); font: italic 500 1.05rem/1 var(--serif); box-shadow: 0 0 0 4px var(--paper), inset 0 0 0 1px var(--oxblood); rotate: -8deg; padding: 6px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0 6px; }
.chips li { font-size: .82rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--rust); color: var(--rust); }
.add { margin-top: auto; align-self: flex-start; min-height: 44px; padding: 0 16px 0 12px; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--paper); font: 700 .9rem var(--sans); color: var(--ink); cursor: pointer; align-items: center; gap: 6px; margin-left: 6px; }
.add::before { content: "+"; font-size: 1.2rem; font-weight: 500; }
@media (hover: hover) {
  .card:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--rule), 0 24px 40px -24px rgba(43,18,4,.4); }
  .card:hover .card-img img { transform: scale(1.05); }
  .add:hover { background: var(--ink); color: var(--paper); }
}
.phone-strip { margin-top: clamp(32px, 4vw, 56px); display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; padding: 26px 0; border-block: 1px solid var(--ink); text-decoration: none; }
.phone-k { font: 700 .8rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--rust); }
.phone-n { font: 400 clamp(2rem, 6vw, 4.6rem)/1 var(--serif); letter-spacing: -.02em; white-space: nowrap; }
@media (hover: hover) { .phone-strip:hover .phone-n { color: var(--rust); } }

/* Coffee */
.coffee { padding: clamp(64px, 9vw, 120px) 0; background: var(--cream); }
.coffee-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.coffee-img { margin: 0; border-radius: 999px 999px 24px 24px; overflow: hidden; box-shadow: 0 0 0 1px var(--rule), 0 0 0 12px var(--paper), 0 0 0 13px var(--rule); max-width: 460px; }
.coffee-copy h2 { margin-bottom: 18px; }
.drinks { list-style: none; margin: 34px 0 0; padding: 0; border-top: 1px solid var(--ink); }
.drinks li { display: flex; align-items: baseline; gap: 22px; padding: 14px 0; border-bottom: 1px solid var(--rule); font: 400 clamp(1.6rem, 3vw, 2.4rem)/1.1 var(--serif); }
.drinks li:nth-child(even) { font-style: italic; }
.dn { font: 700 .75rem var(--sans); letter-spacing: .12em; color: var(--rust); min-width: 2.4ch; }

/* MANA */
.mana { background: var(--ink-deep); color: var(--cream); padding: clamp(80px, 10vw, 140px) 0 clamp(64px, 8vw, 110px); overflow: hidden; }
.mana::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 26px;
  background: radial-gradient(circle at 50% 0, var(--oxblood) 18px, transparent 19px) 0 0 / 40px 26px repeat-x; }
.mana-in { max-width: 980px; text-align: center; display: grid; justify-items: center; gap: 22px; }
.mana .label { justify-content: center; margin-bottom: 0; }
.mana h2 { font-size: clamp(2.2rem, 5.4vw, 4.6rem); }
.mana-name { font-style: italic; color: var(--crust-light); white-space: nowrap; }
.mana p:not(.label) { max-width: 36em; font-size: 1.1rem; color: #F3E2C8; }

/* Visit */
.visit { padding: clamp(64px, 9vw, 120px) 0; }
.visit-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.visit-photos { position: relative; padding-bottom: 18%; }
.shopfront { margin: 0; }
.shopfront img { border-radius: 18px; box-shadow: 0 0 0 1px var(--rule); }
.shopfront figcaption { margin-top: 12px; font: italic 1.1rem var(--serif); color: var(--oxblood); max-width: 50%; }
.interior { position: absolute; right: -2%; bottom: 0; width: 46%; margin: 0; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 8px var(--paper), 0 20px 40px -20px rgba(43,18,4,.5); rotate: 3deg; }
.visit-copy h2 { margin-bottom: 26px; }
.addr { font: normal 400 clamp(1.4rem, 2.4vw, 1.9rem)/1.25 var(--serif); display: grid; margin-bottom: 16px; }
.tram { display: flex; gap: 10px; align-items: center; margin-bottom: 28px; }
.tram svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--rust); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hours { width: 100%; border-collapse: collapse; margin-bottom: 28px; }
.hours caption { text-align: left; font: 700 .8rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--rust); padding-bottom: 10px; }
.hours th, .hours td { padding: 10px 0; border-bottom: 1px solid var(--rule); font-weight: 500; }
.hours th { text-align: left; font-weight: 600; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.closed td { font-style: italic; color: #6A3A18; }
.hours tr.today th, .hours tr.today td { color: var(--oxblood); font-weight: 800; }
.today-tag { display: inline-block; margin-left: 10px; font: 700 .68rem var(--sans); letter-spacing: .12em; text-transform: uppercase; background: var(--oxblood); color: var(--paper); padding: 3px 8px; border-radius: 999px; vertical-align: .15em; }
.visit-links { display: flex; flex-wrap: wrap; gap: 10px; }
.visit-links .btn-line { word-break: break-all; }

/* Footer */
.ftr { background: var(--ink); color: var(--cream); padding: clamp(48px, 6vw, 80px) 0 28px; }
.wordmark { font: 400 clamp(3rem, 12vw, 12rem)/.9 var(--serif); letter-spacing: -.035em; color: var(--crust-light); white-space: nowrap; margin-bottom: clamp(32px, 4vw, 56px); overflow: hidden; }
.wordmark span { display: inline-block; }
.ftr-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding-bottom: 36px; border-bottom: 1px solid rgba(251, 238, 218, .2); }
.ftr-h { font: 700 .78rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--crust-light); margin-bottom: 10px; }
.ftr a { text-decoration-color: rgba(251,238,218,.4); text-underline-offset: 4px; display: inline-block; padding-block: 6px; }
.ftr-base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-top: 20px; font-size: .9rem; }
.ftr .heart { fill: var(--crust-light); }
.back { min-height: 44px; display: inline-flex !important; align-items: center; font-weight: 700; }

/* Reveal */
.js .reveal { opacity: 0; translate: 0 26px; transition: opacity .8s var(--ease), translate .8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.in { opacity: 1; translate: 0 0; }

/* Responsive */
@media (max-width: 1099px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shelf-list { grid-template-columns: 1fr; }
}
@media (max-width: 989px) {
  .hdr-in { grid-template-columns: auto 1fr auto; gap: 10px 14px; padding-top: 8px; }
  .nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; padding-inline: 12px; }
  .pill { justify-self: end; }
  .counter-grid { grid-template-columns: 1fr; }
  .bag-col { position: static; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; width: 100%; margin-inline: auto; }
  .coffee-grid, .visit-grid { grid-template-columns: 1fr; }
  .coffee-img { max-width: 380px; margin-inline: auto; }
}
@media (max-width: 639px) {
  body { font-size: 1rem; }
  .brand-txt { display: none; }
  .brand img { width: 46px; height: 46px; }
  .pill-detail { display: none; }
  .pill { padding: 8px 12px; }
  .cards { grid-template-columns: 1fr; }
  .card-img { aspect-ratio: 5 / 4; }
  .ftr-grid { grid-template-columns: 1fr; }
  .item { grid-template-columns: 44px minmax(0, 1fr) auto auto auto; gap: 8px; }
  .item-ico { width: 44px; height: 44px; }
  .item-name { font-size: 1.1rem; }
  .shopfront figcaption { max-width: 100%; }
  .visit-photos { padding-bottom: 0; }
  .interior { position: relative; right: auto; width: 72%; margin: 18px 0 0 auto; }
  .bag-actions .btn-line { flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html, html:focus-within { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .marquee-track, .ring { animation: none !important; }
  .js .reveal { translate: none; }
}
.stage::after { content: ""; position: absolute; left: 22%; right: 22%; top: 63%; height: 9%; border-radius: 50%; background: radial-gradient(closest-side, rgba(62,26,6,.32), rgba(62,26,6,0)); opacity: 0; transition: opacity .8s; z-index: 0; }
.stage.gl-on::after { opacity: 1; }
.loaf-canvas { z-index: 1; }

::selection { background: var(--crust-light); color: var(--ink-deep); }
