:root {
  --intro-ready: 1;
  --cream: #FFF7EE;
  --cream-2: #FBEBDD;
  --ink: #2A1710;
  --ink-2: #6B5348;
  --berry: #FF4F7B;
  --berry-2: #E0336A;
  --gold: #F5B841;
  --violet: #6B4BFF;
  --night: #1C1236;
  --mint: #3CC6A6;
  --card: #FFFFFF;
  --line: rgba(42, 23, 16, 0.1);
  --radius: 22px;
  --shadow: 0 20px 50px -20px rgba(80, 30, 10, 0.35);
  --display: 'Fraunces', Georgia, serif;
  --body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--body); color: var(--ink); background: var(--cream);
  overflow-x: clip; -webkit-font-smoothing: antialiased; line-height: 1.55;
}
body.lock { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; color: var(--berry); }
::selection { background: var(--berry); color: #fff; }

.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--gold), var(--berry), var(--violet)); z-index: 100; }
#sparkles { position: fixed; inset: 0; pointer-events: none; z-index: 90; }
#confetti { position: fixed; inset: 0; pointer-events: none; z-index: 300; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.9rem 1.5rem; border-radius: 999px; font-weight: 700;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s; white-space: nowrap; position: relative; }
.btn.primary { background: var(--ink); color: #fff; box-shadow: 0 10px 25px -10px rgba(42, 23, 16, 0.6); overflow: hidden; }
.btn.primary::before { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, var(--berry), var(--violet)); opacity: 0; transition: opacity 0.4s; }
.btn.primary:hover::before { opacity: 1; }
.btn.primary { isolation: isolate; }
.btn.primary::before { z-index: -1; }
.btn.primary:hover { box-shadow: 0 18px 35px -12px rgba(107, 75, 255, 0.6); }
.btn.ghost { background: rgba(255, 255, 255, 0.6); border: 1.5px solid var(--line); backdrop-filter: blur(6px); }
.btn.ghost:hover { background: #fff; }
.btn.big { padding: 1.1rem 2rem; font-size: 1.05rem; width: 100%; justify-content: center; }
.btn:active { transform: scale(0.96); }
.btn[disabled] { opacity: 0.5; pointer-events: none; }

/* ---------- nav ---------- */
.nav { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); width: min(1180px, calc(100% - 24px)); z-index: 50;
  display: flex; align-items: center; gap: 1rem; padding: 0.6rem 0.7rem 0.6rem 1.1rem; border-radius: 999px;
  background: rgba(255, 247, 238, 0.7); backdrop-filter: blur(14px) saturate(1.4); border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 30px -15px rgba(80, 30, 10, 0.3); transition: transform 0.4s var(--ease), background 0.3s; }
