:root {
  --bg: #faf7f2;
  --bg-card: #ffffff;
  --ink: #1a1714;
  --ink-2: #4a423a;
  --ink-3: #8c8279;
  --line: #e9e1d5;
  --line-2: #f1ebe0;
  --accent: #d4622a;
  --accent-deep: #a84715;
  --accent-tint: #fbeadc;
  --brand-dark: #0f0d0b;
  --shadow-sm: 0 1px 2px rgba(30,20,10,.04), 0 2px 8px rgba(30,20,10,.04);
  --shadow-md: 0 8px 24px rgba(30,20,10,.08), 0 2px 6px rgba(30,20,10,.05);
  --shadow-lg: 0 24px 60px rgba(30,20,10,.16), 0 8px 20px rgba(30,20,10,.08);
  --radius: 14px;
  --radius-sm: 10px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --maxw: 1160px;
  --header-h: 60px;
  --catbar-h: 56px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --story-photo-bg: url("assets/story-atelier-light.jpeg");
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none;
  position: relative;
}
#root {
  position: relative;
  z-index: 1;
  filter: blur(1.2px) saturate(.92);
  opacity: .9;
}
@media (max-width: 768px) {
  #root {
    filter: blur(.9px) saturate(.94);
    opacity: .92;
  }
}

/* ======================= FIXED BACKGROUND LOGO ======================= */
body::before,
body::after {
  content: none;
}
.bg-logo-shell {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  z-index: 0;
}
.bg-metallic-logo {
  width: clamp(220px, 28vw, 380px);
  aspect-ratio: 1 / 1;
  opacity: .52;
  filter: none;
  transform-style: preserve-3d;
}
.bg-metallic-logo .ml-stage {
  width: 100%;
  height: 100%;
}
.bg-metallic-logo .ml-ring {
  display: none !important;
}
.bg-metallic-logo .ml-coin {
  width: 100%;
  height: 100%;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: 0 14px 34px rgba(0,0,0,.2);
  animation: bgCoinRotate 42s linear infinite;
}
.bg-metallic-logo .ml-face {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0;
  overflow: visible;
}
.bg-metallic-logo .ml-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
  mix-blend-mode: normal;
  opacity: 1;
  filter: none;
  image-rendering: auto;
}
.bg-metallic-logo .ml-bevel,
.bg-metallic-logo .ml-shine,
.bg-metallic-logo .ml-rim,
.bg-metallic-logo .ml-edge {
  display: none !important;
}
.bg-logo-vignette {
  display: none;
}
@keyframes bgCoinRotate {
  0% { transform: rotateX(-6deg) rotateY(0deg); }
  50% { transform: rotateX(6deg) rotateY(180deg); }
  100% { transform: rotateX(-6deg) rotateY(360deg); }
}
@media (max-width: 768px) {
  .bg-metallic-logo {
    width: clamp(160px, 40vw, 230px);
    opacity: .4;
  }
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: transparent; }

/* ======================= HEADER — DARK BRAND ======================= */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--brand-dark);
  color: #fff;
  height: var(--header-h);
}
.header-inner {
  max-width: var(--maxw); margin: 0 auto; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  width: 40px; height: 40px;
  border-radius: 0;
  object-fit: cover;
  background: #000;
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 600;
  letter-spacing: .01em;
}
.brand-sub {
  font-size: 10px; color: #a8a29a;
  text-transform: uppercase; letter-spacing: .18em;
  font-weight: 500; margin-top: 3px;
}
.cart-btn {
  position: relative;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: #fff;
  transition: background .2s, transform .1s;
}
.cart-btn:hover { background: rgba(255,255,255,.14); }
.cart-btn:active { transform: scale(.94); }
.cart-badge {
  position: absolute; top: 2px; right: 2px;
  background: var(--accent); color: #fff;
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px;
  font-size: 10.5px; font-weight: 700;
  display: grid; place-items: center;
  border: 2px solid var(--brand-dark);
}

/* ======================= CATEGORY PILL BAR ======================= */
.cat-bar {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translate(10px, -50%);
  width: min(236px, calc(100vw - 12px));
  max-width: min(236px, calc(100vw - 12px));
  max-height: calc(100vh - 120px);
  z-index: 41;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .25s ease;
}
.cat-bar.visible {
  opacity: .82;
  transform: translate(0, -50%);
  pointer-events: auto;
}
.cat-bar-inner {
  --dial-r: 238px;
  --dial-pill-w: 158px;
  --dial-anchor-x: calc((var(--dial-pill-w) / 2) + 6px);
  background: transparent;
  color: #fff;
  border: 0;
  border-radius: 999px 0 0 999px;
  box-shadow: none;
  position: relative;
  width: 100%;
  height: min(520px, calc(100vh - 140px));
  max-height: inherit;
  overflow: hidden;
  padding: 12px 10px 12px 8px;
  perspective: 780px;
  overscroll-behavior: contain;
}
.cat-bar-inner::before {
  content: "";
  position: absolute;
  left: var(--dial-anchor-x);
  top: calc(50% - var(--dial-r));
  width: calc(var(--dial-r) * 2);
  height: calc(var(--dial-r) * 2);
  border-radius: 50%;
  border: 1px solid rgba(130,130,130,.34);
  pointer-events: none;
}
.cat-bar-inner::-webkit-scrollbar { display: none; }
.cat-pill {
  position: absolute;
  left: var(--dial-anchor-x);
  top: 50%;
  padding: 0;
  border-radius: 999px;
  font-size: calc(12px * var(--item-font-scale, 1));
  font-weight: var(--item-weight, 520);
  letter-spacing: var(--item-track, .08px);
  color: rgba(75, 69, 61, .88);
  white-space: nowrap;
  border: 0;
  background: transparent;
  text-shadow: 0 1px 2px rgba(255,255,255,.45);
  transition: transform .34s cubic-bezier(.22,.74,.2,1), opacity .3s ease, background .2s, color .2s, border-color .2s, font-size .3s ease, letter-spacing .3s ease, font-weight .3s ease, filter .3s ease;
  width: max-content;
  max-width: none;
  text-align: center;
  opacity: calc(var(--item-alpha, .8) * var(--item-visible, 1));
  transform-origin: center center;
  transform: translate(calc(-50% + var(--item-x, 0px)), calc(-50% + var(--item-y, 0px))) rotateZ(var(--item-tilt, 0deg)) scale(var(--item-scale, 1));
  filter: blur(calc((1 - var(--item-clarity, 1)) * .22px));
  will-change: transform, opacity;
  z-index: var(--item-z, 1);
  line-height: 1;
}
.cat-pill:hover { background: rgba(255,255,255,.12); color: #fff; }
.cat-pill.active {
  background: rgba(255,255,255,.93);
  color: #0f0d0b;
  border-color: rgba(18, 15, 12, .34);
  border: 1px solid rgba(18, 15, 12, .34);
  width: var(--dial-pill-w);
  max-width: var(--dial-pill-w);
  padding: 10px 14px;
  opacity: 1;
  transform: translate(calc(-50% + var(--item-x, 0px)), calc(-50% + var(--item-y, 0px))) rotateZ(var(--item-tilt, 0deg)) scale(1.08);
  font-size: 16px;
  letter-spacing: .36px;
  font-weight: 760;
  filter: blur(0);
  box-shadow: none;
  z-index: 120;
}

/* ======================= FLOATING NAV ======================= */
.floating-nav {
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1100px, calc(100% - 24px));
  z-index: 42;
}
.floating-nav.visible {
  opacity: 1;
  transform: translateX(-50%);
  pointer-events: auto;
}
.fn-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  min-height: var(--catbar-h);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.fn-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 16px;
  white-space: nowrap;
}
.fn-brand img {
  width: 24px;
  height: 24px;
  border-radius: 0;
}
.fn-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  justify-content: center;
}
.fn-links a {
  font-size: 14px;
  color: var(--ink-2);
}
.fn-cta {
  background: var(--brand-dark);
  color: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
}
.fn-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.theme-btn {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(26,22,18,.16);
  background: rgba(255,255,255,.74);
  color: #1a1612;
  transition: background .2s ease, border-color .2s ease, transform .16s ease;
}
.theme-btn:hover {
  background: rgba(255,255,255,.9);
}
.theme-btn:active {
  transform: scale(.96);
}
.theme-fab {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 43;
  min-width: 62px;
  height: 34px;
  border-radius: 999px;
  padding: 0 12px;
  border: 1px solid rgba(26,22,18,.16);
  background: rgba(255,255,255,.78);
  color: #1a1612;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  display: none;
}
@media (max-width: 900px) {
  .floating-nav { display: none; }
  .theme-fab { display: inline-flex; align-items: center; justify-content: center; }
}

/* ======================= HERO ======================= */
.hero {
  position: relative;
  padding: 40px 20px 50px;
  overflow: hidden;
  perspective: 1200px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse at 70% 20%, rgba(212,98,42,.14), transparent 55%),
    radial-gradient(ellipse at 20% 90%, rgba(107,122,58,.08), transparent 50%),
    linear-gradient(180deg, #f5ede1, #faf7f2);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(30,20,10,.06) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .3;
  mask-image: radial-gradient(ellipse at 50% 30%, black 20%, transparent 75%);
}

