/* Mom's Cat — inner pages refresh (shop, by age, gift boxes, unboxings, reviews).
   Loaded after styles.css + chrome.css; motion is driven by js/fx.js. Same look & feel as the home page. */

/* ---------- type & small shared bits, matched to the home page ---------- */
:root{--f-display:"Fraunces",Georgia,serif}
h1,h2,h3{font-weight:600;letter-spacing:-.015em}
.mega-word,.foot-cols h4{font-family:"Fredoka",var(--f-body)}
.kicker{color:var(--coral-2)}
.kicker.light{color:#FFE2A0}
.section-head h2 em,.cta-band h2 em,.page-hero h1 em{color:var(--coral-2)}
.reveal{transform:translateY(40px) scale(.97)}
.reveal.in{transform:none}

/* ---------- product cards: same as the home page ---------- */
.card{padding:0;border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:none}
.card-media{border-radius:0;aspect-ratio:1.12}
.card-body{padding:14px 14px 16px}
.card h4{font-family:var(--f-body);font-weight:800;font-size:15px;line-height:1.3}
.card-add{height:42px;border:0;border-radius:10px;background:var(--navy);color:#fff;font-size:13.5px}
.card-add:hover{background:var(--navy-3);transform:translateY(-2px)}
.card-badge{transform:none;font-size:11.5px}

/* ---------- page banners: big baby photo, product bubbles, notes, sparkles, rising hearts ---------- */
.page-hero{border-radius:36px;padding:64px 64px 84px;min-height:440px;background:radial-gradient(60% 80% at 85% 20%,color-mix(in srgb,var(--c) 22%,transparent),transparent 70%),radial-gradient(45% 60% at 5% 100%,color-mix(in srgb,var(--pink) 16%,transparent),transparent 70%),var(--bg)}
.page-hero h1 .w{display:inline-block;animation:phWord .9s cubic-bezier(.34,1.56,.64,1) both;animation-delay:calc(var(--i) * 70ms + .1s)}
@keyframes phWord{from{opacity:0;transform:translateY(55%) rotate(5deg)}}
.ph-copy>p,.ph-copy .ph-pills{animation:phRise .9s cubic-bezier(.2,.8,.2,1) .5s both}
.ph-copy .ph-pills{animation-delay:.65s}
@keyframes phRise{from{opacity:0;transform:translateY(22px)}}
.ph-pills>*{transition:translate .35s var(--ease)}
.ph-pills>*:hover{translate:0 -3px}
.ph-clouds{position:absolute;left:0;right:0;bottom:-1px;height:64px;z-index:1;pointer-events:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 720 200' preserveAspectRatio='none'%3E%3Cpath d='M0 150A64 64 0 0 1 120 138A49 49 0 0 1 210 152A84 84 0 0 1 370 132A54 54 0 0 1 470 148A74 74 0 0 1 610 140A59 59 0 0 1 720 150V200H0Z' fill='%23FCFAF8'/%3E%3C/svg%3E") 0 100%/460px 64px repeat-x;opacity:.9}
.ph-art{height:380px;z-index:2}
.ph-photo{position:absolute;right:6%;top:50%;translate:0 -50%;width:min(330px,72%);aspect-ratio:1;overflow:hidden;border:8px solid #fff;box-shadow:0 30px 60px -26px rgba(22,38,70,.5);animation:phBlob 12s ease-in-out infinite,phPop 1s cubic-bezier(.34,1.56,.64,1) .2s both;will-change:transform}
.ph-photo img{width:100%;height:112%;object-fit:cover}
@keyframes phBlob{0%,100%{border-radius:46% 54% 44% 56% / 56% 44% 56% 44%}50%{border-radius:56% 44% 54% 46% / 46% 56% 44% 54%}}
@keyframes phPop{from{opacity:0;scale:.8}}
.ph-art .ph-bubble{z-index:2;padding:6px;border-radius:50%}
.ph-art .ph-bubble img{border-radius:50%}
.ph-art .b-a{width:118px;height:118px;left:4%;top:2%;right:auto;bottom:auto}
.ph-art .b-b{width:96px;height:96px;left:14%;bottom:8%;top:auto;right:auto}
.ph-note{position:absolute;right:0;top:-4%;z-index:3;font-family:var(--f-hand);font-weight:700;font-size:30px;line-height:1;color:var(--ink);transform:rotate(-6deg);animation:phRise .8s ease 1s both}
.ph-badge{position:absolute;right:-2%;bottom:6%;z-index:3;display:flex;flex-direction:column;padding:10px 16px;border-radius:16px;background:#fff;box-shadow:var(--shadow);font-size:12px;font-weight:700;color:var(--ink-3);animation:phFloat 5s ease-in-out infinite}
.ph-badge b{font-size:17px;color:var(--c);line-height:1.15}
@keyframes phFloat{50%{translate:0 -10px}}
.ph-play{position:absolute;right:calc(6% + min(165px,36%) - 32px);top:calc(50% - 32px);z-index:3;width:64px;height:64px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.92);color:var(--coral-2);box-shadow:var(--shadow)}
.ph-play svg{width:26px;height:26px;margin-left:3px}
.ph-play::after{content:"";position:absolute;inset:-6px;border-radius:50%;border:3px solid #fff;animation:phRing 2s ease-out infinite}
@keyframes phRing{from{transform:scale(.9);opacity:1}to{transform:scale(1.5);opacity:0}}
.ph-art .ph-mascot{z-index:3;width:92px;left:34%;bottom:-18px}
.ph-art .ph-spark{width:1em;height:1em;z-index:3}
.ph-spark.s1{left:44%;top:6%;font-size:30px}
.ph-spark.s2{left:2%;top:58%;font-size:18px;color:var(--pink);animation-delay:-1s}
.ph-spark.s3{right:2%;left:auto;top:30%;font-size:16px;color:var(--teal);animation-delay:-2s}
.ph-heart{position:absolute;bottom:10%;z-index:2;width:var(--s);height:var(--s);color:var(--hc);pointer-events:none;animation:phHeart var(--d) ease-out forwards}
@keyframes phHeart{0%{opacity:0;transform:translate(0,0) scale(.4)}15%{opacity:.9}100%{opacity:0;transform:translate(var(--x),-260px) scale(1) rotate(var(--r))}}
/* shop: a shorter banner with three bobbing baby photos */
.page-hero.compact{min-height:0;padding:50px 60px 70px}
.ph-art.trio{height:280px}
.ph-circle{position:absolute;border-radius:50%;overflow:hidden;border:6px solid #fff;box-shadow:var(--shadow);animation:phPop .9s cubic-bezier(.34,1.56,.64,1) both,bob 6s ease-in-out infinite}
.ph-circle img{width:100%;height:100%;object-fit:cover}
.ph-circle.c1{width:170px;height:170px;left:4%;top:10%;animation-delay:.15s,0s}
.ph-circle.c2{width:210px;height:210px;left:34%;top:22%;z-index:2;animation-delay:.3s,-2s}
.ph-circle.c3{width:150px;height:150px;right:4%;top:0;animation-delay:.45s,-4s}
.ph-art.trio .ph-note{right:auto;left:2%;top:auto;bottom:4%}

/* ---------- gift CTA band (shop + by age): animated gift box with treasures peeking out ---------- */
.cta-band.gift{position:relative;display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:30px;border:0;border-radius:36px;padding:52px 60px;overflow:hidden;isolation:isolate;background:radial-gradient(55% 80% at 80% 30%,color-mix(in srgb,var(--c) 26%,transparent),transparent 70%),radial-gradient(40% 60% at 0% 100%,#fff6,transparent 70%),var(--bg)}
.cta-band.gift::before{content:"";position:absolute;inset:14px;border:2px dashed color-mix(in srgb,var(--c) 45%,transparent);border-radius:26px;pointer-events:none}
.cb-copy h2{font-size:clamp(32px,3.8vw,52px);margin:4px 0 12px}
.cb-copy .sub{max-width:480px}
.cb-tiers{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0 26px}
.cb-tiers span{display:flex;flex-direction:column;padding:10px 16px;border-radius:16px;background:#fff;box-shadow:var(--shadow-sm);font-size:12.5px;font-weight:700;color:var(--ink-3);transition:translate .35s var(--ease)}
.cb-tiers span:hover{translate:0 -4px}
.cb-tiers b{font-size:16px;color:color-mix(in srgb,var(--c) 75%,var(--ink));line-height:1.2}
.cb-art{position:relative;height:300px;display:block}
.cb-box{position:absolute;left:50%;bottom:6px;width:200px;height:170px;translate:-50% 0;z-index:2;filter:drop-shadow(0 22px 26px rgba(22,38,70,.25))}
.cb-body{position:absolute;left:0;right:0;bottom:0;height:128px;border-radius:12px 12px 18px 18px;background:linear-gradient(90deg,transparent 43%,#fff 43% 57%,transparent 57%),linear-gradient(180deg,color-mix(in srgb,var(--c) 90%,#fff),color-mix(in srgb,var(--c) 100%,var(--ink) 12%))}
.cb-lid{position:absolute;left:-12px;right:-12px;top:0;height:46px;border-radius:12px;z-index:2;transform-origin:20% 100%;background:linear-gradient(90deg,transparent 44%,#fff 44% 56%,transparent 56%),color-mix(in srgb,var(--c) 85%,var(--ink) 18%);animation:cbLid 4.5s ease-in-out infinite}
.cb-bow{position:absolute;left:50%;top:-30px;width:100px;height:44px;translate:-50% 0;background:radial-gradient(circle at 50% 70%,#fff 0 9px,transparent 10px),radial-gradient(ellipse 25px 17px at 26px 26px,color-mix(in srgb,var(--c) 30%,#fff) 0 35%,#fff 37% 97%,transparent),radial-gradient(ellipse 25px 17px at 74px 26px,color-mix(in srgb,var(--c) 30%,#fff) 0 35%,#fff 37% 97%,transparent)}
@keyframes cbLid{0%,62%,100%{transform:translateY(0) rotate(0)}70%{transform:translateY(-34px) rotate(-12deg)}80%{transform:translateY(-34px) rotate(-12deg)}88%{transform:translateY(0) rotate(0)}93%{transform:translateY(-6px)}}
.cb-peek{position:absolute;left:50%;bottom:96px;width:108px;aspect-ratio:1;object-fit:cover;border-radius:18px;border:5px solid #fff;box-shadow:var(--shadow-sm);z-index:1;transition:transform .6s cubic-bezier(.34,1.56,.64,1)}
.cb-peek.p1{transform:translate(-118%,22px) rotate(-16deg)}
.cb-peek.p2{transform:translate(-50%,-6px) rotate(3deg)}
.cb-peek.p3{transform:translate(18%,22px) rotate(15deg)}
.cta-band.gift.in .cb-peek{animation:cbFloat 5s ease-in-out infinite}
.cta-band.gift.in .cb-peek.p2{animation-delay:-1.6s}.cta-band.gift.in .cb-peek.p3{animation-delay:-3.2s}
@keyframes cbFloat{50%{translate:0 -10px}}
.cb-art:hover .cb-peek.p1{transform:translate(-135%,-30px) rotate(-22deg)}
.cb-art:hover .cb-peek.p2{transform:translate(-50%,-60px) rotate(-2deg)}
.cb-art:hover .cb-peek.p3{transform:translate(35%,-30px) rotate(22deg)}
.cb-art:hover .cb-lid{animation:none;transform:translateY(-44px) rotate(-16deg);transition:transform .5s cubic-bezier(.34,1.56,.64,1)}
.cb-spark{position:absolute;color:var(--sun);animation:twinkle 3s infinite;z-index:3}
.cb-spark.s1{left:12%;top:16%;font-size:28px}.cb-spark.s2{right:10%;top:8%;font-size:20px;color:var(--pink);animation-delay:-1s}.cb-spark.s3{right:16%;bottom:24%;font-size:16px;color:#fff;animation-delay:-2s}
.cb-note{position:absolute;right:0;bottom:0;z-index:3;font-family:var(--f-hand);font-weight:700;font-size:24px;color:var(--ink);transform:rotate(-6deg)}

/* ---------- unboxings: instagram band with a photo grid ---------- */
.insta-band{position:relative;grid-template-columns:1fr 1.05fr;gap:40px;padding:48px 56px;border-radius:36px;background:radial-gradient(60% 80% at 90% 10%,#2E4A8C,transparent 70%),var(--ink);isolation:isolate}
.ib-copy .btn{margin-top:24px}
.ib-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.ib-tile{position:relative;aspect-ratio:1;border-radius:18px;overflow:hidden;border:3px solid rgba(255,255,255,.12);transform:scale(.6) rotate(-6deg);opacity:0;transition:transform .7s cubic-bezier(.34,1.56,.64,1),opacity .5s;transition-delay:calc(var(--i) * 90ms)}
.insta-band.in .ib-tile{transform:none;opacity:1}
.ib-tile img{width:100%;height:100%;object-fit:cover;transition:transform .6s ease}
.ib-tile span{position:absolute;inset:0;display:grid;place-content:center;gap:4px;justify-items:center;background:rgba(22,38,70,.55);color:#fff;font-weight:800;font-size:14px;opacity:0;transition:opacity .3s}
.ib-tile span svg{font-size:26px;color:var(--pink);transform:scale(.5);transition:transform .4s cubic-bezier(.34,1.56,.64,1)}
.ib-tile:hover img{transform:scale(1.1)}
.ib-tile:hover span{opacity:1}
.ib-tile:hover span svg{transform:none}
.insta-band .ib-peek{position:absolute;width:96px;right:30px;bottom:-34px;margin:0;animation:peek 3.6s ease-in-out infinite}

/* ---------- cupid on the reviews banner (same as the home page) ---------- */
.page-hero .cupid{left:47%;z-index:5}
/* hanging cupid: every moving part is its own layer so all motion stays on the GPU */
.cupid{position:absolute;top:0;left:33%;width:120px;height:170px;scale:.9;z-index:6;cursor:pointer;transform-origin:60px 0;will-change:transform;animation:cSwing 4.2s ease-in-out infinite alternate;-webkit-tap-highlight-color:transparent}
.cupid:focus-visible{outline:none}
.cupid:focus-visible .c-body{filter:drop-shadow(0 0 6px #fff)}
.c-string{position:absolute;left:59px;top:0;width:1.5px;height:26px;background:linear-gradient(rgba(255,255,255,.15),rgba(255,255,255,.6))}
.c-body{position:absolute;left:0;top:26px;width:120px;height:140px;overflow:visible;filter:drop-shadow(0 8px 14px rgba(0,0,0,.28))}
.c-wing{position:absolute;top:84px;width:44px;height:36px;will-change:transform;animation:cFlap .32s ease-in-out infinite alternate}
.c-wing.l{left:4px;transform-origin:100% 55%}
.c-wing.r{left:72px;transform-origin:0 55%;animation-name:cFlapR}
.c-halo{position:absolute;left:40px;top:14px;width:40px;height:11px;border:3px solid #FFD66B;border-radius:50%;box-shadow:0 0 12px rgba(255,214,107,.8),inset 0 0 6px rgba(255,214,107,.6);animation:cHalo 2.4s ease-in-out infinite alternate}
.c-arrow{position:absolute;left:54px;top:107px;width:64px;height:18px;transition:transform .5s cubic-bezier(.3,.7,.3,1),opacity .2s}
.cupid .str-pulled{opacity:0}
.cupid.draw .c-arrow{transform:translateX(-14px)}
.cupid.draw .str-straight{opacity:0}
.cupid.draw .str-pulled{opacity:1}
.cupid.draw .eye-l{transform:scaleY(.15);transform-origin:49px 46px} /* winks while aiming */
.cupid.fired .c-arrow{opacity:0;transition:none}
.cupid:hover .c-body{filter:drop-shadow(0 8px 14px rgba(0,0,0,.28)) brightness(1.05)}
@keyframes cSwing{from{transform:rotate(-6deg)}to{transform:rotate(6deg)}}
@keyframes cFlap{from{transform:rotate(14deg)}to{transform:rotate(-12deg)}}
@keyframes cFlapR{from{transform:rotate(-14deg)}to{transform:rotate(12deg)}}
@keyframes cHalo{from{transform:translateY(0)}to{transform:translateY(-4px)}}
/* the flying heart arrow and the heart burst it makes on the photo */
.cupid-shot{position:absolute;left:0;top:0;width:64px;height:18px;z-index:6;pointer-events:none;will-change:transform;filter:drop-shadow(0 0 6px rgba(255,255,255,.7))}
.cupid-shot svg{display:block;width:100%;height:100%}
.heart-pop{position:absolute;left:0;top:0;z-index:6;width:24px;height:24px;color:#EE5263;pointer-events:none;will-change:transform,opacity}
.heart-pop svg{width:100%;height:100%;filter:drop-shadow(0 2px 6px rgba(0,0,0,.25))}

/* ---------- hand-drawn squiggle under the coral words in section headings (like the home hero) ---------- */
.section-head h2 em,.cb-copy h2 em,.write-note h2 em{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8c12-6 22-6 30 0s20 6 30 0 20-6 30 0 18 5 26 0' fill='none' stroke='%23F4A493' stroke-width='3.5' stroke-linecap='round'/%3E%3C/svg%3E") 0 100%/100% .2em no-repeat;padding-bottom:.08em}

/* ---------- by age: a little baby rides along the tracker to the stage you pick ---------- */
.age-rider{position:absolute;left:0;top:-30px;z-index:3;width:44px;height:44px;margin-left:-22px;pointer-events:none;background:url("img/mascot.png") 50% 0/contain no-repeat;filter:drop-shadow(0 4px 6px rgba(22,38,70,.25));transition:transform .7s cubic-bezier(.34,1.56,.64,1)}
.age-rider.hop{animation:riderHop .7s ease}
@keyframes riderHop{40%{translate:0 -26px}}

/* ---------- a few friendly hover touches ---------- */
.step{transition:translate .4s var(--ease),box-shadow .3s}
.step:hover{translate:0 -6px}
.faq-list details{transition:box-shadow .3s}
.faq-list details[open]{box-shadow:var(--shadow-sm)}

/* ---------- responsive ---------- */
@media (max-width:1080px){
  .cta-band.gift{grid-template-columns:1fr;padding:40px 36px}
  .cb-art{height:270px}
  .insta-band{grid-template-columns:1fr}
}
@media (max-width:860px){
  .page-hero{padding:40px 30px 70px}
  .ph-art{height:320px}
  .ph-photo{right:50%;translate:50% -50%;width:min(260px,64%)}
  .ph-play{right:calc(50% - 32px)}
  .page-hero .cupid{left:auto;right:4%;scale:.62}
}
@media (max-width:560px){
  .page-hero{padding:32px 20px 64px;border-radius:28px}
  .page-hero.compact{padding:32px 20px 60px}
  .ph-art{height:280px}
  .ph-art .b-a{width:84px;height:84px}
  .ph-art .b-b{width:70px;height:70px;left:2%}
  .ph-note{font-size:22px}
  .ph-badge{right:0;padding:8px 12px}
  .ph-badge b{font-size:14px}
  .page-hero .cupid{scale:.5;right:2%}
  .ph-art .ph-mascot{width:70px}
  .ph-art.trio{height:220px}
  .ph-circle.c1{width:120px;height:120px}.ph-circle.c2{width:150px;height:150px;left:30%}.ph-circle.c3{width:110px;height:110px}
  .cta-band.gift{padding:34px 22px;border-radius:28px}
  .cb-art{height:240px}
  .cb-box{width:170px;height:150px}
  .cb-peek{width:88px;bottom:84px}
  .insta-band{padding:34px 22px;border-radius:28px}
  .ib-grid{gap:8px}
}
@media (prefers-reduced-motion:reduce){.ph-heart{display:none}.ib-tile{transform:none;opacity:1}}
