/* =========================================================
   Trang chủ — Nhà Của Nấm
   ========================================================= */
.m-only { display: none; }
.eyebrow--light { color: var(--rattan-l); }
.section-head { margin-bottom: clamp(36px, 5vw, 64px); display: grid; gap: 14px; }
.section-head--center { text-align: center; justify-items: center; }
.section-head--center .lead { margin-inline: auto; }

/* ================= HERO ================= */
.hero { position: relative; height: 240vh; background: var(--cream) var(--noise); }
.hero__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero__stage { position: absolute; inset: 0; perspective: 1400px; }

/* khung cửa (vị trí khởi đầu) — JS đo vị trí này để mở cửa khi cuộn */
.hero__door {
  position: absolute; inset: 0; margin: 0; z-index: 2;
  clip-path: inset(52% 14% 0 14% round 999px 999px 0 0);
  will-change: clip-path;
}
.hero__slides, .hero__slides img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__slides img { object-fit: cover; opacity: 0; transform: scale(var(--zoom, 1.12)) translate3d(var(--px, 0), var(--py, 0), 0); transition: opacity 1.6s ease; }
.hero__slides img.is-on { opacity: 1; animation: kenburns 9s ease-out both; }
@keyframes kenburns { from { scale: 1.08; } to { scale: 1; } }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(42, 24, 16, .08) 25%, rgba(42, 24, 16, .55) 60%, rgba(28, 16, 10, .92)); opacity: var(--shade, .25); }
.hero__inside { position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(48px, 12vh, 120px); color: var(--paper); opacity: var(--inside, 0); transform: translateY(calc((1 - var(--inside, 0)) * 30px)); }
.hero__inside-title { margin: 14px 0 0; font-family: var(--f-display); font-size: clamp(34px, 5.6vw, 80px); line-height: 1.04; letter-spacing: -.02em; max-width: 16ch; text-shadow: 0 2px 18px rgba(0, 0, 0, .55), 0 0 2px rgba(0, 0, 0, .3); }
.hero__inside-title em { font-style: italic; color: var(--rattan-l); }

.hero__frame { position: absolute; z-index: 1; pointer-events: none; }
.hero__ring {
  position: absolute; z-index: 1; pointer-events: none; border: 1.5px solid var(--rattan);
  border-bottom: 0; border-radius: 999px 999px 0 0; opacity: var(--ring, 1);
}
.hero__ring::after { content: ''; position: absolute; inset: 10px 10px 0; border: 1px dashed rgba(201, 147, 79, .55); border-bottom: 0; border-radius: inherit; }

.hero__side {
  position: absolute; margin: 0; z-index: 1; overflow: hidden; border-radius: var(--arch);
  box-shadow: var(--shadow-l); transform-style: preserve-3d; will-change: transform, opacity;
}
.hero__side img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); }
.hero__side::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(42, 24, 16, .35)); }

.hero__dust { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; }