/* ======================= METALLIC COPPER LOGO ======================= */
.metallic-logo {
  position: relative;
  width: min(520px, 74vw);
  aspect-ratio: 1;
  margin: 40px auto 36px;
  perspective: 1600px;
  pointer-events: none;
  animation: mlFloat 8s ease-in-out infinite;
}
@keyframes mlFloat {
  0%,100% { transform: translateY(0) }
  50% { transform: translateY(-12px) }
}
.ml-glow {
  position: absolute; inset: -10%;
  background:
    radial-gradient(circle at 50% 50%, rgba(218, 126, 52, .55), transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(255, 196, 128, .35), transparent 65%);
  filter: blur(60px);
  z-index: 0;
  animation: mlPulse 6s ease-in-out infinite;
}
@keyframes mlPulse {
  0%,100% { opacity: .9; transform: scale(1) }
  50% { opacity: 1; transform: scale(1.06) }
}
.ml-floor {
  position: absolute;
  left: 10%; right: 10%;
  bottom: -4%;
  height: 22%;
  background: radial-gradient(ellipse at 50% 0%, rgba(60,30,10,.35), transparent 65%);
  filter: blur(18px);
  z-index: 0;
}
.ml-stage {
  position: relative;
  width: 100%; height: 100%;
  transform-style: preserve-3d;
  display: grid; place-items: center;
}
.ml-ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  pointer-events: none;
  animation: mlRing 14s linear infinite;
}
.ml-ring-outer {
  background:
    conic-gradient(from 0deg,
      #3a1f0c 0deg, #d89152 30deg, #fce1b8 55deg, #a25a20 80deg,
      #2d1508 130deg, #c17a3a 180deg, #fbd9a8 210deg, #8a4316 240deg,
      #2a1208 290deg, #d89152 330deg, #3a1f0c 360deg);
  mask: radial-gradient(circle, transparent 46%, #000 47%, #000 50%, transparent 51%);
  -webkit-mask: radial-gradient(circle, transparent 46%, #000 47%, #000 50%, transparent 51%);
  filter: drop-shadow(0 0 18px rgba(220,130,60,.5));
}
.ml-ring-inner {
  background:
    conic-gradient(from 180deg,
      #fde6c0 0deg, #b06d2e 60deg, #6a3410 120deg, #e7a560 180deg,
      #f9d9ab 240deg, #8c4b1c 300deg, #fde6c0 360deg);
  mask: radial-gradient(circle, transparent 39%, #000 40%, #000 42%, transparent 43%);
  -webkit-mask: radial-gradient(circle, transparent 39%, #000 40%, #000 42%, transparent 43%);
  animation-duration: 22s;
  animation-direction: reverse;
  opacity: .85;
}
@keyframes mlRing { to { transform: rotate(360deg) } }
.ml-coin {
  position: relative;
  width: 72%; height: 72%;
  transform-style: preserve-3d;
  will-change: transform;
}
.ml-face {
  position: absolute; inset: 0;
  border-radius: 50%;
  backface-visibility: hidden;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 25%, #fde5c2 0%, #d88b48 28%, #8b4716 70%, #3a1a06 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255,225,180,.5),
    inset 0 -30px 50px rgba(45,20,5,.5),
    inset 0 30px 50px rgba(255,220,180,.2),
    0 30px 60px rgba(70,30,10,.35);
}
.ml-face-back { transform: rotateY(180deg); }
.ml-bevel {
  position: absolute; inset: 4%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #f4c989 0%, #c07a3a 45%, #6a3410 100%);
  box-shadow:
    inset 0 0 0 2px rgba(60,25,8,.5),
    inset 0 0 0 3px rgba(255,220,180,.25),
    inset 0 -18px 30px rgba(40,18,6,.55),
    inset 0 12px 24px rgba(255,225,180,.22);
}
.ml-img {
  position: absolute; inset: 10%;
  width: 80%; height: 80%;
  object-fit: cover;
  border-radius: 50%;
  mix-blend-mode: multiply;
  opacity: .92;
  filter: contrast(1.15) saturate(1.1) sepia(.12);
}
.ml-shine {
  position: absolute; inset: 4%;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 28% 22%, rgba(255,240,210,.7), transparent 40%),
    linear-gradient(135deg, rgba(255,240,210,.35) 0%, transparent 35%, transparent 65%, rgba(50,22,6,.25) 100%);
  mix-blend-mode: screen;
  pointer-events: none;
}
.ml-rim {
  position: absolute; inset: 0;
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 1px rgba(255,240,210,.6),
    inset 2px 2px 4px rgba(255,240,210,.3),
    inset -2px -2px 4px rgba(30,14,4,.55);
  pointer-events: none;
}
.ml-edge {
  position: absolute; inset: -2%;
  border-radius: 50%;
  background: conic-gradient(from 0deg,
    #3a1a06, #c07a3a, #fde5c2, #8b4716, #3a1a06,
    #c07a3a, #fde5c2, #8b4716, #3a1a06);
  transform: translateZ(-6px);
  filter: blur(2px);
  opacity: .5;
}
@media (max-width: 600px) {
  .metallic-logo { width: min(340px, 80vw); margin: 24px auto 22px; }
}

/* Keep everything else above the fixed logo */
.site-header, .hero, .menu, .site-foot,
.floating-order, .cart-drawer, .cart-scrim,
.jump-fab, .jump-sheet, .jump-scrim,
.tweaks-panel, .process, .stats, .story {
  position: relative;
  z-index: 1;
}
.site-header { z-index: 40; }
.cat-bar { z-index: 41; }
.floating-order { z-index: 30; }
.jump-fab { z-index: 28; }
.cart-scrim { z-index: 60; }
.cart-drawer { z-index: 61; }
.jump-scrim { z-index: 54; }
.jump-sheet { z-index: 55; }
.tweaks-panel { z-index: 100; }

/* Make hero/menu backgrounds transparent so the fixed logo shows through */
.hero-bg {
  background:
    radial-gradient(ellipse at 70% 20%, rgba(212,98,42,.1), transparent 55%),
    radial-gradient(ellipse at 20% 90%, rgba(107,122,58,.06), transparent 50%);
}
body { background: var(--bg); }
.menu { background: transparent; }
.hero-logo-stage {
  position: absolute; inset: 0;
  z-index: 1;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
  transform-style: preserve-3d;
}
.hero-logo-wrap {
  position: relative;
  width: min(560px, 80vw);
  aspect-ratio: 1;
  will-change: transform, opacity;
  transform-style: preserve-3d;
}
.hero-logo-img {
  width: 100%; height: 100%;
  object-fit: contain;
  border-radius: 22%;
  opacity: .22;
  mix-blend-mode: multiply;
  filter: contrast(1.05);
  backface-visibility: visible;
  box-shadow:
    0 30px 60px rgba(15,13,11,.15),
    inset 0 0 0 1px rgba(0,0,0,.02);
}
/* Glow stays fixed behind the spinning logo */
.hero-logo-glow {
  position: absolute; inset: -10%;
  background: radial-gradient(circle at 50% 50%, rgba(212,98,42,.4), transparent 55%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
}
@media (min-width: 900px) {
  .hero-logo-wrap { width: min(720px, 55vw); margin-right: -10vw; margin-left: auto; }
  .hero-logo-img { opacity: .26; }
}
@media (max-width: 480px) {
  .hero-logo-wrap { width: 92vw; }
  .hero-logo-img { opacity: .18; }
}
.hero-content {
  position: relative; z-index: 2;
  max-width: var(--maxw); margin: 0 auto;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; font-weight: 500; color: var(--ink-2);
  text-transform: uppercase; letter-spacing: .14em;
  padding: 6px 12px; background: rgba(255,255,255,.75);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.hero-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #4a9d5b;
  box-shadow: 0 0 0 3px rgba(74,157,91,.2);
  animation: pulse 2.2s infinite;
}
@keyframes pulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.2)} }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 9vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  font-weight: 500;
  margin: 20px 0 16px;
  text-wrap: pretty;
}
.hero-title em { font-style: italic; color: var(--accent); font-weight: 500; }
.hero-lede {
  font-size: 15.5px; color: var(--ink-2); line-height: 1.55;
  max-width: 48ch; margin: 0 0 26px;
}
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.btn-primary, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 24px; border-radius: 999px;
  font-size: 14.5px; font-weight: 500;
  min-height: 48px;
  transition: transform .1s, background .2s, border-color .2s, color .2s;
}
.btn-primary { background: var(--brand-dark); color: #fff; }
.btn-primary:hover { background: var(--accent); }
.btn-primary:active { transform: scale(.98); }
.btn-ghost {
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: #fff; }

.hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.7);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  color: var(--ink-2);
}
.hero-meta b {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
}
.hm-sep {
  width: 1px;
  height: 14px;
  background: var(--line);
}
@media (max-width: 640px) {
  .hero-meta { font-size: 11px; gap: 8px; padding: 7px 10px; }
}

/* ======================= SHARED SECTIONS ======================= */
.sect-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 14px;
  max-width: var(--maxw);
  margin: 0 auto 20px;
}
.sect-eyebrow {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--ink-3);
  margin-bottom: 6px;
}
.sect-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.05;
  margin: 0;
}
.sect-title em { color: var(--accent); font-style: italic; }
.sect-eyebrow.light { color: #d4cabd; }
.sect-title.light { color: #fff; }

/* ======================= PROCESS ======================= */
.process {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 20px 32px;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.process-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  box-shadow: var(--shadow-sm);
}
.pc-num {
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 11px;
}
.pc-title {
  margin: 8px 0 6px;
  font-size: 18px;
  font-family: var(--font-display);
}
.pc-desc {
  margin: 0;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.45;
}
.pc-line {
  margin-top: 12px;
  height: 2px;
  width: 48px;
  background: var(--accent-tint);
  border-radius: 999px;
}
@media (max-width: 980px) {
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .process { padding: 10px 14px 24px; }
  .process-grid { grid-template-columns: 1fr; }
}

/* ======================= STATS ======================= */
.stats {
  margin: 14px 0 26px;
  background: #1a1714;
  color: #fff;
}
.stats-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 32px 20px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.stat-card {
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 12px;
  padding: 14px;
}
.stat-n {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1;
}
.stat-l {
  margin-top: 6px;
  font-size: 12px;
  color: #d4cabd;
}
.stat-sub {
  margin-top: 4px;
  font-size: 12px;
  color: #b8ab9a;
}
@media (max-width: 980px) {
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .stats-inner { padding: 24px 14px; }
  .stats-grid { grid-template-columns: 1fr; }
}

/* ======================= STORY ======================= */
.story {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 8px 20px 18px;
}
.story-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;
}
.story-media {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.story-frame {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  min-height: 210px;
}
.story-media > .story-frame {
  min-height: 460px;
  display: grid;
  place-items: center;
}
.story-media > .story-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--story-photo-bg);
  background-position: center;
  background-size: cover;
  opacity: 0.28;
  transform: scale(1.04);
}
.story-photo {
  width: auto;
  height: calc(100% - 18px);
  max-width: min(95%, 500px);
  max-height: 500px;
  min-height: 0;
  margin: 9px auto;
  object-fit: contain;
  object-position: center;
  display: block;
  position: relative;
  z-index: 1;
}
.story-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: #0f0d0b;
  color: #fff;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 11px;
}
.story-text p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
}
.story-sign {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.ss-line {
  width: 28px;
  height: 1px;
  background: var(--accent);
}
.ss-name {
  font-size: 13px;
  color: var(--ink-3);
}
@media (max-width: 900px) {
  .story-inner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .story { padding: 6px 14px 14px; }
  .story-text p { font-size: 15px; }
  .story-media > .story-frame { min-height: 360px; }
  .story-photo {
    max-width: min(96%, 350px);
    max-height: 350px;
  }
}

/* ======================= MENU ======================= */
.menu { max-width: var(--maxw); margin: 0 auto; padding: 28px 20px 110px; }
.menu-intro {
  padding: 42px 0 22px; text-align: center;
  border-top: 1px solid var(--line);
  max-width: 640px; margin: 0 auto;
}
.menu-intro-eyebrow {
  font-size: 11px; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: .22em;
  font-weight: 500;
}
.menu-intro-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 6vw, 46px);
  font-weight: 500;
  letter-spacing: -0.012em;
  margin: 10px 0 16px;
}
@media (max-width: 640px) {
  .menu { padding: 20px 14px 96px; }
  .menu-intro { padding: 32px 0 14px; }
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}
@media (min-width: 860px) {
  .trust-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  min-height: 64px;
  padding: 10px 8px;
}
.trust-item strong {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink);
}
.trust-item span {
  margin-top: 4px;
  font-size: 10.5px;
  color: var(--ink-3);
  letter-spacing: .02em;
}

