/* Public site */
#donut-bg { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100lvh; z-index: 0; pointer-events: none; }
.bg-glow {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60vmax 50vmax at 85% 10%, rgba(255, 95, 180, .16), transparent 60%),
    radial-gradient(50vmax 40vmax at 0% 90%, rgba(79, 224, 232, .10), transparent 60%);
}
body > header, body > main, body > footer { position: relative; z-index: 1; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--pink); color: var(--on-accent); padding: 10px 16px; border-radius: 999px; font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 20; transition: background .3s, backdrop-filter .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(15, 11, 19, .94); backdrop-filter: blur(14px) saturate(1.4); border-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { font: 800 20px/1 var(--display); color: var(--text); text-decoration: none; letter-spacing: -.02em; white-space: nowrap; }
.logo span { color: var(--pink); }
.logo.small { font-size: 17px; margin: 0; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { color: var(--text); text-decoration: none; font-weight: 500; font-size: 15px; position: relative; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--pink); transform: scaleX(0); transition: transform .25s var(--ease); transform-origin: left; }
.nav-links a:hover::after { transform: scaleX(1); }
.cart-btn {
  display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 8px 0 18px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--text); font: 600 15px var(--body); cursor: pointer;
  transition: border-color .2s, transform .2s var(--ease);
}
.cart-btn:hover { border-color: var(--pink); }
.cart-count { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 8px; border-radius: 999px; background: var(--pink); color: var(--on-accent); font-weight: 700; }
.cart-btn.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.12); } }

