:root {
  --bg: #0d0a08;
  --bg-2: #14100c;
  --card: #1a1410;
  --card-2: #211a14;
  --line: rgba(255, 236, 214, .10);
  --line-2: rgba(255, 236, 214, .18);
  --text: #f5ede3;
  --muted: #b3a595;
  --accent: #d4914f;
  --accent-2: #eccaa0;
  --accent-ink: #1a0f07;
  --wa: #25d366;
  --radius: 22px;
  --f-body: 'Outfit', system-ui, sans-serif;
  --f-display: 'Antonio', 'Outfit', 'Arial Narrow', sans-serif;
  --gutter: clamp(16px, 5vw, 64px);
  --hero-p: 0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; line-height: 1.08; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0; }
::selection { background: var(--accent); color: var(--accent-ink); }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 600; font-size: 16px; white-space: nowrap;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn.primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 30px -10px rgba(212, 145, 79, .7); }
.btn.primary:hover { transform: translateY(-2px); background: #e2a263; }
.btn.ghost { border: 1px solid var(--line-2); color: var(--text); background: rgba(255, 255, 255, .02); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent-2); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  height: 76px; padding: 0 var(--gutter);
  transition: background .35s ease, height .35s ease, border-color .35s ease;
  border-bottom: 1px solid transparent;
}
.scrolled .nav {
  background: rgba(13, 10, 8, .72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-color: var(--line);
  height: 66px;
}
.brand img { height: 56px; width: auto; border-radius: 8px; }
.links { display: flex; gap: 34px; font-size: 15px; font-weight: 500; }
.links a { position: relative; color: var(--muted); transition: color .2s; }
.links a:hover { color: var(--text); }
.links a::after {
  content: ""; position: absolute; inset: auto 0 -6px 0; height: 1px; background: var(--accent);
  transform: scaleX(0); transition: transform .3s ease;
}
.links a:hover::after { transform: scaleX(1); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.lang { display: flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; }
.lang button {
  border: 0; background: none; height: 32px; min-width: 38px; padding: 0 10px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--muted); transition: all .2s;
}
.lang button.on { background: var(--text); color: var(--bg); }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-2); transition: border-color .2s, color .2s;
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.icon-btn svg .dot { fill: currentColor; stroke: none; }
.burger { display: none; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 50%; background: none; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.6px; background: currentColor; transition: transform .3s; }
.burger span:first-child { top: 16px; }
.burger span:last-child { top: 22px; }
.nav.open .burger span:first-child { transform: translateY(3px) rotate(45deg); }
.nav.open .burger span:last-child { transform: translateY(-3px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; }
.hero-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg .glow {
  position: absolute; width: 90vmin; height: 90vmin; border-radius: 50%;
  top: 50%; left: 64%; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(212, 145, 79, .26) 0%, rgba(212, 145, 79, .08) 38%, transparent 68%);
  filter: blur(10px);
}
.hero-bg .bigword {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, calc(-50% + (var(--hero-p) * -18vh)));
  font-family: 'Antonio', sans-serif; font-weight: 100;
  font-size: min(62vw, 90vh); line-height: .8; letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 236, 214, .07);
  user-select: none; white-space: nowrap;
}
#cup-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1s ease; }
/* loop restart: dip the scene and captions to dark */
.hero.restarting #cup-canvas, .hero.restarting .captions { opacity: 0 !important; transition: opacity .6s ease; }
.captions { transition: opacity .6s ease; }
.webgl-ok #cup-canvas { opacity: 1; }
.hero-fallback {
  display: none; position: absolute; width: min(46vw, 520px); top: 50%; right: 8vw; transform: translateY(-50%);
  border-radius: 28px; background: #f3efe9; mix-blend-mode: normal;
}
.no-webgl .hero-fallback { display: block; }

.captions { position: absolute; inset: 0; pointer-events: none; }
.cap {
  position: absolute; top: 50%; inset-inline-start: var(--gutter);
  width: min(520px, 42vw);
  transform: translateY(calc(-50% + 30px));
  opacity: 0; visibility: hidden;
  transition: opacity .55s ease, transform .7s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .6s;
}
.cap.active {
  opacity: 1; visibility: visible; transform: translateY(-50%); pointer-events: auto;
  transition: opacity .7s ease .1s, transform .9s cubic-bezier(.2, .8, .2, 1) .1s, visibility 0s;
}
.cap h1, .cap h2 {
  margin-top: 18px;
  font-family: var(--f-display); font-weight: 300;
  font-size: clamp(44px, 6.4vw, 96px); line-height: .98; letter-spacing: -.01em; text-transform: uppercase;
}
.cap p { margin-top: 20px; color: var(--muted); font-size: clamp(16px, 1.3vw, 19px); max-width: 440px; }

