/* Homepage and Play and Learn page styles (index.html, play-and-learn.html, and the hidden home-preview.html). */
.w-hero .w-logo{aspect-ratio:998/800}

/* ---------- Home opening (Nov 2026): "Welcome to the world of… Splat the Cat by Rob Scotton", three ways in ---------- */
.w-by{white-space:nowrap;display:block;width:min(100%,360px);margin-top:2px;text-align:right;font-family:'Caveat',cursive;font-size:32px;line-height:1;color:#a85565;transform:rotate(-2deg);transform-origin:right}
.w-hacts{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:24px;max-width:560px}
.w-hacts .w-cta{padding:0 22px}
.w-cta-print{min-height:44px !important;font-size:16px !important;padding:0 18px !important}
@media (min-width:641px){.w-htxt{padding-bottom:96px !important}}
.w-cta2{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:52px;padding:0 18px;box-sizing:border-box;border-radius:999px;font-family:'Fraunces',serif;font-size:17px;line-height:1.15;text-decoration:none;color:#1f3d4c;background:#fffdf9;border:2px solid #1f3d4c;transition:transform .2s,background .2s}
.w-cta2:hover{transform:translateY(-2px);background:#eef4f2}
.w-cta2:focus-visible{outline:3px solid #262335;outline-offset:3px}
.w-cta2 svg{flex:0 0 auto;width:22px;height:22px}
.w-cta-duck svg.w-tbirds{width:38px;height:26px;margin-left:-6px;transform-origin:50% 100%}
.w-cta-duck:hover svg.w-tbirds,.w-cta-duck:focus-visible svg.w-tbirds{animation:w-tbird .6s ease}
@keyframes w-tbird{30%{transform:rotate(-6deg) scaleY(1.08)}60%{transform:rotate(5deg)}}
.w-cta-print{color:#a85565;border:2px dashed #a85565;background:transparent}
.w-cta-print:hover{background:#f6e9ea}
@media (prefers-reduced-motion:reduce){.w-cta-duck:hover svg.w-tbirds{animation:none}}

/* Phones: full illustration, a shorter title, and all three ways in on the first screen */
@media (max-width:640px){
  .w-hero{padding:0 16px 10px !important;gap:6px !important}
  .w-hart{flex-basis:100% !important;padding-top:6px !important}
  .w-htxt{padding:0 0 4px !important;flex-basis:100% !important}
  .w-htxt h1{display:flex;align-items:flex-end;gap:10px}
  .w-logo{width:170px;flex:0 0 auto}
  .w-by{width:auto;font-size:25px;margin:0 0 10px;text-align:left}
  .w-tagline{font-size:17px !important;margin-top:6px !important}
  .w-squig,.w-hdeco{display:none !important}
  .w-hacts{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}
  .w-hacts .w-cta{grid-column:1/-1;justify-content:center;min-height:50px}
  .w-cta2,.w-cta-print{min-height:56px !important;padding:6px 12px !important;font-size:16px !important;gap:8px}
  .w-htxt{padding-bottom:4px !important}
  .w-cta-duck svg.w-tbirds{width:32px;height:22px;margin-left:0}
  .w-chips{display:none !important}
}

/* Hidden-preview banner: links the two preview pages together */
.pv-bar{margin:0;padding:8px 16px;background:#262335;color:#fffdf9;font-family:system-ui,sans-serif;font-size:13px;line-height:1.4;text-align:center}
.pv-bar b{display:inline-block;margin-right:8px;padding:1px 8px;border-radius:999px;background:#f2c94c;color:#262335;font-weight:700}
.pv-bar a{color:#fffdf9;text-underline-offset:3px}
.pv-bar a[aria-current]{font-weight:700;text-decoration:none}

/* Homepage: the Play and Learn header (a Duck Workshop scene) that leads to play-and-learn.html */
.w-pl{position:relative;margin:30px 0 30px}
.w-pl>svg{position:relative;z-index:1;display:block;width:100%;height:56px}
.w-pl>svg:first-child{margin-bottom:-1px}.w-pl>svg:last-child{margin-top:-1px}
.w-plbg{background:#f6ead9}
.w-pl-in{max-width:1360px;margin:0 auto;padding:20px 32px 34px;box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:48px;align-items:center}
.w-pl-art{position:relative;display:block}
.w-pl-art img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;object-position:50% 70%;border-radius:16px;border:8px solid #fffdf9;box-sizing:border-box;box-shadow:0 24px 46px -26px rgba(43,20,39,.65);transform:rotate(-1deg);transition:transform .35s cubic-bezier(.2,.8,.2,1)}
.w-pl-art:hover img{transform:rotate(0) scale(1.01)}
.w-pl-tag{position:absolute;right:-10px;bottom:24px;display:flex;flex-direction:column;padding:7px 14px 8px;background:#fffdf9;border:1.5px solid #262335;border-radius:6px;font-family:'Caveat',cursive;font-size:24px;line-height:1;color:#262335;transform:rotate(4deg);box-shadow:0 8px 18px -10px rgba(43,20,39,.5)}
.w-pl-tag small{font-size:17px;color:#a85565;margin-top:3px}
.w-pl h2{margin:0;font-weight:400;font-family:'Caveat Brush','Caveat',cursive;font-size:clamp(54px,6vw,88px);line-height:.95;color:#262335;transform:rotate(-1.5deg);transform-origin:left bottom}
.w-pl-txt{margin:18px 0 16px;font-size:18px;line-height:1.6;color:#3b3346;max-width:30em}
.w-pl-list{list-style:none;margin:0 0 24px;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.w-pl-list li{display:inline-flex;align-items:center;min-height:34px;padding:0 14px;border-radius:999px;background:#fffdf9;font-size:15px;color:#262335}
.w-pl .w-cta{display:inline-flex;align-items:center;gap:10px;min-height:52px;padding:0 26px}
@media (max-width:900px){.w-pl-in{grid-template-columns:1fr;gap:22px;padding:12px 16px 30px}.w-pl-tag{right:8px;bottom:14px;font-size:22px}.w-pl .w-cta{width:100%;justify-content:center;box-sizing:border-box}}

/* play-and-learn.html */
.pl{max-width:1360px;margin:0 auto;padding:10px 32px 70px;box-sizing:border-box}
.pl-head{max-width:46em;margin-bottom:34px}
.pl-back{margin:0 0 14px;font-size:15px}.pl-back a{color:#a85565;text-decoration:none}
.pl h1{margin:0;font-weight:400;font-family:'Caveat Brush','Caveat',cursive;font-size:clamp(60px,7vw,104px);line-height:.95;color:#262335;transform:rotate(-1.5deg);transform-origin:left bottom}
.pl-intro{margin:16px 0 0;font-size:19px;line-height:1.6;color:#3b3346}
.pl-steps,.pl-grid{list-style:none;margin:0;padding:0}
.pl-steps{display:grid;grid-template-columns:minmax(0,1fr) 110px minmax(0,1fr);align-items:start}
.pl-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:34px 28px}
.pl-card{display:flex;flex-direction:column;min-width:0}
.pl-shot{position:relative;display:block}
.pl-shot img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:14px;border:7px solid #fffdf9;box-sizing:border-box;box-shadow:0 20px 40px -24px rgba(43,20,39,.6);transition:transform .3s cubic-bezier(.2,.8,.2,1)}
.pl-card:nth-child(odd) .pl-shot img{transform:rotate(-.8deg)}.pl-card:nth-child(even) .pl-shot img{transform:rotate(.8deg)}
.pl-shot:hover img{transform:rotate(0) scale(1.01) !important}
.pl-no{position:absolute;left:-10px;top:-12px;z-index:2;width:44px;height:44px;border-radius:50%;background:#262335;color:#fffdf9;font-family:'Caveat Brush','Caveat',cursive;font-size:30px;line-height:44px;text-align:center;transform:rotate(-6deg)}
.pl-kick{margin:16px 0 0;font-family:'Caveat',cursive;font-size:22px;color:#a85565}
.pl-card h2{margin:0;font-weight:400;font-family:'Caveat Brush','Caveat',cursive;font-size:clamp(34px,3vw,46px);line-height:1}
.pl-steps .pl-card h2{font-size:clamp(38px,3.6vw,54px)}
.pl-card h2 a{color:#262335;text-decoration:none}
.pl-card h2 a:hover{color:#a85565}
.pl-txt{margin:10px 0 0;font-size:16.5px;line-height:1.6;color:#3b3346;flex:1}
.pl-foot{margin:16px 0 0;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}
.pl-tag{padding:3px 12px;border-radius:999px;background:#e4edef;font-family:'Caveat',cursive;font-size:20px;color:#1f3d4c}
.pl .pl-btn{display:inline-flex;align-items:center;gap:10px;min-height:48px;padding:0 22px;font-size:17px}
.pl-link{display:flex;flex-direction:column;align-items:center;gap:4px;padding-top:120px;text-align:center}
.pl-link svg{width:90px;height:46px}
.pl-link span{font-family:'Caveat',cursive;font-size:21px;line-height:1.05;color:#a85565}
.pl-more-h{margin:64px 0 22px;font-weight:400;font-family:'Caveat Brush','Caveat',cursive;font-size:clamp(40px,4vw,58px);color:#262335;transform:rotate(-1deg);transform-origin:left bottom}
@media (max-width:1000px){.pl-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:700px){
  .pl{padding:6px 16px 50px}
  .pl-steps{grid-template-columns:1fr}
  .pl-link{flex-direction:row;padding:20px 0 22px;gap:8px}.pl-link svg{width:52px;height:52px;transform:rotate(80deg)}
  .pl-grid{grid-template-columns:1fr;gap:36px}
  .pl-no{left:-4px}
  .pl .pl-btn{width:100%;justify-content:center;box-sizing:border-box;min-height:52px}
  .pl-more-h{margin-top:46px}
}

/* Home opening: "Welcome to the world of…" above the logo, "by Rob Scotton" below it: one sentence framing the logo */
.w-welcome{display:block;margin:0 0 10px;font-family:'Caveat',cursive;font-size:clamp(30px,2.6vw,40px);line-height:1;color:#a85565;transform:rotate(-2deg);transform-origin:left bottom;white-space:nowrap}
@media (max-width:640px){
  .w-htxt h1{flex-wrap:wrap}
  .w-welcome{flex-basis:100%;font-size:27px;margin:0 0 4px}
}
@media (max-width:420px){
  .w-htxt .w-logo{width:150px}
  .w-by{font-size:23px !important}
  .w-tagline{margin-top:8px !important;font-size:19px !important}
  .w-hacts{margin-top:16px !important}
}

/* play-and-learn.html: "The Power of Play to Learn" for parents and teachers */
.pl-why-jump{margin:14px 0 0;font-size:16px}.pl-why-jump a{color:#a85565;text-decoration:none;border-bottom:1px dashed #a85565}
.pl-why{margin:80px 0 0;padding:44px clamp(20px,4vw,56px) 40px;background:#fffdf9;border-radius:22px;box-shadow:0 24px 50px -34px rgba(43,20,39,.55);scroll-margin-top:24px}
.pl-why h2{margin:2px 0 0;font-weight:400;font-family:'Caveat Brush','Caveat',cursive;font-size:clamp(40px,4.4vw,62px);line-height:1;color:#262335;transform:rotate(-1deg);transform-origin:left bottom}
.pl-why-lead{margin:18px 0 0;max-width:44em;font-size:19px;line-height:1.6;color:#3b3346}
.pl-why-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 56px;margin-top:20px}
.pl-why h3{margin:26px 0 6px;font-weight:400;font-family:'Caveat',cursive;font-size:30px;color:#a85565}
.pl-why p,.pl-why-list li{font-size:16.5px;line-height:1.65;color:#3b3346}
.pl-why p{margin:0 0 12px}
.pl-why-list{margin:0;padding-left:20px}.pl-why-list li{margin:0 0 10px}
.pl-why-src{margin-top:26px;border-top:1px solid #ece4ea;padding-top:14px;font-size:14.5px;color:#6b6372}
.pl-why-src summary{cursor:pointer;font-family:'Caveat',cursive;font-size:22px;color:#262335}
.pl-why-src ul{margin:10px 0 0;padding-left:18px;line-height:1.55}.pl-why-src li{margin:0 0 6px}.pl-why-src a{color:#a85565}
@media (max-width:800px){.pl-why{margin-top:56px;padding:30px 18px 28px}.pl-why-cols{grid-template-columns:1fr}}
