/* Kayla's Bakery — "Sprinkle Pop" theme: loud, candy-colored, sticker-and-frosting style. */
@font-face { font-family: 'Fredoka'; font-weight: 500; font-display: swap; src: url(../shared/fonts/fredoka-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Fredoka'; font-weight: 600; font-display: swap; src: url(../shared/fonts/fredoka-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Fredoka'; font-weight: 700; font-display: swap; src: url(../shared/fonts/fredoka-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 400; font-display: swap; src: url(../shared/fonts/nunito-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 700; font-display: swap; src: url(../shared/fonts/nunito-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 800; font-display: swap; src: url(../shared/fonts/nunito-latin-800-normal.woff2) format('woff2'); }
@font-face { font-family: 'Pacifico'; font-weight: 400; font-display: swap; src: url(../shared/fonts/pacifico-latin-400-normal.woff2) format('woff2'); }

:root {
  --ink: #2b1640;
  --ink-soft: #5b4670;
  --cream: #fff6ec;
  --paper: #ffffff;
  --pink: #ff4fa3;
  --bubble: #ff9ad5;
  --bubble-l: #ffd6ec;
  --lemon: #ffd23f;
  --lemon-l: #fff1b3;
  --mint: #3ddc97;
  --mint-l: #c9f7e1;
  --sky: #4cc9f0;
  --sky-l: #cdefff;
  --grape: #7b2cbf;
  --grape-d: #4a1580;
  --tang: #ff8a3d;
  --display: 'Fredoka', 'Nunito', system-ui, sans-serif;
  --body: 'Nunito', system-ui, sans-serif;
  --script: 'Pacifico', cursive;
  --radius: 26px;
  --shadow: 6px 6px 0 var(--ink);
  --shadow-sm: 4px 4px 0 var(--ink);
  --wrap: 1180px;
  --sprinkles: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cg opacity='.38'%3E%3Crect x='20' y='24' width='5' height='15' rx='2.5' fill='%23ff4fa3' transform='rotate(30 22 31)'/%3E%3Crect x='96' y='16' width='5' height='15' rx='2.5' fill='%2340c7f0' transform='rotate(-40 98 23)'/%3E%3Crect x='150' y='60' width='5' height='15' rx='2.5' fill='%23ffd23f' transform='rotate(70 152 67)'/%3E%3Crect x='60' y='88' width='5' height='15' rx='2.5' fill='%233ddc97' transform='rotate(-10 62 95)'/%3E%3Crect x='120' y='130' width='5' height='15' rx='2.5' fill='%237b2cbf' transform='rotate(50 122 137)'/%3E%3Crect x='28' y='146' width='5' height='15' rx='2.5' fill='%23ff8a3d' transform='rotate(-60 30 153)'/%3E%3Ccircle cx='160' cy='164' r='3.5' fill='%23ff4fa3'/%3E%3Ccircle cx='86' cy='58' r='3' fill='%23ffd23f'/%3E%3Ccircle cx='12' cy='96' r='3' fill='%2340c7f0'/%3E%3C/g%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; font-family: var(--body); font-size: 1.06rem; line-height: 1.6; color: var(--ink);
  background: var(--cream) var(--sprinkles); overflow-x: clip;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.05; margin: 0 0 .4em; font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h3 { font-size: 1.45rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 12px; z-index: 100; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px dashed var(--grape); outline-offset: 3px; }

/* ---------- buttons & stickers ---------- */
.btn {
  --bg: var(--paper); --fg: var(--ink);
  display: inline-flex; align-items: center; gap: .5em; font: 600 1.08rem/1 var(--display); text-decoration: none;
  padding: .85em 1.45em; border: 3px solid var(--ink); border-radius: 999px; background: var(--bg); color: var(--fg);
  box-shadow: var(--shadow-sm); cursor: pointer; transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn-pink { --bg: var(--pink); --fg: #fff; }
.btn-lemon { --bg: var(--lemon); }
.btn-mint { --bg: var(--mint); }
.btn-grape { --bg: var(--grape); --fg: #fff; }
.btn-sm { font-size: .95rem; padding: .6em 1.1em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.4em; }

.sticker {
  display: inline-block; font: 600 .92rem/1.2 var(--display); text-transform: uppercase; letter-spacing: .04em;
  background: var(--lemon); border: 3px solid var(--ink); border-radius: 999px; padding: .45em 1em; transform: rotate(-3deg);
  box-shadow: 3px 3px 0 var(--ink);
}
.sticker-mint { background: var(--mint); }
.sticker-pink { background: var(--pink); color: #fff; }
.sticker-sky { background: var(--sky); }
.eyebrow { font: 600 1rem/1 var(--script); color: var(--pink); display: block; margin-bottom: .5em; font-size: 1.35rem; }
.pop { display: inline-block; text-shadow: 3px 3px 0 var(--ink), -1px -1px 0 var(--ink), 1px -1px 0 var(--ink), -1px 1px 0 var(--ink); }
.pop-pink { color: var(--pink); }
.pop-lemon { color: var(--lemon); }
.pop-mint { color: var(--mint); }
.pop-sky { color: var(--sky); }
.squiggle { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='12'%3E%3Cpath d='M0,6 C10,0 10,12 20,6 C30,0 30,12 40,6' fill='none' stroke='%23ff4fa3' stroke-width='4'/%3E%3C/svg%3E") repeat-x left bottom / 40px 12px; padding-bottom: 10px; }

/* ---------- announcement + header ---------- */
.announce { background: var(--grape); color: #fff; text-align: center; font: 600 .95rem/1.3 var(--display); padding: .6em 16px; }
.announce a { color: var(--lemon); }
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 3px solid var(--ink); }
.header-in { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.logo-mark { width: 48px; height: 52px; flex: none; transition: transform .3s; }
.logo:hover .logo-mark { transform: rotate(-12deg) scale(1.08); }
.logo-word { display: flex; flex-direction: column; line-height: .9; }
.logo-k { font: 400 1.9rem/1 var(--script); color: var(--pink); text-shadow: 2px 2px 0 var(--ink); }
.logo-b { font: 700 .82rem/1 var(--display); letter-spacing: .42em; text-transform: uppercase; margin-top: 9px; padding-left: 4px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { font: 600 1.02rem/1 var(--display); text-decoration: none; padding: .7em .9em; border-radius: 999px; transition: background .15s; }
.nav a:hover { background: var(--bubble-l); }
.nav a[aria-current="page"] { background: var(--lemon); box-shadow: inset 0 0 0 3px var(--ink); }
.nav .btn { margin-left: 8px; padding: .75em 1.2em; }
.nav .btn[aria-current="page"] { box-shadow: var(--shadow-sm), inset 0 0 0 0 transparent; background: var(--pink); }
.nav-toggle { display: none; background: var(--lemon); border: 3px solid var(--ink); border-radius: 14px; width: 50px; height: 46px; cursor: pointer; box-shadow: 3px 3px 0 var(--ink); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 22px; height: 3px; background: var(--ink); border-radius: 3px; margin: 0 auto; position: relative; content: ''; }
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 4px; padding: 14px 16px 20px;
    background: var(--paper); border-bottom: 3px solid var(--ink); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: .9em 1em; }
  .nav .btn { margin: 8px 0 0; justify-content: center; }
}

/* ---------- drips & dividers ---------- */
.drip { display: block; width: 100%; height: clamp(36px, 6vw, 90px); margin-top: -1px; position: relative; z-index: 2; }
.drip path { stroke: var(--ink); stroke-width: 3; vector-effect: non-scaling-stroke; paint-order: stroke; }
.marquee { background: var(--pink); color: #fff; border-block: 3px solid var(--ink); overflow: hidden; white-space: nowrap; transform: rotate(-1.4deg); margin: 10px -20px; position: relative; z-index: 3; }
.marquee-track { display: inline-flex; gap: 28px; padding: .55em 0; animation: marquee 28s linear infinite; font: 700 clamp(1.3rem, 3vw, 2rem)/1 var(--display); text-transform: uppercase; letter-spacing: .03em; }
.marquee-track i { font-style: normal; color: var(--lemon); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: clamp(56px, 8vw, 110px) 0; position: relative; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(30px, 5vw, 56px); }
.section-head p { font-size: 1.12rem; color: var(--ink-soft); }
.bg-mint { background: var(--mint-l); }
.bg-lemon { background: var(--lemon-l); }
.bg-pink { background: var(--bubble-l); }
.bg-sky { background: var(--sky-l); }
.bg-grape { background: var(--grape); color: #fff; }
.bg-grape .section-head p { color: #eadcff; }
.bg-ink { background: var(--ink); color: #fff; }
.card { background: var(--paper); border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- hero ---------- */
.hero { padding: clamp(36px, 6vw, 80px) 0 clamp(40px, 6vw, 70px); position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 60px); align-items: center; }
.hero h1 { font-size: clamp(2.9rem, 7vw, 5.6rem); margin: .35em 0 .3em; }
.lead { font-size: clamp(1.1rem, 1.8vw, 1.3rem); max-width: 34em; }
.hero-facts { list-style: none; padding: 0; margin: 2em 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-facts li { background: var(--paper); border: 2px solid var(--ink); border-radius: 14px; padding: .45em .8em; font-size: .95rem; }
.hero-facts b { font-family: var(--display); color: var(--pink); }
.hero-art { position: relative; aspect-ratio: 1; max-width: 560px; width: 100%; justify-self: center; display: grid; place-items: center; }
.burst { position: absolute; inset: 4%; border-radius: 50%; border: 3px solid var(--ink); box-shadow: var(--shadow);
  background: repeating-conic-gradient(var(--lemon) 0 10deg, var(--lemon-l) 10deg 20deg); animation: spin 60s linear infinite; }
.burst::after { content: ''; position: absolute; inset: 16%; border-radius: 50%; background: var(--bubble-l); border: 3px solid var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-cake { position: relative; width: 82%; z-index: 2; margin-top: -6%; }
.hero-cake svg { width: 100%; height: auto; filter: drop-shadow(0 10px 0 rgba(43, 22, 64, .08)); }
.float-sticker { position: absolute; z-index: 3; font: 700 1rem/1.1 var(--display); padding: .6em 1em; border: 3px solid var(--ink); border-radius: 999px; box-shadow: 3px 3px 0 var(--ink); animation: bob 4s ease-in-out infinite; }
.fs-1 { top: 8%; left: -2%; background: var(--sky); transform: rotate(-8deg); }
.fs-2 { top: 18%; right: -4%; background: var(--mint); transform: rotate(7deg); animation-delay: -2s; }
@keyframes bob { 50% { translate: 0 -8px; } }
.redecorate { position: absolute; bottom: 0; z-index: 4; }
.kb-bump { animation: bump .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes bump { 0% { transform: scale(.92) rotate(-2deg); } 100% { transform: none; } }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 460px; }
  .fs-1 { left: 0; } .fs-2 { right: 0; }
}

/* ---------- treat cards ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.treat-card { display: flex; flex-direction: column; text-decoration: none; padding: 22px 22px 26px; position: relative; transition: transform .2s; }
.treat-card:hover { transform: translateY(-6px) rotate(-1deg); }
.treat-card:nth-child(2):hover { transform: translateY(-6px) rotate(1deg); }
.treat-card .art { height: 230px; display: grid; place-items: center; border-radius: 18px; margin-bottom: 18px; border: 3px solid var(--ink); padding: 12px; }
.treat-card .art svg { max-height: 100%; width: auto; }
.treat-card:nth-child(1) .art { background: var(--bubble-l); }
.treat-card:nth-child(2) .art { background: var(--sky-l); }
.treat-card:nth-child(3) .art { background: var(--lemon-l); }
.treat-card p { color: var(--ink-soft); flex: 1; }
.price-tag { position: absolute; top: 8px; right: -10px; font: 700 1rem/1 var(--display); background: var(--pink); color: #fff; border: 3px solid var(--ink); border-radius: 999px; padding: .5em .9em; transform: rotate(6deg); box-shadow: 3px 3px 0 var(--ink); }
.more { font: 600 1.05rem/1 var(--display); color: var(--pink); }
@media (max-width: 900px) { .cards-3 { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

/* ---------- decorating steps ---------- */
.steps-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: st; }
.deco-step { padding: 16px 16px 20px; text-align: center; position: relative; }
.deco-step .art { aspect-ratio: 1; display: grid; place-items: end center; background: var(--paper); border-radius: 18px; }
.deco-step .art svg { width: 100%; height: 100%; }
.deco-step h3 { margin-top: 12px; font-size: 1.3rem; }
.deco-step p { font-size: .97rem; color: var(--ink-soft); margin: 0; }
.deco-step::before { counter-increment: st; content: counter(st); position: absolute; top: -16px; left: -12px; width: 46px; height: 46px; display: grid; place-items: center;
  font: 700 1.4rem/1 var(--display); background: var(--lemon); border: 3px solid var(--ink); border-radius: 50%; box-shadow: 3px 3px 0 var(--ink); z-index: 2; }
.deco-step:not(:last-child)::after { content: '→'; position: absolute; right: -24px; top: 34%; width: 30px; height: 30px; display: grid; place-items: center; font: 700 1.1rem/1 var(--display); color: #fff; background: var(--pink); border: 2px solid var(--ink); border-radius: 50%; z-index: 3; }
@media (max-width: 900px) { .steps-row { grid-template-columns: repeat(2, 1fr); gap: 30px 18px; } .deco-step::after { display: none; } }

/* ---------- edible prints ---------- */
.prints-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.print-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.print-wall figure { margin: 0; text-align: center; }
.print-wall .art { aspect-ratio: 1; filter: drop-shadow(5px 5px 0 var(--ink)); transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.print-wall figure:nth-child(odd) .art { transform: rotate(-6deg); }
.print-wall figure:nth-child(even) .art { transform: rotate(5deg); }
.print-wall figure:hover .art { transform: rotate(0) scale(1.08); }
.print-wall figcaption { font: 600 .98rem/1.2 var(--display); margin-top: 10px; }
.tick-list { list-style: none; padding: 0; margin: 1.2em 0 0; display: grid; gap: 10px; }
.tick-list li { padding-left: 38px; position: relative; }
.tick-list li::before { content: '✓'; position: absolute; left: 0; top: .05em; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--lemon); color: var(--ink); font-weight: 800; border: 2px solid var(--ink); font-size: .85rem; }
@media (max-width: 900px) { .prints-grid { grid-template-columns: 1fr; } }

/* ---------- inspiration wall ---------- */
.inspo { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.inspo-card { padding: 14px 14px 18px; text-decoration: none; display: flex; flex-direction: column; transition: transform .2s; }
.inspo-card:hover { transform: translateY(-5px) rotate(-1.2deg); }
.inspo-card .art { aspect-ratio: 1; overflow: hidden; border-radius: 16px; display: grid; place-items: center; padding: 8px; }
.inspo-card .art svg { width: 100%; height: 100%; }
.inspo-card h3 { font-size: 1.15rem; margin: 12px 0 4px; }
.inspo-card span { font: 600 .95rem/1 var(--display); color: var(--pink); margin-top: auto; }
@media (max-width: 1000px) { .inspo { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .inspo { gap: 14px; } .inspo-card h3 { font-size: 1rem; } }

/* ---------- how it works ---------- */
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.how-step { padding: 26px; }
.how-step .num { font: 400 2.8rem/1 var(--script); color: var(--pink); text-shadow: 2px 2px 0 var(--ink); }
@media (max-width: 800px) { .how { grid-template-columns: 1fr; } }

/* ---------- reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review { padding: 26px; position: relative; }
.review:nth-child(1) { background: var(--bubble-l); transform: rotate(-1.2deg); }
.review:nth-child(2) { background: var(--sky-l); transform: rotate(.8deg); }
.review:nth-child(3) { background: var(--lemon-l); transform: rotate(-.6deg); }
.review blockquote { margin: 0 0 1em; font-size: 1.1rem; }
.review cite { font: 600 1rem/1.2 var(--display); font-style: normal; }
.review .tag { position: absolute; top: -14px; right: 16px; font: 700 .72rem/1 var(--display); text-transform: uppercase; letter-spacing: .08em; background: var(--paper); border: 2px solid var(--ink); border-radius: 999px; padding: .45em .8em; }
.stars { color: var(--tang); letter-spacing: 2px; font-size: 1.2rem; }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; padding: clamp(40px, 6vw, 70px) 24px; background: var(--pink) var(--sprinkles); color: #fff; }
.cta-band h2 { text-shadow: 3px 3px 0 var(--ink); }
.cta-band p { font-size: 1.15rem; max-width: 36em; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding: clamp(40px, 7vw, 90px) 0 clamp(30px, 4vw, 50px); text-align: center; }
.page-hero h1 { font-size: clamp(2.8rem, 7vw, 5rem); margin: .3em 0 .2em; }
.page-hero p { font-size: 1.2rem; max-width: 36em; margin: 0 auto; color: var(--ink-soft); }
.jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 1.6em; }

/* ---------- menu ---------- */
.menu-block { margin-bottom: clamp(50px, 8vw, 100px); scroll-margin-top: 100px; }
.menu-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.menu-head p { max-width: 34em; color: var(--ink-soft); margin: 0; }
.size-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.size-card { padding: 16px 16px 20px; text-align: center; }
.size-card .art { height: 200px; display: grid; place-items: end center; }
.size-card .art svg { max-height: 100%; width: auto; }
.size-card h3 { margin: 10px 0 2px; }
.size-card .serves { color: var(--ink-soft); font-size: .95rem; }
.size-card .price { font: 700 1.7rem/1 var(--display); color: var(--pink); margin-top: 8px; }
.chip-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-cloud span { background: var(--paper); border: 2px solid var(--ink); border-radius: 999px; padding: .4em .9em; font: 600 1rem/1.2 var(--display); }
.chip-cloud span:nth-child(4n+1) { background: var(--bubble-l); }
.chip-cloud span:nth-child(4n+2) { background: var(--lemon-l); }
.chip-cloud span:nth-child(4n+3) { background: var(--mint-l); }
.chip-cloud span:nth-child(4n+4) { background: var(--sky-l); }
.chip-cloud small { color: var(--pink); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.panel { padding: 26px; }
.price-list { list-style: none; padding: 0; margin: 0; }
.price-list li { display: flex; gap: 12px; align-items: baseline; padding: .55em 0; border-bottom: 2px dashed rgba(43, 22, 64, .18); }
.price-list li:last-child { border: 0; }
.price-list .name { font-weight: 800; }
.price-list .desc { display: block; font-size: .93rem; color: var(--ink-soft); font-weight: 400; }
.price-list .dots { flex: 1; }
.price-list .amt { font: 700 1.1rem/1 var(--display); color: var(--pink); white-space: nowrap; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product { padding: 18px 18px 22px; display: flex; flex-direction: column; }
.product .art { height: 190px; display: grid; place-items: center; border-radius: 18px; border: 3px solid var(--ink); margin-bottom: 14px; padding: 10px; }
.product .art svg { max-height: 100%; width: auto; }
.product:nth-child(3n+1) .art { background: var(--bubble-l); }
.product:nth-child(3n+2) .art { background: var(--mint-l); }
.product:nth-child(3n+3) .art { background: var(--sky-l); }
.product p { color: var(--ink-soft); font-size: .98rem; flex: 1; }
.product .row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.product .price { font: 700 1.3rem/1 var(--display); color: var(--pink); }
.product .badge { font: 700 .75rem/1 var(--display); text-transform: uppercase; background: var(--lemon); border: 2px solid var(--ink); border-radius: 999px; padding: .4em .7em; }
.bitty-hero { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; padding: 30px; margin-bottom: 30px; background: var(--lemon-l); }
.bitty-hero .art { max-width: 420px; }
.bitty-name { font: 400 clamp(2.6rem, 6vw, 4rem)/1 var(--script); color: var(--pink); text-shadow: 3px 3px 0 var(--ink); margin: 0 0 .2em; }
.note-box { padding: 20px 24px; background: var(--sky-l); border: 3px dashed var(--ink); border-radius: 20px; }
@media (max-width: 1000px) { .size-grid { grid-template-columns: repeat(2, 1fr); } .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .two-col, .bitty-hero { grid-template-columns: 1fr; } .product-grid { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .size-grid { grid-template-columns: 1fr 1fr; gap: 12px; } .size-card .art { height: 130px; } }

/* ---------- builder ---------- */
.builder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 470px); gap: 30px; align-items: start; padding-bottom: 60px; }
.stage-wrap { position: sticky; top: 96px; }
.stage { padding: 18px; background: var(--paper); position: relative; overflow: hidden; }
.stage::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 55%, var(--bubble-l) 0 42%, transparent 42.2%), var(--sprinkles); opacity: .9; }
#kb-stage { position: relative; aspect-ratio: 400 / 452; max-height: 64vh; margin: 0 auto; }
#kb-stage svg { width: 100%; height: 100%; }
.stage-price { position: absolute; top: 16px; right: 16px; z-index: 2; background: var(--pink); color: #fff; border: 3px solid var(--ink); border-radius: 20px; padding: 10px 16px; text-align: center; transform: rotate(4deg); box-shadow: 3px 3px 0 var(--ink); }
.stage-price b { display: block; font: 700 2rem/1 var(--display); }
.stage-price small { font: 600 .8rem/1.2 var(--display); }
.stage-tools { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }
.controls { display: grid; gap: 16px; }
.kb-step { background: var(--paper); border: 3px solid var(--ink); border-radius: 22px; padding: 16px 18px 18px; box-shadow: var(--shadow-sm); }
.kb-step-title { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; margin-bottom: 12px; flex-wrap: wrap; }
.kb-step-title small { font: 400 .9rem/1 var(--body); color: var(--ink-soft); }
.kb-num { width: 32px; height: 32px; display: grid; place-items: center; background: var(--lemon); border: 2px solid var(--ink); border-radius: 50%; font-size: 1rem; flex: none; }
.kb-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.kb-chips-small { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
.kb-chip { font: 600 .98rem/1.15 var(--display); color: var(--ink); background: var(--cream); border: 2px solid var(--ink); border-radius: 14px; padding: .65em .7em; cursor: pointer; text-align: left;
  display: flex; flex-direction: column; gap: 2px; position: relative; transition: transform .12s, background .12s; }
.kb-chip:hover { background: var(--bubble-l); transform: translateY(-2px); }
.kb-chip[aria-pressed="true"] { background: var(--pink); color: #fff; box-shadow: 3px 3px 0 var(--ink); }
.kb-chip-s { font: 400 .82rem/1.2 var(--body); opacity: .8; }
.kb-chip:has(.kb-dot) { padding-left: 2.3em; }
.kb-dot { position: absolute; left: .7em; top: .75em; width: 18px; height: 18px; border-radius: 50%; background: var(--c); border: 2px solid var(--ink); }
.kb-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.kb-swatch { width: 44px; height: 44px; border-radius: 50%; background: var(--c); border: 3px solid var(--ink); cursor: pointer; transition: transform .15s; }
.kb-swatch:hover { transform: scale(1.12); }
.kb-swatch[aria-pressed="true"] { box-shadow: 0 0 0 4px var(--paper), 0 0 0 7px var(--ink); transform: scale(1.05); }
.kb-swatch-name { margin: 10px 0 0; font: 600 .95rem/1 var(--display); color: var(--ink-soft); }
.kb-prints { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kb-print { background: var(--cream); border: 2px solid var(--ink); border-radius: 16px; padding: 8px 6px 10px; cursor: pointer; font: 600 .86rem/1.15 var(--display); color: var(--ink); }
.kb-print:hover { background: var(--bubble-l); }
.kb-print[aria-pressed="true"] { background: var(--lemon); box-shadow: 3px 3px 0 var(--ink); }
.kb-print-art { display: block; width: 70%; margin: 0 auto 6px; }
.kb-note { font-size: .9rem; color: var(--ink-soft); margin: 10px 0 0; }
.kb-text input { width: 100%; font: 400 1.4rem/1.2 var(--script); color: var(--pink); padding: .55em .8em; border: 3px solid var(--ink); border-radius: 16px; background: var(--cream); }
.kb-text input::placeholder { color: #c9a6c0; }
.summary { padding: 22px; margin-top: 4px; }
.summary h3 { display: flex; justify-content: space-between; align-items: baseline; }
.summary h3 b { color: var(--pink); font-size: 1.8rem; }
.kb-sum { margin: 0; display: grid; gap: 0; }
.kb-row { display: flex; justify-content: space-between; gap: 12px; padding: .45em 0; border-bottom: 2px dashed rgba(43, 22, 64, .15); font-size: .96rem; }
.kb-row dt { color: var(--ink-soft); }
.kb-row dd { margin: 0; font-weight: 800; text-align: right; }
.kb-row dd span { color: var(--pink); font-weight: 700; }
.fine { font-size: .86rem; color: var(--ink-soft); }
.mobile-bar { display: none; }
@media (max-width: 960px) {
  .builder { grid-template-columns: 1fr; }
  .stage-wrap { position: sticky; top: 76px; z-index: 5; }
  .stage { padding: 8px; }
  #kb-stage { max-height: 34vh; }
  .stage-tools { display: none; }
  .stage-price { top: 8px; right: 8px; padding: 6px 10px; }
  .stage-price b { font-size: 1.4rem; }
  .mobile-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; gap: 10px; padding: 10px 16px; background: var(--paper); border-top: 3px solid var(--ink); justify-content: space-between; align-items: center; }
  .mobile-bar .btn { padding: .7em 1em; font-size: 1rem; }
  body.has-bar { padding-bottom: 76px; }
}

/* ---------- dialog & forms ---------- */
dialog { border: 3px solid var(--ink); border-radius: 28px; box-shadow: var(--shadow); padding: 0; width: min(760px, 100% - 24px); max-height: calc(100vh - 32px); background: var(--paper); color: var(--ink); }
dialog::backdrop { background: rgba(43, 22, 64, .55); }
.dlg { display: grid; grid-template-columns: 240px 1fr; }
.dlg-art { background: var(--bubble-l) var(--sprinkles); padding: 20px; display: grid; place-items: center; border-right: 3px solid var(--ink); }
.dlg-body { padding: 26px 26px 24px; position: relative; }
.dlg-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--ink); background: var(--lemon); font: 700 1.2rem/1 var(--display); cursor: pointer; }
@media (max-width: 640px) { .dlg { grid-template-columns: 1fr; } .dlg-art { border-right: 0; border-bottom: 3px solid var(--ink); max-height: 190px; } .dlg-art svg { max-height: 150px; } }
.form { display: grid; gap: 14px; }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form-2 { grid-template-columns: 1fr; } }
.field label, .field legend { display: block; font: 600 .98rem/1.2 var(--display); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--ink); padding: .7em .9em; border: 2px solid var(--ink); border-radius: 14px; background: var(--cream); }
.field textarea { min-height: 110px; resize: vertical; }
.field fieldset { border: 0; padding: 0; margin: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; font: 600 .95rem/1 var(--display); background: var(--cream); border: 2px solid var(--ink); border-radius: 999px; padding: .55em .9em; cursor: pointer; margin: 0; }
.checks input { accent-color: var(--pink); width: auto; }
.demo-note { font-size: .86rem; background: var(--lemon-l); border: 2px dashed var(--ink); border-radius: 12px; padding: .6em .9em; }
.thanks { text-align: center; padding: 20px 0; }
.thanks h3 { font-size: 2rem; }

/* ---------- parties ---------- */
.offer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.offer { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.offer .art { height: 220px; display: grid; place-items: center; border-bottom: 3px solid var(--ink); padding: 16px; }
.offer .art svg { max-height: 100%; width: auto; }
.offer-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.offer-body p { color: var(--ink-soft); }
.offer-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; }
.offer-meta li { font: 600 .85rem/1 var(--display); border: 2px solid var(--ink); border-radius: 999px; padding: .45em .75em; background: var(--cream); }
.offer .price { font: 700 1.6rem/1 var(--display); color: var(--pink); margin-top: auto; }
.offer .price small { font: 400 .95rem/1 var(--body); color: var(--ink-soft); }
.offer:nth-child(4n+1) .art { background: var(--bubble-l); }
.offer:nth-child(4n+2) .art { background: var(--mint-l); }
.offer:nth-child(4n+3) .art { background: var(--sky-l); }
.offer:nth-child(4n+4) .art { background: var(--lemon-l); }
.multi-art { display: flex; align-items: end; justify-content: center; gap: 6px; height: 100%; }
.multi-art > div { height: 100%; flex: 1 1 0; min-width: 0; max-width: 260px; display: grid; place-items: end center; }
.multi-art svg { width: 100%; height: 100%; }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; max-width: 760px; margin-inline: auto; }
.timeline li { display: grid; grid-template-columns: 90px 1fr; gap: 20px; padding: 18px 0; border-bottom: 3px dotted rgba(255, 255, 255, .35); }
.timeline time { font: 700 1.5rem/1 var(--display); color: var(--lemon); }
.timeline h3 { font-size: 1.25rem; margin-bottom: .2em; }
.timeline p { margin: 0; color: #eadcff; }
.sprinkle-bar { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.jar { text-align: center; font: 600 .95rem/1.2 var(--display); }
.jar-glass { aspect-ratio: 3 / 4; border: 3px solid var(--ink); border-radius: 16px 16px 22px 22px; background: var(--paper); position: relative; overflow: hidden; margin-bottom: 8px; box-shadow: var(--shadow-sm); }
.jar-glass::before { content: ''; position: absolute; left: -3px; right: -3px; top: -3px; height: 18%; background: var(--ink); border-radius: 12px 12px 0 0; }
.jar-fill { position: absolute; left: 0; right: 0; bottom: 0; height: 64%; background-size: 34px 34px; }
@media (max-width: 800px) { .offer-grid { grid-template-columns: 1fr; } .sprinkle-bar { grid-template-columns: repeat(3, 1fr); } }

/* ---------- faq ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq details { background: var(--paper); border: 3px solid var(--ink); border-radius: 20px; padding: 0; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font: 600 1.15rem/1.3 var(--display); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 18px; top: 50%; translate: 0 -50%; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--lemon); border: 2px solid var(--ink); font-size: 1.2rem; transition: rotate .2s; }
.faq details[open] summary::after { rotate: 45deg; background: var(--pink); color: #fff; }
.faq details > div { padding: 0 22px 18px; color: var(--ink-soft); }

/* ---------- order page ---------- */
.ways { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.way { padding: 28px; }
.way .icon { width: 70px; height: 70px; border-radius: 22px; display: grid; place-items: center; border: 3px solid var(--ink); margin-bottom: 14px; box-shadow: 3px 3px 0 var(--ink); }
.way:nth-child(1) .icon { background: var(--mint); }
.way:nth-child(2) .icon { background: var(--sky); }
.way ul { padding-left: 1.2em; margin: 0; }
.lead-times { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.lead-times div { text-align: center; padding: 20px 14px; }
.lead-times b { display: block; font: 700 2.2rem/1 var(--display); color: var(--pink); }
.order-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 36px; align-items: start; }
.form-card { padding: 28px; }
@media (max-width: 860px) { .ways, .order-grid { grid-template-columns: 1fr; } .lead-times { grid-template-columns: repeat(2, 1fr); } }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #fff; position: relative; margin-top: 0; }
.site-footer .drip { position: absolute; top: 0; left: 0; }
.site-footer .drip path { fill: var(--cream); stroke: none; }
.footer-in { padding: clamp(90px, 10vw, 140px) 0 40px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.site-footer .logo-k { text-shadow: 2px 2px 0 #000; }
.site-footer h4 { font-size: 1.1rem; color: var(--lemon); margin-bottom: .8em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer a { text-decoration: none; opacity: .9; }
.site-footer a:hover { color: var(--bubble); }
.site-footer p { opacity: .85; font-size: .97rem; }
.footer-base { border-top: 2px dashed rgba(255, 255, 255, .2); padding: 18px 0 26px; font-size: .88rem; opacity: .75; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; }
@media (max-width: 860px) { .footer-in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-in { grid-template-columns: 1fr; } }

/* confetti burst */
.confetti { position: fixed; z-index: 200; pointer-events: none; width: 9px; height: 16px; border-radius: 4px; border: 2px solid var(--ink); }
body[data-end="pink"] .site-footer .drip path { fill: var(--pink); }
body[data-end="lemon"] .site-footer .drip path { fill: var(--lemon-l); }
.spooky { grid-template-columns: 300px 1fr; } @media (max-width: 700px) { .spooky { grid-template-columns: 1fr; } }