.hero__copy { position: absolute; z-index: 4; will-change: transform, opacity; }
.hero__title { margin: 14px 0 8px; font-weight: 400; line-height: 1; }
.hero__title .script { display: block; font-size: clamp(66px, 9.4vw, 158px); line-height: 1.12; color: var(--cocoa); letter-spacing: -.005em; text-shadow: 0 2px 0 var(--cream), 0 10px 40px rgba(246, 238, 226, .9); }
.hero__title .script .w2 { display: block; padding-left: .9em; color: var(--clay); }
.hero__tag { margin: 0; font-family: var(--f-display); font-style: italic; font-size: clamp(18px, 1.7vw, 24px); color: var(--cocoa-2); max-width: 30ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__hint { position: absolute; z-index: 4; left: 50%; bottom: 22px; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--paper); opacity: var(--hint, 1); text-shadow: 0 1px 10px rgba(0, 0, 0, .4); }
.hero__hint i { width: 1.5px; height: 34px; background: linear-gradient(var(--paper), transparent); animation: hint 2s ease-in-out infinite; transform-origin: top; }
@keyframes hint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* Đèn mây tre */
.hero__lanterns { position: absolute; inset: 0 0 auto; height: 0; z-index: 5; pointer-events: none; }
.lantern { position: absolute; top: 0; transform-origin: 50% 0; animation: swing 6s ease-in-out infinite alternate; will-change: transform; }
.lantern__cord { display: block; width: 1.5px; height: var(--len, 120px); margin: 0 auto; background: linear-gradient(#6B3E1C, #3B2418); }
.lantern__body {
  display: block; width: var(--w, 64px); aspect-ratio: 80 / 150; margin-top: -2px; filter: drop-shadow(0 10px 18px rgba(154, 97, 48, .35));
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 150'%3E%3Cdefs%3E%3CradialGradient id='g' cx='50%25' cy='42%25' r='62%25'%3E%3Cstop offset='0' stop-color='%23FFE6B0'/%3E%3Cstop offset='.5' stop-color='%23EBAA58'/%3E%3Cstop offset='1' stop-color='%23935A2B'/%3E%3C/radialGradient%3E%3CclipPath id='c'%3E%3Cpath d='M34 14C18 18 10 30 10 44c0 16 12 26 20 32-12 8-18 20-18 32 0 18 12 30 24 34h8c12-4 24-16 24-34 0-12-6-24-18-32 8-6 20-16 20-32 0-14-8-26-24-30z'/%3E%3C/clipPath%3E%3C/defs%3E%3Cpath d='M34 14C18 18 10 30 10 44c0 16 12 26 20 32-12 8-18 20-18 32 0 18 12 30 24 34h8c12-4 24-16 24-34 0-12-6-24-18-32 8-6 20-16 20-32 0-14-8-26-24-30z' fill='url(%23g)'/%3E%3Cg clip-path='url(%23c)' stroke='%236E4220' stroke-opacity='.5' stroke-width='1.5' fill='none'%3E%3Cpath d='M18 0Q4 75 18 150M28 0Q20 75 28 150M40 0V150M52 0Q60 75 52 150M62 0Q76 75 62 150'/%3E%3Cpath d='M0 28H80M0 46H80M0 62H80M0 90H80M0 108H80M0 126H80' stroke-opacity='.35'/%3E%3C/g%3E%3Cpath d='M34 14C18 18 10 30 10 44c0 16 12 26 20 32-12 8-18 20-18 32 0 18 12 30 24 34h8c12-4 24-16 24-34 0-12-6-24-18-32 8-6 20-16 20-32 0-14-8-26-24-30z' fill='none' stroke='%236B3E1C' stroke-width='2'/%3E%3Crect x='34' y='6' width='12' height='9' rx='2' fill='%236B3E1C'/%3E%3Crect x='36' y='141' width='8' height='6' rx='2' fill='%236B3E1C'/%3E%3C/svg%3E") center / contain no-repeat;
}
.lantern__glow { position: absolute; left: 50%; top: calc(var(--len, 120px) + var(--w, 64px) * .7); width: calc(var(--w, 64px) * 4.6); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(255, 196, 110, .45), rgba(255, 196, 110, .12) 40%, transparent 68%); animation: flicker 3.6s ease-in-out infinite; mix-blend-mode: screen; }
.lantern--a { left: 6vw; --len: 90px; --w: 58px; animation-duration: 6.4s; }
.lantern--b { right: 7vw; --len: 150px; --w: 74px; animation-delay: -2s; }
.lantern--c { left: 37vw; --len: 40px; --w: 44px; animation-duration: 7.2s; animation-delay: -4s; }
@keyframes swing { from { transform: rotate(-3.2deg); } to { transform: rotate(3.2deg); } }
@keyframes flicker { 0%, 100% { opacity: .9; } 40% { opacity: .65; } 60% { opacity: 1; } 75% { opacity: .78; } }

/* Bố cục hero — máy tính */
@media (min-width: 900px) {
  .hero__frame { left: 50vw; top: 17vh; width: min(31vw, 520px); height: 90vh; }
  .hero__copy { left: max(var(--pad), 5vw); top: 50%; transform: translateY(-46%) translateY(var(--cy, 0px)); width: 44vw; }
  .hero__side--l { left: calc(50vw - min(9vw, 150px)); top: 46vh; width: min(11vw, 180px); height: 40vh; }
  .hero__side--r { left: calc(50vw + min(31vw, 520px) + 3vw); top: 30vh; width: min(13vw, 210px); height: 46vh; }
}
/* Bố cục hero — điện thoại */
@media (max-width: 899px) {
  .m-only { display: inline; }
  .hero { height: 210vh; }
  .hero__frame { left: 14vw; top: 55svh; width: 72vw; height: 60svh; }
  .hero__copy { left: var(--pad); right: var(--pad); top: calc(84px + 1svh); text-align: center; transform: translateY(var(--cy, 0px)); }
  .hero__copy .eyebrow { justify-content: center; }
  .hero__copy .eyebrow::before { display: none; }
  .hero__title { margin-top: 8px; }
  .hero__title .script { font-size: clamp(50px, 14vw, 92px); line-height: 1.12; }
  .hero__title .script .w2 { padding-left: 0; }
  .hero__tag { margin-inline: auto; font-size: 17px; }
  .hero__cta { justify-content: center; margin-top: 18px; }
  .hero__cta .btn--lg { min-height: 48px; padding: 0 20px; font-size: 15px; }
  .hero__side--l { left: -9vw; top: 66svh; width: 20vw; height: 30svh; }
  .hero__side--r { right: -9vw; top: 62svh; width: 20vw; height: 34svh; }
  .d-only { display: none; }
  .lantern--a { left: 4vw; --len: 68px; --w: 34px; }
  .lantern--b { right: 5vw; --len: 70px; --w: 40px; }
  .lantern--c { display: none; }
}
@media (max-width: 899px) and (max-height: 700px) {
  .hero__frame { top: 60svh; }
  .hero__tag { display: none; }
}

/* ================= CÂU CHUYỆN ================= */
.story { position: relative; z-index: 2; background: var(--cocoa-3) var(--noise); color: #EADBC6; padding: clamp(90px, 13vw, 180px) 0; margin-top: -1px; }
.story::before { content: ''; position: absolute; left: 0; right: 0; top: -60px; height: 60px; background: linear-gradient(transparent, var(--cocoa-3)); pointer-events: none; }
.story__wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.story__sign { border-radius: var(--arch); overflow: hidden; aspect-ratio: 3 / 4.2; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.story__sign img { width: 100%; height: 100%; object-fit: cover; }
.story__quote { margin: 22px 0 0; font-family: var(--f-display); font-weight: 300; font-size: clamp(26px, 3.3vw, 46px); line-height: 1.28; letter-spacing: -.012em; color: var(--paper); }
.story__quote .w { opacity: .16; transition: opacity .4s ease, color .4s; }
.story__quote .w.on { opacity: 1; }
.story__quote .w.hl { font-style: italic; color: var(--rattan-l); }
.story__quote .leaf { display: inline-block; margin: 0 .2em; color: var(--clay-l); opacity: .16; transition: opacity .4s; }
.story__quote .leaf.on { opacity: 1; }
.story__facts { list-style: none; margin: clamp(40px, 6vw, 70px) 0 0; padding: 30px 0 0; border-top: 1px solid rgba(255, 255, 255, .14); display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.story__facts strong { display: block; font-family: var(--f-display); font-weight: 400; font-size: clamp(38px, 4.4vw, 62px); line-height: 1; color: var(--paper); }
.story__facts span { display: block; margin-top: 8px; font-size: 13.5px; color: #BFAE99; }
@media (max-width: 860px) {
  .story__wrap { grid-template-columns: 1fr; }
  .story__sign { max-width: 360px; width: 78%; margin-inline: auto; }
  .story__facts { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
}

/* ================= KHÔNG GIAN — vòng ảnh 3D ================= */
.space { position: relative; padding: clamp(90px, 12vw, 160px) 0 clamp(70px, 9vw, 120px); overflow: hidden; }
.space__head { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: end; margin-bottom: clamp(20px, 3vw, 40px); }
.space__head .lead { justify-self: end; margin: 0; }
.ring { position: relative; height: clamp(420px, 50vw, 640px); perspective: 1700px; perspective-origin: 50% 35%; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.ring.dragging { cursor: grabbing; }
.ring__spin { --cw: clamp(150px, 17vw, 250px); position: absolute; left: 50%; top: 46%; width: var(--cw); height: calc(var(--cw) * 1.48); margin: calc(var(--cw) * -0.74) 0 0 calc(var(--cw) / -2); transform-style: preserve-3d; will-change: transform; }
.ring__card { position: absolute; inset: 0; margin: 0; border-radius: var(--arch); overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: 0 30px 50px -24px rgba(59, 36, 24, .55); background: var(--sand); }
.ring__card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; transition: transform .6s var(--ease); }
.ring__card::after { content: ''; position: absolute; inset: 0; background: rgba(42, 24, 16, var(--dim, 0)); transition: background .2s; }
.ring__card:hover img { transform: scale(1.05); }
.ring__floor { position: absolute; left: 50%; bottom: 4%; width: min(1100px, 120vw); height: 120px; transform: translateX(-50%); background: radial-gradient(ellipse at center, rgba(59, 36, 24, .22), transparent 65%); filter: blur(6px); }
.ring__ui { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 6px; }
.ring__caption { margin: 0; min-width: 240px; text-align: center; font-family: var(--f-display); font-style: italic; font-size: clamp(20px, 2vw, 26px); }
.ring__btn { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--line-2); background: var(--paper); font-size: 18px; transition: background .25s, transform .25s; }
.ring__btn:hover { background: var(--cocoa); color: var(--paper); transform: scale(1.06); }
.ring__hint { text-align: center; margin: 14px 0 0; font-family: var(--f-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); }
@media (max-width: 860px) {
  .space__head { grid-template-columns: 1fr; }
  .space__head .lead { justify-self: start; }
  .ring { height: 440px; }
}

/* ================= HAI TẦNG ================= */
.floors { padding: clamp(60px, 9vw, 130px) 0; }
.floors__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
.floor { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(18px, 2.4vw, 30px); padding: clamp(14px, 1.6vw, 20px); background: var(--paper); border-radius: var(--r-l); border: 1px solid var(--line); box-shadow: var(--shadow-s); transition: transform .5s var(--ease), box-shadow .5s; }
.floor:hover { transform: translateY(-6px); box-shadow: var(--shadow-m); }
.floor__photos { position: relative; aspect-ratio: 3 / 4; border-radius: var(--arch); overflow: hidden; background: var(--sand); }
.floor__photos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1.2s ease, transform 4s ease; }
.floor__photos img.is-on { opacity: 1; transform: scale(1); }
.floor__body { display: flex; flex-direction: column; gap: 12px; padding: 10px 6px 6px 0; }
.floor__num { font-family: var(--f-mono); font-size: 12px; letter-spacing: .2em; color: var(--clay); }
.floor__body .h3 { font-size: clamp(28px, 3vw, 40px); }
.floor__body p { margin: 0; }
.floor__tags { list-style: none; margin: 4px 0 auto; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.floor__tags li { font-size: 12.5px; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: var(--plaster); }
.floor__body .btn { align-self: flex-start; margin-top: 14px; }
@media (max-width: 1100px) { .floors__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .floor { grid-template-columns: 1fr; }
  .floor__photos { aspect-ratio: 4 / 3.6; }
  .floor__body { padding: 4px 6px 8px; }
}

/* ================= DẢI CHẠY CHỮ ================= */
.marquee { position: relative; z-index: 1; overflow: hidden; background: var(--clay); color: var(--paper); padding: 18px 0; transform: rotate(-1.6deg) scale(1.04); box-shadow: var(--shadow-m); }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee__track span { display: inline-flex; align-items: center; gap: 22px; padding-right: 22px; font-family: var(--f-display); font-style: italic; font-size: clamp(22px, 2.6vw, 34px); white-space: nowrap; }
.marquee__track svg { width: 26px; height: 26px; color: var(--paper); --spot: var(--clay); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ================= THỰC ĐƠN ================= */
.menu { padding: clamp(90px, 11vw, 150px) 0 clamp(70px, 9vw, 120px); }
.menu__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.menu__head .h2 { margin-top: 12px; }
.menu__unit { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 14px; }
.star-ico svg, .star-badge svg { width: 14px; height: 14px; color: var(--gold); }
.tabs { position: sticky; top: 66px; z-index: 5; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 12px 2px; margin: 0 -2px 22px; background: linear-gradient(var(--cream) 70%, transparent); }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--paper); font-weight: 600; font-size: 14.5px; transition: all .3s var(--ease); }
.tab small { font-family: var(--f-mono); font-weight: 500; font-size: 11px; opacity: .6; margin-left: 4px; }
.tab:hover { border-color: var(--cocoa); }
.tab[aria-selected="true"] { background: var(--cocoa); color: var(--paper); border-color: var(--cocoa); }
.menu__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; min-height: 380px; }
.dish {
  position: relative; display: flex; flex-direction: column; padding: 14px 14px 18px; background: var(--paper); border-radius: 26px; border: 1px solid var(--line);
  box-shadow: var(--shadow-s); transform-style: preserve-3d; transition: transform .5s var(--ease), box-shadow .5s;
  animation: dish-in .7s var(--ease-out) both; animation-delay: calc(var(--i) * 55ms);
}
@keyframes dish-in { from { opacity: 0; transform: translateY(26px) scale(.97); } }
.dish:hover { box-shadow: var(--shadow-m); }
.dish__niche { position: relative; display: grid; place-items: end center; height: 196px; border-radius: 999px 999px 18px 18px; background: radial-gradient(ellipse at 50% 30%, #FFF8EA, var(--plaster) 70%); box-shadow: inset 0 10px 24px rgba(59, 36, 24, .12), inset 0 -2px 0 rgba(255, 255, 255, .6); overflow: hidden; }
.dish__niche::before { content: ''; position: absolute; left: 50%; top: 10px; width: 70%; height: 60%; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(255, 210, 140, .45), transparent 70%); }
.dish__niche .cup { position: relative; width: 128px; height: 166px; margin-bottom: 6px; transition: transform .6s var(--ease); }
.dish:hover .dish__niche .cup { transform: translateY(-6px) rotate(-2deg); }
.dish__name { margin: 16px 0 2px; font-weight: 700; font-size: 14.5px; letter-spacing: .07em; text-transform: uppercase; line-height: 1.35; }
.dish__en { margin: 0; font-family: var(--f-display); font-style: italic; font-size: 15px; color: var(--ink-soft); }
.dish__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 12px; }
.dish__price { font-family: var(--f-display); font-size: 30px; line-height: 1; }
.dish__price small { font-family: var(--f-body); font-size: 12px; color: var(--ink-soft); margin-left: 2px; }
.dish__temps { display: flex; gap: 4px; }
.dish__temps span { font-size: 11px; font-weight: 600; padding: 4px 8px; border-radius: 999px; background: var(--plaster); }
.dish__temps .hot { background: #F6DCCB; color: var(--clay-d); }
.star-badge { position: absolute; top: 22px; right: 22px; z-index: 2; display: inline-flex; align-items: center; gap: 4px; padding: 5px 9px 5px 7px; border-radius: 999px; background: var(--cocoa); color: var(--paper); font-size: 11px; font-weight: 600; letter-spacing: .03em; }
.menu__cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: clamp(40px, 5vw, 64px); padding: clamp(24px, 3vw, 40px); border-radius: var(--r-l); background: var(--plaster); border: 1px dashed var(--line-2); }
.menu__cta-text .h3 { margin-bottom: 6px; }
.menu__cta-text p { margin: 0; max-width: 52ch; }
.menu__cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 560px) {
  .menu__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .dish { padding: 8px 8px 14px; border-radius: 20px; }
  .dish__niche { height: 150px; }
  .dish__niche .cup { width: 100px; height: 130px; }
  .dish__name { font-size: 12.5px; letter-spacing: .04em; margin-top: 12px; }
  .dish__en { font-size: 13px; }
  .dish__price { font-size: 24px; }
  .star-badge { top: 14px; right: 14px; padding: 4px 6px; }
  .star-badge b { display: none; }
  .dish__temps { display: none; }
  .menu__cta-btns .btn { flex: 1; }
}

/* ================= ĐẶT BÀN ================= */
.booking { position: relative; padding: clamp(90px, 11vw, 150px) 0; background: linear-gradient(180deg, transparent, rgba(228, 211, 185, .55) 30%, rgba(228, 211, 185, .55) 70%, transparent); }
.booking__wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 90px); align-items: start; }
.booking__visual { position: sticky; top: 100px; }
.booking__photo { border-radius: var(--arch); overflow: hidden; aspect-ratio: 3 / 4; box-shadow: var(--shadow-l); }
.booking__photo img { width: 100%; height: 100%; object-fit: cover; transition: opacity .5s; }
.ticket {
  position: relative; width: min(330px, 86%); margin: -120px 0 0 auto; margin-right: -24px; padding: 20px 22px 18px; background: var(--paper); border-radius: 18px;
  box-shadow: var(--shadow-l); font-family: var(--f-mono); font-size: 13px; transform: rotate(2.5deg);
  -webkit-mask: radial-gradient(circle 9px at 0 64%, transparent 98%, #000) , radial-gradient(circle 9px at 100% 64%, transparent 98%, #000);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.ticket__top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1.5px dashed var(--line-2); }
.ticket__brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: 11.5px; }
.ticket__brand span { width: 20px; height: 20px; color: var(--clay); }
.ticket__code { font-weight: 600; color: var(--clay); }
.ticket__rows { margin: 12px 0; display: grid; gap: 7px; }
.ticket__rows div { display: flex; justify-content: space-between; gap: 12px; }
.ticket__rows dt { color: var(--ink-soft); }
.ticket__rows dd { margin: 0; font-weight: 600; text-align: right; }
.ticket__rows dd.flash { animation: flash .6s var(--ease); }
@keyframes flash { 0% { color: var(--clay); transform: translateX(-4px); } 100% { transform: none; } }
.ticket__foot { position: relative; display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1.5px dashed var(--line-2); font-size: 11.5px; color: var(--leaf); font-weight: 600; letter-spacing: .04em; }
.ticket__stamp { position: absolute; right: 2px; top: -64px; padding: 6px 12px; border: 2.5px solid var(--clay); border-radius: 8px; color: var(--clay); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; transform: rotate(-12deg) scale(2.4); opacity: 0; transition: all .5s cubic-bezier(.3, 1.6, .5, 1); background: rgba(252, 248, 241, .85); }
.ticket.stamped .ticket__stamp { opacity: 1; transform: rotate(-12deg) scale(1); }

.booking__lead { margin: 14px 0 26px; max-width: 46ch; }
.booking__form { padding: clamp(20px, 2.6vw, 32px); display: grid; gap: 22px; }
.field-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: flex-end; }
.field--grow { flex: 1 1 200px; }
.date-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: -2px; scroll-snap-type: x proximity; }
.date-row::-webkit-scrollbar { display: none; }
.dchip { position: relative; flex: none; scroll-snap-align: start; }
.dchip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.dchip span { display: grid; justify-items: center; width: 66px; padding: 10px 0 9px; border-radius: 16px; background: #fff; border: 1.5px solid var(--line-2); transition: all .25s var(--ease); line-height: 1.15; }
.dchip small { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft); }
.dchip b { font-family: var(--f-display); font-weight: 500; font-size: 24px; margin: 2px 0; }
.dchip em { font-style: normal; font-family: var(--f-mono); font-size: 10.5px; color: var(--ink-soft); }
.dchip input:checked + span { background: var(--cocoa); border-color: var(--cocoa); color: var(--paper); transform: translateY(-2px); box-shadow: var(--shadow-s); }
.dchip input:checked + span small, .dchip input:checked + span em { color: var(--rattan-l); }
.dchip input:focus-visible + span { outline: 2.5px solid var(--clay); outline-offset: 2px; }
.time-groups { display: grid; gap: 12px; }
.time-group { display: grid; grid-template-columns: 54px 1fr; gap: 10px; align-items: start; }
.time-group > em { font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--ink-soft); padding-top: 12px; }
.time-group .chips { gap: 6px; }
.time-group .chip span { min-height: 40px; padding: 0 12px; font-size: 14px; font-variant-numeric: tabular-nums; }
.time-none { font-size: 14px; color: var(--ink-soft); margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--plaster); }
.floor-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fpick { position: relative; }
.fpick input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.fpick > span { display: flex; align-items: center; gap: 10px; padding: 6px 12px 6px 6px; border-radius: 16px; background: #fff; border: 1.5px solid var(--line-2); transition: all .25s var(--ease); min-height: 56px; }
.fpick img { width: 42px; height: 42px; border-radius: 999px 999px 8px 8px; object-fit: cover; flex: none; }
.fpick b { display: block; font-size: 14.5px; line-height: 1.2; }
.fpick small { display: block; font-size: 11.5px; color: var(--ink-soft); line-height: 1.3; }
.fpick input:checked + span { border-color: var(--cocoa); background: var(--cocoa); color: var(--paper); }
.fpick input:checked + span small { color: var(--rattan-l); }
.fpick input:focus-visible + span { outline: 2.5px solid var(--clay); outline-offset: 2px; }
.booking__small { margin: -8px 0 0; text-align: center; font-size: 13.5px; }
.booking__small a { color: var(--clay-d); }
.booking__done { padding: 36px 28px; text-align: center; display: grid; justify-items: center; gap: 12px; animation: dish-in .7s var(--ease-out); }
.booking__done-ico { width: 64px; height: 64px; color: var(--clay); animation: bounce 1.2s var(--ease-out); }
.booking__done p { margin: 0 0 6px; max-width: 40ch; }
@keyframes bounce { 0% { transform: scale(.3) rotate(-30deg); opacity: 0; } 60% { transform: scale(1.15) rotate(8deg); opacity: 1; } 100% { transform: none; } }
@media (max-width: 960px) {
  .booking__wrap { grid-template-columns: 1fr; }
  .booking__visual { position: relative; top: 0; order: 2; max-width: 460px; width: 100%; margin-inline: auto; }
  .booking__photo { aspect-ratio: 4 / 3.4; }
  .ticket { margin-top: -90px; margin-right: 0; }
}
@media (max-width: 480px) {
  .floor-pick { grid-template-columns: 1fr; }
  .field-row { flex-direction: column; align-items: stretch; }
  .field-row > .field { flex: none; }
  .stepper { align-self: flex-start; }
}

/* ================= GÓC NHỎ ================= */
.corner { padding: clamp(90px, 11vw, 150px) 0 clamp(90px, 11vw, 160px); }
.corner__grid { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.corner__form { position: sticky; top: 96px; padding: 10px 10px clamp(20px, 2.4vw, 28px); }
.mode { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 16px; background: var(--plaster); margin-bottom: 18px; }
.mode__btn { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border: 0; background: transparent; font-weight: 600; font-size: 14.5px; border-radius: 12px; transition: color .3s; }
.mode__btn svg, .mode__btn span svg { width: 16px; height: 16px; }
.mode__btn.is-on { color: var(--paper); }
.mode__pill { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 12px; background: var(--cocoa); transition: transform .5s var(--ease), background .4s; }
.mode[data-mode="private"] .mode__pill { transform: translateX(100%); background: var(--leaf); }
.corner__pane { display: grid; gap: 20px; padding: 0 clamp(8px, 1.4vw, 16px); animation: dish-in .5s var(--ease-out); }
.pane-note { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; color: var(--ink-soft); }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot--leaf { background: var(--leaf-l); box-shadow: 0 0 0 4px rgba(143, 174, 94, .2); }
.dot--clay { background: var(--clay); box-shadow: 0 0 0 4px rgba(192, 104, 58, .2); }
.stars-input { display: flex; gap: 4px; }
.stars-input button { width: 48px; height: 48px; padding: 4px; border: 0; background: transparent; color: #DCCDB8; transition: transform .25s var(--ease), color .2s; }
.stars-input button svg { width: 100%; height: 100%; }
.stars-input button.on { color: var(--gold); }
.stars-input button:hover { transform: scale(1.15) rotate(-6deg); }
.stars-input button.pop { animation: pop .45s var(--ease-out); }
@keyframes pop { 50% { transform: scale(1.35); } }
.stars-word { font-size: 14px; font-family: var(--f-display); font-style: italic; min-height: 1.4em; }
.mask-preview { font-size: 13px; color: var(--ink-soft); }
.mask-preview strong { font-family: var(--f-mono); color: var(--cocoa); letter-spacing: .02em; }
#privateForm .btn { --bg: var(--leaf); }
#privateForm .chip input:checked + span { background: var(--leaf); border-color: var(--leaf); }
.rating { display: flex; gap: clamp(20px, 3vw, 40px); align-items: center; padding: clamp(20px, 2.4vw, 28px); background: var(--paper); border-radius: var(--r-m); border: 1px solid var(--line); margin-bottom: 18px; }
.rating__big { display: grid; justify-items: center; gap: 4px; min-width: 130px; text-align: center; }
.rating__big strong { font-family: var(--f-display); font-weight: 400; font-size: 64px; line-height: 1; }
.rating__stars { display: flex; gap: 2px; color: var(--gold); }
.rating__stars svg { width: 18px; height: 18px; }
.rating__stars .off { color: #E2D5C2; }
.rating__big span { font-size: 13px; }
.rating__bars { flex: 1; display: grid; gap: 7px; }
.rbar { display: grid; grid-template-columns: 22px 1fr 28px; gap: 10px; align-items: center; font-size: 12.5px; font-family: var(--f-mono); }
.rbar i { display: block; height: 8px; border-radius: 99px; background: var(--plaster); overflow: hidden; }
.rbar i b { display: block; height: 100%; width: var(--v, 0%); background: linear-gradient(90deg, var(--gold), var(--clay)); border-radius: inherit; transition: width 1.2s var(--ease-out); }
.reviews { columns: 2 280px; column-gap: 16px; }
.review { break-inside: avoid; margin: 0 0 16px; padding: 20px; background: var(--paper); border-radius: var(--r-m); border: 1px solid var(--line); box-shadow: var(--shadow-s); animation: dish-in .6s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 60ms); }
.review.is-new { box-shadow: 0 0 0 2px var(--clay), var(--shadow-m); }
.review__head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.review__ava { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-display); font-size: 19px; color: var(--paper); background: var(--c, var(--clay)); }
.review__name { font-family: var(--f-mono); font-weight: 600; font-size: 14px; letter-spacing: .02em; }
.review__meta { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-soft); }
.review__meta .rating__stars svg { width: 13px; height: 13px; }
.review p { margin: 0; font-size: 15px; line-height: 1.6; white-space: pre-line; overflow-wrap: anywhere; }
.reviews-empty { columns: auto; display: grid; justify-items: center; gap: 10px; padding: 50px 20px; text-align: center; border: 1.5px dashed var(--line-2); border-radius: var(--r-m); color: var(--ink-soft); }
.reviews-empty span { width: 56px; height: 56px; color: var(--sand); }
.reviews__more { display: flex; margin: 8px auto 0; }
@media (max-width: 960px) {
  .corner__grid { grid-template-columns: 1fr; }
  .corner__form { position: relative; top: 0; }
  .rating { flex-direction: column; align-items: stretch; }
}

/* ================= THANH DƯỚI (điện thoại) ================= */
.dock { display: none; }
@media (max-width: 760px) {
  .dock { position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px; padding: 8px; border-radius: 999px; background: rgba(252, 248, 241, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow-l); transform: translateY(140%); transition: transform .5s var(--ease); }
  .dock.show { transform: none; }
  .dock .btn { min-height: 48px; }
  .footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
}

/* ================= XEM ẢNH LỚN ================= */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 60px 70px; background: rgba(28, 16, 10, .92); backdrop-filter: blur(8px); animation: fade-in .35s ease; }
.lightbox[hidden] { display: none; }
@keyframes fade-in { from { opacity: 0; } }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: grid; gap: 14px; justify-items: center; }
.lightbox img { max-width: min(92vw, 1100px); max-height: calc(100vh - 160px); object-fit: contain; border-radius: 18px; box-shadow: var(--shadow-l); animation: dish-in .5s var(--ease-out); }
.lightbox figcaption { color: var(--paper); font-family: var(--f-display); font-style: italic; font-size: 20px; }
.lightbox button { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: var(--paper); font-size: 22px; transition: background .25s; }
.lightbox button:hover { background: rgba(255, 255, 255, .25); }
.lightbox__close { top: 16px; right: 16px; font-size: 30px !important; }
.lightbox__nav--prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) {
  .lightbox { padding: 60px 12px 90px; }
  .lightbox__nav { top: auto !important; bottom: 20px; transform: none !important; }
  .lightbox__nav--prev { left: calc(50% - 64px); }
  .lightbox__nav--next { right: calc(50% - 64px); }
}

/* món tạm hết */
.dish.is-out .dish__niche .cup { filter: grayscale(.75); opacity: .5; }
.dish.is-out .dish__name, .dish.is-out .dish__price { opacity: .55; }
.out-badge { position: absolute; top: 22px; left: 22px; z-index: 2; padding: 5px 10px; border-radius: 999px; background: var(--clay); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .03em; }
@media (max-width: 560px) { .out-badge { top: 14px; left: 14px; padding: 4px 8px; } }
