/* =========================================================
   Chibi Nails glossy pop theme (berry) — layered on top of /css/style.css.
   Everything is scoped to body.theme-pop.
   ========================================================= */

.theme-pop {
  --cocoa: #3f1430; --cocoa-2: #5a1d45; --candy: #ff8fb1; --candy-deep: #f0628f;
  --butter: #ffd768; --sky: #7cc8f0; --cream: #fff5ec;
  --ink: #2d2433; --ink-soft: #6f6170; --ink-faint: #a395a3; --line: #efdde4; --glow: #7d2a5c;
  --paper: #fffaf5; --rose: var(--candy-deep); --rose-dark: #d84a78; --pink: #ffd0dd;
  --font-head: "Mochiy Pop One", "Hiragino Maru Gothic ProN", sans-serif;
  background: var(--cream);
  color: var(--ink);
}
.theme-pop h1, .theme-pop h2, .theme-pop h3 { font-family: var(--font-head); font-weight: 400; }
.theme-pop .latin { font-family: var(--font-head); font-style: normal; font-weight: 400; letter-spacing: .04em; }

/* Buttons: candy pills with a chunky "pressable" shadow */
.theme-pop .btn {
  background: var(--candy); color: var(--cocoa); font-family: var(--font-head); font-weight: 400;
  box-shadow: 0 5px 0 var(--candy-deep); letter-spacing: .04em;
}
.theme-pop .btn:hover { background: #ff9fbc; transform: translateY(-1px); }
.theme-pop .btn:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--candy-deep); }
.theme-pop .btn--ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; opacity: .9; }
.theme-pop .btn--ghost:hover { background: rgba(255,255,255,.08); }