.cat-section { padding: 40px 0 10px; scroll-margin-top: 130px; }
.cat-header {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 20px;
}
.cat-rule {
  flex: 0 0 32px; height: 1px; background: var(--accent);
  align-self: center;
}
.cat-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 5vw, 38px);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0;
}
.cat-text { min-width: 0; }
.cat-subtitle {
  margin: 3px 0 0;
  font-size: 12px;
  color: var(--ink-3);
}
.cat-count {
  margin-left: auto;
  font-size: 11px; color: var(--ink-3);
  font-family: var(--font-mono);
  background: #fff;
  border: 1px solid var(--line);
  padding: 3px 9px;
  border-radius: 999px;
}

.cat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 640px) {
  .cat-grid { grid-template-columns: repeat(auto-fill, minmax(430px, 1fr)); gap: 20px; }
}
[data-density="compact"] .cat-grid { gap: 10px; }

/* ======================= DISH CARD — mobile-friendly horizontal ======================= */
.dish-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .2s, box-shadow .2s, border-color .2s;
  position: relative;
  display: grid;
  grid-template-columns: minmax(150px, 36%) 1fr;
  min-height: 210px;
}
.dish-card.is-in-cart {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.dish-card:active { transform: scale(.99); }

.dish-media {
  position: relative;
  height: 100%;
  min-height: 210px;
  overflow: hidden;
  background: var(--accent-tint);
}
.dish-media img {
  width: 100%; height: 100%; object-fit: cover;
}

.badge {
  position: absolute; top: 8px; left: 8px;
  padding: 4px 8px; border-radius: 999px;
  font-size: 9.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em;
  backdrop-filter: blur(10px);
}
.badge-hot   { background: rgba(26,23,20,.9); color: #fff; }
.badge-fav   { background: rgba(255,255,255,.95); color: var(--ink); }
.badge-sig   { background: var(--accent); color: #fff; }
.badge-offer { background: #f5d66b; color: #5a4310; }

.dish-body {
  padding: 14px 16px;
  display: flex; flex-direction: column;
  min-width: 0;
}

.dish-head {
  display: flex; align-items: baseline; gap: 12px;
  margin-bottom: 6px;
}
.dish-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.005em;
  margin: 0;
  line-height: 1.2;
  flex: 1;
  min-width: 0;
}
@media (min-width: 640px) { .dish-name { font-size: 24px; } }
.dish-price {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap;
  letter-spacing: -0.01em;
  margin-left: 4px;
}
.dish-desc {
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.5;
  margin: 2px 0 12px;
  flex: 1;
  text-wrap: pretty;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (min-width: 640px) { .dish-desc { font-size: 13.5px; } }
[data-density="compact"] .dish-desc { -webkit-line-clamp: 2; }

.dish-foot { display: flex; align-items: center; }

.add-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 0 16px;
  height: 38px;
  border-radius: 999px;
  background: var(--brand-dark);
  color: #fff;
  font-size: 13px; font-weight: 500;
  transition: background .2s, transform .1s;
  min-width: 92px;
  justify-content: center;
}
.add-btn:hover { background: var(--accent); }
.add-btn:active { transform: scale(.96); }
.add-btn.added {
  background: #193d22;
}
.dish-card.added-fx {
  box-shadow: 0 0 0 1px #2c6a3a, var(--shadow-sm);
}

/* ---- qty stepper (shared) ---- */
.qty-stepper {
  display: inline-flex; align-items: center;
  background: var(--accent-tint);
  border: 1px solid var(--accent);
  border-radius: 999px;
  height: 38px;
  padding: 2px;
}
.qty-stepper button {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--accent-deep);
  transition: background .15s, transform .1s;
}
.qty-stepper button:hover { background: rgba(255,255,255,.6); }
.qty-stepper button:active { transform: scale(.9); }
.qty-stepper > span {
  min-width: 28px; text-align: center;
  font-size: 14px; font-weight: 600; color: var(--accent-deep);
  font-family: var(--font-mono);
}
.qty-stepper.compact { height: 30px; }
.qty-stepper.compact button { width: 26px; height: 26px; }
.qty-stepper.compact > span { font-size: 12px; min-width: 22px; }

/* ---- editorial ---- */
.card-editorial {
  grid-template-columns: 130px 1fr !important;
}
.card-editorial .dish-media { aspect-ratio: auto; height: 100%; }

/* ---- list (typographic, no image) ---- */
.cat-grid:has(.card-list) { grid-template-columns: 1fr !important; gap: 0 !important; }
.card-list {
  grid-template-columns: 1fr !important;
  border: 0; border-radius: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 18px 2px;
}
.card-list:active { transform: none; }
.card-list .dish-media { display: none; }
.card-list .dish-body { padding: 0; }
.card-list .dish-desc { -webkit-line-clamp: unset; }

/* ======================= CART — BOTTOM SHEET ON MOBILE ======================= */
.cart-scrim {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(26,23,20,.48);
  backdrop-filter: blur(2px);
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.cart-scrim.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; z-index: 61;
  background: var(--bg);
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-lg);
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
  /* Mobile: bottom sheet */
  left: 0; right: 0; bottom: 0;
  height: 92vh;
  border-radius: 22px 22px 0 0;
  transform: translateY(100%);
  padding-bottom: var(--safe-bottom);
}
.cart-drawer.open { transform: translateY(0); }
@media (min-width: 640px) {
  .cart-drawer {
    top: 0; bottom: 0; right: 0; left: auto;
    width: 460px; height: 100vh;
    border-radius: 0;
    transform: translateX(100%);
  }
  .cart-drawer.open { transform: translateX(0); }
}

.cart-grip {
  width: 40px; height: 4px;
  background: var(--line);
  border-radius: 999px;
  margin: 8px auto 4px;
}
@media (min-width: 640px) { .cart-grip { display: none; } }

.cart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px 16px;
  border-bottom: 1px solid var(--line);
}
.cart-head h3 {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 500; margin: 0;
  letter-spacing: -0.01em;
}
.cart-sub { font-size: 12px; color: var(--ink-3); }
.cart-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--line);
}
.cart-steps button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  padding: 8px 6px;
  border-radius: 999px;
  color: var(--ink-3);
  background: rgba(255,255,255,.55);
  border: 1px solid transparent;
}
.cart-steps button span {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--line-2);
  font-size: 11px;
  font-weight: 800;
}
.cart-steps button b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
}
.cart-steps button.active {
  color: var(--ink);
  border-color: rgba(212,98,42,.34);
  background: var(--accent-tint);
}
.cart-steps button.active span,
.cart-steps button.done span {
  background: var(--accent);
  color: #fff;
}
.cart-steps button:disabled {
  opacity: .48;
  cursor: default;
}
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  transition: background .2s;
}
.icon-btn:hover { background: var(--line-2); }
.icon-btn:active { transform: scale(.94); }

