/* Public site v0.5: Muji-style minimal, white + gold. Tokens come from /shared/tokens.css.
   Patterns (sticky condensing header, autoplay highlights with progress dots, scroll reveals, jump-nav, tidy footer)
   are written fresh for Crema; no third-party code or tracking. */
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.skip:focus { position: fixed; left: 8px; top: 8px; width: auto; height: auto; clip: auto; background: var(--white); padding: .5rem 1rem; z-index: 30; border: 1px solid var(--line); }

/* ---------- header ---------- */
.top { display: flex; align-items: center; gap: 1rem; padding: .85rem clamp(1rem, 4vw, 3rem); position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .92); border-bottom: 1px solid transparent; transition: padding .25s ease, border-color .25s ease, box-shadow .25s ease; }
@supports (backdrop-filter: blur(8px)) { .top { background: rgba(255, 255, 255, .78); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); } }
.top.scrolled { padding-top: .5rem; padding-bottom: .5rem; border-bottom-color: var(--line); }
.brand { display: flex; align-items: center; gap: .6rem; color: var(--ink); text-decoration: none; font: 600 1.05rem var(--font-head); margin-right: auto; }
.top nav { display: flex; gap: 1.4rem; }
.top nav a { color: var(--ink); text-decoration: none; padding: .5rem 0; border-bottom: 2px solid transparent; font-size: .92rem; transition: border-color .2s; }
.top nav a:hover, .top nav a[aria-current] { border-bottom-color: var(--gold); }
.top nav a.nav-ask { font-weight: 600; border: 1px solid var(--gold); border-radius: 99px; padding: .3rem .95rem; }
@media (max-width: 719px) { .top nav a.nav-ask { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: .85rem 0; } }
.tools { display: flex; gap: .5rem; align-items: center; }
.lang { background: var(--white); border: 1px solid var(--line); border-radius: 99px; min-width: 48px; min-height: 40px; padding: 0 .8rem; font: 600 .82rem var(--font-body); cursor: pointer; color: var(--ink); transition: border-color .2s, background .2s; }
.lang:hover { border-color: var(--gold); }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 99px; background: var(--white); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, top .25s ease; }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); } .burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
@media (max-width: 719px) {
  .burger { display: block; }
  .top nav { position: fixed; left: 0; right: 0; top: 0; padding: 5.2rem clamp(1rem, 4vw, 3rem) 1.5rem; flex-direction: column; gap: 0; background: var(--white); border-bottom: 1px solid var(--line);
    transform: translateY(-105%); transition: transform .3s ease; z-index: -1; visibility: hidden; }
  .top nav.open { transform: none; visibility: visible; }
  .top nav a { font-size: 1.25rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
}

/* ---------- layout ---------- */
main { max-width: 1100px; margin: 0 auto; padding: clamp(1rem, 4vw, 2.5rem) clamp(1rem, 4vw, 2rem) clamp(2rem, 6vw, 4rem); }
h2 { font-size: 1.15rem; padding-bottom: .5rem; border-bottom: 1px solid var(--line); }
h2.mt { margin-top: 2rem; }
.note { color: var(--muted); font-size: .9rem; }
address { font-style: normal; }
.crop { position: relative; width: 100%; aspect-ratio: 3 / 2; overflow: hidden; background: var(--stone); border-radius: 10px; }
/* The source file is a 1080x1080 social frame (photo + border + caption text). This window shows only the photo area, between the border and the caption; the file itself is not altered. */
.crop img { position: absolute; width: 133.33%; max-width: none; left: -16.67%; top: -84.44%; height: auto; display: block; }

/* ---------- hero ---------- */
.hero { display: grid; gap: clamp(1.5rem, 5vw, 3.5rem); align-items: center; padding: clamp(1rem, 5vw, 3.5rem) 0 clamp(2rem, 6vw, 4rem); grid-template-columns: 1fr; }
.hero h1 { font-size: clamp(2.1rem, 6.5vw, 3.8rem); font-weight: 500; margin-bottom: .35em; line-height: 1.1; }
.lead { font-size: clamp(1.05rem, 2.4vw, 1.3rem); color: var(--muted); max-width: 32ch; margin: 0 0 1.6rem; }
.cta { display: flex; gap: .75rem; flex-wrap: wrap; }
.hero-text > *, .hero-img { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.hero-text > :nth-child(2) { animation-delay: .06s; } .hero-text > :nth-child(3) { animation-delay: .12s; } .hero-text > :nth-child(4) { animation-delay: .18s; } .hero-img { animation-delay: .1s; margin: 0; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.badge { display: inline-block; margin: 0 0 1rem; padding: .25rem .8rem; border: 1px solid var(--line); border-radius: 99px; background: var(--stone); font-size: .85rem; color: var(--ink); }
.badge.open::before, .badge.closed::before { content: ""; display: inline-block; width: .55rem; height: .55rem; border-radius: 50%; margin-right: .5rem; background: var(--gold); }
.badge.closed::before { background: var(--muted); }
.btn { transition: filter .2s, transform .15s, border-color .2s; } .btn:active { transform: scale(.98); }

/* ---------- scroll reveal (content stays visible without JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- highlights carousel ---------- */
.hl { margin-bottom: clamp(2rem, 6vw, 4rem); }
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); margin-bottom: 1rem; }
.sec-head h2 { border: 0; margin: 0; padding: .3rem 0; }
.hl-ctl { display: flex; gap: .4rem; }
.ib { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); cursor: pointer; display: grid; place-items: center; transition: border-color .2s, background .2s; }
.ib:hover { border-color: var(--gold); background: var(--stone); }
.ib svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ib .i-play { display: none; fill: var(--ink); } .hl.paused .ib .i-play { display: block; } .hl.paused .ib .i-pause { display: none; }
.hl-view { overflow: hidden; border-radius: 12px; border: 1px solid var(--line); background: var(--stone); touch-action: pan-y; }
.hl-track { display: flex; transition: transform .6s cubic-bezier(.4, 0, .2, 1); will-change: transform; }
.slide { flex: 0 0 100%; min-width: 0; display: grid; grid-template-columns: 1fr; align-items: center; min-height: 300px; }
@media (min-width: 760px) { .slide { min-height: 360px; } .slide.photo { grid-template-columns: 1.15fr 1fr; } }
.slide-img { padding: 1rem; } .slide-img .crop { border-radius: 8px; }
.slide-txt { padding: clamp(1.25rem, 4vw, 2.5rem); max-width: 46ch; }
.slide-txt h3 { font-size: clamp(1.3rem, 3.4vw, 1.9rem); font-weight: 500; line-height: 1.2; }
.eyebrow { margin: 0 0 .5rem; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0 0 1.2rem; }
.tags li { padding: .2rem .75rem; border: 1px solid var(--line); background: var(--white); border-radius: 99px; font-size: .85rem; }
.dots { display: flex; justify-content: center; gap: 0; margin-top: .6rem; }
/* each dot is a 24px-high tap target; the visible pill is drawn inside it */
.dot { position: relative; width: 24px; height: 24px; padding: 0; border: 0; background: transparent; cursor: pointer; transition: width .3s ease; }
.dot::after { content: ""; position: absolute; inset: 7px; border-radius: 99px; background: var(--line); transition: background .2s; }
.dot[aria-current="true"] { width: 58px; }
.dot i { position: absolute; inset: 7px; border-radius: 99px; background: var(--gold); transform-origin: left; transform: scaleX(0); z-index: 1; }
.dot[aria-current="true"] i { animation: fill var(--dur, 6s) linear forwards; }
.hl.paused .dot[aria-current="true"] i { animation-play-state: paused; }
.hl.static .dot[aria-current="true"] i { animation: none; transform: scaleX(1); }
@keyframes fill { to { transform: scaleX(1); } }

