/* ============ Sabwa — brand system ============ */
:root {
  --paper: #f3eee5;
  --paper-2: #ebe3d4;
  --paper-3: #e2d6c1;
  --ink: #2b211b;
  --ink-2: #5d4e42;
  --ink-3: #8a7a6b;
  --night: #221a15;
  --night-2: #2f251e;
  --red: #b8262c;
  --red-d: #941d22;
  --orange: #e0672b;
  --saffron: #efa53a;
  --lime: #93a93a;
  --green: #2e8a57;
  --green-d: #23704a;
  --teal: #3f9a85;
  --sand: #c9a96b;
  --line: rgba(43, 33, 27, .14);
  --display: "Aref Ruqaa", "Amiri", serif;
  --kufi: "Readex Pro", "IBM Plex Sans Arabic", sans-serif;
  --body: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --r: 14px;
  --head-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --pad: clamp(20px, 5vw, 72px);
  --d0: 0s;
}
html.intro-on { --d0: 1.75s; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 64px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 16px; line-height: 1.75;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2.5px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; top: -60px; right: 16px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }

/* paper grain — fixed overlay */
.paper {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .55; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .55  0 0 0 0 .5  0 0 0 0 .44  0 0 0 .22 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
main, .top, .footer, .sadu-band { position: relative; z-index: 1; }

.sadu-band { height: 22px; background: url("/assets/sadu.svg") repeat-x center / auto 100%; }

/* ============ buttons ============ */
.btn {
  --bg: transparent; --fg: var(--ink); --bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 22px; border-radius: 999px;
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd);
  font-family: var(--kufi); font-weight: 600; font-size: 16px; text-decoration: none; line-height: 1.2; white-space: nowrap;
  transition: transform .2s var(--ease), background .2s, box-shadow .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn.sm { min-height: 40px; padding: 8px 16px; font-size: 14.5px; }
.btn-red { --bg: var(--red); --fg: #fff8ee; --bd: var(--red); box-shadow: 0 8px 20px -10px rgba(184, 38, 44, .7); }
.btn-red:hover { --bg: var(--red-d); }
.btn-green { --bg: var(--green); --fg: #fff8ee; --bd: var(--green); box-shadow: 0 8px 20px -10px rgba(46, 138, 87, .7); }
.btn-green:hover { --bg: var(--green-d); }
.btn-line { --bd: rgba(43, 33, 27, .35); }
.btn-line:hover { --bg: rgba(43, 33, 27, .06); --bd: var(--ink); }
.btn-ghost { --bd: transparent; color: var(--ink-2); }
.btn-ghost:hover { color: var(--red); }
.link-btn { background: none; border: 0; padding: 0; color: var(--orange); font-family: var(--kufi); font-weight: 600; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }

.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 10px; font-family: var(--kufi); font-weight: 600; font-size: 15px; color: var(--orange); }
.kicker::before { content: ""; width: 30px; height: 10px; background: url("/assets/zigzag.svg") repeat-x center / auto 100%; }
.display { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(38px, 5.6vw, 72px); line-height: 1.12; color: var(--ink); }
.section { padding: clamp(60px, 8vw, 112px) var(--pad); }

/* ============ header ============ */
.top {
  position: sticky; top: 0; z-index: 40; height: var(--head-h);
  display: flex; align-items: center; gap: 28px; padding: 0 var(--pad);
  background: rgba(243, 238, 229, .86); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.top.scrolled { border-color: var(--line); box-shadow: 0 10px 30px -24px rgba(43, 33, 27, .5); }
.brand img { height: 52px; width: auto; }
.nav { display: flex; gap: 4px; margin-inline-start: auto; }
.nav a { padding: 8px 12px; border-radius: 999px; text-decoration: none; font-family: var(--kufi); font-weight: 500; font-size: 15.5px; color: var(--ink-2); transition: color .2s, background .2s; }
.nav a:hover, .nav a.on { color: var(--ink); background: rgba(43, 33, 27, .06); }
.nav a.on { color: var(--red); }
.top-actions { display: flex; align-items: center; gap: 10px; }
.tray-btn { position: relative; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--paper); display: grid; place-items: center; transition: border-color .2s, transform .2s; }
.tray-btn:hover { border-color: var(--ink); }
.tray-btn svg { width: 22px; height: 22px; }
.tray-count { position: absolute; top: -4px; left: -4px; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 999px; background: var(--red); color: #fff; font: 600 12px/21px var(--kufi); text-align: center; transform: scale(0); transition: transform .3s var(--ease); }
.tray-count.has { transform: scale(1); }
.tray-btn.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.18) rotate(-6deg); } }