.cart-body { flex: 1; overflow-y: auto; padding: 6px 20px; -webkit-overflow-scrolling: touch; }
.cart-drawer:not(.cart-step-items) .cart-body {
  display: none;
}
.cart-drawer.compact .cart-body {
  flex: 0 0 auto;
  overflow: visible;
  padding-bottom: 8px;
}
.cart-empty {
  height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 60px 20px;
  color: var(--ink-3);
}
.empty-art { font-size: 72px; color: var(--accent); font-family: var(--font-display); line-height: .5; margin-bottom: 16px; }
.cart-empty p { font-family: var(--font-display); font-size: 20px; color: var(--ink); margin: 0; }
.cart-empty span { font-size: 13px; margin-top: 4px; }

.cart-line {
  display: grid; grid-template-columns: 68px 1fr;
  gap: 14px; padding: 14px 0;
  border-bottom: 1px solid var(--line-2);
}
.cart-line:last-child { border-bottom: 0; }
.cart-line img {
  width: 68px; height: 68px; object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--accent-tint);
}
.cart-line-body { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.cart-line-top { display: flex; justify-content: space-between; gap: 12px; }
.cart-line-name { font-size: 14px; font-weight: 500; line-height: 1.3; }
.cart-line-price { font-family: var(--font-mono); font-size: 13px; white-space: nowrap; font-weight: 500; }
.cart-line-bottom { display: flex; align-items: center; justify-content: flex-start; gap: 10px; }
.line-remove {
  font-size: 12px; color: var(--ink-3);
  text-decoration: underline; text-underline-offset: 2px;
  padding: 6px 4px;
}
.line-remove:hover { color: var(--accent); }

.cart-foot {
  padding: 16px 20px 20px;
  border-top: 1px solid var(--line);
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(0,0,0,.02);
}
.cart-foot > :not(.cart-flow-actions):not(.cart-flow-note) {
  display: none !important;
}
.cart-flow-actions {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}
.cart-back {
  min-width: 78px;
  min-height: 52px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--ink-2);
  background: var(--line-2);
  font-size: 13px;
  font-weight: 650;
}
.cart-back:disabled {
  opacity: .35;
  cursor: default;
}
.cart-flow-note {
  margin-top: 10px !important;
}
.cart-row {
  display: flex; justify-content: space-between;
  padding: 5px 0;
  font-size: 14px; color: var(--ink-2);
}
.cart-row.total {
  margin-top: 6px; padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--ink); font-size: 17px; font-weight: 500;
}
.cart-row.total span:last-child { font-family: var(--font-mono); font-weight: 600; }

.free-ship { margin: 4px 0 12px; padding: 10px 12px; background: var(--accent-tint); border-radius: 10px; }
.free-ship .bar {
  height: 4px; background: rgba(0,0,0,.08); border-radius: 999px;
  overflow: hidden; margin-bottom: 6px;
}
.free-ship .bar > div { height: 100%; background: var(--accent); transition: width .3s; }
.free-ship span { font-size: 12px; color: var(--accent-deep); }
.free-ship strong { font-weight: 600; }

.checkout-btn {
  width: 100%;
  padding: 15px 20px; border-radius: 999px;
  background: var(--brand-dark); color: #fff;
  font-size: 15px; font-weight: 500;
  margin-top: 12px;
  min-height: 52px;
  transition: background .2s, transform .1s;
}
.checkout-btn:hover { background: var(--accent); }
.checkout-btn:active { transform: scale(.99); }
.cart-note {
  text-align: center;
  font-size: 11.5px; color: var(--ink-3);
  margin: 10px 0 0;
}