/* ---------- hours / location ---------- */
.grid2 { display: grid; gap: clamp(1.5rem, 5vw, 4rem); grid-template-columns: 1fr; }
@media (min-width: 760px) { .grid2 { grid-template-columns: 1fr 1fr; } }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: .55rem 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; }
.hours tr.today td { font-weight: 600; }
.hours tr.today td:first-child { box-shadow: inset 3px 0 0 var(--gold); padding-left: .6rem; }

/* ---------- menu page ---------- */
.search { width: 100%; max-width: 420px; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: 99px; font: inherit; margin: .5rem 0 1rem; background: var(--white); color: var(--ink); }
.catnav { position: sticky; top: 58px; z-index: 10; display: flex; gap: .4rem; overflow-x: auto; padding: .5rem 0; margin-bottom: 1rem; background: rgba(255, 255, 255, .92); border-bottom: 1px solid var(--line); scrollbar-width: none; }
.catnav::-webkit-scrollbar { display: none; }
.catnav a { flex: none; padding: .3rem .85rem; border: 1px solid var(--line); border-radius: 99px; color: var(--ink); text-decoration: none; font-size: .85rem; background: var(--white); transition: background .2s, border-color .2s; }
.catnav a:hover { border-color: var(--gold); }
.catnav a[aria-current="true"] { background: var(--gold); border-color: var(--gold); font-weight: 600; }
.cat { margin-bottom: 2rem; scroll-margin-top: 118px; }
.cat ul { list-style: none; padding: 0; margin: 0; columns: 1; }
@media (min-width: 640px) { .cat ul { columns: 2; column-gap: 2.5rem; } }
@media (min-width: 1000px) { .cat ul { columns: 3; } }
.cat li { padding: .4rem 0; border-bottom: 1px solid var(--line); break-inside: avoid; display: flex; justify-content: space-between; gap: 1rem; }
.ip { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 600; } .ip.tba { color: var(--muted); font-weight: 400; font-size: .85rem; }