.nav.hide { transform: translate(-50%, -120%); }
.brand { display: flex; align-items: center; gap: 0.6rem; margin-right: auto; }
.lamp-ico { width: 44px; animation: bob 3s ease-in-out infinite; }
.brand-text b { font-family: var(--display); font-size: 1.15rem; display: block; line-height: 1; }
.brand-text small { font-size: 0.72rem; color: var(--ink-2); }
.links { display: flex; gap: 0.2rem; }
.links a { padding: 0.5rem 0.9rem; border-radius: 999px; font-weight: 600; font-size: 0.92rem; transition: background 0.25s; }
.links a:hover { background: rgba(42, 23, 16, 0.06); }
.cart-btn { display: flex; align-items: center; gap: 0.5rem; background: var(--ink); color: #fff; padding: 0.65rem 1rem; border-radius: 999px; font-weight: 700; font-size: 0.9rem; }
.badge { background: var(--berry); min-width: 22px; height: 22px; display: grid; place-items: center; border-radius: 999px; font-size: 0.75rem; }
.badge.pop { animation: pop 0.5s var(--ease); }
.burger { display: none; width: 42px; height: 42px; border-radius: 50%; flex-direction: column; justify-content: center; align-items: center; gap: 4px; }
.burger i { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.3s; }

/* ---------- hero ---------- */
.hero { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 2rem;
  padding: 120px max(24px, calc((100vw - 1180px) / 2)) 60px; position: relative; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.55; z-index: -1; animation: drift 18s ease-in-out infinite alternate; }
.b1 { width: 460px; height: 460px; background: #FFC2D4; top: -120px; right: 10%; }
.b2 { width: 380px; height: 380px; background: #D9CCFF; bottom: -100px; right: -60px; animation-delay: -6s; }
.b3 { width: 320px; height: 320px; background: #FFE3A3; bottom: 10%; left: -120px; animation-delay: -12s; }
.eyebrow { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.45rem 0.9rem; border-radius: 999px; background: #fff;
  font-weight: 600; font-size: 0.85rem; border: 1px solid var(--line); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 var(--mint); animation: ping 2s infinite; }
.hero-title { font-family: var(--display); font-weight: 900; font-size: clamp(2.8rem, 6.6vw, 5.6rem); line-height: 0.98; letter-spacing: -0.03em; margin: 1.2rem 0 1.4rem; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero-title .line > span { display: inline-block; transform: translateY(110%); animation: rise 1s var(--ease) forwards; }
.hero-title .line:nth-child(2) > span { animation-delay: 0.12s; }
.hero-title .line:nth-child(3) > span { animation-delay: 0.24s; }
.shine { background: linear-gradient(100deg, var(--berry) 20%, var(--violet) 40%, var(--gold) 50%, var(--berry) 70%); background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 5s linear infinite; padding-right: 0.08em; }
.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 520px; }
.cta-row { display: flex; gap: 0.8rem; flex-wrap: wrap; margin: 2rem 0 2.4rem; }
.cta-row.center { justify-content: center; margin: 1.4rem 0 0; }
.stats { display: flex; gap: 2.4rem; }
.stats b { font-family: var(--display); font-size: 2rem; }
.stats small { display: block; color: var(--ink-2); font-size: 0.8rem; }

.hero-stage { position: relative; aspect-ratio: 1; max-width: 560px; width: 100%; justify-self: center; }
.halo { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, rgba(255, 220, 170, 0.5) 45%, transparent 70%); animation: breathe 5s ease-in-out infinite; }
.hero-cake { position: absolute; inset: 6% 10% 22%; animation: float 6s ease-in-out infinite; filter: drop-shadow(0 30px 30px rgba(80, 30, 10, 0.25)); transition: transform 0.6s var(--ease); }
.hero-cake svg { width: 100%; height: 100%; }
.hero-cake.poof { animation: poof 0.9s var(--ease); }
.orbit { position: absolute; inset: 0; animation: spin 40s linear infinite; }
.orb { position: absolute; width: 22%; aspect-ratio: 1; background: #fff; border-radius: 50%; box-shadow: var(--shadow); padding: 4%; animation: spin 40s linear infinite reverse; }
.o1 { top: 2%; left: 8%; } .o2 { top: 18%; right: -2%; } .o3 { bottom: 14%; left: -4%; }
.lamp { position: absolute; bottom: 2%; right: 4%; width: 34%; filter: drop-shadow(0 16px 14px rgba(150, 80, 0, 0.35)); transition: transform 0.3s; }
.lamp:hover { transform: rotate(-8deg) scale(1.05); }
.lamp.rub { animation: rub 0.6s ease-in-out; }
.lamp-tip { position: absolute; top: -26px; left: 10%; background: var(--night); color: #fff; font-size: 0.75rem; font-weight: 700; padding: 0.3rem 0.7rem; border-radius: 999px; animation: bob 2.4s ease-in-out infinite; }
.smoke { position: absolute; bottom: 20%; right: 18%; width: 120px; height: 200px; pointer-events: none; }
.smoke i { position: absolute; bottom: 0; left: 40%; width: 40px; height: 40px; border-radius: 50%; background: radial-gradient(circle, rgba(180, 150, 255, 0.7), rgba(180, 150, 255, 0)); opacity: 0; }
.smoke.go i { animation: smoke 1.3s ease-out forwards; }
.smoke.go i:nth-child(2) { animation-delay: 0.1s; } .smoke.go i:nth-child(3) { animation-delay: 0.22s; } .smoke.go i:nth-child(4) { animation-delay: 0.34s; }
.wish-label { position: absolute; bottom: 24%; left: 50%; transform: translateX(-60%); background: #fff; padding: 0.4rem 0.9rem; border-radius: 999px; font-weight: 700; font-size: 0.85rem; box-shadow: var(--shadow); white-space: nowrap; transition: opacity 0.3s; }

/* ---------- marquee ---------- */
.marquee { background: var(--ink); color: var(--cream); overflow: hidden; padding: 1.1rem 0; transform: rotate(-1.5deg); margin: 1rem -10px; }
.marquee .track { display: flex; gap: 2rem; width: max-content; animation: marquee 38s linear infinite; font-family: var(--display); font-size: 1.5rem; font-style: italic; }
.marquee i { color: var(--gold); font-style: normal; }

/* ---------- sections ---------- */
.section { padding: 110px max(20px, calc((100vw - 1180px) / 2)); position: relative; }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.kicker { text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.75rem; font-weight: 800; color: var(--berry); margin-bottom: 0.7rem; }
h2 { font-family: var(--display); font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 1rem; }
.sec-head > p:last-child { color: var(--ink-2); }
.sec-head.light h2, .sec-head.light > p { color: #fff; }
.sec-head.light > p:last-child { color: rgba(255, 255, 255, 0.75); }
.sec-head.light em { color: var(--gold); }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- tabs + grid ---------- */
.tabs { display: flex; justify-content: center; gap: 0.3rem; margin: 0 auto 2.6rem; width: max-content; max-width: 100%; padding: 0.35rem; background: #fff; border-radius: 999px; border: 1px solid var(--line); position: relative; }
.tabs button { white-space: nowrap; padding: 0.65rem 1.2rem; border-radius: 999px; font-weight: 700; position: relative; z-index: 1; transition: color 0.3s; }
.tabs button.on { color: #fff; }
.tabs .pill { position: absolute; top: 0.35rem; bottom: 0.35rem; border-radius: 999px; background: var(--ink); transition: left 0.5s var(--ease), width 0.5s var(--ease); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.6rem; }
.card { background: var(--card); border-radius: var(--radius); padding: 1rem 1rem 1.2rem; position: relative; cursor: pointer;
  transform-style: preserve-3d; transition: transform 0.25s ease-out, box-shadow 0.4s; box-shadow: 0 2px 0 var(--line); }
.card:hover { box-shadow: var(--shadow); }
.card.enter { animation: cardIn 0.7s var(--ease) both; }
.card .art-wrap { aspect-ratio: 1.1; border-radius: 16px; background: radial-gradient(circle at 50% 60%, #fff, var(--cream-2)); display: grid; place-items: center; overflow: hidden; position: relative; }
.card .art-wrap svg, .card .art-wrap img { width: 82%; height: 82%; object-fit: contain; transition: transform 0.6s var(--ease); transform: translateZ(40px); }
.card .art-wrap img { width: 100%; height: 100%; object-fit: cover; }
.card:hover .art-wrap svg { transform: translateZ(40px) scale(1.08) rotate(-3deg); }
.tag { position: absolute; top: 1.6rem; left: 1.6rem; background: var(--ink); color: #fff; font-size: 0.7rem; font-weight: 800; padding: 0.3rem 0.65rem; border-radius: 999px; z-index: 2; letter-spacing: 0.03em; }
.card h3 { font-family: var(--display); font-size: 1.25rem; margin: 1rem 0 0.25rem; }
.card p { color: var(--ink-2); font-size: 0.88rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .row { display: flex; align-items: center; justify-content: space-between; margin-top: 1rem; }
.price { font-weight: 800; font-size: 1.1rem; }
.price small { font-weight: 500; color: var(--ink-2); font-size: 0.75rem; margin-right: 0.2rem; }
.add { width: 44px; height: 44px; border-radius: 50%; background: var(--berry); color: #fff; font-size: 1.4rem; display: grid; place-items: center; transition: transform 0.35s var(--ease), background 0.3s; }
.add:hover { transform: rotate(90deg) scale(1.1); background: var(--violet); }
.flying { position: fixed; z-index: 200; pointer-events: none; width: 90px; height: 90px; transition: transform 0.8s cubic-bezier(0.5, -0.4, 0.6, 1), opacity 0.8s; }

/* ---------- builder ---------- */
.wish { background: radial-gradient(1200px 600px at 20% 0%, #3A2470, var(--night) 60%); color: #fff; overflow: hidden; border-radius: 48px; margin: 0 12px; }
.stars { position: absolute; inset: 0; background-image: radial-gradient(1.5px 1.5px at 10% 20%, #fff, transparent), radial-gradient(1px 1px at 30% 70%, #fff, transparent), radial-gradient(2px 2px at 70% 30%, #FFE29A, transparent), radial-gradient(1px 1px at 85% 80%, #fff, transparent), radial-gradient(1.5px 1.5px at 50% 50%, #fff, transparent), radial-gradient(1px 1px at 92% 12%, #fff, transparent);
  background-size: 400px 400px; animation: twinkle 6s ease-in-out infinite alternate; opacity: 0.8; }
.builder { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: start; position: relative; }
.b-preview { position: sticky; top: 100px; text-align: center; }
.turntable { aspect-ratio: 1; position: relative; display: grid; place-items: center; }
.turntable::before { content: ''; position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 210, 120, 0.35), transparent 65%); animation: breathe 4s ease-in-out infinite; }
.b-cake { width: 88%; position: relative; z-index: 1; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, 0.45)); animation: float 6s ease-in-out infinite; }
.b-cake svg { width: 100%; }
.b-cake.bump { animation: bump 0.55s var(--ease); }
.plate-ring { display: none; position: absolute; bottom: 6%; width: 70%; height: 12%; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, 0.25); animation: spin 18s linear infinite; }
.b-price small { display: block; color: rgba(255, 255, 255, 0.6); font-weight: 600; }
.b-price b { font-family: var(--display); font-size: 3.4rem; color: var(--gold); line-height: 1.1; }
.b-summary { display: block; color: rgba(255, 255, 255, 0.7); font-size: 0.9rem; }
.wish .btn.primary { background: linear-gradient(110deg, var(--berry), var(--violet)); }
.wish .btn.primary::before { background: linear-gradient(110deg, var(--gold), var(--berry)); }
.wish .toggle, .wish .upload { color: #fff; }
.b-controls { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 28px; padding: 1.8rem; backdrop-filter: blur(10px); display: grid; gap: 1.3rem; }
.ctl label:not(.toggle):not(.upload) { display: block; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 800; color: rgba(255, 255, 255, 0.6); margin-bottom: 0.55rem; }
.ctl.two { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: end; }
.b-controls input:not([type=checkbox]) { width: 100%; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 14px; padding: 0.8rem 1rem; color: #fff; outline: none; transition: border 0.3s, background 0.3s; }
.b-controls input:focus { border-color: var(--gold); background: rgba(255, 255, 255, 0.14); }
.b-controls input::placeholder { color: rgba(255, 255, 255, 0.4); }
.seg { display: inline-flex; background: rgba(255, 255, 255, 0.08); border-radius: 999px; padding: 4px; gap: 2px; }
.seg button { padding: 0.5rem 1.1rem; border-radius: 999px; font-weight: 700; transition: background 0.3s, color 0.3s; }
.seg button.on { background: var(--gold); color: var(--night); }
.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.chips button { padding: 0.45rem 0.85rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.2); font-size: 0.85rem; font-weight: 600; transition: all 0.25s; }
.chips button:hover { border-color: rgba(255, 255, 255, 0.5); }
.chips button.on { background: #fff; color: var(--night); border-color: #fff; }
.chips button:disabled { opacity: 0.3; pointer-events: none; }
.chips button small { opacity: 0.6; margin-left: 0.25rem; }
.swatches { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.swatches button { width: 44px; height: 44px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, 0.15); position: relative; transition: transform 0.3s var(--ease), border 0.3s; }
.swatches button:hover { transform: scale(1.12); }
.swatches button.on { border-color: var(--gold); transform: scale(1.12); }
.swatches button.none { background: repeating-linear-gradient(45deg, transparent 0 5px, rgba(255, 255, 255, 0.3) 5px 7px); }
.swatches button::after { content: attr(data-name); position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(4px); white-space: nowrap; background: #fff; color: var(--night); font-size: 0.72rem; font-weight: 700; padding: 0.25rem 0.55rem; border-radius: 8px; opacity: 0; pointer-events: none; transition: 0.2s; }
.swatches button:hover::after { opacity: 1; transform: translateX(-50%); }
.toggle { display: flex; align-items: center; gap: 0.6rem; font-weight: 700; cursor: pointer; padding-bottom: 0.7rem; user-select: none; }
.toggle input { display: none; }
.toggle span { width: 48px; height: 28px; border-radius: 999px; background: rgba(255, 255, 255, 0.2); position: relative; transition: background 0.3s; }
.toggle span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform 0.35s var(--ease); }
.toggle input:checked + span { background: var(--mint); }
.toggle input:checked + span::after { transform: translateX(20px); }
.upload { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.8rem 1rem; border-radius: 14px; border: 1.5px dashed currentColor; cursor: pointer; font-weight: 700; font-size: 0.88rem; opacity: 0.85; white-space: nowrap; max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
.upload.has { border-style: solid; color: var(--mint); opacity: 1; }

/* ---------- custom chocolates ---------- */
.cc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; margin-bottom: 2rem; }
.cc-type { background: #fff; border-radius: 20px; padding: 1.3rem 1rem; text-align: center; border: 2px solid transparent; transition: transform 0.4s var(--ease), border 0.3s, box-shadow 0.3s; }
.cc-type:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.cc-type.on { border-color: var(--berry); box-shadow: var(--shadow); }
.cc-type .e { font-size: 2.2rem; display: block; margin-bottom: 0.4rem; transition: transform 0.5s var(--ease); }
.cc-type:hover .e { transform: scale(1.2) rotate(-10deg); }
.cc-type b { display: block; font-size: 0.95rem; }
.cc-type small { color: var(--ink-2); font-size: 0.78rem; }
.cc-form { display: grid; grid-template-columns: 300px 1fr; gap: 2rem; background: #fff; border-radius: 32px; padding: 2rem; box-shadow: var(--shadow); align-items: center; }
.cc-art { aspect-ratio: 1; background: radial-gradient(circle, #FFF1F5, var(--cream-2)); border-radius: 24px; display: grid; place-items: center; }
.cc-art svg { width: 80%; animation: float 5s ease-in-out infinite; }
.cc-fields h3 { font-family: var(--display); font-size: 1.6rem; margin-bottom: 1rem; }
.cc-fields h3 span { color: var(--berry); font-style: italic; }
label { display: block; font-weight: 700; font-size: 0.85rem; margin-bottom: 0.9rem; }
.cc-form input, .cc-form textarea, .checkout input, .checkout select, .checkout textarea, .track-form input, .product-card input, .product-card textarea {
  display: block; width: 100%; margin-top: 0.35rem; padding: 0.8rem 1rem; border-radius: 14px; border: 1.5px solid var(--line); background: var(--cream); outline: none; font-weight: 500; transition: border 0.25s, box-shadow 0.25s; }
.cc-form input:focus, .cc-form textarea:focus, .checkout input:focus, .checkout select:focus, .checkout textarea:focus, .track-form input:focus, .product-card input:focus { border-color: var(--berry); box-shadow: 0 0 0 4px rgba(255, 79, 123, 0.15); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.row.end { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.hint { color: var(--ink-2); font-size: 0.82rem; margin-top: 0.6rem; }

/* ---------- how ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; }
.steps-line { position: absolute; top: 40px; left: 12%; width: 76%; height: 20px; z-index: 0; overflow: visible; }
.steps-line path { fill: none; stroke: var(--berry); stroke-width: 3; stroke-dasharray: 8 10; stroke-dashoffset: 1000; vector-effect: non-scaling-stroke; transition: stroke-dashoffset 2.5s var(--ease); }
.steps.in .steps-line path { stroke-dashoffset: 0; }
.step { text-align: center; position: relative; z-index: 1; }
.step span { width: 80px; height: 80px; border-radius: 26px; background: #fff; display: grid; place-items: center; font-size: 2rem; margin: 0 auto 1rem; box-shadow: var(--shadow); transition: transform 0.5s var(--ease); }
.step:hover span { transform: rotate(-8deg) scale(1.1); }
.step:nth-child(3) { transition-delay: 0.1s; } .step:nth-child(4) { transition-delay: 0.2s; } .step:nth-child(5) { transition-delay: 0.3s; }
.step b { font-family: var(--display); font-size: 1.25rem; }
.step p { color: var(--ink-2); font-size: 0.9rem; margin-top: 0.3rem; }

/* ---------- areas ---------- */
.areas { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3rem; align-items: center; }
.areas-copy p:last-child { color: var(--ink-2); font-size: 1.05rem; }
.area-cloud { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; }
.area-cloud span { padding: 0.55rem 1rem; border-radius: 999px; background: #fff; font-weight: 600; font-size: 0.9rem; border: 1px solid var(--line); animation: bob 4s ease-in-out infinite; transition: background 0.3s, color 0.3s, transform 0.3s; }
.area-cloud span:hover { background: var(--berry); color: #fff; transform: scale(1.1); }
.area-cloud span:nth-child(3n) { animation-delay: -1.3s; } .area-cloud span:nth-child(3n+1) { animation-delay: -2.6s; }
.area-cloud span:nth-child(5n) { background: var(--ink); color: #fff; }

/* ---------- track ---------- */
.track-form { display: flex; gap: 0.8rem; max-width: 640px; margin: 0 auto; background: #fff; padding: 0.6rem; border-radius: 999px; box-shadow: var(--shadow); }
.track-form input { margin: 0; border: 0; background: transparent; border-radius: 999px; }
.track-form input:focus { box-shadow: none; background: var(--cream); }
.track-result { max-width: 760px; margin: 2rem auto 0; }
.t-card { background: #fff; border-radius: 28px; padding: 2rem; box-shadow: var(--shadow); animation: cardIn 0.7s var(--ease); }
.t-head { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.t-head h3 { font-family: var(--display); font-size: 1.6rem; }
.timeline { display: flex; justify-content: space-between; position: relative; margin: 1.4rem 0 1.8rem; }
.timeline::before, .timeline .fill { content: ''; position: absolute; top: 18px; left: 18px; right: 18px; height: 4px; background: var(--cream-2); border-radius: 4px; }
.timeline .fill { background: linear-gradient(90deg, var(--gold), var(--berry)); right: auto; width: 0; transition: width 1.4s var(--ease); }
.tl-step { position: relative; z-index: 1; text-align: center; flex: 1; font-size: 0.78rem; font-weight: 700; color: var(--ink-2); }
.tl-step i { width: 40px; height: 40px; border-radius: 50%; background: var(--cream-2); display: grid; place-items: center; margin: 0 auto 0.5rem; font-style: normal; font-size: 1.1rem; transition: background 0.4s, transform 0.4s var(--ease); }
.tl-step.done i { background: var(--berry); transform: scale(1.1); }
.tl-step.done { color: var(--ink); }
.tl-step.now i { animation: pulse 1.6s infinite; }
.pay-pill { display: inline-flex; gap: 0.4rem; align-items: center; padding: 0.4rem 0.9rem; border-radius: 999px; font-weight: 800; font-size: 0.85rem; }
.pay-unpaid { background: #FFE8D6; color: #B3541E; } .pay-advance { background: #FFF3C4; color: #8A6A00; } .pay-paid { background: #D5F5EA; color: #11795E; } .pay-refunded { background: #EEE; color: #555; }

/* ---------- reviews ---------- */
.rev-strip { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.rev-track { display: flex; gap: 1.2rem; width: max-content; animation: marquee 50s linear infinite; }
.rev-strip:hover .rev-track { animation-play-state: paused; }
.rev { width: 340px; background: #fff; border-radius: 24px; padding: 1.5rem; box-shadow: 0 2px 0 var(--line); }
.rev p { font-size: 0.98rem; margin: 0.6rem 0 1rem; }
.rev .stars-y { color: var(--gold); letter-spacing: 2px; }
.rev b { font-size: 0.9rem; } .rev small { color: var(--ink-2); }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: center; }
.about-art { aspect-ratio: 1; border-radius: 40px; background: linear-gradient(140deg, #FFD6E2, #D9CCFF); display: grid; place-items: center; position: relative; overflow: hidden; }
.about-art svg { width: 70%; animation: float 7s ease-in-out infinite; }
.about-art::after { content: '✨ Made with love in Chennai'; position: absolute; bottom: 1.4rem; left: 1.4rem; background: #fff; padding: 0.5rem 1rem; border-radius: 999px; font-weight: 800; font-size: 0.85rem; }
.about-copy p { color: var(--ink-2); font-size: 1.05rem; margin-bottom: 1rem; }
.contact-row { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.5rem; }

.footer { background: var(--ink); color: var(--cream); padding: 60px max(20px, calc((100vw - 1180px) / 2)) 30px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; border-radius: 48px 48px 0 0; margin-top: 60px; }
.footer b { font-family: var(--display); font-size: 1.8rem; }
.footer small { text-transform: uppercase; letter-spacing: 0.15em; font-size: 0.7rem; opacity: 0.6; }
.footer .copy { grid-column: 1 / -1; opacity: 0.5; font-size: 0.8rem; border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 1.4rem; }

/* ---------- drawer ---------- */
.scrim { position: fixed; inset: 0; background: rgba(28, 18, 54, 0.45); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity 0.4s; z-index: 150; }
.scrim.on { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 12px; right: 12px; bottom: 12px; width: min(440px, calc(100% - 24px)); background: var(--cream); border-radius: 28px; z-index: 160; display: flex; flex-direction: column; transform: translateX(110%); transition: transform 0.55s var(--ease); box-shadow: -20px 0 60px -20px rgba(0, 0, 0, 0.4); }
.drawer.on { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 1.4rem 1.5rem 1rem; }
.drawer-head h3 { font-family: var(--display); font-size: 1.6rem; }
.x { width: 40px; height: 40px; border-radius: 50%; background: #fff; font-size: 1rem; transition: transform 0.3s var(--ease); }
.x:hover { transform: rotate(90deg); }
.drawer-body { flex: 1; overflow-y: auto; padding: 0 1.2rem; }
.ci { display: grid; grid-template-columns: 70px 1fr auto; gap: 0.9rem; align-items: center; background: #fff; border-radius: 18px; padding: 0.7rem; margin-bottom: 0.7rem; animation: cardIn 0.5s var(--ease) both; }
.ci .thumb { width: 70px; height: 70px; border-radius: 14px; background: var(--cream-2); display: grid; place-items: center; overflow: hidden; }
.ci .thumb svg { width: 90%; } .ci .thumb img { width: 100%; height: 100%; object-fit: cover; }
.ci b { font-size: 0.92rem; display: block; line-height: 1.25; }
.ci small { color: var(--ink-2); font-size: 0.78rem; display: block; }
.qty { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 0.4rem; background: var(--cream); border-radius: 999px; padding: 2px; }
.qty button { width: 26px; height: 26px; border-radius: 50%; background: #fff; font-weight: 800; }
.ci .right { text-align: right; } .ci .right b { font-size: 1rem; }
.rm { color: var(--ink-2); font-size: 0.75rem; text-decoration: underline; margin-top: 0.4rem; }
.empty { text-align: center; padding: 3rem 1rem; color: var(--ink-2); }
.empty .e { font-size: 4rem; animation: bob 3s ease-in-out infinite; display: block; }
.drawer-foot { padding: 1.2rem 1.5rem 1.5rem; border-top: 1px dashed var(--line); }
.sum { display: flex; justify-content: space-between; font-size: 0.92rem; margin-bottom: 0.35rem; color: var(--ink-2); }
.sum.total { font-size: 1.2rem; font-weight: 800; color: var(--ink); margin: 0.6rem 0 1rem; }
.free-bar { height: 8px; border-radius: 8px; background: var(--cream-2); overflow: hidden; margin: 0.4rem 0 0.9rem; }
.free-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--mint)); transition: width 0.8s var(--ease); }

/* ---------- modals ---------- */
.modal { position: fixed; inset: 0; z-index: 170; display: grid; place-items: center; padding: 16px; background: rgba(28, 18, 54, 0.5); backdrop-filter: blur(5px); opacity: 0; pointer-events: none; transition: opacity 0.35s; }
.modal.on { opacity: 1; pointer-events: auto; }
.modal-card { background: var(--cream); border-radius: 32px; width: min(860px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; position: relative; transform: translateY(40px) scale(0.96); transition: transform 0.5s var(--ease); }
.modal.on .modal-card { transform: none; }
.modal-card > .x { position: absolute; top: 1rem; right: 1rem; z-index: 3; }
.product-card { display: grid; grid-template-columns: 1fr 1fr; }
.pc-art { background: radial-gradient(circle at 50% 60%, #fff, var(--cream-2)); display: grid; place-items: center; padding: 2rem; min-height: 360px; }
.pc-art svg { width: 100%; max-width: 340px; animation: float 5s ease-in-out infinite; }
.pc-art img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }
.pc-body { padding: 2.2rem 2rem; }
.pc-body h3 { font-family: var(--display); font-size: 2rem; line-height: 1.1; margin: 0.5rem 0; }
.pc-body > p { color: var(--ink-2); margin-bottom: 1.2rem; }
.pc-body .kicker { margin: 0; }
.var-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.4rem 0 1.1rem; }
.var-list button { padding: 0.6rem 1rem; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: 0.88rem; transition: all 0.25s; }
.var-list button small { display: block; font-weight: 600; color: var(--ink-2); font-size: 0.75rem; }
.var-list button.on { border-color: var(--berry); background: #FFF0F4; }
.pc-body .toggle span { background: var(--cream-2); }
.pc-foot { display: flex; gap: 0.8rem; align-items: center; margin-top: 1.4rem; }
.pc-foot .qty { margin: 0; padding: 4px; background: #fff; }
.pc-foot .qty button { width: 34px; height: 34px; background: var(--cream); }
.pc-foot .btn { flex: 1; justify-content: center; }

.checkout { padding: 2rem; width: min(600px, 100%); }
.co-steps { display: flex; justify-content: space-between; font-size: 0.8rem; font-weight: 800; color: var(--ink-2); position: relative; padding-bottom: 0.8rem; margin: 0 3rem 1.6rem 0; }
.co-steps span.on { color: var(--berry); }
.co-steps::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 4px; background: var(--cream-2); border-radius: 4px; }
.co-steps i { position: absolute; bottom: 0; left: 0; height: 4px; width: 33%; background: linear-gradient(90deg, var(--gold), var(--berry)); border-radius: 4px; z-index: 1; transition: width 0.5s var(--ease); }
.co-pane { display: none; animation: paneIn 0.5s var(--ease); }
.co-pane.on { display: block; }
.co-pane h3 { font-family: var(--display); font-size: 1.7rem; margin-bottom: 1.2rem; }
.checkout .seg { background: var(--cream-2); margin-bottom: 1rem; }
.checkout .seg.wide { display: flex; } .checkout .seg.wide button { flex: 1; }
.checkout .seg button.on { background: var(--ink); color: #fff; }
.co-nav { display: flex; justify-content: space-between; margin-top: 1.4rem; }
.err { color: var(--berry-2); font-weight: 700; font-size: 0.9rem; min-height: 1.2em; margin-top: 0.4rem; }
.err.shake { animation: shake 0.4s; }
.rv-line { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; border-bottom: 1px dashed var(--line); font-size: 0.92rem; }
.rv-line.t { font-weight: 800; font-size: 1.1rem; border: 0; }
.rv-meta { background: #fff; border-radius: 16px; padding: 0.9rem 1rem; margin: 1rem 0; font-size: 0.88rem; color: var(--ink-2); }

.success { text-align: center; padding: 2.6rem 2rem; width: min(480px, 100%); }
.ok-lamp { font-size: 4.5rem; animation: genie 1.2s var(--ease); }
.success h3 { font-family: var(--display); font-size: 2rem; margin: 0.4rem 0 0.6rem; }
.success p { color: var(--ink-2); }
.ok-total { font-family: var(--display); font-size: 2.4rem; margin: 1rem 0 0; color: var(--berry); }

.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, calc(100% + 40px)); visibility: hidden; background: var(--ink); color: #fff; padding: 0.9rem 1.4rem; border-radius: 999px; font-weight: 700; z-index: 400; transition: transform 0.5s var(--ease); box-shadow: var(--shadow); max-width: calc(100% - 32px); text-align: center; }
.toast.on { transform: translate(-50%, 0); visibility: visible; }
.toast { transition: transform 0.5s var(--ease), visibility 0.5s; }

.flame { transform-origin: center bottom; transform-box: fill-box; animation: flicker 0.25s ease-in-out infinite alternate; }

/* ---------- keyframes ---------- */
@keyframes rise { to { transform: none; } }
@keyframes shine { to { background-position: -250% 0; } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-16px) rotate(1.5deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: 0.9; } 50% { transform: scale(1.06); opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.15); } }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(60, 198, 166, 0); } 100% { box-shadow: 0 0 0 0 rgba(60, 198, 166, 0); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.6); } 100% { transform: scale(1); } }
@keyframes cardIn { from { opacity: 0; transform: translateY(30px) scale(0.95); } }
@keyframes paneIn { from { opacity: 0; transform: translateX(30px); } }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.07) rotate(-2deg); } 100% { transform: scale(1); } }
@keyframes poof { 0% { transform: scale(1); filter: blur(0); } 45% { transform: scale(0.3) rotate(-20deg); filter: blur(6px); opacity: 0; } 55% { opacity: 0; } 100% { transform: scale(1); filter: blur(0); opacity: 1; } }
@keyframes rub { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-12deg) translateX(-6px); } 40% { transform: rotate(10deg) translateX(6px); } 60% { transform: rotate(-8deg); } 80% { transform: rotate(6deg); } }
@keyframes smoke { 0% { opacity: 0; transform: translate(0, 0) scale(0.5); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-60px, -180px) scale(3); } }
@keyframes twinkle { to { opacity: 0.4; background-position: 20px 30px; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 79, 123, 0.5); } 100% { box-shadow: 0 0 0 16px rgba(255, 79, 123, 0); } }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
@keyframes genie { 0% { transform: scale(0) translateY(60px) rotate(-30deg); } 60% { transform: scale(1.2) translateY(-10px) rotate(10deg); } 100% { transform: none; } }
@keyframes flicker { from { transform: scaleY(1) rotate(-3deg); } to { transform: scaleY(1.15) rotate(3deg); } }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero, .builder, .areas, .about { grid-template-columns: 1fr; }
  .hero { padding-top: 110px; text-align: center; }
  .hero-copy .lead { margin: 0 auto; }
  .cta-row, .stats { justify-content: center; }
  .hero-stage { max-width: 440px; }
  .b-preview { position: static; max-width: 420px; margin: 0 auto; }
  .cc-grid { grid-template-columns: repeat(3, 1fr); }
  .cc-form { grid-template-columns: 1fr; }
  .cc-art { max-width: 260px; margin: 0 auto; width: 100%; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1rem; }
  .steps-line { display: none; }
  .product-card { grid-template-columns: 1fr; }
  .pc-art { min-height: 260px; }
  .footer { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .links { position: fixed; top: 76px; left: 12px; right: 12px; flex-direction: column; background: var(--cream); border-radius: 24px; padding: 0.8rem; box-shadow: var(--shadow);
    opacity: 0; transform: translateY(-10px); pointer-events: none; transition: 0.35s var(--ease); }
  .links.on { opacity: 1; transform: none; pointer-events: auto; }
  .links a { padding: 0.9rem 1rem; }
  .burger { display: flex; }
  .cart-btn span { display: none; }
  .brand-text small { display: none; }
  .section { padding: 80px 16px; }
  .wish { margin: 0 6px; border-radius: 32px; }
  .b-controls { padding: 1.2rem; }
  .cc-grid { grid-template-columns: repeat(2, 1fr); }
  .track-form { flex-direction: column; border-radius: 24px; }
  .row { grid-template-columns: 1fr; gap: 0; }
  .stats { gap: 1.4rem; }
  .tabs button { padding: 0.55rem 0.8rem; font-size: 0.85rem; }
  .timeline .tl-step span { display: none; }
  .checkout { padding: 1.4rem; }
  .footer { grid-template-columns: 1fr; border-radius: 32px 32px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-title .line > span { transform: none; }
}

/* ---------- opening animation ---------- */
#intro { position: fixed; inset: 0; z-index: 80; overflow: hidden; }
.intro-bg { position: absolute; inset: 0; background: radial-gradient(900px 560px at 50% 42%, #fff 0%, var(--cream) 55%, #FBE3EA 100%); }
.intro-bg i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; animation: drift 9s ease-in-out infinite alternate; }
.intro-bg i:nth-child(1) { width: 420px; height: 420px; background: #FFC2D4; top: -120px; right: 5%; }
.intro-bg i:nth-child(2) { width: 380px; height: 380px; background: #D9CCFF; bottom: -140px; left: -60px; animation-delay: -3s; }
.intro-bg i:nth-child(3) { width: 300px; height: 300px; background: #FFE3A3; top: 30%; left: 30%; animation-delay: -6s; }
.intro-cake { --S: min(50vmin, 380px); position: absolute; left: 50%; top: 42%; width: var(--S); height: var(--S); margin: calc(var(--S) / -2) 0 0 calc(var(--S) / -2); transform-origin: 50% 50%; will-change: transform; }
.ic-hop, .ic-roll, .ic-wob { position: absolute; inset: 0; will-change: transform; }
.ic-roll { transform-origin: 50% 56%; }
.ic-wob { transform-origin: 50% 92%; filter: drop-shadow(0 30px 30px rgba(80, 30, 10, 0.25)); }
.ic-wob svg { width: 100%; height: 100%; }
.ic-shadow { position: absolute; left: 14%; right: 14%; bottom: 3%; height: 9%; border-radius: 50%; background: rgba(70, 25, 5, 0.22); filter: blur(8px); }
.intro-title { position: absolute; left: 16px; right: 16px; top: calc(42% + min(25vmin, 190px) + 8px); text-align: center; }
.intro-title h1 { font-family: var(--display); font-weight: 900; font-size: clamp(2.3rem, 7vw, 4.8rem); letter-spacing: -0.03em; line-height: 1; }
.intro-title .word { display: inline-block; white-space: nowrap; }
.intro-title .ch { display: inline-block; opacity: 0; transform: translateY(70%) rotate(10deg) scale(0.6); transition: opacity 0.45s var(--ease), transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1); transition-delay: calc(var(--i) * 45ms); }
.intro-title .shine .ch { color: var(--berry); }
#intro.show .ch { opacity: 1; transform: none; }
.intro-title p { margin-top: 0.7rem; font-weight: 700; color: var(--ink-2); letter-spacing: 0.2em; text-transform: uppercase; font-size: 0.8rem; opacity: 0; transform: translateY(10px); transition: 0.6s var(--ease) 0.65s; }
#intro.show .intro-title p { opacity: 1; transform: none; }
.intro-skip { position: absolute; right: 20px; bottom: 20px; padding: 0.55rem 1rem; border-radius: 999px; background: rgba(255, 255, 255, 0.75); border: 1px solid var(--line); font-weight: 700; font-size: 0.85rem; color: var(--ink-2); transition: opacity 0.3s; }
.intro-skip:hover { color: var(--ink); background: #fff; }

/* page waits behind the intro, then reveals as the cake flies to its seat */
body.intro { overflow: hidden; }
body.intro .hero-cake { opacity: 0; animation-play-state: paused; }
body.intro:not(.intro-reveal) .hero-title .line > span { animation-play-state: paused; }
body.intro:not(.intro-reveal) .nav { transform: translate(-50%, -160%); }
body.intro:not(.intro-reveal) .hero .reveal { opacity: 0; transform: translateY(40px); }
.halo, .orbit, .wish-label { transition: opacity 0.9s var(--ease); }
.lamp { transition: transform 0.3s, opacity 0.9s var(--ease); }
body.intro:not(.intro-reveal) :is(.halo, .orbit, .wish-label, .lamp) { opacity: 0; }
.nav { transition: transform 0.7s var(--ease), background 0.3s; }
.brand-text b { white-space: nowrap; }