.rail {
  position: absolute; inset-inline-end: calc(var(--gutter) - 6px); top: 50%; transform: translateY(-50%);
  list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px;
}
.rail li { display: flex; align-items: center; gap: 12px; cursor: pointer; flex-direction: row-reverse; }
.rail i {
  width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--line-2); transition: all .35s;
}
.rail span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); opacity: 0; transform: translateX(6px); transition: all .35s; }
.rail li:hover span, .rail li.active span { opacity: 1; transform: none; }
.rail li.done i { background: var(--line-2); }
.rail li.active i { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 5px rgba(212, 145, 79, .18); }
.rail li.active span { color: var(--text); }

.scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted);
  transition: opacity .4s;
}
.mouse { width: 24px; height: 38px; border: 1.5px solid var(--line-2); border-radius: 14px; position: relative; }
.mouse i { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--accent); animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-2px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- marquee ---------- */
.marquee {
  border-block: 1px solid rgba(255, 236, 214, .08);
  overflow: hidden;
  background: rgba(20, 16, 12, .75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 10px 0;
  position: relative;
  z-index: 2;
  cursor: default;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
.marquee span {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(14px, 1.4vw, 18px);
  letter-spacing: .16em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: pre;
  color: var(--accent-2);
  opacity: .82;
  padding-inline-end: .8em;
  transition: opacity .3s ease;
}
.marquee:hover span {
  opacity: 1;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: clamp(80px, 12vw, 150px) 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 70px); }
.section-head h2 {
  margin-top: 18px;
  font-family: var(--f-display); font-weight: 300; text-transform: uppercase;
  font-size: clamp(40px, 5.4vw, 76px); line-height: 1;
}
.section-head p { margin-top: 20px; color: var(--muted); font-size: 18px; max-width: 560px; }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s ease var(--d, 0ms), transform 1s cubic-bezier(.2, .8, .2, 1) var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

/* products */
.products-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 28px; align-items: stretch; }
.studio {
  margin: 0; border-radius: var(--radius); overflow: hidden; position: relative;
  background: radial-gradient(120% 90% at 50% 20%, #ffffff 0%, #efe9e2 70%, #e2d9cf 100%);
  display: flex; align-items: center; justify-content: center; min-height: 420px;
}
.studio img { width: 100%; mix-blend-mode: multiply; transition: transform 1.2s cubic-bezier(.2, .8, .2, 1); }
.studio:hover img { transform: scale(1.04); }
.studio figcaption {
  position: absolute; inset-inline-start: 20px; bottom: 18px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; color: #5a4636;
  background: rgba(255, 255, 255, .75); padding: 7px 14px; border-radius: 999px; backdrop-filter: blur(6px);
}
.sizes { display: grid; gap: 16px; }
.size-card {
  display: flex; align-items: center; gap: 22px;
  background: linear-gradient(145deg, var(--card-2), var(--card));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 26px 18px 18px;
  transition: border-color .3s, transform .4s cubic-bezier(.2, .8, .2, 1);
}
.size-card:hover { border-color: rgba(212, 145, 79, .5); transform: translateX(6px); }
.mini-cup { width: 86px; height: 120px; flex-shrink: 0; overflow: visible; }
.mini-cup .dome { fill: rgba(255, 255, 255, .06); stroke: rgba(255, 255, 255, .45); stroke-width: 1.5; }
.mini-cup .rim { fill: rgba(255, 255, 255, .18); stroke: rgba(255, 255, 255, .5); stroke-width: 1; }
.mini-cup .body { fill: rgba(255, 255, 255, .05); stroke: rgba(255, 255, 255, .5); stroke-width: 1.5; }
.mini-cup .fill {
  fill: url(#none); fill: #7a4a28;
  transform-box: fill-box; transform-origin: bottom; transform: scaleY(0);
  transition: transform 1.1s cubic-bezier(.3, .7, .2, 1);
}
.size-card.in .mini-cup .fill { transform: scaleY(.35); transition-delay: .5s; }
.size-card:hover .mini-cup .fill { transform: scaleY(1); transition-delay: 0s; }
.size-info h3 { font-family: 'Antonio', sans-serif; font-weight: 300; font-size: 54px; line-height: 1; }
.size-info h3 small { font-size: 20px; color: var(--muted); font-weight: 400; }
.size-info strong { display: block; margin-top: 4px; color: var(--accent); font-weight: 600; letter-spacing: .06em; font-size: 14px; text-transform: uppercase; }
.size-info p { color: var(--muted); font-size: 15px; margin-top: 4px; }

.pack {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 28px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.pack-item { background: var(--bg-2); padding: 26px 28px; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.pack-num { font-family: 'Antonio', sans-serif; font-weight: 300; font-size: 48px; line-height: 1; color: var(--accent-2); }
.pack-item span:last-child { color: var(--muted); font-size: 15px; }

.chips { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 18px; font-size: 14px; color: var(--muted); }
.chips li::before { content: "✦"; color: var(--accent); margin-inline-end: 8px; font-size: 11px; }

/* print / designer */
.print { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.print-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.designer {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: grid; gap: 20px;
}
.designer label { display: grid; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.designer input {
  height: 52px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg);
  color: var(--text); padding: 0 18px; font: 500 18px var(--f-body); outline: none; transition: border-color .2s, box-shadow .2s;
}
.designer input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(212, 145, 79, .15); }
.ink { display: grid; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatches button {
  width: 36px; height: 36px; border-radius: 50%; background: var(--c);
  border: 2px solid var(--line-2); outline: 2px solid transparent; outline-offset: 3px; transition: outline-color .2s, transform .2s;
}
.swatches button:hover { transform: scale(1.1); }
.swatches button.on { outline-color: var(--accent); }

/* ---------- drink switcher (background tester) ---------- */
.drink-picker { display: grid; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.drink-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.drink-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 10px; border-radius: 12px;
  border: 1px solid var(--line-2); background: var(--bg);
  color: var(--text); font: 500 14px var(--f-body); cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
}
.drink-btn:hover { border-color: var(--accent); background: var(--card-2); }
.drink-btn.on { border-color: var(--accent); background: rgba(212, 145, 79, .15); color: var(--accent); font-weight: 600; }
.drink-dot { width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0; display: inline-block; }

.cup-model-picker { display: flex; flex-direction: column; gap: 8px; margin-bottom: 4px; }
.cup-model-btns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.cup-model-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 10px; border-radius: 12px;
  border: 1px solid var(--line-2); background: var(--bg);
  color: var(--text); font: 500 13px var(--f-body); cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
}
.cup-model-btn:hover { border-color: var(--accent); background: var(--card-2); }
.cup-model-btn.on { border-color: var(--accent); background: rgba(212, 145, 79, .15); color: var(--accent); font-weight: 600; }
.cup-model-icon { width: 18px; height: 18px; flex-shrink: 0; }

.mock { position: relative; display: grid; place-items: center; }
.mock::before {
  content: ""; position: absolute; width: 90%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 175, 105, .42) 0%, rgba(212, 145, 79, .22) 45%, transparent 70%);
  filter: blur(8px);
}
.designer-canvas-wrap {
  position: relative;
  width: min(100%, 440px);
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
}
.canvas-top-bar {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  z-index: 3;
  pointer-events: none;
}
.canvas-top-bar > * {
  pointer-events: auto;
}
.canvas-model-tabs,
.canvas-drink-tabs {
  display: flex;
  gap: 4px;
  background: rgba(13, 10, 8, 0.84);
  padding: 4px;
  border-radius: 24px;
  border: 1px solid var(--line-2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.canvas-model-tab,
.canvas-drink-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 18px;
  border: none;
  background: transparent;
  color: var(--muted);
  font: 500 12px var(--f-body);
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
}
.canvas-model-tab:hover,
.canvas-drink-tab:hover { color: var(--text); }
.canvas-model-tab.on,
.canvas-drink-tab.on { background: rgba(212, 145, 79, 0.22); color: var(--accent); font-weight: 600; }
.canvas-drink-tab .dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
#designer-cup-canvas {
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
  touch-action: pan-y;
}
.designer-dragging #designer-cup-canvas {
  cursor: grabbing;
}
.mock-drag-hint {
  position: absolute;
  bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  background: rgba(13, 10, 8, 0.78);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--line-2);
  backdrop-filter: blur(8px);
  pointer-events: none;
  transition: opacity .4s ease;
  user-select: none;
}
.mock-drag-hint svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
}
.designer-dragged .mock-drag-hint {
  opacity: 0;
  pointer-events: none;
}
#mock-cup { position: relative; width: min(100%, 400px); height: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .5)); animation: bob 6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-10px) rotate(-1deg); } }
#mock-print { transition: fill .3s; mix-blend-mode: normal; }
.webgl-ok #mock-cup { display: none !important; }
.no-webgl .designer-canvas-wrap { display: none !important; }
.no-webgl #mock-cup { display: block !important; }