.service-mode {
  display: grid;
  gap: 9px;
  margin-bottom: 12px;
}
.cart-page-stack {
  display: none;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.cart-drawer:not(.cart-step-items) .cart-page-stack {
  display: block;
}
.cart-page {
  display: none;
  height: 100%;
  overflow-y: auto;
  padding: 18px 20px;
  -webkit-overflow-scrolling: touch;
  animation: cartPageIn .28s cubic-bezier(.2,.8,.2,1);
}
.cart-page.active {
  display: block;
}
.service-page,
.review-page {
  background:
    radial-gradient(circle at 50% -20%, rgba(212,98,42,.12), transparent 36%),
    linear-gradient(180deg, rgba(255,255,255,.4), transparent 44%);
}
.service-hero {
  min-height: 150px;
  display: grid;
  align-content: end;
  gap: 5px;
  margin-bottom: 16px;
  padding: 18px;
  border-radius: 26px;
  color: #fff;
  background:
    linear-gradient(160deg, rgba(15,13,11,.52), rgba(15,13,11,.86)),
    url("../assets/story-atelier-light.jpeg") center/cover;
  box-shadow: 0 18px 44px rgba(22,16,10,.16);
}
.service-hero span,
.review-mode span {
  color: rgba(255,255,255,.72);
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
}
.service-hero strong {
  font-family: var(--font-display);
  font-size: 38px;
  line-height: .95;
}
.service-hero p {
  margin: 0;
  color: rgba(255,255,255,.76);
  font-size: 13px;
}
.review-card {
  margin-top: 14px;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(26,22,18,.1);
  background: rgba(255,255,255,.74);
}
.review-mode {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}
.review-mode span {
  color: var(--ink-3);
}
.review-mode strong {
  font-size: 18px;
}
@keyframes cartPageIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.service-mode-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  color: var(--ink-3);
  text-transform: uppercase;
}
.service-mode-head strong {
  color: var(--ink);
  font-size: 12px;
  text-transform: none;
}
.service-mode-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.service-mode-options button {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 9px 8px;
  border-radius: 16px;
  border: 1px solid rgba(26,22,18,.1);
  background: rgba(255,255,255,.64);
  color: var(--ink);
  text-align: left;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.service-mode-options button:hover {
  transform: translateY(-1px);
  border-color: rgba(212,98,42,.34);
}
.service-mode-options button.active {
  background: linear-gradient(180deg, #fff, var(--accent-tint));
  border-color: rgba(212,98,42,.46);
  box-shadow: 0 10px 22px rgba(120,68,32,.11);
}
.service-mode-options b,
.service-mode-options small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.service-mode-options b {
  font-size: 12px;
  font-weight: 650;
}
.service-mode-options small {
  margin-top: 2px;
  font-size: 10px;
  color: var(--ink-3);
}
.mode-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(212,98,42,.11);
  color: var(--accent);
  position: relative;
  overflow: hidden;
}
.mode-icon span,
.mode-icon::before,
.mode-icon::after {
  content: "";
  display: block;
  position: absolute;
}
.mode-dinein span {
  width: 17px;
  height: 9px;
  border: 2px solid currentColor;
  border-radius: 50%;
  bottom: 8px;
}
.mode-dinein::before {
  width: 11px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: .18;
  bottom: 10px;
}
.mode-takeaway span,
.mode-delivery span {
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 3px 3px 5px 5px;
  bottom: 6px;
}
.mode-takeaway::before,
.mode-delivery::before {
  width: 10px;
  height: 7px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  top: 6px;
}
.mode-delivery::after {
  width: 14px;
  height: 2px;
  background: currentColor;
  border-radius: 99px;
  right: 3px;
  bottom: 7px;
}

.service-scene {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  align-items: center;
  gap: 10px;
  min-height: 116px;
  margin: 4px 0 12px;
  padding: 12px;
  border-radius: 20px;
  border: 1px solid rgba(26,22,18,.09);
  background:
    radial-gradient(circle at 78% 34%, rgba(212,98,42,.18), transparent 32%),
    linear-gradient(135deg, rgba(255,255,255,.88), rgba(250,239,226,.78));
  overflow: hidden;
}
.scene-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.scene-copy span {
  width: fit-content;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(212,98,42,.12);
  color: var(--accent-deep);
  font-size: 10px;
  font-weight: 700;
}
.scene-copy strong {
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1;
  color: var(--ink);
}
.scene-copy small {
  max-width: 24ch;
  font-size: 11px;
  line-height: 1.35;
  color: var(--ink-3);
}
.scene-stage {
  position: relative;
  height: 92px;
  isolation: isolate;
}
.scene-rail {
  position: absolute;
  inset: 0;
  z-index: 4;
}
.scene-item {
  position: absolute;
  top: 4px;
  width: 30px;
  height: 30px;
  border-radius: 11px;
  overflow: hidden;
  border: 2px solid #fff;
  box-shadow: 0 10px 20px rgba(36,24,16,.16);
  transform: translateY(0) rotate(var(--rot, 0deg));
}
.scene-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.scene-item.launch {
  animation: itemToBag 1.25s cubic-bezier(.22,.74,.21,1) both;
  animation-delay: var(--delay, 0ms);
}
.scene-dinein .scene-item.launch {
  animation-name: itemToPlate;
}
.scene-plate {
  position: absolute;
  right: 8px;
  bottom: 2px;
  width: 106px;
  height: 68px;
  z-index: 2;
}
.plate-rim,
.plate-center {
  position: absolute;
  inset: auto 0 0;
  margin: auto;
  border-radius: 50%;
}
.plate-rim {
  width: 106px;
  height: 52px;
  background: linear-gradient(180deg, #fff, #e7e0d7);
  box-shadow: 0 20px 30px rgba(56,40,26,.2);
}
.plate-center {
  left: 17px;
  bottom: 11px;
  width: 72px;
  height: 28px;
  border: 1px solid rgba(30,22,16,.11);
  background: rgba(255,255,255,.42);
}
.plate-garnish {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  z-index: 5;
}
.plate-garnish.g1 { right: 45px; bottom: 26px; }
.plate-garnish.g2 { right: 58px; bottom: 20px; background: #6b7a3a; }
.plate-garnish.g3 { right: 35px; bottom: 17px; background: #f0b45d; }
.phase-done .plate-garnish,
.phase-packing .plate-garnish {
  animation: garnishPop .7s ease both;
  animation-delay: .9s;
}
.scene-bag {
  position: absolute;
  right: 12px;
  bottom: 2px;
  width: 90px;
  height: 82px;
  z-index: 2;
}
.bag-handle {
  position: absolute;
  left: 25px;
  top: 0;
  width: 40px;
  height: 30px;
  border: 5px solid #9b6744;
  border-bottom: 0;
  border-radius: 28px 28px 0 0;
  transform-origin: 50% 100%;
}
.bag-lip {
  position: absolute;
  left: 7px;
  top: 27px;
  width: 76px;
  height: 16px;
  border-radius: 10px 10px 5px 5px;
  background: #d9a66f;
  transform-origin: 50% 100%;
}
.bag-body {
  position: absolute;
  left: 10px;
  top: 36px;
  width: 70px;
  height: 44px;
  border-radius: 6px 6px 13px 13px;
  background: linear-gradient(160deg, #d38f4f, #8d5b37);
  box-shadow: 0 18px 28px rgba(58,33,17,.28);
}
.bag-seal {
  position: absolute;
  left: 30px;
  top: 50px;
  width: 30px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.34);
  opacity: 0;
}
.phase-packing .bag-lip,
.phase-done .bag-lip {
  animation: bagOpen 1.2s ease both;
}
.phase-done .bag-seal {
  opacity: 1;
}
.scene-bag.delivery .bag-body {
  background: linear-gradient(160deg, #d4622a, #74371d);
}
.scene-bag.delivery::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 4px;
  width: 24px;
  height: 14px;
  border-radius: 99px;
  border: 3px solid rgba(255,255,255,.45);
  border-left: 0;
}
.scene-done {
  position: absolute;
  right: 6px;
  top: 7px;
  z-index: 8;
  padding: 5px 8px;
  border-radius: 999px;
  background: #1f7a4d;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(31,122,77,.28);
  animation: readyPop .35s ease both;
}
.checkout-btn.phase-packing {
  background: #734021;
  cursor: wait;
}
.checkout-btn.phase-done {
  background: #1f7a4d;
}

@keyframes itemToBag {
  0% { transform: translateY(0) scale(1) rotate(var(--rot, 0deg)); opacity: 1; }
  62% { transform: translate(42px, 18px) scale(.92) rotate(8deg); opacity: 1; }
  100% { transform: translate(58px, 47px) scale(.38) rotate(0deg); opacity: 0; }
}
@keyframes itemToPlate {
  0% { transform: translateY(0) scale(1) rotate(var(--rot, 0deg)); opacity: 1; }
  72% { transform: translate(36px, 50px) scale(.82) rotate(10deg); opacity: 1; }
  100% { transform: translate(50px, 58px) scale(.55) rotate(0deg); opacity: 0; }
}
@keyframes bagOpen {
  0%, 100% { transform: rotateX(0deg); }
  30%, 72% { transform: rotateX(58deg) translateY(-3px); }
}
@keyframes garnishPop {
  0% { transform: scale(.4); opacity: 0; }
  70%, 100% { transform: scale(1); opacity: 1; }
}
@keyframes readyPop {
  from { transform: translateY(-4px) scale(.9); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

html[data-theme="dark"] .service-mode-options button {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.1);
}
html[data-theme="dark"] .cart-steps {
  border-bottom-color: rgba(255,255,255,.09);
}
html[data-theme="dark"] .cart-steps button {
  background: rgba(255,255,255,.07);
  color: var(--ink-2);
}
html[data-theme="dark"] .cart-steps button span {
  background: rgba(255,255,255,.1);
}
html[data-theme="dark"] .cart-steps button.active {
  background: rgba(216,95,36,.18);
  border-color: rgba(216,95,36,.55);
  color: var(--ink);
}
html[data-theme="dark"] .cart-steps button.done {
  color: var(--ink);
  background: rgba(255,255,255,.11);
}
html[data-theme="dark"] .cart-steps button:disabled {
  opacity: .72;
}
html[data-theme="dark"] .service-mode-options button.active {
  background: linear-gradient(180deg, rgba(216,95,36,.25), rgba(255,255,255,.06));
  border-color: rgba(216,95,36,.48);
}
html[data-theme="dark"] .cart-page-stack,
html[data-theme="dark"] .service-page,
html[data-theme="dark"] .review-page {
  background:
    radial-gradient(circle at 50% -18%, rgba(216,95,36,.16), transparent 34%),
    linear-gradient(180deg, #090d12 0%, #070a0e 100%);
}
html[data-theme="dark"] .service-scene {
  background:
    radial-gradient(circle at 78% 34%, rgba(216,95,36,.2), transparent 32%),
    linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
  border-color: rgba(255,255,255,.1);
}
html[data-theme="dark"] .review-card {
  background:
    radial-gradient(circle at 92% 0%, rgba(216,95,36,.12), transparent 36%),
    rgba(13,17,22,.92);
  border-color: rgba(255,255,255,.1);
  box-shadow: 0 20px 42px rgba(0,0,0,.22);
}
html[data-theme="dark"] .review-card .cart-row {
  color: var(--ink-2);
}
html[data-theme="dark"] .review-card .cart-row.total {
  color: var(--ink);
  border-top-color: rgba(255,255,255,.12);
}
html[data-theme="dark"] .review-mode span {
  color: var(--ink-3);
}
html[data-theme="dark"] .review-mode strong {
  color: var(--ink);
}
html[data-theme="dark"] .cart-back {
  color: var(--ink);
  background: rgba(255,255,255,.09);
}
html[data-theme="dark"] .cart-back:disabled {
  color: var(--ink-3);
}
html[data-theme="dark"] .plate-rim {
  background: linear-gradient(180deg, #f4eee4, #c8b9a8);
}

@media (max-width: 480px) {
  .service-mode-options button {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 6px;
    min-height: 78px;
    padding: 9px 6px;
    text-align: center;
  }
  .service-mode-options b {
    font-size: 12px;
    white-space: normal;
    line-height: 1.1;
  }
  .service-mode-options small {
    display: none;
  }
  .mode-icon {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 640px) {
  .cart-drawer { height: 90vh; }
}

/* ======================= FLOATING ORDER BAR ======================= */
.floating-order {
  position: fixed; bottom: calc(14px + var(--safe-bottom));
  left: 50%; transform: translateX(-50%);
  z-index: 30;
  animation: slideUp .35s cubic-bezier(.2,.8,.2,1);
  width: calc(100% - 28px); max-width: 420px;
}
@keyframes slideUp { from { transform: translate(-50%, 80px); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }
.floating-order button {
  width: 100%;
  display: flex; align-items: center; gap: 12px;
  background: var(--brand-dark); color: #fff;
  padding: 14px 18px 14px 12px;
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  font-size: 14px; font-weight: 500;
  transition: background .2s, transform .1s;
  min-height: 54px;
}
.floating-order button:hover { background: var(--accent); }
.floating-order button:active { transform: translateY(1px); }
.fo-count {
  background: var(--accent); color: #fff;
  min-width: 30px; height: 30px; padding: 0 8px;
  border-radius: 999px;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 700;
  flex-shrink: 0;
}
.floating-order button:hover .fo-count { background: #fff; color: var(--accent); }
.fo-label { flex: 1; text-align: left; }
.fo-total {
  padding-left: 12px;
  border-left: 1px solid rgba(255,255,255,.2);
  font-family: var(--font-mono); font-size: 13.5px;
  font-weight: 600;
}

/* ======================= JUMP FAB + SHEET ======================= */
.jump-fab {
  position: fixed;
  right: 16px; bottom: calc(86px + var(--safe-bottom));
  z-index: 28;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  display: grid; place-items: center;
  transition: transform .15s, background .2s;
}
.jump-fab:hover { background: var(--brand-dark); color: #fff; border-color: var(--brand-dark); }
.jump-fab:active { transform: scale(.92); }
@media (min-width: 900px) { .jump-fab { display: none; } }

.jump-scrim {
  position: fixed; inset: 0; z-index: 54;
  background: rgba(26,23,20,.42);
  opacity: 0; pointer-events: none;
  transition: opacity .25s;
}
.jump-scrim.open { opacity: 1; pointer-events: auto; }
.jump-sheet {
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 55;
  background: var(--bg);
  border-radius: 22px 22px 0 0;
  padding: 8px 6px calc(16px + var(--safe-bottom));
  transform: translateY(100%);
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
  max-height: 80vh; overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.jump-sheet.open { transform: translateY(0); }
.jump-grip {
  width: 40px; height: 4px;
  background: var(--line);
  border-radius: 999px;
  margin: 6px auto 14px;
}
.jump-title {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 500;
  margin: 0 16px 8px;
}
.jump-list { list-style: none; padding: 6px; margin: 0; }
.jump-list button {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 14px;
  border-radius: 12px;
  font-size: 15px;
  color: var(--ink);
  text-align: left;
  transition: background .15s;
}
.jump-list button:hover { background: var(--line-2); }
.jump-list button.active { background: var(--accent-tint); color: var(--accent-deep); font-weight: 500; }
.jump-count {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
  background: #fff;
  border: 1px solid var(--line);
  padding: 2px 8px;
  border-radius: 999px;
}
.jump-list button.active .jump-count { background: #fff; color: var(--accent-deep); border-color: var(--accent); }

/* ======================= FOOTER ======================= */
.site-foot {
  background: var(--brand-dark);
  color: #d6cdbf;
  padding: 60px 20px 30px;
  margin-top: 40px;
  position: relative;
}
.foot-logo {
  display: flex; justify-content: center;
  margin-bottom: 32px;
}
.foot-logo img {
  width: 72px; height: 72px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.1);
}
.foot-logo.fn-brand {
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  color: var(--foot-brand-color, var(--ink));
  font-size: 24px;
  text-decoration: none;
}
.foot-logo.fn-brand img {
  width: 52px;
  height: 52px;
  border-radius: 0;
  border: 0;
  object-fit: contain;
  filter: var(--foot-brand-logo-filter, none);
}
.foot-logo.fn-brand span {
  line-height: 1;
}
.foot-grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  text-align: center;
}
@media (min-width: 640px) {
  .foot-grid { grid-template-columns: 1fr 1fr; text-align: left; }
}
.foot-grid h4 {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 500;
  color: #fff; margin: 0 0 14px;
}
.foot-grid p { margin: 0 0 6px; font-size: 14px; line-height: 1.5; color: #b8afa0; }
.foot-addr { color: #fff !important; }
.foot-phone {
  display: inline-block; margin-top: 8px;
  position: relative;
  z-index: 1;
  font-size: 15px; color: var(--accent); font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.foot-phone:hover { border-color: var(--accent); }
.foot-map-link {
  display: block;
  width: fit-content;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  position: relative;
  z-index: 2;
  pointer-events: auto;
  touch-action: manipulation;
}
.foot-map {
  width: min(100%, 320px);
  margin: 12px 0 6px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.04);
  position: relative;
  z-index: 0;
  transition: transform .18s ease, border-color .2s ease;
}
.foot-map * {
  pointer-events: none;
}
.foot-map-link:hover .foot-map {
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.3);
}
.foot-map-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  font-size: 12px;
  font-weight: 600;
  color: #1f2329;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 8px;
  padding: 4px 8px;
  line-height: 1;
}
.foot-map iframe {
  display: block;
  width: 100%;
  height: 160px;
  border: 0;
  pointer-events: none;
}
.foot-map-image {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li {
  display: flex; justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: 13.5px;
}
.foot-grid li:last-child { border-bottom: 0; }
.foot-grid li span:first-child { color: #b8afa0; }
.foot-grid li span:last-child { font-family: var(--font-mono); color: #fff; }
@media (max-width: 639px) {
  .foot-map-link { margin-left: auto; margin-right: auto; }
  .foot-map { margin-left: auto; margin-right: auto; }
}

.foot-bottom {
  max-width: var(--maxw); margin: 40px auto 0;
  padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08);
  text-align: center;
  font-size: 12px; color: #6a6258;
}

/* ======================= TWEAKS ======================= */
.tweaks-panel {
  position: fixed; bottom: calc(16px + var(--safe-bottom)); right: 16px; z-index: 100;
  width: 280px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  font-family: var(--font-sans);
}
.tweaks-head {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 11px; text-transform: uppercase;
  letter-spacing: .18em; color: var(--ink-3);
  font-weight: 600;
}
.tweaks-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 14px; }
.tweak-row { display: flex; flex-direction: column; gap: 8px; }
.tweak-row > label { font-size: 12px; color: var(--ink-2); font-weight: 500; }
.swatches { display: flex; gap: 8px; }
.swatch {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid transparent;
  outline: 1px solid var(--line);
}
.swatch.on { outline: 2px solid var(--ink); outline-offset: 2px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 12px; color: var(--ink-2);
  transition: all .2s;
}
.chip:hover { border-color: var(--ink-2); }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
@media (max-width: 600px) {
  .tweaks-panel { left: 12px; right: 12px; width: auto; }
}

/* ======================= SMALL HELPERS ======================= */
@media (max-width: 380px) {
  .brand-sub { display: none; }
  .brand-name { font-size: 16px; }
}

/* ======================= PREMIUM THEME OVERRIDES ======================= */
:root {
  --header-h: 52px;
  --accent: #24201b;
  --accent-deep: #15120f;
  --accent-tint: #eee6dc;
}

#root {
  filter: none !important;
  opacity: 1 !important;
}

body {
  background-color: #f4eee6;
  background-image:
    radial-gradient(rgba(40,30,20,.05) 0.7px, transparent 0.7px),
    linear-gradient(180deg, #f7f3ed 0%, #f3ede4 60%, #f1ebdf 100%);
  background-size: 18px 18px, 100% 100%;
}

.bg-logo-shell {
  z-index: 0;
  --bg-parallax-x: 0px;
  --bg-parallax-y: 0px;
  --bg-parallax-scroll: 0px;
  transform: translate3d(
    var(--bg-parallax-x),
    calc(var(--bg-parallax-y) + var(--bg-parallax-scroll)),
    0
  );
  will-change: transform;
}
.bg-metallic-logo {
  position: relative;
  width: clamp(180px, 22vw, 300px) !important;
  aspect-ratio: 1 / 1;
  opacity: .98 !important;
  filter: none !important;
  animation: bgLogoFloat3d 9.2s ease-in-out infinite;
  transform-style: preserve-3d;
  perspective: 1200px;
  will-change: transform;
}
.bg-metallic-logo .ml-stage,
.bg-metallic-logo .ml-coin,
.bg-metallic-logo .ml-face,
.bg-metallic-logo .ml-img,
.bg-metallic-logo .ml-edge {
  display: block !important;
}
.bg-metallic-logo .ml-ring,
.bg-metallic-logo .ml-bevel,
.bg-metallic-logo .ml-shine,
.bg-metallic-logo .ml-rim {
  display: none !important;
}
.bg-metallic-logo .ml-stage {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
}
.bg-metallic-logo .ml-coin {
  width: 80%;
  height: 80%;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
  transform-style: preserve-3d;
  will-change: transform;
  animation: bgLogoSpin3d 18s linear infinite;
}
.bg-metallic-logo .ml-face {
  inset: 0;
  border-radius: 0;
  backface-visibility: hidden;
  overflow: visible;
  clip-path: none;
  background: transparent;
  box-shadow: none;
}
.bg-metallic-logo .ml-face-front { transform: translateZ(12px); }
.bg-metallic-logo .ml-face-back { transform: rotateY(180deg) translateZ(12px); }
.bg-metallic-logo .ml-img {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0 !important;
  clip-path: none;
  mix-blend-mode: normal;
  opacity: 1;
  filter:
    contrast(1.02)
    drop-shadow(0 0 .6px rgba(0,0,0,.42))
    drop-shadow(0 1px 1px rgba(0,0,0,.22));
  box-shadow: none;
}
.bg-metallic-logo .ml-edge {
  display: none !important;
}
.bg-metallic-logo::before {
  display: none;
}
.bg-metallic-logo::after {
  display: none;
}
/* Subtle futuristic wireframe + glass layers around the object */
.bg-geo-wire,
.bg-geo-glass {
  display: none;
  position: absolute;
  left: 50%;
  top: 50%;
  pointer-events: none;
}
.bg-geo-wire {
  width: clamp(260px, 30vw, 420px);
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%) rotateX(68deg);
  border-radius: 50%;
  border: 1px solid rgba(24, 19, 14, .16);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .22),
    0 8px 20px rgba(20, 14, 10, .08);
  opacity: .3;
  animation: bgWireSpin 26s linear infinite;
}
.bg-geo-wire::before,
.bg-geo-wire::after {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px solid rgba(24, 19, 14, .12);
}
.bg-geo-wire::after {
  inset: 24%;
  border-color: rgba(255, 255, 255, .25);
}
.bg-geo-glass {
  width: clamp(230px, 27vw, 360px);
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.08), rgba(255,255,255,0) 66%);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .12),
    0 16px 30px rgba(18,14,11,.08);
  opacity: .12;
  animation: bgGlassMorph 13s ease-in-out infinite;
}
@keyframes bgLogoFloat3d {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, -8px, 0) scale(1.012); }
}
@keyframes bgLogoSpin3d {
  0%, 100% {
    transform: rotateX(8deg) rotateY(0deg) rotateZ(0deg) scale(1);
  }
  50% {
    transform: rotateX(-8deg) rotateY(180deg) rotateZ(0deg) scale(1.008);
  }
}
@keyframes bgWireSpin {
  from { transform: translate(-50%, -50%) rotateX(68deg) rotateZ(0deg); }
  to { transform: translate(-50%, -50%) rotateX(68deg) rotateZ(360deg); }
}
@keyframes bgGlassMorph {
  0%, 100% {
    transform: translate(-50%, -50%) rotate(0deg);
    border-radius: 50%;
  }
  50% {
    transform: translate(-50%, -50%) rotate(4deg) scale(1.02, .98);
    border-radius: 48% 52% 50% 50% / 52% 48% 50% 50%;
  }
}
@keyframes bgHaloWave {
  0%, 100% {
    transform: translateX(-1.8px) scale(.99, 1);
    opacity: .2;
  }
  50% {
    transform: translateX(1.8px) scale(1.05, 1.025);
    opacity: .32;
  }
}

.site-header {
  height: 52px;
  background: rgba(247,243,237,.72);
  backdrop-filter: blur(8px) saturate(130%);
  -webkit-backdrop-filter: blur(8px) saturate(130%);
  border-bottom: 1px solid rgba(25,20,15,.1);
  color: #1a1612;
}
.header-inner {
  max-width: 1200px;
  padding: 0 18px;
}
.brand-name { font-size: 20px; letter-spacing: .02em; }
.brand-sub { color: #7a7065; letter-spacing: .14em; }
.brand-logo { width: 44px; height: 44px; }
.cart-btn {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.72);
  color: #1a1612;
  border: 1px solid rgba(26,22,18,.14);
}
.cart-badge { border-color: #f7f3ed; }

.floating-nav { top: 10px; }
.fn-inner {
  border-radius: 14px;
  background: rgba(248,244,238,.72);
  color: #1a1612;
  border: 1px solid rgba(26,22,18,.14);
  box-shadow: 0 10px 24px rgba(23,18,13,.08);
}
.fn-links a { color: #4d4338; font-size: 12.5px; }
.fn-brand { font-size: 18px; }
.fn-brand img { width: 30px; height: 30px; }
.fn-cta {
  background: #171412;
  color: #fff;
  font-size: 12px;
  padding: 7px 12px;
}

.hero {
  min-height: auto;
  padding: 28px 20px 20px;
}
.hero-bg {
  background:
    radial-gradient(ellipse at 50% 30%, rgba(255,255,255,.55), rgba(255,255,255,0) 62%),
    radial-gradient(ellipse at 76% 18%, rgba(120,95,70,.14), transparent 56%),
    radial-gradient(ellipse at 16% 90%, rgba(70,55,40,.08), transparent 52%),
    linear-gradient(180deg, #f7f2ec, #f2ebdf);
}
.hero-content {
  text-align: center;
  max-width: 1000px;
  display: grid;
  gap: 10px;
  justify-items: center;
}
.hero-eyebrow {
  background: rgba(255,255,255,.56);
  border: 1px solid rgba(25,20,15,.12);
}
.hero-title {
  font-size: clamp(46px, 7.8vw, 104px);
  line-height: .98;
  letter-spacing: -.02em;
  margin-top: 4px;
  margin-bottom: 4px;
}
.hero-title em { color: #1b1713; }
.hero-lede {
  margin-left: auto;
  margin-right: auto;
  margin-top: 2px;
  margin-bottom: 6px;
  max-width: 62ch;
  color: #4f453b;
}
.hero .metallic-logo {
  width: min(360px, 56vw);
  margin: 8px auto 8px;
  animation-duration: 12s;
  filter: saturate(.74) contrast(1.05);
}
.hero-cta { justify-content: center; margin-bottom: 8px; }
.btn-primary, .btn-ghost {
  min-height: 40px;
  padding: 9px 16px;
  font-size: 13px;
  border-radius: 999px;
}
.btn-primary { background: #161310; }
.btn-ghost {
  border-color: rgba(22,19,16,.32);
  color: #1a1612;
  background: rgba(255,255,255,.52);
}
.hero-meta {
  margin: 0 auto;
  background: rgba(255,255,255,.58);
  border-color: rgba(23,18,13,.12);
}

.process, .story, .menu { max-width: 1180px; }
.process {
  padding-top: 88px;
}
.process .sect-head {
  align-items: flex-start;
  margin-bottom: 24px;
}
.process .sect-title {
  line-height: 1.02;
}
.process-card,
.stat-card,
.story-frame,
.trust-item,
.dish-card {
  background: rgba(255,255,255,.52);
  backdrop-filter: blur(8px) saturate(130%);
  -webkit-backdrop-filter: blur(8px) saturate(130%);
  border: 1px solid rgba(33,24,18,.12);
  box-shadow: 0 14px 30px rgba(28,22,17,.06);
}
.process-card { border-radius: 16px; }

.stats {
  background: transparent;
  color: inherit;
  margin: 28px 0 18px;
}
.stats .sect-title.light {
  color: #000000 !important;
  background: transparent !important;
}
.stats .sect-title.light em {
  color: #d4622a !important;
}
.stats-inner { padding-top: 20px; padding-bottom: 20px; }
.stat-l { color: #5b5045; }
.stat-sub { color: #7a6f63; }

.story { padding-top: 18px; padding-bottom: 26px; }
.story-frame { border-radius: 16px; }
.story-tag { background: rgba(19,15,12,.9); }

.menu {
  padding-top: 24px;
  padding-bottom: 116px;
}
.menu-intro {
  border-top-color: rgba(24,19,14,.14);
  max-width: 760px;
}
.menu-intro-eyebrow { color: #7f7468; }
.menu-intro-title { margin-bottom: 8px; }
.trust-strip { gap: 12px; }

.cat-header { margin-bottom: 14px; }
.cat-title { font-size: clamp(30px, 4vw, 44px); }
.cat-subtitle { color: #7b7064; }
.cat-count {
  background: rgba(255,255,255,.66);
  border-color: rgba(28,22,17,.16);
}

/* Keep menu shape; only visual polish */
.dish-card {
  border-radius: 16px;
  border-color: rgba(24,19,14,.14);
}
.dish-media { background: #eee5d8; }
.dish-name { color: #1b1713; }
.dish-price { color: #4a4035; }
.dish-desc { color: #5e5348; }
.add-btn {
  height: 34px;
  min-width: 84px;
  font-size: 12.5px;
  background: #171412;
}
.add-btn:hover { background: #2a241f; }

.floating-order button {
  background: rgba(21,18,15,.95);
  box-shadow: 0 16px 36px rgba(20,15,12,.24);
}

.site-foot {
  background: rgba(20,17,15,.72);
  color: #cbbfb1;
  border-top: 1px solid rgba(255,255,255,.06);
  backdrop-filter: blur(14px) saturate(1.08);
  -webkit-backdrop-filter: blur(14px) saturate(1.08);
}
.foot-grid h4 { color: #f4ede2; }
.foot-grid p { color: #b3a89b; }

.hero-decor {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: .45;
}
.hd-line { opacity: .38; }

/* Keep hero + rotating logo, remove the oversized empty block */
.hero {
  min-height: 0 !important;
  padding: 0 !important;
}
.hero::before {
  content: none !important;
}
.hero-content {
  display: none !important;
}
.hero-eyebrow,
.hero-title,
.hero-lede,
.hero-cta,
.hero-meta {
  display: none !important;
}

a, button, .dish-card, .process-card, .stat-card, .trust-item {
  transition: all .35s cubic-bezier(.2,.8,.2,1);
}

@media (max-width: 900px) {
  .process { padding-top: 18px; }
  .process .sect-head {
    align-items: end;
    margin-bottom: 20px;
  }
}

@media (max-width: 900px) {
  .hero { min-height: 0; padding-top: 0; padding-bottom: 0; }
  .bg-geo-wire { width: clamp(220px, 34vw, 320px); opacity: .24; }
  .bg-geo-glass { width: clamp(200px, 30vw, 280px); opacity: .16; }
  .menu { padding-bottom: 100px; }
}

@media (max-width: 640px) {
  .site-header { height: 50px; }
  .floating-nav { top: 8px; }
  .cat-bar {
    right: 0;
    width: min(168px, calc(100vw - 10px));
    max-width: min(168px, calc(100vw - 10px));
    max-height: min(320px, calc(100vh - 160px));
  }
  .cat-bar-inner {
    --dial-r: 132px;
    --dial-pill-w: 124px;
    --dial-anchor-x: calc((var(--dial-pill-w) / 2) + 4px);
    height: min(300px, calc(100vh - 180px));
  }
  .cat-pill.active { width: var(--dial-pill-w); max-width: var(--dial-pill-w); }
  .hero-title { font-size: clamp(38px, 11vw, 58px); }
  .hero-lede { font-size: 14px; max-width: 34ch; }
  .btn-primary, .btn-ghost { min-height: 38px; padding: 8px 14px; font-size: 12px; }
  .process, .story, .menu { padding-left: 14px; padding-right: 14px; }
  .bg-metallic-logo {
    width: clamp(140px, 44vw, 200px) !important;
    opacity: 1 !important;
  }
  .bg-geo-wire { width: clamp(180px, 58vw, 250px); opacity: .28; }
  .bg-geo-glass { width: clamp(160px, 52vw, 230px); opacity: .14; }
}

/* ===== Replace old background model with logo.glb ===== */
.bg-glb-shell {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.bg-glb-float {
  width: clamp(640px, 104vmin, 1450px);
  aspect-ratio: 1 / 1;
  transform-style: preserve-3d;
  will-change: transform;
  animation: bgGlbFloat 9.8s ease-in-out infinite;
}
.bg-glb-float > model-viewer,
.bg-glb-float > model-viewer[classname="bg-glb-viewer"],
.bg-glb-float > model-viewer.bg-glb-viewer {
  display: block;
  width: 100%;
  height: 100%;
  background: transparent;
  opacity: .34;
  filter: contrast(1.06) saturate(1.02);
  --progress-bar-height: 0px;
  --poster-color: transparent;
}
/* Light mode: make the 3D background logo a bit darker */
html:not([data-theme="dark"]) .bg-glb-float > model-viewer,
html:not([data-theme="dark"]) .bg-glb-float > model-viewer[classname="bg-glb-viewer"],
html:not([data-theme="dark"]) .bg-glb-float > model-viewer.bg-glb-viewer {
  opacity: .52;
  filter: contrast(1.2) saturate(.98) brightness(.66);
}
/* Dark mode: make the 3D background logo a bit whiter */
html[data-theme="dark"] .bg-glb-float > model-viewer,
html[data-theme="dark"] .bg-glb-float > model-viewer[classname="bg-glb-viewer"],
html[data-theme="dark"] .bg-glb-float > model-viewer.bg-glb-viewer {
  opacity: .38;
  filter: contrast(1.04) saturate(.96) brightness(1.12);
}
.bg-glb-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 46%, rgba(255,255,255,.34) 0 38%, rgba(246,240,231,.5) 62%, rgba(241,234,223,.66) 100%);
}
@keyframes bgGlbFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, 0, 0) scale(1.012); }
}
@media (max-width: 900px) {
  .bg-glb-float {
    width: clamp(520px, 112vmin, 1000px);
  }
  .bg-glb-float > model-viewer { opacity: .28; }
  html:not([data-theme="dark"]) .bg-glb-float > model-viewer { opacity: .45; }
  html[data-theme="dark"] .bg-glb-float > model-viewer { opacity: .33; }
}
@media (max-width: 640px) {
  .bg-glb-float {
    width: clamp(420px, 114vmin, 760px);
  }
  .bg-glb-float > model-viewer { opacity: .23; }
  html:not([data-theme="dark"]) .bg-glb-float > model-viewer { opacity: .4; }
  html[data-theme="dark"] .bg-glb-float > model-viewer { opacity: .29; }
}

/* ======================= LIGHT / DARK THEME ======================= */
html[data-theme="dark"] {
  --bg: #0f1114;
  --bg-card: #161a20;
  --ink: #f0e9df;
  --ink-2: #cbbfb2;
  --ink-3: #9e9386;
  --line: #2b323b;
  --line-2: #212831;
  --brand-dark: #090b0d;
  --story-photo-bg: url("assets/story-atelier-dark.jpeg");
}
html[data-theme="dark"] body {
  background: var(--bg);
  color: var(--ink);
}
html[data-theme="dark"] .site-header {
  background: rgba(17,20,25,.78);
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: var(--ink);
}
html[data-theme="dark"] .brand-sub { color: #8f9aab; }
html[data-theme="dark"] .cart-btn {
  background: rgba(255,255,255,.08);
  color: var(--ink);
  border-color: rgba(255,255,255,.14);
}
html[data-theme="dark"] .cart-drawer {
  background: #0d1219;
  color: var(--ink);
}
html[data-theme="dark"] .cart-head {
  border-bottom-color: rgba(255,255,255,.1);
}
html[data-theme="dark"] .icon-btn {
  background: rgba(255,255,255,.06);
}
html[data-theme="dark"] .icon-btn:hover {
  background: rgba(255,255,255,.11);
}
html[data-theme="dark"] .cart-line {
  border-bottom-color: rgba(255,255,255,.08);
}
html[data-theme="dark"] .cart-line-name,
html[data-theme="dark"] .cart-line-price {
  color: #efe6d9;
}
html[data-theme="dark"] .line-remove {
  color: #d8cabb;
}
html[data-theme="dark"] .fn-inner {
  background: rgba(18,22,27,.76);
  color: var(--ink);
  border-color: rgba(255,255,255,.12);
  box-shadow: 0 12px 26px rgba(0,0,0,.34);
}
html[data-theme="dark"] .fn-links a { color: var(--ink-2); }
html[data-theme="dark"] .theme-btn,
html[data-theme="dark"] .theme-fab {
  background: rgba(255,255,255,.08);
  color: var(--ink);
  border-color: rgba(255,255,255,.16);
}
html[data-theme="dark"] .cart-foot {
  background: #121923;
  border-top-color: rgba(255,255,255,.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
html[data-theme="dark"] .free-ship {
  background: rgba(212,98,42,.16);
}
html[data-theme="dark"] .free-ship .bar {
  background: rgba(255,255,255,.14);
}
html[data-theme="dark"] .free-ship span {
  color: #f2c7aa;
}
html[data-theme="dark"] .cart-row {
  color: #d4c7b7;
}
html[data-theme="dark"] .cart-row.total {
  border-top-color: rgba(255,255,255,.14);
  color: #f5ecdf;
}
html[data-theme="dark"] .cart-note {
  color: #b9ab99;
}
html[data-theme="dark"] .hero-bg {
  background:
    radial-gradient(ellipse at 50% 30%, rgba(255,255,255,.08), rgba(255,255,255,0) 62%),
    radial-gradient(ellipse at 76% 18%, rgba(120,95,70,.10), transparent 56%),
    radial-gradient(ellipse at 16% 90%, rgba(70,55,40,.08), transparent 52%),
    linear-gradient(180deg, #12161b, #0f1318);
}
html[data-theme="dark"] .hero-lede,
html[data-theme="dark"] .dish-desc,
html[data-theme="dark"] .stat-sub,
html[data-theme="dark"] .cat-subtitle,
html[data-theme="dark"] .menu-intro-eyebrow {
  color: var(--ink-3);
}
html[data-theme="dark"] .process-card,
html[data-theme="dark"] .stat-card,
html[data-theme="dark"] .story-frame,
html[data-theme="dark"] .trust-item,
html[data-theme="dark"] .dish-card,
html[data-theme="dark"] .hero-eyebrow,
html[data-theme="dark"] .hero-meta {
  background: rgba(20,25,31,.66);
  border-color: rgba(255,255,255,.11);
  box-shadow: 0 14px 34px rgba(0,0,0,.28);
}
html[data-theme="dark"] .dish-media { background: #181d24; }
html[data-theme="dark"] .story-photo {
  height: calc(100% - 10px);
  max-width: min(96%, 540px);
  max-height: 540px;
  margin: 5px auto;
}
html[data-theme="dark"] .dish-name,
html[data-theme="dark"] .dish-price,
html[data-theme="dark"] .stat-l,
html[data-theme="dark"] .ss-name,
html[data-theme="dark"] .hero-title em,
html[data-theme="dark"] .stats .sect-title.light {
  color: var(--ink) !important;
}
html[data-theme="dark"] .stats .sect-title.light em {
  color: var(--accent) !important;
}
html[data-theme="dark"] .btn-primary,
html[data-theme="dark"] .add-btn,
html[data-theme="dark"] .fn-cta {
  background: #efe7db;
  color: #121417;
}
html[data-theme="dark"] .btn-ghost {
  background: rgba(255,255,255,.08);
  color: var(--ink);
  border-color: rgba(255,255,255,.2);
}
html[data-theme="dark"] .cat-pill {
  color: rgba(255,255,255,.86);
}
html[data-theme="dark"] .cat-pill.active {
  background: #ece4d8;
  color: #15171a;
  border-color: rgba(255,255,255,.3);
}
html[data-theme="dark"] .cat-count {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.2);
  color: var(--ink);
}
html[data-theme="dark"] .bg-glb-vignette {
  background:
    radial-gradient(circle at 50% 46%, rgba(0,0,0,.12) 0 36%, rgba(7,10,14,.44) 62%, rgba(7,10,14,.66) 100%);
}
html[data-theme="dark"] .site-foot {
  background: rgba(10,13,18,.62);
  border-top-color: rgba(255,255,255,.08);
  --foot-brand-color: var(--ink);
  --foot-brand-logo-filter: invert(1) brightness(1.15);
}

.cart-scrim {
  z-index: 120 !important;
  background: rgba(18,14,10,.58) !important;
  backdrop-filter: blur(7px) saturate(110%) !important;
  -webkit-backdrop-filter: blur(7px) saturate(110%) !important;
}
.cart-drawer {
  z-index: 121 !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,.72), rgba(255,255,255,0) 34%),
    linear-gradient(180deg, #fffaf2 0%, #fbf2e6 100%) !important;
  color: #16110c !important;
  border: 1px solid rgba(30,22,14,.1) !important;
  box-shadow: 0 -30px 80px rgba(20,14,8,.28) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
html[data-theme="dark"] .cart-drawer {
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,.08), rgba(255,255,255,0) 34%),
    linear-gradient(180deg, #0d1117 0%, #080b10 100%) !important;
  color: #f7efe4 !important;
  border-color: rgba(255,255,255,.1) !important;
  box-shadow: 0 -30px 90px rgba(0,0,0,.66) !important;
}
.cart-drawer.empty-cart .cart-body {
  flex: 1 1 auto !important;
  overflow: hidden !important;
  padding: 0 22px 28px !important;
}
.cart-drawer.empty-cart .cart-empty {
  min-height: 100%;
  padding: 28px 18px 58px !important;
  justify-content: center;
}
.cart-empty p {
  color: #1b1510 !important;
  font-size: clamp(24px, 6vw, 30px) !important;
  line-height: 1.05 !important;
}
.cart-empty span {
  max-width: 260px;
  color: rgba(71,62,52,.72) !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
}
.empty-art {
  color: var(--accent) !important;
  opacity: .95 !important;
  margin-bottom: 24px !important;
}
html[data-theme="dark"] .cart-empty,
html[data-theme="dark"] .cart-empty span {
  color: rgba(247,239,228,.66) !important;
}
html[data-theme="dark"] .cart-empty p {
  color: #fff7ec !important;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex: 0 0 auto;
  position: relative;
  height: 36px;
  min-width: 58px;
  border-radius: 999px;
  border: 1px solid rgba(26,22,18,.14);
  background: rgba(255,255,255,.78);
  color: var(--ink);
  box-shadow: 0 8px 22px rgba(20,14,10,.08);
  font: 800 12px/1 var(--font-body);
  letter-spacing: .08em;
  text-align: center;
  padding: 0 12px;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.lang-switch:hover {
  transform: translateY(-1px);
  border-color: rgba(26,22,18,.24);
}

.lang-current {
  color: currentColor;
}

.lang-next {
  opacity: .38;
  font-weight: 700;
}

html[data-theme="dark"] .lang-switch {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.14);
  color: var(--ink);
}

.site-header .lang-switch {
  margin-left: auto;
}

.site-header .lang-switch + .cart-btn {
  margin-left: 8px;
}

.fn-actions .lang-switch {
  margin-right: 8px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 640px) {
  html[data-theme="dark"] .story-photo {
    max-width: min(97%, 360px);
    max-height: 360px;
  }

  .cart-drawer {
    height: min(88vh, 720px) !important;
    border-radius: 28px 28px 0 0 !important;
  }

  .cart-head {
    padding: 18px 22px 16px !important;
    background: rgba(255,250,242,.96) !important;
    border-bottom-color: rgba(30,22,14,.1) !important;
  }

  html[data-theme="dark"] .cart-head {
    background: rgba(13,17,23,.96) !important;
    border-bottom-color: rgba(255,255,255,.1) !important;
  }
}