/* Header */
.theme-pop .site-header { background: var(--cocoa); border-bottom: 0; }
.theme-pop .site-header.is-scrolled { box-shadow: 0 6px 18px -10px rgba(0,0,0,.6); }
.theme-pop .brand { gap: 8px; align-items: center; }
.theme-pop .brand img { height: 44px; width: auto; filter: drop-shadow(0 4px 6px rgba(0,0,0,.35)); }
.theme-pop .brand b { font-family: var(--font-head); font-weight: 400; font-size: 1.3rem; }
.theme-pop .brand .c1 { color: var(--candy); } .theme-pop .brand .c2 { color: var(--sky); }
.theme-pop .nav a:not(.btn) { color: #f2d9cf; }
.theme-pop .nav a:not(.btn):hover { color: #fff; }

/* Hero */
.theme-pop .pop-hero { background: radial-gradient(70% 60% at 70% 40%, var(--glow) 0%, var(--cocoa) 70%); color: var(--cream); padding: 28px 0 56px; overflow: hidden; }
.theme-pop .pop-hero-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "head stage" "offer stage"; gap: 10px 40px; align-items: center; }
.theme-pop .pop-hero .hero-head { grid-area: head; align-self: end; }
.theme-pop .pop-hero .stage { grid-area: stage; }
.theme-pop .pop-hero .hero-offer { grid-area: offer; align-self: start; }
.theme-pop .sticker { display: inline-block; padding: .3em .9em; border-radius: 999px; background: var(--butter); color: var(--cocoa); font-weight: 700; font-size: .8rem; transform: rotate(-3deg); }
.theme-pop .pop-hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.35; margin: .45em 0 .35em; letter-spacing: .02em; }
.theme-pop .pop-hero h1 em { font-style: normal; color: var(--candy); text-shadow: 0 0 24px rgba(255,143,177,.45); }
.theme-pop .pop-hero .lead { color: #f2d9cf; font-size: .95rem; margin: 0; max-width: 30em; }

.theme-pop .stage { position: relative; aspect-ratio: 1 / .95; }
.theme-pop .nail-big { position: absolute; left: 6%; top: 2%; width: 66%; aspect-ratio: .78; border-radius: 50% 50% 44% 44% / 58% 58% 42% 42%; overflow: hidden; background: #ddd; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7), 0 0 0 6px rgba(255,255,255,.08); }
.theme-pop .nail-big img { height: 100%; width: auto; max-width: none; position: absolute; left: -6%; }
.theme-pop .real-cat { position: absolute; right: 4%; bottom: 10%; width: 40%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 6px solid var(--cream); box-shadow: 0 16px 30px -10px rgba(0,0,0,.6); }
.theme-pop .real-cat img { height: 100%; width: auto; max-width: none; position: absolute; right: 0; }
.theme-pop .tag { position: absolute; font-weight: 700; font-size: .75rem; padding: .35em .8em; border-radius: 8px; background: var(--cream); color: var(--cocoa); box-shadow: 0 6px 14px -6px rgba(0,0,0,.5); }
.theme-pop .tag--a { left: 0; bottom: 18%; transform: rotate(-6deg); }
.theme-pop .tag--b { right: 2%; bottom: 3%; transform: rotate(4deg); background: var(--butter); }
.theme-pop .size { position: absolute; right: 2%; top: 0; width: 28%; border-radius: 14px; overflow: hidden; border: 4px solid var(--cream); transform: rotate(6deg); box-shadow: 0 10px 20px -8px rgba(0,0,0,.6); margin: 0; }
.theme-pop .size img { aspect-ratio: 3/4; object-fit: cover; object-position: 50% 78%; width: 100%; }
.theme-pop .size figcaption { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.55); color: var(--cream); font-size: .65rem; text-align: center; padding: 2px 0; }

.theme-pop .pop-offer { margin: 16px 0 0; max-width: 470px; background: var(--cream); color: var(--ink); border-radius: 22px; padding: 16px 18px; box-shadow: 0 10px 0 var(--candy-deep); }
.theme-pop .pop-offer .row { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 10px; flex-wrap: wrap; }
.theme-pop .pop-offer .row b { white-space: nowrap; }
.theme-pop .pop-offer .price { font-family: var(--font-head); font-size: 2rem; white-space: nowrap; }
.theme-pop .pop-offer .price small { font-family: var(--font-body); font-size: .75rem; color: var(--ink-soft); margin-left: .3em; }
.theme-pop .pop-offer .opens { border: 0; padding: 0; margin: 8px 0 0; }
.theme-pop .pop-offer .when { display: inline-block; background: var(--butter); padding: .2em .7em; border-radius: 8px; font-weight: 700; font-size: .9rem; white-space: nowrap; }
.theme-pop .pop-offer .countdown { flex-basis: auto; color: var(--candy-deep); font-weight: 700; font-size: .9rem; margin-left: .3em; font-family: var(--font-body); }
.theme-pop .paws-row { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: .82rem; color: var(--ink-soft); white-space: nowrap; }
.theme-pop .paws-row .slots-bar { flex: 1; gap: 3px; }
.theme-pop .paws-row .slots-bar span {
  height: 18px; border-radius: 0; background: var(--candy-deep);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cellipse cx='50' cy='66' rx='21' ry='17'/%3E%3Cellipse cx='24' cy='42' rx='9' ry='11'/%3E%3Cellipse cx='40' cy='26' rx='9' ry='11'/%3E%3Cellipse cx='60' cy='26' rx='9' ry='11'/%3E%3Cellipse cx='76' cy='42' rx='9' ry='11'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cellipse cx='50' cy='66' rx='21' ry='17'/%3E%3Cellipse cx='24' cy='42' rx='9' ry='11'/%3E%3Cellipse cx='40' cy='26' rx='9' ry='11'/%3E%3Cellipse cx='60' cy='26' rx='9' ry='11'/%3E%3Cellipse cx='76' cy='42' rx='9' ry='11'/%3E%3C/svg%3E") center / contain no-repeat;
}
.theme-pop .paws-row .slots-bar span.taken { background: #d9c7c0; }
.theme-pop .pop-hero .hero-actions { display: flex; gap: 10px; margin-top: 22px; }
.theme-pop .pop-hero .hero-actions .btn--ghost { color: var(--cream); }

/* Marquee of her captions */
.theme-pop .marquee { background: var(--candy); color: var(--cocoa); overflow: hidden; white-space: nowrap; font-family: var(--font-head); font-size: 1.05rem; padding: 12px 0; transform: rotate(-1.5deg); margin: -12px -10px 0; position: relative; z-index: 2; }
.theme-pop .marquee span { display: inline-block; animation: pop-slide 36s linear infinite; }
@keyframes pop-slide { to { transform: translateX(-50%); } }

/* Section rhythm: cream, cocoa and candy bands */
.theme-pop .section { padding: 80px 0; }
.theme-pop .section--paper { background: var(--paper); }
.theme-pop .section--dark { background: var(--cocoa); color: var(--cream); }
.theme-pop .section--dark p { color: #f2d9cf; }
.theme-pop .section--candy { background: var(--candy); }
.theme-pop .section-head .latin { color: var(--candy-deep); font-size: 1rem; }
.theme-pop .section--dark .section-head .latin { color: var(--candy); }
.theme-pop .section-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); }

/* Gallery tiles as stickers */
.theme-pop #works { padding-top: 70px; }
.theme-pop .work { border-radius: 18px; box-shadow: 0 0 0 4px #fff, 0 12px 22px -12px rgba(42,23,20,.6); background: #fff; }
.theme-pop .work-day { background: var(--butter); color: var(--cocoa); font-family: var(--font-head); font-style: normal; font-size: .78rem; padding: .2em .7em; transform: rotate(-4deg); }
.theme-pop .gallery-more .btn--ghost { color: var(--cocoa); }

/* Story on cocoa */
.theme-pop #story h2 { color: var(--cream); }
.theme-pop .signature { color: var(--butter); font-family: var(--font-head); }
.theme-pop .story-photo img { border-radius: 26px; box-shadow: 0 0 0 6px var(--cream), 0 24px 40px -20px rgba(0,0,0,.8); transform: rotate(-2deg); }
.theme-pop .story-badge { background: var(--candy); color: var(--cocoa); font-family: var(--font-head); }
.theme-pop .story-badge b { font-family: var(--font-head); font-style: normal; }
.theme-pop .growth img { border-radius: 14px; box-shadow: 0 0 0 3px var(--cream); }
.theme-pop .growth figcaption { color: #f2d9cf; }
.theme-pop .growth figcaption b { font-family: var(--font-head); font-style: normal; color: var(--butter); font-size: .9rem; }

/* About */
.theme-pop .anatomy-photo img { border-radius: 26px; box-shadow: 0 0 0 6px #fff, 10px 14px 0 var(--candy); transform: rotate(2deg); }
.theme-pop .anatomy-list li { border-bottom: 2px dashed var(--line); }
.theme-pop .anatomy-list h3 { font-size: 1.05rem; }
.theme-pop .anatomy-list a { color: var(--candy-deep); }

/* Steps on a candy band */
.theme-pop #flow .section-head .latin { color: var(--cocoa); }
.theme-pop .step-cards li { background: var(--cream); border-radius: 20px; box-shadow: 0 6px 0 var(--candy-deep); }
.theme-pop .step-cards li::before { background: var(--butter); color: var(--cocoa); font-family: var(--font-head); font-style: normal; font-size: 1rem; }
.theme-pop .step-cards h3 { font-size: 1rem; }
.theme-pop .step-cards a { color: var(--candy-deep); }

/* FAQ */
.theme-pop .faq details { background: #fff; border: 0; border-radius: 16px; margin-bottom: 10px; padding: 0 18px; box-shadow: 0 4px 0 var(--line); }
.theme-pop .faq summary { font-family: var(--font-head); font-size: .95rem; }
.theme-pop .faq summary::after { border-color: var(--candy-deep); }
.theme-pop .faq .answer a { color: var(--candy-deep); }

/* Closing call to action on cocoa */
.theme-pop .cta-band { background: radial-gradient(60% 80% at 50% 0%, var(--glow), var(--cocoa) 70%); color: var(--cream); padding: 72px 0 80px; }
.theme-pop .cta-lead { font-family: var(--font-head); color: var(--cream); font-size: 1.25rem; }
.theme-pop .cta-when { color: #f2d9cf; }
.theme-pop .cta-when strong { color: var(--butter); font-family: var(--font-head); font-weight: 400; }

/* Footer */
.theme-pop .site-footer { background: var(--cocoa); color: #cdb4ab; padding-top: 24px; }
.theme-pop .site-footer .logo-full { width: min(250px, 66vw); margin: 0 auto 18px; }
.theme-pop .social a { background: var(--cocoa-2); box-shadow: none; color: var(--cream); }
.theme-pop .footer-links a { color: #f2d9cf; }

/* Mobile order bar */
.theme-pop .order-bar { background: var(--cocoa); box-shadow: 0 10px 30px -10px rgba(0,0,0,.6); }
.theme-pop .order-bar strong { color: var(--butter); }

/* Todo tags stay readable on dark */
.theme-pop .section--dark .todo, .theme-pop .pop-hero .todo { background: var(--butter); }

@media (max-width: 820px) {
  .theme-pop .brand img { height: 36px; }
  .theme-pop .brand b { font-size: 1.1rem; }
  .theme-pop .pop-hero { padding: 16px 0 40px; }
  .theme-pop .pop-hero-grid { grid-template-columns: 1fr; grid-template-areas: "head" "stage" "offer"; gap: 0; }
  .theme-pop .pop-hero h1 { font-size: 1.75rem; margin: .4em 0 .2em; }
  .theme-pop .pop-hero .lead { display: none; }
  .theme-pop .stage { aspect-ratio: 1 / .78; }
  .theme-pop .nail-big { width: 50%; left: 8%; }
  .theme-pop .real-cat { width: 32%; right: 14%; bottom: 6%; }
  .theme-pop .size { width: 24%; }
  .theme-pop .pop-offer { margin-top: 8px; }
  .theme-pop .pop-offer .price { font-size: 1.7rem; }
  .theme-pop .pop-hero .hero-actions .btn { flex: 1; padding: .95em .8em; font-size: .9rem; }
  .theme-pop .section { padding: 60px 0; }
  .theme-pop .story-photo img { transform: none; }
}

/* Fixes for the chunky display font */
.theme-pop .story-badge { font-size: .5rem; letter-spacing: .06em; }
.theme-pop .story-badge b { font-size: 2rem; }
.theme-pop .pop-hero .hero-actions .btn { white-space: nowrap; }
@media (max-width: 820px) {
  .theme-pop .pop-hero .hero-actions .btn { font-size: .82rem; padding: .95em .6em; }
  .theme-pop .pop-hero .hero-actions .btn--ghost { flex: 0 0 34%; }
  .theme-pop .story-badge { font-size: .44rem; }
  .theme-pop .story-badge b { font-size: 1.6rem; }
}
@media (max-width: 820px) {
  .theme-pop .pop-offer .when { white-space: normal; font-size: .84rem; }
}
@media (max-width: 820px) {
  .theme-pop .stage { width: 100%; max-width: 480px; margin-inline: auto; }
  .theme-pop .pop-offer { max-width: 480px; margin-inline: auto; }
  .theme-pop .pop-hero .hero-actions { max-width: 480px; margin-inline: auto; }
}

/* ---------- Palettes (dark bands) ---------- */

/* Mockup-only color switcher */

/* Line in her voice under the headline */
.theme-pop .voice { margin: 0 0 .4rem; color: var(--butter); font-family: var(--font-head); font-size: 1rem; letter-spacing: .02em; }
.theme-pop .voice br.sp { display: none; }

/* ---------- Hero transformation carousel ---------- */
.theme-pop .show { position: relative; aspect-ratio: 1 / .92; }
.theme-pop .show-slides { position: absolute; inset: 0 0 26px; }
.theme-pop .show-slide { position: absolute; inset: 0; margin: 0; opacity: 0; pointer-events: none; transition: opacity .55s ease; }
.theme-pop .show-slide.is-active { opacity: 1; pointer-events: auto; }
.theme-pop .show-nail { position: absolute; right: 2%; top: 2%; width: 64%; aspect-ratio: 1; border-radius: 28px; overflow: hidden; border: 7px solid var(--cream); background: #ddd; box-shadow: 0 26px 50px -22px rgba(0,0,0,.75); transform: rotate(3deg) scale(.94); transition: transform .6s cubic-bezier(.2,.9,.25,1.2); }
.theme-pop .show-slide.is-active .show-nail { transform: rotate(3deg) scale(1); }
.theme-pop .show-nail img { width: 100%; height: 100%; object-fit: cover; }
.theme-pop .show-day { position: absolute; left: 10px; top: 10px; background: var(--butter); color: var(--ink); font-family: var(--font-head); font-size: .8rem; padding: .2em .7em; border-radius: 999px; transform: rotate(-5deg); }
.theme-pop .show-cat { position: absolute; left: 0; bottom: 14%; width: 40%; aspect-ratio: .86; background: #fff; padding: 7px 7px 28px; border-radius: 6px; box-shadow: 0 18px 30px -14px rgba(0,0,0,.7); transform: rotate(-8deg) translateX(-14px); opacity: 0; transition: transform .6s ease .1s, opacity .6s ease .1s; z-index: 2; }
.theme-pop .show-slide.is-active .show-cat { transform: rotate(-8deg); opacity: 1; }
.theme-pop .show-cat img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 3px; }
.theme-pop .show-cat span { position: absolute; left: 0; right: 0; bottom: 5px; text-align: center; font-weight: 700; font-size: .72rem; color: var(--ink); }
.theme-pop .show-arrow { position: absolute; left: 24%; top: 26%; z-index: 3; background: var(--candy); color: var(--ink); font-family: var(--font-head); font-size: .82rem; padding: .35em .8em; border-radius: 999px; transform: rotate(-6deg); box-shadow: 0 4px 0 var(--candy-deep); white-space: nowrap; }
.theme-pop .show-title { position: absolute; right: 0; bottom: 0; z-index: 3; max-width: 66%; background: var(--cream); color: var(--ink); font-weight: 700; font-size: .82rem; line-height: 1.5; padding: .45em .85em; border-radius: 10px; transform: rotate(2deg); box-shadow: 0 8px 16px -8px rgba(0,0,0,.6); }
.theme-pop .show-title small { display: block; font-weight: 500; font-size: .68rem; color: var(--ink-soft); }
.theme-pop .show-dots { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; gap: 6px; }
.theme-pop .show-dots button { width: 8px; height: 8px; border-radius: 999px; border: 0; padding: 0; background: rgba(255,255,255,.35); cursor: pointer; transition: width .3s, background .3s; }
.theme-pop .show-dots button.is-active { width: 22px; background: var(--candy); }

@media (max-width: 820px) {
  .theme-pop .voice { font-size: .92rem; }
  .theme-pop .voice br.sp { display: inline; }
  .theme-pop .show { aspect-ratio: 1 / .95; max-width: 480px; margin: 6px auto 0; }
  .theme-pop .show-nail { width: 66%; border-width: 6px; border-radius: 24px; }
  .theme-pop .show-arrow { font-size: .72rem; left: 18%; top: 22%; }
  .theme-pop .show-title { font-size: .76rem; max-width: 72%; }
}

/* ---------- Clean-up pass: nothing should sit on its own color ---------- */
.theme-pop { --shadow: 0 18px 40px -18px rgba(20, 16, 40, .35); }

/* Floating order bar: a light card that stands apart from dark, cream and pink bands alike */
.theme-pop .order-bar { background: #fff; color: var(--ink); box-shadow: 0 0 0 2px var(--ink), 0 14px 30px -10px rgba(0,0,0,.55); }
.theme-pop .order-bar strong { color: var(--candy-deep); }
.theme-pop .order-bar .btn { box-shadow: 0 3px 0 var(--candy-deep); }

/* Footer separates from the closing band */
.theme-pop .site-footer { background: var(--cocoa-2); }
.theme-pop .social a { background: rgba(255,255,255,.1); }

/* FAQ cards get an outline so white-on-cream still reads */
.theme-pop #faq { background: var(--cream); }
.theme-pop .faq details { box-shadow: 0 0 0 2px var(--line), 0 4px 0 var(--line); }

/* Enlarged view: neutral dark instead of the old brown tint */
.theme-pop dialog::backdrop { background: rgba(12, 12, 28, .72); }
.theme-pop .lightbox-count { background: rgba(0, 0, 0, .6); }

/* Text in pink on light backgrounds uses a deeper pink for contrast (bright pink stays for fills) */
.theme-pop { --pink-text: #c23a68; }
.theme-pop .pop-offer .countdown,
.theme-pop .section-head .latin,
.theme-pop .anatomy-list a, .theme-pop .step-cards a, .theme-pop .faq .answer a,
.theme-pop .order-bar strong { color: var(--pink-text); }
.theme-pop .section--dark .section-head .latin { color: var(--candy); }
.theme-pop #flow .section-head .latin { color: var(--ink); }
@media (max-width: 520px) { .theme-pop .cta-lead { font-size: 1.05rem; } }

/* Caption strip: its wrapper is split dark/light so the tilted strip never shows wedges of a third color */
.theme-pop .marquee-wrap { position: relative; z-index: 2; overflow: hidden; padding: 18px 0; background: linear-gradient(to bottom, var(--cocoa) 50%, var(--paper) 50%); }
.theme-pop .marquee-wrap .marquee { margin: 0 -24px; }
.theme-pop #works { background: var(--paper); padding-top: 52px; }

/* =========================================================
   Motion: gentle, springy, and off for reduced-motion users
   (style.css already turns all animation off under prefers-reduced-motion)
   ========================================================= */
.theme-pop { --spring: cubic-bezier(.34, 1.56, .64, 1); --ease: cubic-bezier(.2, .8, .2, 1); }

/* Hero assembles itself on load */
@keyframes pop-drop  { from { opacity: 0; transform: translateY(-18px) rotate(-12deg); } }
@keyframes pop-rise  { from { opacity: 0; transform: translateY(22px); } }
@keyframes pop-scale { from { opacity: 0; transform: scale(.86); } }
.theme-pop .pop-hero .sticker { animation: pop-drop .7s var(--spring) .1s both; }
.theme-pop .pop-hero h1 { animation: pop-rise .7s var(--ease) .2s both; }
.theme-pop .pop-hero .voice { animation: pop-rise .7s var(--ease) .35s both; }
.theme-pop .pop-hero .show { animation: pop-scale .8s var(--spring) .3s both; }
.theme-pop .pop-hero .pop-offer { animation: pop-rise .7s var(--ease) .5s both; }
.theme-pop .pop-hero .hero-actions { animation: pop-rise .7s var(--ease) .62s both; }

/* Slot paws pop in one by one */
@keyframes paw-pop { from { opacity: 0; transform: scale(.2) rotate(-30deg); } }
.theme-pop .paws-row .slots-bar span { animation: paw-pop .45s var(--spring) both; }
.theme-pop .paws-row .slots-bar span:nth-child(1) { animation-delay: .75s; } .theme-pop .paws-row .slots-bar span:nth-child(2) { animation-delay: .8s; }
.theme-pop .paws-row .slots-bar span:nth-child(3) { animation-delay: .85s; } .theme-pop .paws-row .slots-bar span:nth-child(4) { animation-delay: .9s; }
.theme-pop .paws-row .slots-bar span:nth-child(5) { animation-delay: .95s; } .theme-pop .paws-row .slots-bar span:nth-child(6) { animation-delay: 1s; }
.theme-pop .paws-row .slots-bar span:nth-child(7) { animation-delay: 1.05s; } .theme-pop .paws-row .slots-bar span:nth-child(8) { animation-delay: 1.1s; }
.theme-pop .paws-row .slots-bar span:nth-child(9) { animation-delay: 1.15s; } .theme-pop .paws-row .slots-bar span:nth-child(10) { animation-delay: 1.2s; }

/* Carousel: the sticker and caption bounce on every slide change */
@keyframes nudge { 0% { transform: rotate(-6deg) scale(.6); opacity: 0; } 60% { transform: rotate(-10deg) scale(1.08); opacity: 1; } 100% { transform: rotate(-6deg) scale(1); } }
@keyframes cap-pop { from { opacity: 0; transform: rotate(2deg) translateY(10px); } }
.theme-pop .show-slide.is-active .show-arrow { animation: nudge .6s var(--spring) .25s both; }
.theme-pop .show-slide.is-active .show-title { animation: cap-pop .5s var(--ease) .35s both; }
.theme-pop .show-slide.is-active .show-day { animation: pop-drop .5s var(--spring) .2s both; }

/* Scroll-in cascade (index set by script) */
.theme-pop .cascade { opacity: 0; transform: translateY(26px) scale(.98); transition: opacity .65s var(--ease), transform .75s var(--spring); transition-delay: calc(var(--i, 0) * 70ms); }
.theme-pop .cascade.is-in { opacity: 1; transform: none; }

/* Hover and tap */
.theme-pop .btn { transition: transform .25s var(--spring), box-shadow .2s, background .2s; }
.theme-pop .btn:hover { transform: translateY(-2px) scale(1.03); }
.theme-pop .btn:active { transform: translateY(3px) scale(.97); }
.theme-pop .work { transition: transform .35s var(--spring), box-shadow .3s; }
.theme-pop .work:hover { transform: translateY(-5px) rotate(-1deg); box-shadow: 0 0 0 4px #fff, 0 22px 30px -14px rgba(20,16,40,.55); }
.theme-pop .work:nth-child(even):hover { transform: translateY(-5px) rotate(1deg); }
@keyframes wiggle { 0%, 100% { transform: rotate(-3deg); } 30% { transform: rotate(4deg); } 60% { transform: rotate(-5deg); } }
.theme-pop .work-day:hover { animation: wiggle .5s ease; }
.theme-pop .pop-hero .sticker { transition: transform .35s var(--spring); }
.theme-pop .pop-hero .sticker:hover { transform: rotate(4deg) scale(1.06); }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 40% { transform: translateY(-3px) rotate(-6deg); } 70% { transform: translateY(-1px) rotate(4deg); } }
.theme-pop .brand:hover img { animation: bob .7s ease; }
.theme-pop .story-badge { transition: transform .5s var(--spring); }
.theme-pop .story-photo:hover .story-badge { transform: rotate(4deg) scale(1.08); }
.theme-pop .step-cards li { transition: transform .3s var(--spring); }
.theme-pop .step-cards li:hover { transform: translateY(-3px); }

/* Caption strip pauses while hovered */
.theme-pop .marquee:hover span { animation-play-state: paused; }

/* FAQ answers slide open */
.theme-pop .faq details { interpolate-size: allow-keywords; }
.theme-pop .faq details::details-content { height: 0; overflow: clip; transition: height .35s var(--ease), content-visibility .35s allow-discrete; }
.theme-pop .faq details[open]::details-content { height: auto; }
@keyframes ans-in { from { opacity: 0; transform: translateY(-6px); } }
.theme-pop .faq details[open] .answer { animation: ans-in .35s var(--ease); }

/* Enlarged photo zooms in softly */
@keyframes box-in { from { opacity: 0; transform: scale(.94); } }
@keyframes back-in { from { opacity: 0; } }
.theme-pop .lightbox[open] { animation: box-in .35s var(--spring); }
.theme-pop .lightbox[open]::backdrop { animation: back-in .3s ease; }
.theme-pop .lightbox img { transition: opacity .25s; }

/* Progression pair: clearly tappable */
.theme-pop .growth-open { cursor: zoom-in; position: relative; transition: transform .3s var(--spring); }
.theme-pop .growth-open:hover { transform: translateY(-3px) rotate(-1deg); }
.theme-pop .growth-open::after {
  content: "＋"; position: absolute; right: 8px; top: 8px; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255,255,255,.9); color: var(--ink); font-weight: 700; font-size: .9rem;
  box-shadow: 0 4px 10px -4px rgba(0,0,0,.5);
}
.theme-pop .growth-open:focus-visible { outline: 3px solid var(--butter); outline-offset: 4px; border-radius: 14px; }

/* ---------- Review round: clearer product, calmer launch info ---------- */
/* Product category right under the headline */
.theme-pop .category { margin: 0 0 .2rem; color: var(--cream); font-weight: 700; font-size: 1.02rem; letter-spacing: .02em; opacity: .92; }
.theme-pop .category br.sp { display: none; }
.theme-pop .section-head .voice { color: var(--pink-text); font-family: var(--font-head); font-size: 1rem; margin: .6rem auto 0; }

/* What the price buys */
.theme-pop .pop-offer .what { margin: 6px 0 0; font-size: .82rem; color: var(--ink-soft); }

/* Before opening the main button adds the date to a calendar; after opening it orders */
.theme-pop.is-before .hero-actions .js-order-link { display: none; }
.theme-pop:not(.is-before) .js-cal { display: none; }

/* Worn-on-finger photo, always in view */
.theme-pop .worn { position: absolute; left: 1%; top: 0; width: 25%; margin: 0; z-index: 4; background: #fff; padding: 5px 5px 20px; border-radius: 6px; transform: rotate(-5deg); box-shadow: 0 12px 22px -10px rgba(0,0,0,.65); }
.theme-pop .worn img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: 50% 78%; border-radius: 3px; }
.theme-pop .worn figcaption { position: absolute; left: 0; right: 0; bottom: 3px; text-align: center; font-size: .6rem; font-weight: 700; color: var(--ink); white-space: nowrap; }
.theme-pop .show-arrow { left: 27%; top: 34%; }

/* Nail thumbnails instead of dots */
.theme-pop .show-slides { bottom: 44px; }
.theme-pop .show-dots { gap: 6px; flex-wrap: nowrap; }
.theme-pop .show-dots button { width: 32px; height: 32px; border-radius: 50%; overflow: hidden; background: #fff; opacity: .55; border: 2px solid transparent; transition: opacity .25s, transform .3s var(--spring), border-color .25s; }
.theme-pop .show-dots button img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.5); }
.theme-pop .show-dots button.is-active { width: 32px; opacity: 1; border-color: var(--candy); transform: scale(1.12); }
.theme-pop .show-dots button:hover { opacity: .9; }

/* Tighter hero so the buttons land on the first screen */
.theme-pop .pop-hero { padding: 20px 0 40px; }
.theme-pop .pop-hero h1 { margin: .35em 0 .25em; }
.theme-pop .pop-offer { padding: 14px 18px; }
.theme-pop .pop-hero .hero-actions { margin-top: 16px; }

@media (max-width: 820px) {
  .theme-pop .category { font-size: .9rem; }
  .theme-pop .category br.sp { display: inline; }
  .theme-pop .pop-hero { padding: 10px 0 30px; }
  .theme-pop .pop-hero h1 { font-size: 1.6rem; margin: .3em 0 .2em; line-height: 1.3; }
  .theme-pop .show { aspect-ratio: 1 / .98; margin-top: 4px; }
  .theme-pop .show-dots button, .theme-pop .show-dots button.is-active { width: 28px; height: 28px; }
  .theme-pop .show-dots { gap: 4px; }
  .theme-pop .worn { width: 27%; }
  .theme-pop .pop-offer { padding: 12px 14px; }
  .theme-pop .pop-offer .price { font-size: 1.55rem; }
  .theme-pop .pop-hero .hero-actions { margin-top: 12px; }
}
@media (max-width: 820px) {
  .theme-pop .category { font-size: .86rem; }
  .theme-pop .category br.sp { display: none; }
  .theme-pop .sticker { font-size: .72rem; }
  .theme-pop .show { aspect-ratio: 1 / .84; }
  .theme-pop .show-slides { bottom: 38px; }
  .theme-pop .show-nail { width: 60%; }
  .theme-pop .show-cat { width: 37%; bottom: 10%; }
  .theme-pop .pop-offer .what { margin-top: 2px; font-size: .76rem; }
  .theme-pop .pop-offer .opens { margin-top: 4px; }
  .theme-pop .paws-row { margin-top: 6px; }
  .theme-pop .paws-row .slots-bar span { height: 15px; }
}
/* Worn photo tucks onto the nail card's top-right corner, clear of the cat and the arrow */
.theme-pop .worn { left: auto; right: -2%; top: -3%; width: 22%; transform: rotate(7deg); }
.theme-pop .show-arrow { left: 26%; top: 30%; }
@media (max-width: 820px) {
  .theme-pop .worn { width: 23%; right: -1%; top: -4%; padding: 4px 4px 17px; }
  .theme-pop .worn figcaption { font-size: .52rem; }
  .theme-pop .show-arrow { left: 22%; top: 26%; }
}
/* The category line now does the lead paragraph's job */
.theme-pop .pop-hero .lead { display: none; }

/* ---------- Closing band ---------- */
.theme-pop .cta-band { padding: 60px 0 96px; }
.theme-pop .cta-chibi { width: 104px; margin: 0 auto 6px; filter: drop-shadow(0 10px 16px rgba(0,0,0,.45)); transition: transform .4s var(--spring); }
.theme-pop .cta-band:hover .cta-chibi { transform: rotate(-6deg) translateY(-3px); }
.theme-pop .cta-title { color: var(--cream); font-size: clamp(1.5rem, 4vw, 2.1rem); margin-bottom: .5rem; }
.theme-pop .cta-title em { font-style: normal; color: var(--candy); }
.theme-pop .cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.theme-pop .cta-actions .btn--ghost { color: var(--cream); }
.theme-pop.is-before .cta-actions .js-order-link { display: none; }

/* ---------- Footer: a cream panel that overlaps the dark band ---------- */
.theme-pop .site-footer { position: relative; z-index: 2; margin-top: -32px; border-radius: 30px 30px 0 0; background: var(--cream); color: var(--ink-soft); padding: 40px 0 110px; box-shadow: 0 -10px 30px -18px rgba(0,0,0,.45); }
.theme-pop .site-footer .logo-full { width: min(170px, 46vw); margin: 0 auto 16px; }
.theme-pop .social a { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.theme-pop .footer-links a { color: var(--ink); }

/* ---------- Bottom bar fits one line on phones ---------- */
.theme-pop .order-bar { gap: 8px; padding: 8px 8px 8px 16px; }
.theme-pop .order-bar > span { white-space: nowrap; font-size: .82rem; }
.theme-pop .order-bar .btn { white-space: nowrap; font-size: .8rem; padding: .75em 1.1em; }
@media (max-width: 360px) { .theme-pop .order-bar > span { font-size: .74rem; } .theme-pop .order-bar .btn { font-size: .74rem; padding: .7em .8em; } }

/* Phone legibility fixes */
.theme-pop .show-arrow { line-height: 1.25; }
.theme-pop .worn figcaption { font-size: .7rem; }
.theme-pop .show-title small { font-size: .74rem; }
@media (max-width: 820px) {
  .theme-pop .worn figcaption { font-size: .66rem; }
  .theme-pop .worn { padding-bottom: 19px; }
  .theme-pop .story-badge { width: 100px; height: 100px; font-size: .56rem; right: -16px; bottom: -16px; }
  .theme-pop .story-badge b { font-size: 1.9rem; }
}

/* ---------- Calmer phone hero ---------- */
/* On a phone the first screen keeps one idea: this cat became this nail. The worn-on-finger
   photo lives in the About section, owner credits live in the gallery, the nail thumbnails
   shrink to plain dots, and the paw slot meter waits until orders open. */
@media (max-width: 820px) {
  .theme-pop .pop-hero .worn { display: none; }
  .theme-pop .show-title small { display: none; }
  .theme-pop .show-slides { bottom: 22px; }
  .theme-pop .show-dots { gap: 6px; align-items: center; }
  .theme-pop .show-dots button, .theme-pop .show-dots button.is-active { width: 8px; height: 8px; border: 0; opacity: 1; transform: none; background: rgba(255,255,255,.35); }
  .theme-pop .show-dots button.is-active { width: 22px; background: var(--candy); }
  .theme-pop .show-dots button img { display: none; }
  .theme-pop .pop-offer .what { display: none; }
  .theme-pop.is-before .pop-hero .paws-row { display: none; }
  .theme-pop .pop-offer .opens { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 8px; }
  .theme-pop .pop-offer .countdown { margin-left: 0; }
}

/* ---------- Order, care and legal pages ---------- */
/* The base stylesheet uses --rose for small pink text and --ink-faint for notes; both need
   to be deeper to read on white and cream. */
.theme-pop { --rose: var(--pink-text); --ink-faint: #7d6f7e; }

/* Order page top: a berry band like the homepage hero, with the same cream price card */
.theme-pop .order-top { background: radial-gradient(70% 70% at 80% 20%, var(--glow) 0%, var(--cocoa) 70%); color: var(--cream); padding: 28px 0 34px; }
.theme-pop .order-top h1 { color: var(--cream); margin-bottom: .8rem; }
.theme-pop .order-top .offer { background: var(--cream); color: var(--ink); border-radius: 22px; padding: 16px 18px; box-shadow: 0 10px 0 var(--candy-deep); margin-bottom: 22px; }
.theme-pop .order-top .offer-row { flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.theme-pop .order-top .offer-label { font-weight: 700; color: var(--ink); white-space: nowrap; font-size: .9rem; }
.theme-pop .order-top .price { font-weight: 400; white-space: nowrap; font-size: 1.8rem; }
.theme-pop .order-top .price small { font-family: var(--font-body); font-size: .75rem; }
.theme-pop .order-top .opens strong { font-family: var(--font-head); font-weight: 400; background: var(--butter); padding: .1em .55em; border-radius: 8px; white-space: nowrap; }
.theme-pop .order-steps a { background: rgba(255,255,255,.1); color: var(--cream); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.theme-pop .order-steps a:hover { background: rgba(255,255,255,.18); }
.theme-pop .order-steps a::before { font: 400 .8rem var(--font-head); color: var(--butter); margin-right: .35em; }