/* ---------- hero ---------- */
.hero { min-height: calc(100svh - 72px); display: flex; flex-direction: column; justify-content: center; padding: 40px 0 72px; position: relative; }
.hero-inner { max-width: 1180px; }
.hero h1 { font-size: clamp(30px, 7.4vw, 92px); max-width: 11ch; margin-bottom: 24px; }
.hl { background: linear-gradient(92deg, var(--pink), var(--lilac) 55%, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hl-cyan { color: var(--cyan); }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: #e2d8e7; max-width: 34ch; margin-bottom: 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.status-line { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: var(--muted); margin: 0; }
.status-line::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--muted); flex: none; }
.status-line.open::before { background: var(--green); box-shadow: 0 0 0 4px rgba(110, 231, 168, .18); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(110, 231, 168, 0); } }
.hero-caption { position: absolute; right: max(16px, calc((100vw - 1180px) / 2)); bottom: 28px; margin: 0; font-size: 13px; color: var(--muted); max-width: 30ch; text-align: right; }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: rgba(22, 16, 25, .7); backdrop-filter: blur(6px); padding: 18px 0; }
.marquee-track { display: flex; gap: 40px; width: max-content; animation: marquee 50s linear infinite; font: 700 22px/1 var(--display); white-space: nowrap; }
.marquee-track span:nth-child(3n+1) { color: var(--pink); }
.marquee-track span:nth-child(3n+2) { color: var(--cyan); }
.marquee-track span:nth-child(3n) { color: var(--yellow); }
.marquee-track i { color: var(--line); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- menu ---------- */
.menu-section { padding: 110px 0 80px; background: linear-gradient(to bottom, rgba(15, 11, 19, .55), rgba(15, 11, 19, .9) 240px); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; margin-bottom: 32px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; max-width: 46ch; justify-self: end; }
.tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 24px; scrollbar-width: none; }
.tab {
  flex: none; height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: transparent;
  color: var(--muted); font: 600 15px var(--body); cursor: pointer; transition: all .2s var(--ease);
}
.tab:hover { color: var(--text); border-color: var(--muted); }
.tab[aria-selected=true] { background: var(--text); color: var(--on-accent); border-color: var(--text); }
.menu-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.item { display: grid; grid-template-columns: 1fr 116px; gap: 6px 20px; padding: 22px 0; border-bottom: 1px solid var(--line); animation: rise .5s var(--ease) both; }
.item:nth-child(2n) { animation-delay: .05s; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
.item h3 { margin: 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 18px; }
.item p { grid-column: 1; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.item .price { font-weight: 700; color: var(--text); font-size: 17px; align-self: center; justify-self: end; }
.item-actions { grid-column: 2; grid-row: 2; justify-self: end; align-self: end; }
.add-btn {
  height: 40px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--pink); background: transparent; color: var(--pink);
  font: 700 14px var(--body); cursor: pointer; transition: background .2s, color .2s, transform .15s var(--ease);
}
.add-btn:hover { background: var(--pink); color: var(--on-accent); }
.add-btn:active { transform: scale(.94); }
.stepper { display: inline-flex; align-items: center; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.stepper button { width: 34px; height: 34px; border-radius: 50%; border: 0; background: transparent; color: var(--text); font: 700 18px/1 var(--body); cursor: pointer; }
.stepper button:hover { background: var(--surface-2); }
.stepper output { min-width: 24px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.fine { font-size: 13px; color: var(--muted); margin-top: 20px; }
.center { text-align: center; }

/* ---------- about / visit / custom ---------- */
.about { padding: 110px 0; background: rgba(15, 11, 19, .9); }
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.about-grid p { color: #ddd2e2; font-size: 18px; }
.visit { padding: 0 0 110px; background: rgba(15, 11, 19, .9); }
.visit-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; }
.visit-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; }
.address { font: 700 clamp(22px, 2.6vw, 30px)/1.25 var(--display); margin-bottom: 18px; }
.soon { border-left: 3px solid var(--yellow); padding-left: 14px; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 8px 24px; margin: 0 0 20px; font-variant-numeric: tabular-nums; }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; text-align: right; }
.hours .today { color: var(--text); font-weight: 700; }
.hours dd.closed { color: var(--muted); }
.custom { padding: 0 0 110px; background: rgba(15, 11, 19, .9); }
.custom-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 48px; border-radius: 28px;
  background: linear-gradient(120deg, #2a1230, #13232b); border: 1px solid var(--line); position: relative; overflow: hidden;
}
.custom-inner::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: url('/img/sprinkles.svg'); background-size: 260px;
  mask-image: linear-gradient(90deg, transparent 40%, #000);
}
.custom-inner > * { position: relative; z-index: 1; }
.custom-inner h2 { font-size: clamp(26px, 3.4vw, 38px); }
.custom-inner p { color: #ddd2e2; max-width: 52ch; margin: 0; }
.custom-inner .btn { flex: none; }

.footer { padding: 40px 0 56px; background: var(--bg); border-top: 1px solid var(--line); }
.footer-inner { display: grid; gap: 6px; }
.footer p { margin: 0; font-size: 14px; }

/* ---------- order drawer ---------- */
.drawer {
  margin: 0 0 0 auto; height: 100dvh; max-height: 100dvh; width: min(460px, 100vw); max-width: 100vw; padding: 0;
  border: 0; border-left: 1px solid var(--line); background: var(--bg-2); color: var(--text);
}
.drawer[open] { animation: slide-in .35s var(--ease); }
@keyframes slide-in { from { transform: translateX(100%); } }
.drawer::backdrop { background: rgba(5, 3, 7, .6); backdrop-filter: blur(4px); }
.drawer-inner { display: flex; flex-direction: column; height: 100%; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 22px; margin: 0; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px 20px; }
.drawer-body h3 { margin: 28px 0 14px; font-size: 16px; }
.drawer-foot { padding: 16px 24px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--bg-2); }
.drawer-foot .fine { margin: 10px 0 0; }
.cart-lines { list-style: none; margin: 0; padding: 0; }
.cart-line { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-line strong { font-weight: 600; }
.cart-line .price { grid-column: 1; color: var(--muted); font-size: 14px; }
.cart-line .stepper { grid-row: 1 / span 2; grid-column: 2; }
.cart-empty { padding: 30px 0; text-align: center; }
.totals { display: grid; grid-template-columns: 1fr auto; gap: 6px; margin: 16px 0 0; }
.totals dt { color: var(--muted); }
.totals dd { margin: 0; text-align: right; }
.totals .grand { font-weight: 700; font-size: 19px; color: var(--text); padding-top: 8px; border-top: 1px solid var(--line); margin-top: 4px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- legal + error pages ---------- */
.legal { padding: 60px 0 100px; max-width: 760px; }
.legal h1 { font-size: clamp(32px, 5vw, 48px); }
.legal h2 { font-size: 22px; margin-top: 40px; }
.legal p, .legal li { color: #ddd2e2; }
.error-page { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .cart-btn { margin-left: auto; }
  .hero { justify-content: flex-end; padding-bottom: 56px; min-height: calc(100svh - 72px); }
  .hero h1 { max-width: 12ch; font-size: min(9.4vw, 64px); }
  .hero-caption { display: none; }
  .section-head, .about-grid, .visit-grid { grid-template-columns: 1fr; gap: 16px; }
  .section-head p { justify-self: start; }
  .menu-list { grid-template-columns: 1fr; }
  .custom-inner { flex-direction: column; align-items: flex-start; padding: 32px 24px; }
  .visit-card { padding: 26px; }
  .menu-section, .about { padding: 72px 0; }
}
@media (max-width: 420px) {
  .cart-btn span:first-child { display: none; }
  .cart-btn { padding: 0 6px; }
  .two { grid-template-columns: 1fr; gap: 0; }
  .logo { font-size: 18px; }
}
.push { margin-left: auto; }

/* ---------- monthly theme banner ---------- */
.theme { padding: 90px 0 0; background: rgba(15, 11, 19, .55); }
.theme-inner {
  position: relative; overflow: hidden; border-radius: 32px; padding: clamp(36px, 6vw, 72px);
  background: linear-gradient(115deg, #ff5fb4 0%, #b993ff 52%, #4fe0e8 100%); color: var(--on-accent);
  box-shadow: 0 30px 80px -30px rgba(255, 95, 180, .55);
}
/* Rings fill the card exactly and ripple outward by shifting the gradient's phase */
@property --ring { syntax: '<length>'; initial-value: 0px; inherits: false; }
.theme-inner::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .18;
  background: repeating-radial-gradient(circle at 80% 30%, transparent var(--ring) calc(var(--ring) + 22px), #150d17 calc(var(--ring) + 22px) calc(var(--ring) + 24px));
  animation: ripple 3s linear infinite;
}
@keyframes ripple { to { --ring: 24px; } }
.theme-inner > * { position: relative; }
.theme-when { font-weight: 700; font-size: 15px; margin: 0 0 10px; }
.theme h2 { font-size: clamp(40px, 8vw, 104px); font-weight: 800; letter-spacing: -.03em; margin: 0 0 14px; line-height: .95; }
.theme-message { font: 700 clamp(20px, 2.6vw, 30px)/1.2 var(--display); margin: 0 0 30px; max-width: 22ch; }
.theme .btn { --b: #150d17; color: var(--text); box-shadow: none; }
.theme .btn:hover { color: var(--text); background: #2a1f2e; }

.cat-note { grid-column: 1 / -1; margin: 0 0 6px; padding: 14px 18px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.item.sized .item-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.item.sized { grid-template-columns: 1fr auto; }
.item.sized .item-actions { grid-column: 1 / -1; grid-row: auto; }
.stepper output { padding: 0 2px; white-space: nowrap; }