/* ---------- footer ---------- */
.ft { border-top: 1px solid var(--line); background: var(--stone); padding: clamp(1.5rem, 5vw, 3rem) clamp(1rem, 4vw, 3rem) 1.2rem; color: var(--muted); font-size: .88rem; }
.ft-grid { max-width: 1100px; margin: 0 auto; display: grid; gap: 1.5rem; grid-template-columns: 1fr 1fr; }
@media (min-width: 860px) { .ft-grid { grid-template-columns: 1.4fr 1fr 1.4fr 1fr; } }
.ft-h { font: 600 .82rem var(--font-head); color: var(--ink); margin: 0 0 .5rem; }
.ft-p { margin: 0 0 .5rem; } .ft ul { list-style: none; padding: 0; margin: 0; } .ft li { margin: .25rem 0; }
.ft a { color: var(--gold-deep); }
.ft-lang { margin-top: .4rem; }
.ft-base { max-width: 1100px; margin: 1.5rem auto 0; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .8rem; }

/* ---------- customer chat ---------- */
.pc-fab { position: fixed; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: 40; border: 0; cursor: pointer; background: var(--gold); color: var(--ink); border-radius: 99px; padding: .8rem 1.2rem; min-height: 48px;
  font: 600 .92rem var(--font-body); box-shadow: var(--pop); transition: transform .15s var(--ease); }
.pc-fab:active { transform: scale(.96); } body.pc-open .pc-fab { display: none; }
.pc-panel { position: fixed; z-index: 50; top: 0; right: 0; bottom: 0; left: 0; background: var(--white); display: flex; flex-direction: column; animation: rise .25s var(--ease); }
.pc-panel[hidden] { display: none; }
@media (min-width: 640px) { .pc-panel { top: auto; left: auto; right: 1.2rem; bottom: 1.2rem; width: 390px; height: min(600px, calc(100vh - 2.4rem)); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--pop); overflow: hidden; } }
.pc-panel header { display: flex; align-items: center; justify-content: space-between; padding: .7rem .9rem; border-bottom: 1px solid var(--line); background: var(--stone); }
.pc-list { flex: 1; overflow-y: auto; padding: .9rem; display: flex; flex-direction: column; gap: .65rem; }
.pc-msg { max-width: 92%; } .pc-msg p { margin: 0 0 .4rem; overflow-wrap: anywhere; } .pc-msg > :last-child { margin-bottom: 0; }
.pc-msg.me { align-self: flex-end; background: var(--gold); border-radius: 14px 14px 3px 14px; padding: .5rem .8rem; } .pc-msg.me p { margin: 0; }
.pc-msg.bot { align-self: flex-start; background: var(--stone); border: 1px solid var(--line); border-radius: 14px 14px 14px 3px; padding: .6rem .85rem; }
.pc-wait { color: var(--muted); }
.pc-chips { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0 .9rem .6rem; } .pc-chips.in { padding: 0; }
.pc-chip, .pc-link { padding: .3rem .8rem; border: 1px solid var(--line); border-radius: 99px; background: var(--white); color: var(--ink); font: inherit; font-size: .85rem; cursor: pointer; text-decoration: none; transition: border-color .2s; }
.pc-chip:hover, .pc-link:hover { border-color: var(--gold); }
.pc-links { display: flex; flex-wrap: wrap; gap: .4rem; }
.pc-msg .tags { margin: 0 0 .6rem; }
.pc-form { display: flex; gap: .5rem; padding: .7rem .9rem; border-top: 1px solid var(--line); } .pc-form input { flex: 1; min-width: 0; padding: .65rem .9rem; border: 1px solid var(--line); border-radius: 99px; font: inherit; font-size: 16px; -webkit-appearance: none; appearance: none; background: var(--white); color: var(--ink); }
.pc-note { margin: 0; padding: 0 .9rem .7rem; font-size: .75rem; color: var(--muted); }

/* older Safari: no aspect-ratio support */
@supports not (aspect-ratio: 1) { .crop { height: 0; padding-bottom: 66.7%; } }
.pc-wait::after { content: ''; }