/* ============ hero ============ */
.hero {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center;
  padding: clamp(36px, 6vw, 80px) var(--pad) clamp(60px, 8vw, 110px); min-height: calc(100svh - var(--head-h) - 22px);
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; font-family: var(--kufi); font-size: 14px; color: var(--ink-2); background: rgba(255, 255, 255, .35); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(46, 138, 87, .18); }
.hero-title { margin: 0; font-family: var(--display); font-weight: 700; line-height: 1.05; }
.hero-title span { display: block; opacity: 0; transform: translateY(24px); animation: rise .9s var(--d0) var(--ease) forwards; }
.hero-title .l1 { font-size: clamp(56px, 9vw, 132px); color: var(--red); }
.hero-title .l2 { font-size: clamp(40px, 6.2vw, 92px); color: var(--green); margin-top: .05em; padding-inline-start: .6em; animation-delay: calc(var(--d0) + .15s); }
.hero-lead { max-width: 54ch; margin: 26px 0 30px; font-size: clamp(16px, 1.35vw, 18.5px); color: var(--ink-2); opacity: 0; animation: rise .9s calc(var(--d0) + .3s) var(--ease) forwards; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; opacity: 0; animation: rise .9s calc(var(--d0) + .42s) var(--ease) forwards; }
.hero-facts { display: flex; gap: clamp(20px, 3.5vw, 48px); margin: 44px 0 0; padding-top: 24px; border-top: 1px dashed var(--line); opacity: 0; animation: rise .9s calc(var(--d0) + .54s) var(--ease) forwards; }
.hero-facts div { margin: 0; }
.hero-facts dt { font-family: var(--kufi); font-weight: 700; font-size: clamp(26px, 2.6vw, 34px); line-height: 1; color: var(--ink); }
.hero-facts dd { margin: 6px 0 0; font-size: 13.5px; color: var(--ink-3); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---- the gate: painted Najdi door, modelled on the one inside Sabwa ---- */
.gate { position: relative; width: min(540px, 100%); aspect-ratio: 540 / 640; justify-self: center; opacity: 0; animation: rise 1.1s calc(var(--d0) + .2s) var(--ease) forwards; transform: translateY(24px); }
.gate-wall {
  position: absolute; inset: 0; overflow: hidden; border-radius: 999px 999px 24px 24px; border: 8px solid #fffaf1;
  background: radial-gradient(60% 45% at 50% 42%, rgba(255, 214, 150, .55), transparent 70%), linear-gradient(175deg, #ecdcbc, #dcc59c 70%, #cfb489);
  box-shadow: 0 40px 70px -40px rgba(43, 33, 27, .7), inset 0 0 70px rgba(120, 80, 40, .25);
}
.mosaic { position: absolute; inset: -18px; width: calc(100% + 36px); height: calc(100% + 36px); transition: translate .6s var(--ease); }
.bulb { position: absolute; top: 0; width: 2px; height: 16%; background: #3a2a20; transform-origin: 50% 0; animation: sway 6s ease-in-out infinite; }
.bulb::after { content: ""; position: absolute; left: 50%; bottom: -16px; width: 20px; height: 24px; translate: -50% 0; border-radius: 45% 45% 50% 50%; background: radial-gradient(circle at 50% 60%, #fff6d8, #ffd27a 45%, rgba(255, 190, 90, .25) 70%); box-shadow: 0 0 26px 10px rgba(255, 200, 110, .55); }
.b1 { left: 22%; height: 22%; animation-delay: -1s; } .b2 { left: 50%; height: 8%; } .b3 { left: 78%; height: 20%; animation-delay: -3s; }
@keyframes sway { 0%, 100% { rotate: -2.5deg; } 50% { rotate: 2.5deg; } }
.floor { position: absolute; inset: auto 0 0; height: 15%; background: linear-gradient(180deg, #d9cbb4, #c3b195); box-shadow: 0 -2px 0 rgba(255, 255, 255, .5); }

.doorway {
  position: absolute; left: 28%; right: 28%; top: 21%; bottom: 15%;
  border: 12px solid var(--red); border-bottom: 0; background: #1a120d; perspective: 1300px; transition: translate .6s var(--ease); perspective-origin: 50% 40%;
  box-shadow: 0 0 0 2px #7d1519, 0 20px 40px -18px rgba(43, 33, 27, .6);
}
.doorway::before { content: ""; position: absolute; left: -12px; right: -12px; top: -34px; height: 22px; background: url("/assets/sadu.svg") repeat-x center / auto 100%; }
.inside { position: absolute; inset: 0; overflow: hidden; display: grid; place-items: center; }
.inside img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform 2.4s var(--ease); }
.inside::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 60% at 50% 45%, rgba(34, 26, 21, .15), rgba(34, 26, 21, .78)); }
.inside-copy { position: relative; z-index: 1; display: grid; justify-items: center; gap: 4px; padding: 10px; text-align: center; color: #fff6e8; opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease) .6s, transform .8s var(--ease) .6s; }
.greet { margin: 0; font-family: var(--kufi); font-size: 12.5px; color: #ffd890; }
.welcome { margin: 0; font: 700 clamp(30px, 4.4vw, 46px)/1.15 var(--display); text-shadow: 0 4px 24px rgba(0, 0, 0, .6); }
.suggest { margin: 0 0 8px; max-width: 22ch; text-wrap: balance; padding: 0; border: 0; background: none; font-size: 12.5px; line-height: 1.6; color: #efe6d8; text-decoration: underline; text-decoration-color: rgba(239, 165, 58, .7); text-underline-offset: 4px; }
.suggest[hidden] { display: none; }
.doorway.open .inside-copy { opacity: 1; transform: none; }
.doorway.open .inside img { transform: scale(1); }

.door { position: absolute; inset: 0; padding: 0; border: 0; background: none; cursor: pointer; transform-style: preserve-3d; }
.leaf { position: absolute; top: 0; bottom: 0; width: 50%; transition: transform 1.5s cubic-bezier(.6, .05, .25, 1), filter 1.5s; box-shadow: inset 0 0 16px rgba(0, 0, 0, .45); }
.leaf svg { width: 100%; height: 100%; display: block; }
.leaf-a { left: 0; transform-origin: left center; }
.leaf-b { right: 0; transform-origin: right center; }
.leaf-b svg { transform: scaleX(-1); }
.leaf::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(0, 0, 0, .28), transparent 35%); }
.leaf-b::after { background: linear-gradient(270deg, rgba(0, 0, 0, .28), transparent 35%); }
.door:hover .leaf-a { transform: rotateY(-5deg); }
.door:hover .leaf-b { transform: rotateY(5deg); }
.doorway.open .door { pointer-events: none; }
.doorway.open .leaf { pointer-events: auto; filter: brightness(.75); }
.doorway.open .leaf-a { transform: rotateY(-84deg); }
.doorway.open .leaf-b { transform: rotateY(84deg); }
.doorway.knock .door { animation: knock .5s ease-out 2; }
@keyframes knock { 0%, 100% { transform: none; } 20% { transform: translateZ(-8px) rotateX(.8deg); } 40% { transform: none; } }

.mabkhara { position: absolute; left: 50%; bottom: 6.5%; z-index: 2; width: 13%; translate: -50% 0; padding: 0; border: 0; background: none; filter: drop-shadow(0 10px 8px rgba(43, 33, 27, .35)); transition: transform .3s var(--ease); }
.mabkhara svg { width: 100%; height: auto; display: block; }
.mabkhara:hover { transform: translateY(-3px) rotate(-3deg); }
.mabkhara .ember { animation: ember 2.4s ease-in-out infinite; }
@keyframes ember { 50% { fill: #efa53a; } }
.gate-hint { position: absolute; left: 50%; bottom: -46px; translate: -50% 0; display: flex; align-items: center; gap: 8px; margin: 0; white-space: nowrap; font-family: var(--kufi); font-size: 14px; color: var(--ink-2); transition: opacity .4s; }
.gate-hint::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--red); animation: ping 1.8s infinite; }
.gate.entered .gate-hint { opacity: 0; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(184, 38, 44, .6); } 100% { box-shadow: 0 0 0 12px rgba(184, 38, 44, 0); } }

.knock-ico { position: relative; width: 14px; height: 14px; border: 2px solid currentColor; border-radius: 50%; }
.knock-ico::before { content: ""; position: absolute; top: -6px; left: 50%; width: 5px; height: 5px; border-radius: 50%; background: currentColor; translate: -50% 0; }
#knockBtn.ringing .knock-ico { animation: rap .25s ease-in-out 3; }
@keyframes rap { 50% { transform: rotate(-25deg) scale(.9); } }

/* oud smoke + button */
.smoke { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 38; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.oud-btn { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); font-family: var(--kufi); font-weight: 600; font-size: 14.5px; color: var(--ink); transition: all .25s var(--ease); }
.oud-btn svg { width: 21px; height: 21px; }
.oud-btn:hover { border-color: var(--ink); }
.oud-btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--saffron); }

/* ============ story ============ */
.story {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 28px clamp(20px, 3vw, 40px);
  background: linear-gradient(180deg, transparent, rgba(226, 214, 193, .45) 30%, transparent);
}
.story-head { grid-column: 1 / span 5; }
.story-head .display { color: var(--red); }
.story-body { grid-column: 6 / span 7; align-self: end; font-size: 17px; color: var(--ink-2); }
.story-lead { font-family: var(--kufi); font-weight: 600; font-size: clamp(19px, 1.8vw, 24px); line-height: 1.7; color: var(--ink); margin-top: 0; }
.story-body strong { color: var(--green); font-weight: 600; }
.story-door { grid-column: 1 / span 4; grid-row: span 2; margin: 20px 0 0; border-radius: 999px 999px 20px 20px; overflow: hidden; border: 8px solid #fffaf1; box-shadow: 0 30px 60px -36px rgba(43, 33, 27, .6); align-self: start; aspect-ratio: .78; }
.story-door img { width: 100%; height: 100%; object-fit: cover; }
.pillars { grid-column: 5 / span 8; list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pillar { position: relative; padding: 26px 26px 22px; border-radius: 20px; background: #fbf7ef; border: 1px solid var(--line); }
.pillar::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; border-radius: 20px 20px 0 0; background: var(--c); }
.pillar-n { display: block; margin-bottom: 8px; font-family: var(--display); font-weight: 700; font-size: 32px; line-height: 1.2; color: var(--c); }
.pillar p, .pillar ul { margin: 0; font-size: 15.5px; color: var(--ink-2); }
.pillar ul { padding-inline-start: 18px; }
.pillar li::marker { color: var(--c); }
.p-vision { --c: var(--orange); }
.p-goal { --c: var(--green); margin-top: 36px; }
.p-way { --c: var(--saffron); grid-column: span 2; }
.p-way .values { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.p-way .values span { padding: 6px 14px; border-radius: 999px; background: rgba(239, 165, 58, .16); color: var(--ink); font-family: var(--kufi); font-weight: 500; font-size: 14px; }

/* ============ menu ============ */
.menu { padding-bottom: 80px; }
.menu-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 30px; }
.menu-head .display { color: var(--green); }
.menu-tools { display: flex; flex-direction: column; gap: 12px; width: min(460px, 100%); }
.search { display: flex; align-items: center; gap: 10px; padding: 0 18px; height: 54px; border-radius: 999px; background: #fffaf1; border: 1.5px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.search:focus-within { border-color: var(--green); box-shadow: 0 0 0 4px rgba(46, 138, 87, .14); }
.search svg { width: 20px; height: 20px; color: var(--ink-3); flex: none; }
.search input { flex: 1; border: 0; background: none; outline: none; font-size: 16px; min-width: 0; }
.toggles { display: flex; flex-wrap: wrap; gap: 8px; }
.tog { padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: transparent; font-family: var(--kufi); font-weight: 500; font-size: 14px; color: var(--ink-2); transition: all .2s; }
.tog:hover { border-color: var(--ink-2); }
.tog[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.cat-rail {
  position: sticky; top: var(--head-h); z-index: 30; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin: 0 calc(var(--pad) * -1) 18px; padding: 12px var(--pad);
  background: rgba(243, 238, 229, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line); scroll-snap-type: x proximity;
}
.cat-rail::-webkit-scrollbar { display: none; }
.cat {
  flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fffaf1; font-family: var(--kufi); font-weight: 600; font-size: 14.5px; color: var(--ink-2);
  scroll-snap-align: start; transition: all .2s;
}
.cat i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.cat small { font-weight: 500; color: var(--ink-3); font-size: 12px; }
.cat:hover { border-color: var(--c); color: var(--ink); }
.cat[aria-selected="true"] { background: var(--c); border-color: var(--c); color: #fff; }
.cat[aria-selected="true"] i { background: #fff; }
.cat[aria-selected="true"] small { color: rgba(255, 255, 255, .8); }

.c-red { --c: var(--red); } .c-orange { --c: var(--orange); } .c-saffron { --c: #d98c1c; } .c-lime { --c: var(--lime); } .c-green { --c: var(--green); } .c-teal { --c: var(--teal); }

.menu-body { min-height: 300px; }
.mcat { padding: 34px 0 10px; }
.mcat-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 6px; }
.mcat-head h3 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(34px, 4vw, 52px); line-height: 1.2; color: var(--c); }
.mcat-head span { font-family: var(--kufi); font-size: 13px; letter-spacing: .08em; color: var(--ink-3); text-transform: uppercase; }
.mcat-head .adult { margin-inline-start: auto; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 12.5px; letter-spacing: 0; text-transform: none; }
.zz { height: 10px; margin: 0 0 18px; background: url("/assets/zigzag.svg") repeat-x right center / auto 100%; opacity: .9; }
.mcat.c-orange .zz, .mcat.c-red .zz { filter: hue-rotate(-60deg) saturate(1.4); }

.items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 48px; }
.items.compact { grid-template-columns: repeat(3, 1fr); gap: 0 36px; }
.item { opacity: 0; transform: translateY(14px); animation: rise .5s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 30ms); }
.item-btn {
  width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; align-items: start; text-align: right;
  padding: 16px 12px; margin: 0 -12px; border: 0; background: none; border-radius: 16px; transition: background .2s;
}
.item-btn:hover { background: rgba(255, 250, 241, .85); }
.item.has-img .item-btn { grid-template-columns: 92px 1fr auto; }
.item-thumb { grid-row: span 2; width: 92px; height: 72px; border-radius: 12px; overflow: hidden; background: var(--night); }
.item-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.item-btn:hover .item-thumb img { transform: scale(1.08); }
.item-top { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.item-name { font-family: var(--kufi); font-weight: 600; font-size: 17.5px; line-height: 1.5; color: var(--ink); }
.item-star { flex: none; padding: 1px 8px; border-radius: 999px; background: var(--saffron); color: var(--ink); font: 600 11px/1.7 var(--kufi); }
.item-dots { flex: 1; min-width: 20px; border-bottom: 2px dotted rgba(147, 169, 58, .7); transform: translateY(-6px); }
.item-price { font-family: var(--kufi); font-weight: 700; font-size: 20px; line-height: 1.4; color: var(--c); white-space: nowrap; }
.item-price small { font-size: 12px; font-weight: 500; margin-inline-start: 3px; }
.item-desc { grid-column: 1 / -1; margin: 0; font-size: 14.5px; line-height: 1.7; color: var(--ink-2); }
.item.has-img .item-desc { grid-column: 2 / -1; }
.item-kcal { font-size: 12.5px; color: var(--ink-3); white-space: nowrap; }
.compact .item-btn { padding: 10px 12px; }
.compact .item-name { font-size: 16px; font-weight: 500; }
.compact .item-price { font-size: 17px; }

.menu-empty { display: grid; place-items: center; text-align: center; gap: 10px; padding: 70px 20px; color: var(--ink-2); }
.menu-empty b { font: 700 60px/1 var(--display); color: var(--sand); }
.skeleton { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 48px; padding-top: 30px; }
.skeleton span { height: 70px; border-radius: 14px; background: linear-gradient(90deg, var(--paper-2), #f7f2e9, var(--paper-2)); background-size: 200% 100%; animation: shimmer 1.2s infinite linear; }
@keyframes shimmer { to { background-position: -200% 0; } }
.menu-note { display: flex; gap: 12px; align-items: flex-start; margin: 40px 0 0; padding: 18px 20px; border-radius: 16px; background: rgba(239, 165, 58, .12); font-size: 13.5px; color: var(--ink-2); }
.menu-note svg { flex: none; width: 22px; height: 22px; color: #d98c1c; margin-top: 2px; }
mark { background: rgba(239, 165, 58, .35); color: inherit; border-radius: 3px; padding: 0 2px; }

/* ============ picker (night) ============ */
.picker {
  position: relative; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 5vw, 80px); align-items: start;
  background: var(--night); color: #efe6d8;
}
.picker::before, .picker::after { content: ""; position: absolute; left: 0; right: 0; height: 22px; background: url("/assets/sadu.svg") repeat-x center / auto 100%; }
.picker::before { top: 0; }
.picker::after { bottom: 0; transform: scaleY(-1); }
.picker .display { color: var(--saffron); }
.picker-intro p { color: #c7b9a6; max-width: 40ch; }
.picker-intro .btn-line { --fg: #efe6d8; --bd: rgba(239, 230, 216, .35); }
.picker-intro .btn-line:hover { --bg: rgba(239, 230, 216, .08); --bd: #efe6d8; }
.picker-card { background: var(--night-2); border: 1px solid rgba(239, 230, 216, .1); border-radius: 26px; padding: clamp(22px, 3vw, 38px); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); }
.quiz fieldset { border: 0; margin: 0 0 24px; padding: 0; }
.quiz legend { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-family: var(--kufi); font-weight: 600; font-size: 18px; }
.qn { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--saffron); color: var(--night); font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1.5px solid rgba(239, 230, 216, .2); font-family: var(--kufi); font-weight: 500; font-size: 15px; transition: all .2s; cursor: pointer; }
.chips label:hover span { border-color: rgba(239, 230, 216, .55); }
.chips input:checked + span { background: var(--saffron); border-color: var(--saffron); color: var(--night); }
.chips input:focus-visible + span { outline: 2.5px solid var(--orange); outline-offset: 2px; }
.quiz-error, .form-error { margin: 0 0 14px; color: #ff9f86; font-size: 14.5px; }
.form-error { color: var(--red); }

.result-card { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.result-img { margin: 0; aspect-ratio: 1.5; border-radius: 18px; overflow: hidden; background: radial-gradient(circle at 50% 40%, #3d3027, #1a1410); display: grid; place-items: center; }
.result-img img { width: 100%; height: 100%; object-fit: cover; }
.result-img .ph { font: 700 84px/1 var(--display); color: var(--c, var(--saffron)); opacity: .85; }
.result-cat { margin: 0; font-family: var(--kufi); font-size: 13.5px; color: var(--saffron); }
.result-txt h3 { margin: 4px 0 8px; font-family: var(--display); font-weight: 700; font-size: clamp(32px, 3.4vw, 44px); line-height: 1.2; color: #fff6e8; }
.result-why { margin: 0 0 12px; color: #c7b9a6; }
.result-meta { display: flex; align-items: baseline; gap: 14px; margin: 0 0 12px; }
.result-meta strong { font-family: var(--kufi); font-size: 24px; color: var(--saffron); }
.result-meta span { font-size: 13px; color: #a89a87; }
.result-pair { margin: 0; padding: 12px 14px; border-radius: 12px; background: rgba(239, 230, 216, .06); border-inline-start: 3px solid var(--green); font-size: 14.5px; color: #dcd0bf; }
.result-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.picker .btn-line { --fg: #efe6d8; --bd: rgba(239, 230, 216, .3); }
.picker .btn-line:hover { --bg: rgba(239, 230, 216, .08); --bd: #efe6d8; }
.picker .btn-ghost { color: #a89a87; }
.picker .btn-ghost:hover { color: var(--saffron); }
.reel { height: 64px; overflow: hidden; margin-bottom: 14px; border-radius: 14px; background: rgba(0, 0, 0, .2); mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent); -webkit-mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent); }
.reel[hidden] { display: none; }
.reel-track { display: flex; flex-direction: column; }
.reel-track span { height: 64px; display: grid; place-items: center; font: 700 30px/1 var(--display); color: var(--saffron); }
.result-card.in { animation: rise .6s var(--ease) both; }

/* ============ invite ============ */
.invite { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr; gap: 30px clamp(30px, 5vw, 80px); }
.invite-intro { grid-column: 1; }
.invite-intro .display { color: var(--orange); }
.invite-intro p:last-child { color: var(--ink-2); max-width: 46ch; }
.invite-form { grid-column: 1; grid-row: 2; display: grid; gap: 16px; align-content: start; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; }
.field > span { display: flex; align-items: center; gap: 10px; font-family: var(--kufi); font-weight: 600; font-size: 14.5px; }
.field em { font-style: normal; font-weight: 400; color: var(--ink-3); }
.field .link-btn { margin-inline-start: auto; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: #fffaf1; font-size: 16px; outline: none; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 70px; }
.field select { appearance: none; -webkit-appearance: none; padding-left: 44px; background: #fffaf1 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'><path d='M1 1l6 6 6-6' fill='none' stroke='%23e0672b' stroke-width='2' stroke-linecap='round'/></svg>") no-repeat left 18px center; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(224, 103, 43, .14); }
.field input[aria-invalid="true"] { border-color: var(--red); }
.chips.small span { padding: 7px 13px; font-size: 14px; border-color: var(--line); color: var(--ink-2); }
.chips.small label:hover span { border-color: var(--ink-2); }
.chips.small input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.invite-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.invite-preview { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: calc(var(--head-h) + 30px); align-self: start; display: grid; place-items: center; padding: 30px 0; }

.inv-card {
  position: relative; width: min(400px, 100%); padding: 44px 34px 34px; text-align: center; border-radius: 24px; overflow: hidden;
  background: #fbf7ef; border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(43, 33, 27, .55), 0 2px 0 rgba(255, 255, 255, .7) inset;
  transform: rotate(-2deg); transition: transform .4s var(--ease);
}
.inv-card:hover { transform: rotate(0); }
.inv-card::after { content: ""; position: absolute; inset: 12px; border: 1px dashed rgba(43, 33, 27, .18); border-radius: 16px; pointer-events: none; }
.inv-sadu { position: absolute; inset: 0 0 auto; height: 20px; background: url("/assets/sadu.svg") repeat-x center / auto 100%; }
.inv-logo { width: 130px; margin: 0 auto 10px; }
.inv-kicker { margin: 0; font-family: var(--kufi); font-size: 13px; letter-spacing: .04em; color: var(--orange); }
.inv-to { margin: 6px 0 0; font-family: var(--display); font-size: 34px; line-height: 1.3; }
.inv-to strong { color: var(--red); }
.inv-line { margin: 6px 0 0; color: var(--ink-2); }
.inv-item { margin: 4px 0 0; font-family: var(--display); font-weight: 700; font-size: 30px; line-height: 1.3; color: var(--green); }
.inv-msg { margin: 14px auto 0; max-width: 28ch; font-size: 15px; color: var(--ink-2); }
.inv-msg:not(:empty)::before { content: "«"; } .inv-msg:not(:empty)::after { content: "»"; }
.inv-when { display: inline-block; margin: 16px 0 0; padding: 6px 14px; border-radius: 999px; background: rgba(239, 165, 58, .18); font: 600 14px/1.5 var(--kufi); }
.inv-when:empty { display: none; }
.inv-place { margin: 14px 0 0; font-size: 12.5px; color: var(--ink-3); }
.inv-card.flash { animation: flash .6s var(--ease); }
@keyframes flash { 40% { transform: rotate(0) scale(1.03); } }

/* ============ then / now ============ */
.era { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 5vw, 80px); align-items: start; background: var(--night); color: #efe6d8; }
.era::before, .era::after { content: ""; position: absolute; left: 0; right: 0; height: 22px; background: url("/assets/sadu.svg") repeat-x center / auto 100%; }
.era::before { top: 0; } .era::after { bottom: 0; transform: scaleY(-1); }
.era-head { position: sticky; top: calc(var(--head-h) + 30px); }
.word { margin: 0; display: flex; align-items: center; font: 700 clamp(84px, 12vw, 160px)/1.1 var(--display); color: #fff6e8; }
.word span { display: inline-block; padding-inline: .05em; clip-path: inset(0 0 0 100%); opacity: .25; transition: clip-path 1.6s var(--ease), opacity 1.6s var(--ease); }
.word.in span { clip-path: inset(0 -10% 0 -10%); opacity: 1; }
.word::after { content: ""; width: .11em; height: .11em; margin-inline-start: .08em; border-radius: 50%; background: var(--saffron); box-shadow: 0 0 24px var(--saffron); }
.definition { max-width: 40ch; color: #c7b9a6; font-size: 16.5px; }
.definition strong { color: #fff6e8; font-weight: 600; }
.era .display { margin-top: 24px; font-size: clamp(34px, 4.4vw, 56px); color: var(--saffron); }

.timeline { --t: 0; }
.tl-control { position: sticky; top: var(--head-h); z-index: 3; margin: 0 -14px 4px; padding: 10px 14px 2px; border-radius: 0 0 18px 18px; background: rgba(34, 26, 21, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.tl-labels { display: flex; justify-content: space-between; font: 700 clamp(30px, 3vw, 40px)/1.2 var(--display); }
.tl-then { color: #d9b98a; opacity: calc(1 - var(--t) * .6); }
.tl-now { color: var(--saffron); opacity: calc(.35 + var(--t) * .65); }
#eraRange { -webkit-appearance: none; appearance: none; width: 100%; height: 34px; margin: 6px 0 4px; background: transparent; cursor: grab; }
#eraRange:active { cursor: grabbing; }
#eraRange::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(to left, #8e6a45, var(--saffron) 60%, var(--green)); }
#eraRange::-moz-range-track { height: 6px; border-radius: 3px; background: linear-gradient(to left, #8e6a45, var(--saffron) 60%, var(--green)); }
#eraRange::-webkit-slider-thumb { -webkit-appearance: none; width: 32px; height: 32px; margin-top: -13px; border-radius: 50%; background: radial-gradient(circle, var(--saffron) 0 5px, var(--red) 5.5px 10px, #fff6e8 10.5px); border: 2px solid var(--night); box-shadow: 0 0 0 5px rgba(239, 165, 58, .25); }
#eraRange::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; background: radial-gradient(circle, var(--saffron) 0 5px, var(--red) 5.5px 10px, #fff6e8 10.5px); border: 2px solid var(--night); box-shadow: 0 0 0 5px rgba(239, 165, 58, .25); }
.tl-hint { display: flex; align-items: center; gap: 22px; margin: 0 0 12px; font-size: 14px; color: #a89a87; transition: opacity .4s; }
.timeline.moved .tl-hint { opacity: 0; }
.hand { width: 10px; height: 10px; border-radius: 50%; background: var(--saffron); animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(-14px); } }
.pairs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pair { width: 100%; height: 100%; display: grid; grid-template-rows: auto 1fr; padding: 0; border: 1px solid rgba(239, 230, 216, .12); border-radius: 22px; overflow: hidden; background: var(--night-2); color: inherit; text-align: right; transition: transform .3s var(--ease), border-color .3s; }
.pair:hover { transform: translateY(-4px); border-color: rgba(239, 165, 58, .5); }
.pair-img { position: relative; margin: 0; aspect-ratio: 1.55; overflow: hidden; background: #1a120d; }
.pair-img img { width: 100%; height: 100%; object-fit: cover; filter: sepia(calc(1 - var(--t))) grayscale(calc((1 - var(--t)) * .45)) contrast(calc(.9 + var(--t) * .15)) brightness(calc(.82 + var(--t) * .2)); transform: scale(calc(1.08 - var(--t) * .08)); transition: filter .15s linear, transform .15s linear; }
.pair-img::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: calc(1 - var(--t)); background: radial-gradient(90% 80% at 50% 50%, transparent 40%, rgba(40, 24, 10, .7)), url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/><feColorMatrix values='0 0 0 0 .3  0 0 0 0 .2  0 0 0 0 .1  0 0 0 .5 0'/></filter><rect width='100%' height='100%' filter='url(%23g)'/></svg>"); }
.pair .then, .pair .now { grid-area: 2 / 1; display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 18px; }
.pair .then { opacity: calc(1 - var(--t) * 1.8); transform: translateX(calc(var(--t) * 16px)); }
.pair .now { opacity: calc(var(--t) * 1.8 - .8); transform: translateX(calc((1 - var(--t)) * -16px)); }
.pair b { font-family: var(--kufi); font-weight: 600; font-size: 17px; line-height: 1.5; }
.pair .then b { color: #d9b98a; }
.pair .now b { color: var(--saffron); }
.pair .then span, .pair .now span { font-size: 14px; line-height: 1.7; color: #c7b9a6; }

/* ============ latte lab ============ */
.lab { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; overflow: hidden; }
.lab::before { content: ""; position: absolute; z-index: -1; inset: 8% -6% 8% 46%; border-radius: 50%; background: radial-gradient(closest-side, var(--glow, rgba(239, 165, 58, .3)), transparent); filter: blur(10px); transition: background .8s; }
.lab .display { color: var(--red); font-size: clamp(36px, 4.6vw, 60px); }
.lab fieldset { border: 0; padding: 0; margin: 26px 0 0; }
.lab legend { margin-bottom: 10px; padding: 0; font-family: var(--kufi); font-weight: 600; font-size: 14.5px; color: var(--ink-3); }
.lab-chips span { display: inline-flex; align-items: center; gap: 8px; border-color: var(--line); color: var(--ink-2); background: #fffaf1; }
.lab-chips span i { width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .12); }
.lab-chips label:hover span { border-color: var(--c); color: var(--ink); }
.lab-chips input:checked + span { background: color-mix(in srgb, var(--c) 22%, #fffaf1); border-color: var(--c); color: var(--ink); transform: translateY(-2px); }
.pill { display: inline-flex; padding: 4px; border-radius: 999px; border: 1.5px solid var(--line); background: #fffaf1; }
.pill label { position: relative; }
.pill input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.pill span { display: block; padding: 8px 22px; border-radius: 999px; font-family: var(--kufi); font-weight: 600; font-size: 15px; color: var(--ink-2); transition: all .25s; cursor: pointer; }
.pill input:checked + span { background: var(--ink); color: var(--paper); }
.pill input:focus-visible + span { outline: 2.5px solid var(--orange); outline-offset: 2px; }
.lab-stage { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: clamp(16px, 3vw, 40px); }
.glass { width: clamp(170px, 20vw, 250px); height: auto; overflow: visible; filter: drop-shadow(0 30px 30px rgba(43, 33, 27, .3)); }
.fill { transition: transform 1.1s var(--ease); }
.fill.pour { transform: translateY(260px); transition: none; }
.layer-syrup { fill: var(--syrup, #d9932a); transition: fill .6s; }
.layer-milk { fill: var(--milk, #f0d9a8); transition: fill .6s; }
.layer-shot { fill: var(--shot, #8a5528); opacity: .92; transition: fill .6s; }
.layer-foam { fill: var(--foam, #f7eedc); transition: fill .6s; }
.ice rect { fill: rgba(255, 255, 255, .35); stroke: rgba(255, 255, 255, .8); stroke-width: 1.5; }
.ice { transition: opacity .5s, transform .8s var(--ease); }
.glass.hot .ice { opacity: 0; transform: translateY(-30px); }
.sleeve-word { font: 700 22px var(--display); fill: #fff6e8; }
.steam { opacity: 0; transition: opacity .6s; }
.glass.hot .steam { opacity: .7; }
.glass.hot .steam path { stroke-dasharray: 40; animation: steam 2.6s ease-in-out infinite; }
.glass.hot .steam path:nth-child(2) { animation-delay: .5s; }
.glass.hot .steam path:nth-child(3) { animation-delay: 1s; }
@keyframes steam { 0% { stroke-dashoffset: 40; opacity: 0; } 40% { opacity: 1; } 100% { stroke-dashoffset: -40; opacity: 0; } }
.receipt { position: relative; max-width: 290px; padding: 24px 22px 20px; border-radius: 6px; background: #fffaf1; box-shadow: 0 30px 50px -30px rgba(43, 33, 27, .6); transform: rotate(-2deg); }
.receipt::before, .receipt::after { content: ""; position: absolute; left: 0; right: 0; height: 10px; background: radial-gradient(circle at 5px -1px, transparent 6px, #fffaf1 6.5px) repeat-x 0 0 / 10px 10px; }
.receipt::before { top: -9px; transform: scaleY(-1); } .receipt::after { bottom: -9px; }
.receipt.flip { animation: flip .55s var(--ease); }
@keyframes flip { 0% { transform: rotate(-2deg) translateY(10px); opacity: .3; } 100% { transform: rotate(-2deg); opacity: 1; } }
.r-kicker { margin: 0; font-family: var(--kufi); font-size: 12.5px; letter-spacing: .06em; color: var(--ink-3); }
.r-name { margin: 2px 0 6px; font: 700 30px/1.25 var(--display); color: var(--ink); }
.r-desc { margin: 0 0 12px; font-size: 14px; color: var(--ink-2); }
.r-price { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 14px; padding-top: 10px; border-top: 1.5px dashed var(--line); }
.r-price strong { font-family: var(--kufi); font-size: 24px; color: var(--red); }
.r-price span { font-size: 13px; color: var(--ink-3); }
.r-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

/* ============ voices ============ */
.voices { padding: clamp(50px, 6vw, 80px) 0; overflow: hidden; text-align: center; }
.voices .kicker { margin-bottom: 18px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee blockquote { margin: 0; padding: 0 24px; white-space: nowrap; font: 700 clamp(24px, 2.8vw, 36px)/1.5 var(--display); color: var(--ink); }
.marquee blockquote:nth-child(3n+1) { color: var(--red); } .marquee blockquote:nth-child(3n+2) { color: var(--green); }
@keyframes marquee { to { transform: translateX(50%); } }

/* ============ tour ============ */
.tour { background: linear-gradient(180deg, transparent, rgba(226, 214, 193, .5)); }
.tour-head { display: grid; grid-template-columns: auto 1fr; gap: 10px 50px; align-items: end; margin-bottom: 36px; }
.tour-head .kicker { grid-column: 1 / -1; }
.tour-head .display { color: var(--red); }
.tour-head p { margin: 0; max-width: 46ch; color: var(--ink-2); justify-self: end; }
.tour-grid { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(110px, 12vw, 170px); gap: 12px; }
.tg { position: relative; padding: 0; border: 0; border-radius: 18px; overflow: hidden; background: var(--paper-3); }
.tg img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .4s; }
.tg:hover img { transform: scale(1.06); }
.tg::after { content: "⤢"; position: absolute; bottom: 10px; left: 10px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 250, 241, .9); color: var(--ink); font-size: 16px; opacity: 0; transform: scale(.7); transition: all .3s var(--ease); }
.tg:hover::after, .tg:focus-visible::after { opacity: 1; transform: none; }
.tg-a { grid-column: span 3; grid-row: span 3; border-radius: 999px 999px 18px 18px; }
.tg-b { grid-column: span 3; grid-row: span 2; }
.tg-c { grid-column: span 2; grid-row: span 2; }
.tg-d { grid-column: span 1; grid-row: span 1; }
.tg-e { grid-column: span 2; grid-row: span 2; }
.tg-f { grid-column: span 2; grid-row: span 2; }
.tg-g { grid-column: span 2; grid-row: span 2; }
.tg-h { grid-column: span 1; grid-row: span 2; }
.tg-i { grid-column: span 1; grid-row: span 1; }

/* ============ visit ============ */
.visit { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 5vw, 80px); align-items: stretch; }
.visit .display { color: var(--green); font-size: clamp(34px, 4.6vw, 60px); }
.visit address { font-style: normal; margin: 12px 0 24px; color: var(--ink-2); }
.visit-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.phone-card { margin: 28px 0 22px; padding: 22px 24px; border-radius: 20px; background: #fbf7ef; border: 1px solid var(--line); }
.phone-card > span { font-family: var(--kufi); font-size: 14px; color: var(--ink-3); }
.phone { display: block; margin: 4px 0 14px; font-family: var(--kufi); font-weight: 700; font-size: clamp(28px, 3vw, 38px); text-decoration: none; color: var(--ink); }
.pc-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.socials { list-style: none; display: flex; gap: 10px; margin: 0; padding: 0; }
.socials a { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line); transition: all .2s; }
.socials a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: translateY(-2px); }
.socials svg { width: 22px; height: 22px; }
.handle { margin: 10px 0 0; font-size: 14px; color: var(--ink-3); }
.map-frame { position: relative; min-height: 420px; border-radius: 999px 999px 24px 24px; overflow: hidden; border: 8px solid #fffaf1; box-shadow: 0 30px 60px -36px rgba(43, 33, 27, .6); background: var(--paper-3); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: sepia(.25) saturate(.9); }

/* ============ footer ============ */
.footer { padding-bottom: 30px; }
.footer-in { display: grid; justify-items: center; gap: 6px; padding: 50px var(--pad) 20px; text-align: center; }
.footer-in img { width: 150px; }
.footer-slogan { margin: 6px 0 0; font: 700 30px/1.3 var(--display); color: var(--orange); }
.footer-small { margin: 0; font-size: 13px; color: var(--ink-3); }

/* ============ dialogs ============ */
dialog { border: 0; padding: 0; color: var(--ink); }
dialog::backdrop { background: rgba(34, 26, 21, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.sheet-close { position: absolute; top: 12px; left: 12px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 250, 241, .92); font-size: 24px; line-height: 1; color: var(--ink); box-shadow: 0 4px 14px -6px rgba(0, 0, 0, .4); }
.sheet-close:hover { background: #fff; }

.sheet { width: min(560px, 100vw); max-height: 92svh; border-radius: 26px; background: var(--paper); overflow: auto; }
.sheet[open] { animation: sheetIn .45s var(--ease); }
@keyframes sheetIn { from { opacity: 0; transform: translateY(40px); } }
.sheet-img { margin: 0; aspect-ratio: 1.6; background: var(--night); display: grid; place-items: center; overflow: hidden; }
.sheet-img img { width: 100%; height: 100%; object-fit: cover; }
.sheet-img .ph { font: 700 110px/1 var(--display); color: var(--c, var(--saffron)); }
.sheet-img.no-img { aspect-ratio: 2.6; background: var(--paper-2) url("/assets/sadu.svg") repeat-x bottom / auto 22px; }
.sheet-body { padding: 22px 28px 28px; }
.sheet-cat { margin: 0; font-family: var(--kufi); font-weight: 600; font-size: 13.5px; color: var(--c); }
.sheet-body h3 { margin: 2px 0 8px; font-family: var(--display); font-weight: 700; font-size: 38px; line-height: 1.25; }
.sheet-desc { margin: 0 0 16px; color: var(--ink-2); }
.sheet-desc:empty { display: none; }
.sheet-meta { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-block: 1px dashed var(--line); }
.sheet-price { font-family: var(--kufi); font-weight: 700; font-size: 28px; color: var(--c); }
.sheet-kcal { font-size: 14px; color: var(--ink-3); }
.sheet-adult { margin: 12px 0 0; font-size: 13.5px; color: var(--red); }
.sheet-actions { display: flex; gap: 12px; margin: 18px 0 14px; }
.sheet-actions .btn { flex: 1; }
.qty { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; }
.qty button { width: 44px; height: 46px; border: 0; background: none; font-size: 22px; }
.qty output { min-width: 26px; text-align: center; font-family: var(--kufi); font-weight: 700; font-size: 18px; }

.tray { width: min(460px, 100vw); height: 100svh; max-height: 100svh; margin: 0 auto 0 0; border-radius: 0 24px 24px 0; background: var(--paper); display: none; flex-direction: column; padding: 24px; }
.tray[open] { display: flex; animation: trayIn .4s var(--ease); }
@keyframes trayIn { from { transform: translateX(-100%); } }
.tray-head { display: flex; align-items: center; justify-content: space-between; }
.tray-head h3 { margin: 0; font: 700 38px/1.2 var(--display); color: var(--red); }
.tray-head .sheet-close { position: static; }
.tray-hint { margin: 4px 0 16px; font-size: 14px; color: var(--ink-3); }
.tray-list { list-style: none; margin: 0; padding: 0; flex: 1; overflow: auto; }
.tray-list li { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 14px 0; border-bottom: 1px dashed var(--line); animation: rise .35s var(--ease) both; }
.tray-list .t-name { font-family: var(--kufi); font-weight: 600; }
.tray-list .t-sub { font-size: 13px; color: var(--ink-3); }
.tray-list .t-price { font-family: var(--kufi); font-weight: 700; color: var(--ink); }
.tray-list .qty { grid-row: 2; grid-column: 2; justify-self: end; transform: scale(.85); transform-origin: left center; }
.tray-empty { flex: 1; display: grid; place-content: center; justify-items: center; text-align: center; gap: 6px; color: var(--ink-2); }
.tray-empty-mark { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); font: 700 50px/1 var(--display); color: var(--sand); }
.tray-empty p { max-width: 28ch; }
.tray-foot { padding-top: 16px; border-top: 2px solid var(--ink); }
.tray-total { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--kufi); }
.tray-total strong { font-size: 28px; color: var(--red); }
.tray-kcal { margin: 0 0 14px; font-size: 13px; color: var(--ink-3); }
.tray-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.tray-actions .btn-green { flex: 1; }

.lightbox { width: min(1100px, 96vw); max-height: 94svh; background: var(--night); color: #efe6d8; border-radius: 22px; padding: 16px 16px 12px; overflow: hidden; }
.lightbox img { width: 100%; max-height: 74svh; object-fit: contain; border-radius: 14px; }
.lightbox p { margin: 10px 4px 0; font-size: 14.5px; color: #c7b9a6; }
.lb-nav { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 8px; font-family: var(--kufi); font-size: 14px; }
.lb-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(239, 230, 216, .3); background: none; color: inherit; font-size: 18px; }
.lb-nav button:hover { border-color: #efe6d8; }

.received { width: min(460px, 94vw); background: transparent; overflow: visible; }
.received .inv-card { width: 100%; transform: none; animation: sheetIn .6s var(--ease); }
.received-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }
.received .btn-line, .received .btn-ghost { --fg: #fff6e8; --bd: rgba(255, 246, 232, .5); color: #fff6e8; }

.toast { position: fixed; left: 50%; bottom: 96px; z-index: 90; transform: translate(-50%, 20px); padding: 12px 20px; border-radius: 999px; background: var(--ink); color: var(--paper); font-family: var(--kufi); font-size: 14.5px; opacity: 0; pointer-events: none; transition: all .3s var(--ease); white-space: nowrap; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* mobile dock */
.dock { display: none; }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ============ intro ============ */
.intro { display: none; }
html.intro-on .intro { display: block; position: fixed; inset: 0; z-index: 200; pointer-events: none; animation: introGone 0s 2.5s forwards; }
.intro-half { position: absolute; top: 0; bottom: 0; width: 50.5%; background: var(--night); animation: introOpen 1s 1.35s cubic-bezier(.7, 0, .2, 1) forwards; }
.intro-r { right: 0; box-shadow: inset 10px 0 0 -4px var(--red); }
.intro-l { left: 0; box-shadow: inset -10px 0 0 -4px var(--red); --dir: -1; }
.intro-half::after { content: ""; position: absolute; top: 0; bottom: 0; width: 22px; background: url("/assets/sadu.svg") repeat-y center / 100% auto; }
.intro-r::after { left: 0; } .intro-l::after { right: 0; }
@keyframes introOpen { to { transform: translateX(calc(var(--dir, 1) * 102%)); } }
.intro-core { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 16px; animation: introCore 1.4s var(--ease) forwards; }
.intro-core img { width: min(220px, 50vw); filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .5)); }
.intro-thread { width: 0; height: 12px; background: url("/assets/sadu.svg") repeat-x right center / auto 100%; animation: thread .9s .2s var(--ease) forwards; }
.intro-core p { margin: 0; font: 700 clamp(22px, 3vw, 32px)/1.4 var(--display); color: var(--saffron); opacity: 0; animation: rise .7s .5s var(--ease) forwards; transform: translateY(10px); }
@keyframes thread { to { width: min(260px, 60vw); } }
@keyframes introCore { 0% { opacity: 0; transform: scale(.94); } 25% { opacity: 1; transform: none; } 80% { opacity: 1; } 100% { opacity: 0; transform: scale(1.04); } }
@keyframes introGone { to { visibility: hidden; } }

/* scroll progress thread */
.progress { position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: 3px; pointer-events: none; }
.progress span { display: block; height: 100%; transform-origin: right center; transform: scaleX(0); background: linear-gradient(90deg, var(--green), var(--saffron), var(--orange), var(--red)); }

/* custom cursor (fine pointers only, added by JS) */
.cursor { position: fixed; top: 0; left: 0; z-index: 150; pointer-events: none; width: 0; height: 0; }
.cursor span { position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 1.5px solid var(--red); display: grid; place-items: center; font: 600 0px/1 var(--kufi); color: #fff6e8; transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background .3s, border-color .3s, font-size .2s, opacity .3s; }
.cursor.hover span { width: 54px; height: 54px; margin: -27px 0 0 -27px; background: rgba(184, 38, 44, .08); }
.cursor.label span { width: 74px; height: 74px; margin: -37px 0 0 -37px; background: var(--red); border-color: var(--red); font-size: 14px; }
.cursor.dark span { border-color: var(--saffron); }
.cursor.dark.label span { background: var(--saffron); border-color: var(--saffron); color: var(--night); }
.cursor.hide span { opacity: 0; }
.mag { transition: translate .45s var(--ease), transform .2s var(--ease), background .2s, box-shadow .2s, color .2s; }

/* word reveal on display headings */
.display .w { display: inline-block; opacity: 0; transform: translateY(.45em) rotate(2deg); filter: blur(6px); transition: opacity .8s var(--ease), transform .9s var(--ease), filter .8s var(--ease); transition-delay: calc(var(--wi) * 80ms); }
.display.in .w { opacity: 1; transform: none; filter: none; }

/* ============ kinetic slogan ============ */
.kinetic { position: relative; z-index: 1; padding: clamp(30px, 5vw, 70px) 0; overflow: hidden; border-block: 1px solid var(--line); }
.k-row { white-space: nowrap; }
.k-line { display: inline-flex; align-items: center; gap: .35em; will-change: transform; }
.k-row span { font: 700 clamp(56px, 10vw, 150px)/1.25 var(--display); }
.k-1 span { color: var(--red); }
.k-2 span { color: transparent; -webkit-text-stroke: 1.5px var(--green); }
.k-2 span:nth-of-type(2n) { color: var(--green); -webkit-text-stroke: 0; }
.k-row i { width: .5em; height: .5em; flex: none; font-size: clamp(56px, 10vw, 150px); background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M10 0l3 7 7 3-7 3-3 7-3-7-7-3 7-3z' fill='%23efa53a'/></svg>") center / contain no-repeat; }

/* ============ signature showcase ============ */
.showcase { position: relative; background: var(--night); color: #efe6d8; }
.showcase::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 22px; z-index: 2; background: url("/assets/sadu.svg") repeat-x center / auto 100%; }
.sc-pin { position: sticky; top: var(--head-h); height: calc(100svh - var(--head-h)); display: grid; grid-template-columns: minmax(270px, 26%) 1fr; align-items: center; gap: clamp(20px, 3vw, 48px); padding: 40px 0 30px var(--pad); padding-inline-start: var(--pad); overflow: hidden; }
.sc-head .display { color: var(--saffron); font-size: clamp(40px, 4.6vw, 66px); }
.sc-lead { margin: 16px 0 26px; color: #c7b9a6; max-width: 34ch; }
.sc-meter { height: 3px; border-radius: 2px; background: rgba(239, 230, 216, .14); overflow: hidden; }
.sc-meter span { display: block; height: 100%; width: 100%; transform-origin: right center; transform: scaleX(.1); background: var(--saffron); }
.sc-count { display: flex; align-items: baseline; gap: 6px; margin: 12px 0 0; font-family: var(--kufi); color: #a89a87; }
.sc-count b { font-size: 34px; color: #fff6e8; }
.sc-viewport { position: relative; height: 100%; display: flex; align-items: center; overflow: hidden; }
.sc-track { list-style: none; margin: 0; padding: 0 0 0 var(--pad); display: flex; gap: clamp(18px, 2.2vw, 32px); will-change: transform; }
.sc-card { --rx: 0deg; --ry: 0deg; position: relative; flex: none; width: clamp(260px, 25vw, 370px); transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .4s var(--ease); }
.sc-card:nth-child(even) { margin-top: 70px; }
.sc-open { width: 100%; padding: 0; border: 0; background: none; color: inherit; text-align: right; display: block; }
.sc-fig { position: relative; margin: 0; aspect-ratio: 1.15; border-radius: 999px 999px 22px 22px; overflow: hidden; background: #0f0b08; box-shadow: 0 40px 60px -30px rgba(0, 0, 0, .8); }
.sc-fig::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 40%, transparent 55%, rgba(15, 11, 8, .7)); }
.sc-fig img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1s var(--ease); }
.sc-card:hover .sc-fig img { transform: scale(1.14); }
.sc-no { position: absolute; top: 14px; right: 50%; translate: 50% 0; z-index: 1; font: 600 13px/1 var(--kufi); letter-spacing: .1em; color: rgba(255, 246, 232, .75); }
.sc-txt { display: block; padding: 18px 4px 0; }
.sc-cat { display: block; font: 600 12.5px/1.4 var(--kufi); color: var(--c, var(--saffron)); }
.sc-name { display: block; margin: 2px 0 6px; font: 700 clamp(28px, 2.4vw, 36px)/1.25 var(--display); color: #fff6e8; }
.sc-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; line-height: 1.7; color: #b8ab98; }
.sc-meta { display: flex; align-items: baseline; gap: 12px; margin-top: 10px; }
.sc-meta strong { font: 700 22px/1 var(--kufi); color: var(--saffron); }
.sc-meta small { font-size: 12.5px; color: #8f826f; }
.sc-add { position: absolute; top: 14px; left: 14px; z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--saffron); color: var(--night); font: 600 24px/1 var(--kufi); box-shadow: 0 10px 20px -8px rgba(0, 0, 0, .6); transition: transform .3s var(--ease); }
.sc-add:hover { transform: scale(1.1) rotate(90deg); }
.sc-end { flex: none; width: clamp(240px, 22vw, 320px); align-self: center; display: grid; gap: 14px; justify-items: start; padding: 30px; border: 1.5px dashed rgba(239, 230, 216, .25); border-radius: 26px; }
.sc-end b { font: 700 34px/1.25 var(--display); color: #fff6e8; }
.sc-end p { margin: 0; color: #b8ab98; font-size: 14.5px; }

/* ============ reserve ============ */
.reserve { display: grid; grid-template-columns: 1.15fr .85fr; grid-template-rows: auto 1fr; gap: 30px clamp(30px, 5vw, 80px); background: linear-gradient(180deg, transparent, rgba(226, 214, 193, .45)); }
.res-intro { grid-column: 1; }
.res-intro .display { color: var(--green); }
.res-intro p:last-child { color: var(--ink-2); max-width: 48ch; }
.res-form { grid-column: 1; grid-row: 2; display: grid; gap: 26px; align-content: start; }
.res-form fieldset { border: 0; margin: 0; padding: 0; }
.res-form legend { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; padding: 0; font-family: var(--kufi); font-weight: 600; font-size: 18px; }
.res-note { margin: 10px 0 0; font-size: 13.5px; color: var(--ink-3); }
.res-note:empty { display: none; }
.res-times { margin-top: 8px; }
.corners { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.corner { position: relative; cursor: pointer; }
.corner input { position: absolute; opacity: 0; inset: 0; }
.corner > span { display: grid; gap: 2px; padding: 6px 6px 12px; border-radius: 20px; border: 1.5px solid var(--line); background: #fffaf1; transition: all .3s var(--ease); }
.corner img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 999px 999px 14px 14px; margin-bottom: 8px; filter: saturate(.7); transition: filter .3s; }
.corner b { padding: 0 6px; font-family: var(--kufi); font-weight: 600; font-size: 15px; line-height: 1.4; }
.corner small { padding: 0 6px; font-size: 12.5px; line-height: 1.5; color: var(--ink-3); }
.corner:hover > span { border-color: var(--ink-2); }
.corner input:checked + span { border-color: var(--green); box-shadow: 0 0 0 3px rgba(46, 138, 87, .18), 0 20px 30px -24px rgba(43, 33, 27, .6); transform: translateY(-4px); }
.corner input:checked + span img { filter: none; }
.corner input:checked + span::after { content: "✓"; position: absolute; top: 12px; left: 12px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; font-size: 14px; }
.corner input:focus-visible + span { outline: 2.5px solid var(--orange); outline-offset: 3px; }
.guests { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.qty.big { background: #fffaf1; }
.qty.big button { width: 52px; height: 52px; font-size: 26px; }
.qty.big output { min-width: 40px; font-size: 24px; }
.cups { display: flex; flex-wrap: wrap; gap: 4px; flex: 1; min-height: 34px; }
.cups svg { width: 28px; height: 34px; animation: cupIn .45s var(--ease) both; }
@keyframes cupIn { from { opacity: 0; transform: translateY(10px) scale(.6); } }
.res-side { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: calc(var(--head-h) + 30px); align-self: start; display: grid; gap: 14px; }
.ticket { position: relative; display: grid; grid-template-columns: 1fr 64px; grid-template-rows: auto 1fr; border-radius: 22px; background: #fffaf1; box-shadow: 0 40px 70px -40px rgba(43, 33, 27, .6); overflow: hidden; }
.t-photo { grid-column: 1 / -1; margin: 0; aspect-ratio: 2; overflow: hidden; position: relative; }
.t-photo img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }
.t-photo::after { content: ""; position: absolute; inset: auto 0 0; height: 20px; background: url("/assets/sadu.svg") repeat-x center / auto 100%; }
.t-body { padding: 20px 24px 22px; }
.t-kicker { margin: 0; font: 600 12.5px/1.4 var(--kufi); letter-spacing: .04em; color: var(--orange); }
.t-name { margin: 2px 0 12px; font: 700 34px/1.25 var(--display); color: var(--red); }
.t-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin: 0; }
.t-grid div { margin: 0; }
.t-grid dt { font-size: 12px; color: var(--ink-3); }
.t-grid dd { margin: 0; font: 600 15.5px/1.5 var(--kufi); color: var(--ink); }
.t-occ { display: inline-block; margin: 14px 0 0; padding: 5px 14px; border-radius: 999px; background: rgba(239, 165, 58, .2); font: 600 13.5px/1.6 var(--kufi); }
.t-stub { position: relative; display: grid; place-items: center; border-inline-start: 2px dashed var(--line); background: var(--paper-2); }
.t-stub::before, .t-stub::after { content: ""; position: absolute; right: -11px; width: 20px; height: 20px; border-radius: 50%; background: var(--paper); }
.t-stub::before { top: -10px; } .t-stub::after { bottom: -10px; }
.t-stub span { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff6e8; font: 700 26px/1 var(--display); transform: rotate(-12deg); }
.ticket.flash { animation: flash .6s var(--ease); }
.res-send { width: 100%; min-height: 56px; font-size: 17px; }
.res-send svg { width: 22px; height: 22px; }
.res-fine { margin: 0; font-size: 13px; color: var(--ink-3); text-align: center; }
.res-fine a { color: var(--ink); font-weight: 600; }

/* footer giant word */
.f-giant { margin: 0; padding: 40px var(--pad) 0; text-align: center; font: 700 clamp(120px, 26vw, 380px)/1 var(--display); background: linear-gradient(90deg, var(--green), var(--lime) 25%, var(--saffron) 50%, var(--orange) 70%, var(--red)); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .95; }

/* ============ responsive ============ */
@media (max-width: 1240px) {
  .oud-btn span { display: none; }
  .oud-btn { width: 46px; padding: 0; justify-content: center; }
}
@media (max-width: 1100px) {
  .nav a { padding: 8px 8px; font-size: 14px; }
  .items.compact { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  :root { --head-h: 66px; }
  .nav, .hide-sm { display: none; }
  .top { justify-content: space-between; }
  .brand img { height: 44px; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 28px; }
  .gate { max-width: 380px; order: -1; margin-bottom: 40px; }
  .sc-pin { position: static; height: auto; grid-template-columns: 1fr; padding: 60px 0 40px; }
  .sc-head { padding: 0 var(--pad); }
  .sc-meter, .sc-count { display: none; }
  .sc-viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 10px; }
  .sc-viewport::-webkit-scrollbar { display: none; }
  .sc-track { padding: 10px var(--pad) 10px var(--pad); transform: none !important; }
  .sc-card { scroll-snap-align: center; width: min(78vw, 320px); }
  .sc-card:nth-child(even) { margin-top: 0; }
  .reserve { grid-template-columns: 1fr; }
  .res-intro, .res-form, .res-side { grid-column: auto; grid-row: auto; }
  .res-side { position: static; }
  .corners { grid-template-columns: repeat(2, 1fr); }
  .doorway { left: 25%; right: 25%; }
  .era { grid-template-columns: 1fr; }
  .era-head { position: static; }
  .lab { grid-template-columns: 1fr; }
  .lab::before { inset: 40% -20% 0 -20%; }
  .story { grid-template-columns: 1fr; }
  .story-head, .story-body, .story-door, .pillars { grid-column: auto; grid-row: auto; }
  .story-door { max-width: 380px; aspect-ratio: .9; }
  .pillars { grid-template-columns: 1fr; }
  .p-goal { margin-top: 0; }
  .p-way { grid-column: auto; }
  .items, .skeleton { grid-template-columns: 1fr; }
  .items.compact { grid-template-columns: 1fr 1fr; gap: 0 24px; }
  .picker { grid-template-columns: 1fr; }
  .invite { grid-template-columns: 1fr; }
  .invite-intro, .invite-form, .invite-preview { grid-column: auto; grid-row: auto; }
  .invite-preview { position: static; order: 2; padding: 10px 0; }
  .invite-form { order: 3; }
  .tour-head { grid-template-columns: 1fr; }
  .tour-head p { justify-self: start; }
  .tour-grid { grid-template-columns: repeat(4, 1fr); }
  .tg-a { grid-column: span 4; grid-row: span 3; }
  .tg-b, .tg-c, .tg-e, .tg-f, .tg-g { grid-column: span 2; }
  .tg-d, .tg-h, .tg-i { grid-column: span 2; grid-row: span 1; }
  .visit { grid-template-columns: 1fr; }
  .map-frame { min-height: 340px; border-radius: 24px; }
  .dock {
    position: fixed; z-index: 45; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
    display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px; border-radius: 22px;
    background: rgba(34, 26, 21, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .6);
  }
  .dock a, .dock button { display: grid; justify-items: center; gap: 2px; padding: 7px 4px; border: 0; border-radius: 16px; background: none; color: #e9dfd0; text-decoration: none; font-family: var(--kufi); font-size: 12px; }
  .dock a:active, .dock button:active { background: rgba(255, 255, 255, .08); }
  .dock svg { width: 22px; height: 22px; }
  .dock b { display: inline-block; min-width: 17px; padding: 0 4px; border-radius: 999px; background: var(--red); color: #fff; font-size: 11px; line-height: 17px; }
  .dock b:not(.has) { display: none; }
  .footer { padding-bottom: 110px; }
  .toast { bottom: 100px; }
  .sheet { margin: auto 0 0; width: 100vw; max-width: 100vw; border-radius: 26px 26px 0 0; }
  .tray { width: 100vw; max-width: 100vw; border-radius: 0; }
}
@media (max-width: 560px) {
  body { font-size: 15.5px; }
  .hero-title .l2 { padding-inline-start: .3em; }
  .hero-facts { gap: 18px; }
  .hero-facts dd { font-size: 12.5px; }
  .pairs { grid-template-columns: 1fr; }
  .t-name { font-size: 30px; }
  .k-2 span { -webkit-text-stroke-width: 1px; }
  .lab-stage { grid-template-columns: 1fr; justify-items: center; }
  .receipt { max-width: 100%; width: 100%; }
  .hero-cta .btn-ghost { display: none; }
  .items.compact { grid-template-columns: 1fr; }
  .item.has-img .item-btn { grid-template-columns: 76px 1fr auto; }
  .item-thumb { width: 76px; height: 62px; }
  .item-name { font-size: 16.5px; }
  .field-row { grid-template-columns: 1fr; }
  .result-card { grid-template-columns: 1fr; }
  .tour-grid { grid-auto-rows: 120px; gap: 8px; }
  .sheet-body h3 { font-size: 32px; }
}