.steps { list-style: none; padding: 0; margin: clamp(60px, 9vw, 110px) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.steps li { border-top: 1px solid var(--line-2); padding-top: 22px; }
.step-n { font-family: 'Antonio', sans-serif; font-weight: 200; font-size: 44px; color: var(--accent); line-height: 1; }
.steps h3 { margin-top: 14px; font-size: 20px; }
.steps p { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* why */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  transition: border-color .3s, background .3s;
}
.feature:hover { border-color: rgba(212, 145, 79, .45); background: var(--card-2); }
.feature svg { width: 40px; height: 40px; fill: none; stroke: var(--accent); stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; }
.feature h3 { margin-top: 22px; font-size: 21px; }
.feature p { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* instagram */
.ig { padding-top: 0; }
.ig-card {
  display: flex; align-items: center; gap: 28px; padding: 30px 34px; border-radius: 28px;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(214, 41, 118, .22), transparent 55%),
    radial-gradient(120% 140% at 100% 100%, rgba(254, 218, 117, .16), transparent 55%),
    var(--card);
  border: 1px solid var(--line); transition: transform .4s cubic-bezier(.2, .8, .2, 1), border-color .3s;
}
.ig-card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.ig-ring {
  flex-shrink: 0; width: 92px; height: 92px; border-radius: 50%; padding: 3px;
  background: conic-gradient(from 200deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5, #feda75);
}
.ig-ring img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; background: #000; border: 3px solid var(--card); padding: 10px; }
.ig-text { flex: 1; display: grid; gap: 4px; }
.ig-handle { color: var(--accent-2); font-weight: 600; }
.ig-text strong { font-size: clamp(20px, 2.2vw, 28px); font-weight: 600; line-height: 1.2; }
.ig-text span:last-child { color: var(--muted); }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 5vw, 70px); align-items: stretch; }
.contact-info h2 {
  margin-top: 18px; font-family: var(--f-display); font-weight: 300; text-transform: uppercase;
  font-size: clamp(38px, 4.6vw, 66px); line-height: 1;
}
.contact-info > p { margin-top: 18px; color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-list li { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.ci-label { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.contact-list a { font-size: 19px; width: fit-content; transition: color .2s; }
.contact-list a:hover { color: var(--accent-2); }
.btn.wa { background: var(--wa); color: #06260f; box-shadow: 0 10px 30px -10px rgba(37, 211, 102, .6); }
.btn.wa:hover { background: #3be07a; }
.map {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 460px; background: var(--card);
}
.map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; filter: grayscale(.35) contrast(1.05); }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 50px 0 40px; }
.footer-inner { display: grid; justify-items: center; text-align: center; gap: 14px; }
.footer img { height: 84px; width: auto; border-radius: 10px; }
.footer p { color: var(--muted); }
.footer .small { font-size: 14px; }
.footer a:hover { color: var(--accent-2); }

.wa-float {
  position: fixed; z-index: 60; bottom: 22px; inset-inline-end: 22px;
  width: 58px; height: 58px; border-radius: 50%; background: var(--wa); display: grid; place-items: center;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6); transition: transform .25s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .products-grid, .print-grid, .contact-grid { grid-template-columns: 1fr; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .mock { order: -1; }
}
@media (max-width: 820px) {
  .links {
    position: absolute; top: 100%; inset-inline: 12px; flex-direction: column; gap: 0;
    background: rgba(20, 16, 12, .96); backdrop-filter: blur(16px); border: 1px solid var(--line);
    border-radius: 18px; padding: 8px; font-size: 18px;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all .3s;
  }
  .links a { padding: 14px 16px; color: var(--text); }
  .links a::after { display: none; }
  .nav.open .links { opacity: 1; visibility: visible; transform: none; }
  .burger { display: block; }
  .icon-btn { display: none; }

  .hero-bg .glow { left: 50% !important; top: 34%; }
  .cap {
    top: auto; bottom: 0; inset-inline: 0; width: auto;
    padding: 90px var(--gutter) 34px;
    background: linear-gradient(to top, var(--bg) 45%, rgba(13, 10, 8, .85) 70%, transparent);
    transform: translateY(30px);
  }
  .cap.active { transform: none; }
  .cap h1, .cap h2 { margin-top: 12px; font-size: clamp(36px, 10vw, 54px); }
  .cap p { margin-top: 12px; font-size: 15px; }
  .cap .cta-row { margin-top: 18px; }
  .cap .btn { height: 46px; padding: 0 20px; font-size: 15px; }
  .rail { top: 96px; transform: none; gap: 12px; inset-inline-end: 16px; }
  .rail span { display: none; }
  .scroll-hint { display: none; }
  .hero-fallback { width: 78vw; right: 11vw; top: 38%; }

  .pack { grid-template-columns: 1fr; }
  .features, .steps { grid-template-columns: 1fr; }
  .studio { min-height: 0; }
  .size-card { padding: 14px 18px 14px 12px; gap: 14px; }
  .mini-cup { width: 66px; height: 96px; }
  .size-info h3 { font-size: 42px; }
  .ig-card { flex-direction: column; text-align: center; padding: 30px 22px; }
  .ig-card .btn { width: 100%; }
  .map, .map iframe { min-height: 340px; }
  .cta-row .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track, #mock-cup, .mouse i { animation: none; }
  .reveal { transition: none; opacity: 1; transform: none; }
}

/* keep the floating WhatsApp button clear of the hero captions on phones */
@media (max-width: 820px) {
  .wa-float { opacity: 0; pointer-events: none; transform: scale(.6); transition: opacity .3s, transform .3s; }
  .hero-done .wa-float { opacity: 1; pointer-events: auto; transform: none; }
}

/* ---------- hero: spin the cup after the story ---------- */
.spin-ui {
  position: absolute; left: 67%; bottom: 84px; transform: translate(-50%, 12px);
  display: flex; align-items: center; gap: 12px; white-space: nowrap;
  opacity: 0; visibility: hidden; transition: opacity .6s ease, transform .6s ease, visibility 0s linear .6s;
}
.hero.interactive .spin-ui { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .6s ease, transform .6s ease, visibility 0s; }
.drag-hint, .replay {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px;
  font-size: 14px; font-weight: 500; color: var(--text);
  background: rgba(20, 16, 12, .6); border: 1px solid var(--line-2);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.drag-hint svg, .replay svg { width: 18px; height: 18px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.drag-hint svg { animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateX(-3px); } 50% { transform: translateX(3px); } }
.replay { cursor: pointer; transition: border-color .2s, color .2s; }
.replay:hover { border-color: var(--accent); color: var(--accent-2); }
.hero.interactive #cup-canvas { cursor: grab; touch-action: pan-y; }
.dragging .hero.interactive #cup-canvas { cursor: grabbing; }

/* ---------- sizes: 4 cards ---------- */
.sizes { grid-template-columns: 1fr 1fr; }
.size-card { padding: 16px 18px 16px 12px; gap: 12px; }
.size-card .mini-cup { width: 64px; height: 108px; }
.size-info h3 { font-size: 46px; }
.size-info em { display: block; font-style: normal; font-size: 13px; color: var(--muted); margin-top: 2px; }

/* ---------- product range ---------- */
.range { padding-top: 0; }
.range-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.range-card {
  position: relative; background: linear-gradient(160deg, var(--card-2), var(--card));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px 30px; overflow: hidden;
  transition: border-color .3s, transform .5s cubic-bezier(.2, .8, .2, 1);
}
.range-card::after {
  content: ""; position: absolute; width: 220px; height: 220px; right: -80px; top: -80px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 145, 79, .16), transparent 70%); pointer-events: none;
}
.range-card:hover { border-color: rgba(212, 145, 79, .5); transform: translateY(-4px); }
.range-ico { width: 96px; height: 96px; fill: none; stroke: var(--accent-2); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.range-tag {
  position: absolute; top: 24px; right: 24px; font-size: 12px; font-weight: 600; letter-spacing: .06em;
  color: var(--accent); border: 1px solid rgba(212, 145, 79, .4); border-radius: 999px; padding: 4px 12px;
}
.range-card h3 { margin-top: 18px; font-size: 22px; }
.range-card p { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* ---------- designer pickers ---------- */
.picker { display: grid; gap: 10px; margin-top: -6px; }
.picker-label { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.font-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.font-opt {
  display: grid; justify-items: center; gap: 2px; min-width: 0; padding: 10px 6px 8px; border-radius: 12px;
  background: var(--bg); border: 1px solid var(--line-2); color: var(--text); transition: border-color .2s, background .2s;
}
.font-opt:hover { border-color: rgba(212, 145, 79, .6); }
.font-opt.on { border-color: var(--accent); background: rgba(212, 145, 79, .12); }
.font-prev { font-size: 22px; line-height: 1.25; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.font-opt small { font-size: 10px; color: var(--muted); letter-spacing: .02em; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slogan-list { display: flex; flex-wrap: wrap; gap: 8px; }
.idea {
  border: 1px solid var(--line-2); background: var(--bg); color: var(--text); border-radius: 999px;
  padding: 7px 14px; font-size: 12.5px; font-weight: 600; letter-spacing: .06em; transition: border-color .2s, background .2s, color .2s;
}
.idea:hover { border-color: var(--accent); color: var(--accent-2); }
.idea.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.ideas-empty { font-size: 14px; color: var(--muted); margin: 0; }

@media (max-width: 1000px) {
  .range-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .spin-ui { left: 50%; bottom: auto; top: 78px; }
  .sizes { grid-template-columns: 1fr; }
  .range-grid { grid-template-columns: 1fr; }
  .font-list { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- product photos in range cards ---------- */
.range-card { padding: 0 0 26px; }
.range-photo {
  aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 1px solid var(--line); background: #0f0b08;
}
.range-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; transition: transform 1.2s cubic-bezier(.2, .8, .2, 1); }
.range-card:hover .range-photo img { transform: scale(1.06); }
.range-photo.illus { display: grid; place-items: center; background: radial-gradient(circle at 50% 45%, rgba(212, 145, 79, .18), transparent 65%), #120e0a; }
.range-photo.illus .range-ico { width: 44%; height: auto; }
.range-card h3, .range-card p { padding: 0 26px; }
.range-card h3 { margin-top: 20px; }
.range-tag { top: 14px; right: 14px; background: rgba(13, 10, 8, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); z-index: 1; }
.range-card::after { display: none; }

/* ---------- print samples gallery ---------- */
.works { padding-top: 0; }
.works-grid { columns: 4 240px; column-gap: 16px; }
.work {
  break-inside: avoid; margin: 0 0 16px; position: relative; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line); background: var(--card);
}
.work img { width: 100%; transition: transform 1.2s cubic-bezier(.2, .8, .2, 1); }
.work:hover img { transform: scale(1.05); }
.work figcaption {
  padding: 12px 16px 14px; display: grid; gap: 2px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted);
}
.work figcaption b { color: var(--text); font-size: 15px; font-weight: 600; }
.works-more { margin-top: 12px; }

@media (max-width: 1100px) and (min-width: 821px) {
  .links { gap: 20px; font-size: 14px; }
}
@media (max-width: 820px) {
  .works-grid { columns: 2 150px; column-gap: 10px; }
  .work { margin-bottom: 10px; border-radius: 14px; }
  .work figcaption { padding: 9px 10px 10px; font-size: 11.5px; }
  .work figcaption b { font-size: 13px; }
}

/* ---------- logo upload ---------- */
.upload { display: grid; gap: 10px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.dropzone {
  display: flex !important; align-items: center; gap: 14px; cursor: pointer;
  padding: 16px 18px; border-radius: 16px; border: 1.5px dashed rgba(212, 145, 79, .5);
  background: rgba(212, 145, 79, .06); text-transform: none !important; letter-spacing: 0 !important;
  transition: background .2s, border-color .2s;
}
.dropzone:hover, .dropzone.over { background: rgba(212, 145, 79, .14); border-color: var(--accent); }
.dropzone[hidden], .logo-loaded[hidden] { display: none !important; }
.dropzone svg { width: 30px; height: 30px; flex-shrink: 0; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dz-text { display: grid; gap: 2px; }
.dz-text b { color: var(--text); font-size: 15px; font-weight: 600; }
.dz-text small { color: var(--muted); font-size: 12.5px; font-weight: 400; }
.logo-loaded {
  display: flex; align-items: center; gap: 14px; padding: 10px 14px 10px 10px;
  border-radius: 16px; border: 1px solid var(--line-2); background: var(--bg);
}
.logo-thumb {
  width: 84px; height: 56px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; padding: 6px;
  background: repeating-conic-gradient(#2a211a 0% 25%, #1c1611 0% 50%) 50% / 12px 12px;
}
.logo-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.logo-meta { flex: 1; min-width: 0; display: grid; gap: 6px; }
.logo-meta strong { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.check { display: flex !important; align-items: center; gap: 8px; cursor: pointer; text-transform: none !important; letter-spacing: 0 !important; font-weight: 400 !important; font-size: 13px !important; color: var(--muted); }
.check input { width: 16px; height: 16px; accent-color: var(--accent); margin: 0; }
.link-btn {
  justify-self: start; display: inline-flex; align-items: center; height: 36px; padding: 0 16px;
  border-radius: 999px; border: 1px solid rgba(212, 145, 79, .55);
  background-color: var(--card-2); color: var(--accent-2); -webkit-appearance: none; appearance: none;
  font: 500 13.5px var(--f-body); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.link-btn:hover { background-color: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
#logo-remove { flex-shrink: 0; height: 32px; padding: 0 14px; color: var(--text); border-color: var(--line-2); }
#logo-remove:hover { background-color: #3a2a20; border-color: #d8412f; color: #ffb4a8; }
.dropzone.busy { pointer-events: none; opacity: .6; }
.dropzone.busy .dz-text b::after { content: " …"; }
.logo-note.error { color: #ff9d8a; }
.logo-note { font-size: 12.5px; color: var(--muted); margin: 0; }
/* with a logo on the cup the brand-name lettering is not printed */
.has-logo .font-list { opacity: .4; pointer-events: none; }

/* ---------- logo colours + size ---------- */
.logo-colors { display: flex; gap: 5px; }
.logo-colors i, .swatch-logo .dots i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); display: block; }
.logo-size { display: grid; gap: 10px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.logo-size[hidden] { display: none; }
.size-row {
  display: grid !important; grid-template-columns: 78px 1fr 58px; align-items: center; gap: 12px !important;
  text-transform: none !important; letter-spacing: 0 !important; font-size: 13.5px !important; font-weight: 500 !important; color: var(--text) !important;
}
.size-row input[type=range] { width: 100%; height: auto; padding: 0; border: 0; background: none; accent-color: var(--accent); box-shadow: none; }
.size-row output { text-align: right; font-variant-numeric: tabular-nums; color: var(--accent-2); font-weight: 600; }
.size-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.link-btn.small { height: 30px; padding: 0 12px; font-size: 12.5px; }

.swatches { gap: 9px; }
.swatches .ink-sw { width: 32px; height: 32px; }
.swatches .ink-sw.near { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px rgba(236, 202, 160, .45); }
.swatches .swatch-logo {
  display: inline-flex; align-items: center; gap: 8px; width: auto; height: 32px; padding: 0 12px 0 8px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--bg); color: var(--text); font-size: 12.5px; font-weight: 600;
  outline: 2px solid transparent; outline-offset: 3px; transition: outline-color .2s;
}
.swatches .swatch-logo[hidden] { display: none; }
.swatch-logo .dots { display: flex; gap: 3px; }
.swatches .swatch-logo.on { outline-color: var(--accent); }
/* dark logos get a light preview background so they stay readable */
.logo-thumb.light { background: repeating-conic-gradient(#f4efe8 0% 25%, #e2dcd3 0% 50%) 50% / 12px 12px; }

/* ============ LIDS SHOWCASE ============ */
.lids {
  padding-top: 0;
  position: relative;
}
.lids-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.lid-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, var(--card-2), var(--card));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  text-align: start;
  color: var(--text);
  cursor: pointer;
  overflow: hidden;
  transition: border-color .3s, transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s;
}
.lid-card:hover {
  border-color: rgba(212, 145, 79, .5);
  transform: translateY(-4px);
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .4);
}
.lid-card.on {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 16px 36px -12px rgba(212, 145, 79, .35);
  background: linear-gradient(160deg, rgba(212, 145, 79, .1), var(--card));
}
.lid-card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #000000;
  border-bottom: 1px solid var(--line);
}
.lid-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .8s cubic-bezier(.2, .8, .2, 1);
}
.range-photo img[src*="Bubbletea"] {
  object-fit: contain;
  background: #000000;
}
.lid-card:hover .lid-card-thumb img {
  transform: scale(1.07);
}
.lid-card-info {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.lid-card-tag {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(212, 145, 79, .12);
  border: 1px solid rgba(212, 145, 79, .3);
  border-radius: 999px;
  padding: 3px 10px;
}
.lid-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin: 4px 0 0;
  line-height: 1.25;
}
.lid-card p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.45;
}
.lid-check-badge {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(13, 10, 8, .75);
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: transparent;
  transition: all .25s ease;
  z-index: 2;
}
.lid-check-badge svg {
  width: 16px;
  height: 16px;
}
.lid-card.on .lid-check-badge {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  transform: scale(1.05);
}

/* Lids Cup Model Selector Bar */
.lids-cup-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.lids-cup-bar-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.lids-cup-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 390px));
  gap: 18px;
  justify-content: center;
  width: 100%;
}
.lids-cup-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 20px;
  border-radius: 20px;
  background: linear-gradient(160deg, var(--card-2), var(--card));
  border: 1px solid var(--line-2);
  color: var(--text);
  cursor: pointer;
  text-align: start;
  transition: all .25s ease;
}
.lids-cup-btn:hover {
  border-color: rgba(212, 145, 79, .5);
  transform: translateY(-3px);
  box-shadow: 0 12px 26px -10px rgba(0, 0, 0, .45);
}
.lids-cup-btn.on {
  border-color: var(--accent);
  background: linear-gradient(160deg, rgba(212, 145, 79, 0.16), var(--card));
  box-shadow: 0 0 0 1px var(--accent), 0 14px 32px -10px rgba(212, 145, 79, .42);
}
.lids-cup-thumb {
  width: 108px;
  height: 108px;
  border-radius: 14px;
  background: #000000;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--line-2);
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lids-cup-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.lids-cup-btn:hover .lids-cup-thumb img {
  transform: scale(1.06);
}
.lids-cup-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}
.lids-cup-text strong {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.25;
}
.lids-cup-text small {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.4;
}
.lids-cup-badge {
  align-self: flex-start;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .07em;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  margin-bottom: 3px;
}
.lids-cup-check {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(13, 10, 8, .75);
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  color: transparent;
  flex-shrink: 0;
  transition: all .2s ease;
}
.lids-cup-check svg {
  width: 15px;
  height: 15px;
}
.lids-cup-btn.on .lids-cup-check {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

/* Tabs inside 3D viewer overlay */
.lids-model-tabs {
  display: inline-flex;
  gap: 4px;
  background: rgba(13, 10, 8, .82);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 3px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  pointer-events: auto;
}
.lids-model-tab {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--muted);
  font: 500 12px var(--f-body);
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
}
.lids-model-tab:hover { color: var(--text); }
.lids-model-tab.on {
  background: rgba(212, 145, 79, .24);
  color: var(--accent);
  font-weight: 600;
}

/* Lids 3D Viewer underneath */
.lids-viewer {
  display: flex;
  justify-content: center;
  position: relative;
  margin-top: 10px;
}
.lids-canvas-wrap {
  position: relative;
  width: min(100%, 760px);
  height: 520px;
  background: radial-gradient(circle at 50% 36%, rgba(212, 145, 79, .15) 0%, rgba(20, 15, 12, .85) 55%, rgba(10, 8, 6, .98) 100%);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) * 1.2);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 24px 50px -15px rgba(0, 0, 0, .6);
}
#lids-cup-canvas {
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
  touch-action: pan-y;
}
.lids-dragging #lids-cup-canvas {
  cursor: grabbing;
}
.lids-viewer-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
}
.lids-overlay-top {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.lids-active-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(13, 10, 8, .84);
  border: 1px solid var(--line-2);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, .3);
  pointer-events: auto;
}
.lids-active-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
.lids-pill-sep {
  opacity: 0.4;
}
#lids-active-badge {
  color: var(--accent);
  font-weight: 600;
  font-size: 12px;
}
.lids-view-actions {
  display: inline-flex;
  gap: 8px;
  pointer-events: auto;
}
.lids-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  background: rgba(13, 10, 8, .82);
  border: 1px solid var(--line-2);
  color: var(--text);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all .2s ease;
  user-select: none;
}
.lids-action-btn:hover {
  background: rgba(212, 145, 79, .18);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}
.lids-action-btn.on {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
}
.lids-action-btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.lids-viewer .mock-drag-hint {
  position: static;
  opacity: .9;
}
.lids-dragged .mock-drag-hint {
  opacity: 0;
}

@media (max-width: 1024px) {
  .lids-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .lids-canvas-wrap {
    height: 460px;
  }
}
@media (max-width: 580px) {
  .lids-grid {
    grid-template-columns: 1fr;
  }
  .lids-cup-toggle {
    grid-template-columns: 1fr;
  }
  .lids-canvas-wrap {
    height: 440px;
  }
}

@media (max-width: 480px) {
  .canvas-top-bar {
    flex-direction: column;
    gap: 6px;
    align-items: center;
  }
}