/* dedicated /tanya page: the chat is shown in the page, not floating */
body[data-chat-page] .pc-fab { display: none; }
body[data-chat-page] .pc-panel { position: static; width: min(720px, calc(100% - 2rem)); height: min(640px, 78vh); margin: 0 auto 2rem; border: 1px solid var(--line); border-radius: 14px; box-shadow: none; }
body[data-chat-page] { display: flex; flex-direction: column; min-height: 100vh; } body[data-chat-page] main { flex: 0 0 auto; padding-bottom: .5rem; }

/* ---------- v0.7: pages from the handover (home, menu, visit, about, contact) ---------- */
.rating { margin: -.6rem 0 1.4rem; font-size: .9rem; } .rating a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--gold); }
.band { margin-bottom: clamp(2rem, 6vw, 3.5rem); }
.more { font-size: .9rem; white-space: nowrap; }
.tags.big { gap: .55rem; } .tags.big li { padding: 0; border: 0; background: none; }
.tags.big a { display: inline-block; padding: .45rem 1rem; border: 1px solid var(--line); border-radius: 99px; background: var(--white); color: var(--ink); text-decoration: none; font-size: .92rem; transition: border-color .2s, background .2s; }
.tags.big a:hover { border-color: var(--gold); background: var(--stone); }
.visit-strip { display: grid; gap: 1.2rem; grid-template-columns: 1fr; padding: clamp(1.2rem, 4vw, 2rem); background: var(--stone); border: 1px solid var(--line); border-radius: 12px; align-items: center; margin-top: clamp(2rem, 6vw, 3.5rem); }
@media (min-width: 860px) { .visit-strip { grid-template-columns: 1.2fr 1.2fr auto; } }
.vs-big { margin: 0; font: 500 1.05rem var(--font-head); } .visit-strip .eyebrow { margin-bottom: .2rem; }
.about { display: grid; gap: clamp(1.2rem, 4vw, 2.5rem); grid-template-columns: 1fr; align-items: center; margin: 1.2rem 0 2rem; }
@media (min-width: 820px) { .about { grid-template-columns: 1fr 1fr; } }
.about-img { margin: 0; } .about-txt p { font-size: 1.1rem; max-width: 40ch; }
.facts { display: grid; gap: 1.2rem; grid-template-columns: 1fr; padding: 1.4rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 1.6rem; }
@media (min-width: 720px) { .facts { grid-template-columns: repeat(3, 1fr); } } .facts p { margin: 0; }
.cards { display: grid; gap: 1rem; grid-template-columns: 1fr; margin: 1.4rem 0; }
@media (min-width: 720px) { .cards { grid-template-columns: 1fr 1fr; } }
.cardx { border: 1px solid var(--line); border-radius: 12px; padding: 1.2rem; background: var(--white); transition: border-color .2s; } .cardx:hover { border-color: var(--gold); }
.cardx h2 { border: 0; padding: 0; font-size: 1.05rem; } .cardx p { margin: .3rem 0 .8rem; }
main > h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); font-weight: 500; margin: .3rem 0 1rem; }
@media print { .top, .ft, .pc-fab, .pc-panel, .catnav, .search, .skip { display: none !important; } main { max-width: none; padding: 0; } .cat ul { columns: 2; } .reveal { opacity: 1 !important; transform: none !important; } }

/* ---------- v0.8: real menu with photos ---------- */
.mgrid { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 1rem; }
@media (min-width: 720px) { .mgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; } }
@media (min-width: 1000px) { .mgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.mcard { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--white); display: flex; flex-direction: column; transition: border-color .2s, transform .25s var(--ease); }
.mcard:hover { border-color: var(--gold); transform: translateY(-2px); }
.mph { position: relative; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; background: #fff; border-bottom: 1px solid var(--line); }
@supports not (aspect-ratio: 1) { .mph { height: 0; padding-bottom: 100%; } }
.mph img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s ease; }
.mph img.ok { opacity: 1; }
.mbody { padding: .7rem .8rem .9rem; display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.mbody h3 { font-size: .98rem; margin: 0; line-height: 1.25; }
.mbadge { display: inline-block; margin-left: .45rem; padding: 0 .5rem; border: 1px solid var(--gold); border-radius: 99px; font: 600 .68rem var(--font-body); color: var(--gold-deep); vertical-align: middle; letter-spacing: .02em; }
.md { margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.4; }
.mo, .mn { margin: 0; font-size: .8rem; } .mn { color: var(--gold-deep); }
.pr { margin-top: auto; padding-top: .3rem; display: flex; flex-wrap: wrap; gap: .3rem .9rem; font-variant-numeric: tabular-nums; }
.pb i { font-style: normal; font-size: .75rem; color: var(--muted); margin-right: .3rem; } .pb b { font-weight: 600; }
.pr.tba { color: var(--muted); font-size: .85rem; }
.mlist { list-style: none; padding: 0; margin: 0 0 1rem; }
.mrow { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.mrt { display: flex; flex-direction: column; gap: .1rem; min-width: 0; } .mrt b { font-weight: 500; }
.mrow .pr { margin: 0; padding: 0; flex-wrap: nowrap; justify-content: flex-end; white-space: nowrap; }
.fscroll { display: flex; gap: .9rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .6rem; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.fcard { flex: 0 0 150px; scroll-snap-align: start; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: .25rem; }
@media (min-width: 720px) { .fcard { flex-basis: 190px; } }
.fcard .mph { border: 1px solid var(--line); border-radius: 12px; transition: border-color .2s; } .fcard:hover .mph { border-color: var(--gold); }
.fcard b { font-size: .88rem; font-weight: 600; line-height: 1.25; } .fcard span { font-size: .85rem; color: var(--muted); }
.brand img { border-radius: 50%; }
.enter { display: grid; gap: 1rem; grid-template-columns: 1fr; margin: 1.5rem 0; } @media (min-width: 720px) { .enter { grid-template-columns: repeat(2, 1fr); } }
.enter .cardx h2 { font-size: 1.15rem; }

/* ---------- v0.9: activities + gallery ---------- */
.acts { display: grid; gap: 2rem; margin: 1.2rem 0 2rem; } .act h2 { margin-top: 0; } .act p { max-width: 62ch; } .awhen { color: var(--muted); }
.ggrid { display: grid; gap: .8rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 1rem 0; }
@media (min-width: 720px) { .ggrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; } } @media (min-width: 1000px) { .ggrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ggrid.small { grid-template-columns: repeat(2, minmax(0, 1fr)); } @media (min-width: 720px) { .ggrid.small { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.gtile { padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--white); cursor: zoom-in; display: block; width: 100%; transition: border-color .2s; } .gtile:hover { border-color: var(--gold); }
.gtile .mph { border-bottom: 0; }
.gstrip .gtile { flex: 0 0 150px; scroll-snap-align: start; } @media (min-width: 720px) { .gstrip .gtile { flex-basis: 190px; } }
.gal .catnav a[aria-current="true"] { border-bottom-color: var(--gold); font-weight: 600; }
dialog.lb { border: 0; padding: 1rem; max-width: min(94vw, 760px); width: 100%; border-radius: 12px; text-align: center; } dialog.lb::backdrop { background: rgba(43, 43, 43, .6); }
dialog.lb img { max-width: 100%; max-height: 72vh; object-fit: contain; } dialog.lb p { margin: .6rem 0; }
.gal .catnav[hidden] { display: none; }

/* ---------- v0.9: social media tiles (our own thumbnail + a link out) ---------- */
.gtile.sos { cursor: pointer; position: relative; color: inherit; text-decoration: none; }
.sos .plat { position: absolute; top: .45rem; left: .45rem; background: rgba(43, 43, 43, .78); color: #fff; font-size: .72rem; line-height: 1; padding: .28rem .55rem; border-radius: 99px; }
.sos .scap { display: block; padding: .45rem .55rem .6rem; font-size: .85rem; line-height: 1.3; }
.gstrip .gtile.sos { flex-basis: 170px; } @media (min-width: 720px) { .gstrip .gtile.sos { flex-basis: 210px; } }
.sos-follow { display: flex; flex-wrap: wrap; gap: .5rem; margin: .2rem 0 1rem; }

/* ---------- v0.9: the cup avatar (guide + chat trigger) ---------- */
.av { position: fixed; right: .8rem; bottom: calc(.8rem + env(safe-area-inset-bottom)); z-index: 40; display: flex; flex-direction: column; align-items: flex-end; gap: .55rem; }
body.pc-open .av { display: none; }
body.has-av .pc-fab { display: none; } /* the avatar is the chat's trigger now; the old pill stays only as the avatar's target */
.av-btn { width: 72px; height: 72px; padding: 0; border: 0; background: transparent; cursor: pointer; border-radius: 50%; transition: transform .2s var(--ease); -webkit-tap-highlight-color: transparent; }
.av-btn img { width: 100%; height: 100%; display: block; filter: drop-shadow(0 6px 10px rgba(43, 43, 43, .18)); pointer-events: none; }
.av-btn:hover { transform: translateY(-2px) scale(1.04); } .av-btn:active { transform: scale(.94); }
.av-btn:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 2px; }
.av-bubble { margin: 0; max-width: 200px; background: var(--white); border: 1px solid var(--line); border-radius: 14px 14px 3px 14px; padding: .5rem .8rem; font-size: .88rem; box-shadow: var(--pop); animation: rise .3s var(--ease); }
.av-bubble[hidden], .av-card[hidden] { display: none; }
.av-bubble { pointer-events: none; }
/* phones: no speech bubble (it covered the rating and buttons); the cup gives one small nudge instead */
@media (max-width: 600px) { .av-bubble { display: none; } }
@media (prefers-reduced-motion: no-preference) { .av-btn.av-nudge { animation: avNudge .9s var(--ease) 2; } }
@keyframes avNudge { 0%, 100% { transform: translateY(0) rotate(0); } 30% { transform: translateY(-8px) rotate(-6deg); } 60% { transform: translateY(0) rotate(4deg); } }
.av-card { position: relative; width: min(300px, calc(100vw - 1.6rem)); background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 1rem 1rem .9rem; box-shadow: var(--pop); animation: rise .25s var(--ease); }
.av-x { position: absolute; top: .35rem; right: .45rem; width: 36px; height: 36px; border: 0; background: transparent; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--muted); border-radius: 50%; }
.av-hi { margin: 0 2rem .15rem 0; font: 600 1rem var(--font-head); } .av-tip { margin: 0 0 .75rem; color: var(--muted); font-size: .88rem; }
.av-ask { display: flex; flex-direction: column; align-items: flex-start; width: 100%; gap: .1rem; border: 0; cursor: pointer; background: var(--gold); color: var(--ink); border-radius: 12px; padding: .65rem .9rem; min-height: 48px; font: inherit; text-align: left; }
.av-ask b { font-size: .95rem; } .av-ask span { font-size: .78rem; opacity: .85; }
.av-links { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .7rem; }
.av-link { padding: .4rem .8rem; border: 1px solid var(--line); border-radius: 99px; background: var(--white); color: var(--ink); font: inherit; font-size: .85rem; cursor: pointer; text-decoration: none; min-height: 36px; transition: border-color .2s; } .av-link:hover { border-color: var(--gold); }
.av-who { display: flex; align-items: center; gap: .5rem; } .av-who img { width: 34px; height: 34px; }
@media (max-width: 420px) { .av-btn { width: 64px; height: 64px; } }
@media print { .av { display: none; } }

/* ---------- v0.9: the Highlights carousel sits at the top; its first slides are reels (with a sound button), photos and social posts ---------- */
.hl { margin-top: clamp(.5rem, 2vw, 1.25rem); }
.slide.media { position: relative; display: block; min-height: 0; aspect-ratio: 1 / 1; background: #181614; color: #fff; overflow: hidden; }
@media (min-width: 760px) { .slide.media { aspect-ratio: 2 / 1; min-height: 0; max-height: 70vh; } }
.hs-media { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
img.hs-media { object-fit: cover; } video.hs-media { object-fit: contain; }
.hs-bg { position: absolute; inset: -12%; width: 124%; height: 124%; object-fit: cover; filter: blur(26px) brightness(.7); }
.hs-top { position: absolute; z-index: 2; top: 0; left: 0; right: 0; padding: .7rem .8rem 1.6rem; background: linear-gradient(rgba(0, 0, 0, .5), transparent); display: flex; align-items: center; justify-content: space-between; gap: .5rem; pointer-events: none; }
.hs-top > * { pointer-events: auto; }
.hs-tag { font-size: .8rem; font-weight: 600; letter-spacing: .02em; padding: .25rem .65rem; border-radius: 99px; background: rgba(0, 0, 0, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 55%; }
.hs-btn { min-width: 44px; height: 44px; border: 0; border-radius: 22px; background: rgba(0, 0, 0, .5); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: 0 .85rem; font: inherit; font-size: .82rem; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hs-btn:hover { background: rgba(0, 0, 0, .75); } .hs-btn[hidden] { display: none; }
.hs-btn:focus-visible, .hs-link:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.hs-foot { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 2.4rem 1.1rem 1.1rem; background: linear-gradient(transparent, rgba(0, 0, 0, .72)); display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; pointer-events: none; }
.hs-foot[hidden] { display: none; } .hs-foot > * { pointer-events: auto; } .hs-cap { margin: 0; font-size: .98rem; line-height: 1.4; max-width: 60ch; } .hs-cap[hidden] { display: none; }
.hs-link { display: inline-block; padding: .5rem 1rem; border-radius: 99px; background: var(--gold); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .86rem; min-height: 40px; line-height: 1.7; }
.hs svg, .hs-btn svg { display: block; }
@media print { .hs-btn { display: none; } }

/* ---------- v0.9: About page, "Inside Crema Cafe" (café photos with thumbnails) ---------- */
.inside { margin: 1rem 0 2rem; } .inside[hidden] { display: none; }
.in-h { font-size: clamp(1.3rem, 3.4vw, 1.9rem); font-weight: 500; margin: 0 0 .8rem; }
.in-stage { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #181614; }
.in-feat { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; aspect-ratio: 16 / 9; }
.in-feat img { width: 100%; height: 100%; object-fit: cover; display: block; }
.in-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .5); color: #fff; font-size: 1.7rem; line-height: 1; cursor: pointer; padding: 0 0 .15rem; }
.in-nav:hover { background: rgba(0, 0, 0, .75); } .in-nav.prev { left: .6rem; } .in-nav.next { right: .6rem; }
.in-nav:focus-visible, .in-feat:focus-visible, .in-th:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 2px; }
.in-cap { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 1.8rem 1rem .8rem; color: #fff; font-size: .95rem; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); pointer-events: none; }
.in-count { opacity: .75; margin-left: .4rem; font-size: .85rem; }
.in-thumbs { display: flex; gap: .5rem; margin-top: .6rem; overflow-x: auto; padding-bottom: .3rem; scroll-snap-type: x proximity; }
.in-th { flex: 0 0 auto; width: 96px; aspect-ratio: 16 / 9; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: var(--stone); scroll-snap-align: start; opacity: .75; }
.in-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.in-th[aria-current="true"] { border-color: var(--gold); opacity: 1; } @media (min-width: 720px) { .in-th { width: 128px; } }
.about.no-img { grid-template-columns: 1fr; } .about.no-img .about-txt p { max-width: 62ch; }

/* slow, gentle zoom on photo slides (not for reduce-motion) */
@media (prefers-reduced-motion: no-preference) { .slide.media img.hs-media { transform: scale(1); } .slide.media[aria-hidden="false"] img.hs-media { animation: hskb 9s ease-out both; } .hl.paused .slide.media[aria-hidden="false"] img.hs-media { animation-play-state: paused; } }
@keyframes hskb { from { transform: scale(1); } to { transform: scale(1.07); } }

/* workshops (v0.9): date, time, fee, seats, included + booking */
.evt { border: 1px solid var(--line, #e7e1d6); border-radius: 12px; padding: 1.2rem 1.2rem 1.3rem; scroll-margin-top: 5rem; }
.evt-facts { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1rem; margin: .9rem 0 1rem; } .evt-facts dt { color: var(--muted); font-size: .85rem; } .evt-facts dd { margin: 0; font-weight: 500; }
.evt-book { display: flex; flex-wrap: wrap; gap: .8rem 1rem; align-items: flex-end; } .evt-n { display: grid; gap: .25rem; font-size: .85rem; color: var(--muted); }
.evt-num { width: 5rem; min-height: 44px; padding: 0 .6rem; border: 1px solid var(--ink); border-radius: 8px; font: inherit; color: var(--ink); background: #fff; }
#bengkel { scroll-margin-top: 5rem; }

/* reserve room for content that arrives from the server, so the footer does not jump (layout shift) */
.js body[data-page="menu"] main, .js body[data-page="aktiviti"] main { min-height: 200vh; }
.js .about { min-height: 17rem; } .js .about.no-img { min-height: 15rem; }

/* pages whose text is filled in from the server stay hidden for a split second (2 s at most) instead of jumping while they fill in */
.js:not(.ready) body:is([data-page="lawat"], [data-page="tentang"], [data-page="hubungi"]) :is(main, footer) { visibility: hidden; }

/* tablet widths: keep the brand and the ask button on one line */
.brand, .top nav a.nav-ask { white-space: nowrap; }
@media (min-width: 720px) and (max-width: 940px) { .top nav a { font-size: .85rem; } .top nav { gap: .7rem; } .top nav a.nav-ask { padding: .3rem .7rem; } .brand { font-size: .95rem; } }

h1, h2, h3 { text-wrap: balance; }

/* Highlights v0.9: one photo, one title, one button; closing slide with hours and location */
.hs-title { margin: 0; font-size: clamp(1.35rem, 4.2vw, 2.1rem); font-weight: 600; line-height: 1.15; max-width: 22ch; text-wrap: balance; }
.hs-title[hidden] { display: none; }
.slide.info { background: linear-gradient(160deg, #2b2622, #14110f); }
.hs-info { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: center; gap: .35rem; padding: clamp(1.5rem, 6vw, 3.5rem); max-width: 40rem; }
.hs-info h3 { margin: 0 0 .25rem; font-size: clamp(1.5rem, 4.6vw, 2.4rem); font-weight: 600; line-height: 1.15; text-wrap: balance; }
.hs-info p { margin: 0; color: rgba(255, 255, 255, .86); }
.hs-btns { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .9rem !important; }
.hs-link.ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .6); }
.hs-link.ghost:hover { background: rgba(255, 255, 255, .12); }

/* ---- Google reviews (v0.9) ---- */
.rv-band { display: grid; gap: 1.2rem; grid-template-columns: 1fr; padding: clamp(1.2rem, 4vw, 2rem); border: 1px solid var(--line); border-radius: 12px; margin-top: clamp(2rem, 6vw, 3.5rem); background: var(--white); align-items: center; }
.rv-band[hidden], [data-review-wrap][hidden] { display: none; }
.rv-score { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: .2rem .8rem; } .rv-score p { margin: 0; }
.rv-num { font-family: var(--font-head, inherit); font-weight: 600; font-size: clamp(2.6rem, 9vw, 3.6rem); line-height: 1; } .rv-stars { color: var(--gold); letter-spacing: .12em; font-size: 1.1rem; } .rv-meta { grid-column: 1 / -1; font-size: .85rem; color: var(--muted); }
.rv-txt h2 { margin: 0 0 .4rem; font-size: 1.25rem; border: 0; padding: 0; } .rv-txt p { margin: 0 0 1rem; max-width: 52ch; } .rv-txt .cta { margin: 0; }
@media (min-width: 860px) { .rv-band { grid-template-columns: max-content 1fr; gap: 2.8rem; } }
.rv-line { margin: 2rem 0 0; } .rv-line a { color: var(--gold-deep); font-weight: 600; }
.facts.biz p:not(.eyebrow) { font-weight: 500; }
.rv-pg { display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: start; margin-top: 1.5rem; }
@media (min-width: 860px) { .rv-pg { grid-template-columns: 1.1fr 1fr; gap: 3rem; } }
.rv-steps ol { padding-left: 1.2rem; margin: 0 0 1.2rem; } .rv-steps li { margin: 0 0 .6rem; max-width: 46ch; }
.rv-card { margin: 0; display: grid; justify-items: center; gap: .6rem; text-align: center; padding: 1.6rem 1.2rem; border: 1px solid var(--line); border-radius: 16px; background: var(--white); max-width: 360px; }
.rv-card figcaption { display: grid; gap: .15rem; } .rv-card-t { font-family: var(--font-head, inherit); font-weight: 600; font-size: 1.35rem; } .rv-card-s { font-size: .95rem; }
.rv-qr { width: min(240px, 70vw); height: auto; image-rendering: pixelated; } .rv-logo { border-radius: 50%; } .rv-card-a { margin: 0; font-size: .8rem; color: var(--muted); }
@media print {
  .top, .ft, .av, .pc-fab, .no-print, .rv-steps, h1, .lead, .skip { display: none !important; }
  main { padding: 0 !important; } .rv-pg { display: block; margin: 0; } .rv-card { max-width: none; border: 2px solid #2B2B2B; margin: 2cm auto; width: 12cm; padding: 1cm; }
  .rv-qr { width: 8cm; } .rv-card-t { font-size: 22pt; } .rv-card-s { font-size: 13pt; } html:not(.ready) main { visibility: visible; }
}

/* ---------- delivery apps + events page (v0.9) ---------- */
.dlv-band { border-top: 1px solid var(--line); padding-top: clamp(1.4rem, 4vw, 2rem); }
.dlv-band h2 { margin: 0 0 .4rem; } .dlv-band p { max-width: 56ch; }
[data-dlv-wrap][hidden] { display: none; }
.dlv-line { margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem .8rem; align-items: center; font-weight: 600; }
.dlv-inline { display: inline-flex; flex-wrap: wrap; gap: .5rem; } .dlv-inline .btn { padding: .45rem .9rem; min-height: 44px; }
.ev-pg { display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: start; margin-top: 1.5rem; }
@media (min-width: 860px) { .ev-pg { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 3rem; } }
.ev-form label { display: block; font-weight: 600; margin: 1rem 0 .3rem; }
.ev-form input, .ev-form select, .ev-form textarea { width: 100%; box-sizing: border-box; font: inherit; padding: .7rem .8rem; min-height: 46px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: var(--ink); }
.ev-form input:focus-visible, .ev-form select:focus-visible, .ev-form textarea:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 2px; }
.ev-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.ev-err { color: #9b1c1c; font-weight: 600; margin: .8rem 0 0; }
.ev-err[hidden] { display: none; }
.ev-info ul { padding-left: 1.1rem; margin: 0 0 1rem; } .ev-info li { margin: .4rem 0; } .ev-addr, .ev-hrs { margin: .2rem 0; font-weight: 600; }

.dlv-soon { display: inline-flex; align-items: center; min-height: 44px; padding: .45rem .9rem; border: 1px solid var(--line); border-radius: var(--radius); font: 600 .95rem var(--font-body); cursor: default; }
