/* ===== Wriggle Bubs felt layer ===== */
:root{--felt:url("/assets/felt/felt-tile.jpg");--thread:rgba(255,255,255,.75);--thread-dark:rgba(59,38,32,.28);
  --c-rex:#7d9a4c;--c-brachi:#b7a2d8;--c-tri:#8fc6e8;--c-duckie:#ffd23f;--c-lulu:#8a5a3b;--c-ru:#f2a7c3;--c-onola:#a9d2f2;--c-ted:#e6d6bd;
  --felt-yellow:#ffce26;--felt-red:#cc1c28;--felt-sky:#bfe0f2;--felt-grass:#8fbf5a}

/* felt texture on every big surface */
body{background-image:var(--felt);background-size:360px;background-blend-mode:soft-light}
.hero,.topic-hero,section.band,.panel,.resource-card,.char-card,.step,.colour-card,footer{background-image:var(--felt);background-size:360px;background-blend-mode:soft-light}

/* sky-blue felt hero with cotton clouds and felt hills */
.hero,.topic-hero{position:relative;background-color:var(--felt-sky)!important;padding-bottom:150px!important;overflow:hidden}
.hero::after,.topic-hero::after{content:"";position:absolute;left:0;right:0;bottom:-2px;height:170px;background:url("/assets/felt/felt-hills.webp") bottom center/auto 170px repeat-x;pointer-events:none}
.felt-cloud{position:absolute;pointer-events:none;width:170px;opacity:.97;filter:drop-shadow(0 6px 6px rgba(40,60,90,.12))}
.felt-prop{position:absolute;pointer-events:none;filter:drop-shadow(0 4px 4px rgba(0,0,0,.18))}
.hero .wrap,.topic-hero .wrap{position:relative;z-index:2}

/* felt-letter headline: yellow felt, red felt outline (like our thumbnails) */
.hero h1,.topic-hero h1{color:var(--felt-yellow);-webkit-text-stroke:.16em var(--felt-red);paint-order:stroke fill;
  letter-spacing:.01em;filter:drop-shadow(0 5px 0 rgba(120,20,25,.35)) drop-shadow(0 10px 10px rgba(30,30,70,.18));line-height:1.12}
.hero h1 span{color:#ffffff;-webkit-text-stroke-color:#d0507a}
.topic-hero .crumbs,.topic-hero .lead,.hero .lead{color:#2c3a4a}
.topic-hero .eyebrow,.hero .eyebrow{color:#245c7a}

/* stitched edges on cards, panels, steps and buttons */
.panel,.resource-card,.char-card,.step,.colour-card,.look li{position:relative;border:none!important;box-shadow:0 3px 0 rgba(59,38,32,.08),0 10px 24px rgba(59,38,32,.08)}
.vid .th{position:relative}.vid .th::before{content:"";position:absolute;inset:6px;border:2px dashed rgba(255,255,255,.8);border-radius:14px;pointer-events:none;z-index:2}
.panel::before,.resource-card::before,.char-card::before,.step::before,.colour-card::before{content:"";position:absolute;inset:7px;border:2px dashed var(--thread-dark);border-radius:calc(var(--r) - 7px);pointer-events:none;z-index:1}
.btn,.download-link.btn,a.btn{position:relative;border-radius:999px!important;box-shadow:0 4px 0 rgba(0,0,0,.18)}
.btn::after{content:"";position:absolute;inset:4px;border:1.5px dashed rgba(255,255,255,.7);border-radius:999px;pointer-events:none}
.look li{border:2px dashed var(--thread-dark)!important;box-shadow:none}

/* felt bands in character colours */
.char-rex .topic-hero{background-color:#cfe3a8!important}
section.band{background-color:#f3ead9}
.char-band{background-color:var(--cc)!important}
.char-band .eyebrow,.char-band h2,.char-band h3,.char-band p{color:#2b2018}
.char-card{background-color:var(--cc,#fffdf9)}
.char-card[data-c]::before{border-color:var(--thread)}

/* scalloped felt edge between sections */
section.band{position:relative}
section.band::before{content:"";position:absolute;left:0;right:0;top:-14px;height:16px;
  background:radial-gradient(circle at 14px 16px,currentColor 13px,transparent 14px) 0 0/28px 16px repeat-x;color:#f3ead9;pointer-events:none}

@media(max-width:700px){.hero,.topic-hero{padding-bottom:120px!important}.felt-cloud{width:110px}.felt-prop{transform:scale(.7)}}
/* stitched felt titles (built by felt-title.js) */
.felt-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
h1.felted{filter:none;-webkit-text-stroke:0;margin-left:-.2em}
.felt-title-svg{display:block;max-width:none;overflow:visible}
.topic-hero .felt-prop[src*="heart"]{display:none}
.topic-hero .felt-cloud[src*="cloud-1"]{top:auto;bottom:150px;right:auto;left:38%;width:120px}
.topic-hero .felt-cloud[src*="cloud-0"]{left:auto;right:30%;top:20px;width:130px}
@media(max-width:700px){.felt-prop{display:none}}
/* main colour: deep teal instead of dark brown (Onome, 20 Nov) */
:root:not([data-theme="dark"]){--ink:#1d5f6b;--pop:#1d5f6b}
@media (prefers-color-scheme: light){:root{--ink:#1d5f6b;--pop:#1d5f6b}}
#wl legend{color:#1d5f6b}.skip-link{background:#1d5f6b}
/* YouTube + Instagram buttons in the top bar (like Ms Rachel) */
.top .social{display:flex;gap:8px;align-items:center}
.top .soc{display:inline-flex;align-items:center;gap:7px;padding:9px 15px;border-radius:999px;color:#fff;text-decoration:none;font-weight:800;font-size:.92rem;position:relative;box-shadow:0 3px 0 rgba(0,0,0,.15)}
.top .soc::after{content:"";position:absolute;inset:3px;border:1.5px dashed rgba(255,255,255,.6);border-radius:999px;pointer-events:none}
.top .soc.yt{background:#e62117}
.top .soc.ig{background:linear-gradient(45deg,#f9a03f,#e1306c 45%,#8a3ab9)}
.top .soc:hover{transform:translateY(-1px)}
/* bigger Bubs in the home banner */
.hero .wrap{grid-template-columns:minmax(0,.85fr) minmax(0,1.3fr)!important;gap:10px}
.hero .art .group{width:122%;max-width:none;margin-left:-8%}
.hero .copy{gap:14px}
@media(max-width:900px){.top .social{margin-left:auto;order:1}.top nav{order:2}.top .soc span{display:none}.top .soc{padding:10px}
  .hero .wrap{grid-template-columns:1fr!important}.hero .art .group{width:112%;margin-left:-6%}}
.hero .art{display:flex;flex-direction:column;align-items:center}
.hero .art .hero-logo{width:min(400px,62%);margin:0 auto -18px;position:relative;z-index:3;filter:drop-shadow(0 8px 10px rgba(30,60,90,.18))}
@media(max-width:900px){.hero .art .hero-logo{width:min(300px,70%);margin-bottom:-10px}}
@media(min-width:901px){
 .top .wrap{flex-wrap:nowrap;gap:10px}
 .top nav{margin-left:auto;gap:2px!important}
 .top nav a{padding:8px 9px;font-size:.9rem}
 .top .social{margin-left:6px}
 .hero .art .group{width:112%;margin-left:0;margin-right:-12%}
 .hero .felt-cloud[src*="cloud-0"]{left:36%!important;top:auto!important;bottom:150px;width:110px!important}
 .hero .felt-prop[src*="star"]{left:auto!important;right:5%;top:250px!important}
 .hero .felt-prop[src*="heart"]{left:auto!important;right:42%;bottom:120px!important}
}
.hero .art .cloud{display:none}

/* calmer hero (20 Nov): fewer things, more breathing room */
@media(min-width:901px){.hero .wrap{grid-template-columns:minmax(0,1fr) minmax(0,1.05fr)!important;gap:40px;align-items:center}}
.hero .art .group,.hero .art .group[class]{width:100%!important;margin:0!important}
.hero .art .hero-logo{width:min(300px,55%)!important;margin-bottom:-8px!important}
.hero h1{font-size:clamp(2.4rem,4.4vw,3.6rem)!important}
.hero .copy{gap:22px;max-width:520px}
.hero .lead{font-size:1.15rem}
/* YouTube + Instagram: real logos, no text */
.top .soc,.top .soc.yt,.top .soc.ig{background:none!important;padding:4px!important;box-shadow:none!important;border-radius:10px}
.top .soc::after{display:none}
.top .soc:hover{transform:translateY(-1px) scale(1.06)}
.top .soc svg{display:block}
.top .social{gap:6px}
@media(max-width:900px){.hero .art .group{width:100%!important}}
@media(max-width:900px){
 .hero .wrap{grid-template-columns:1fr!important;gap:18px}
 .hero .art{order:-1}
 .hero .art .hero-logo{width:min(240px,60%)!important}
 .hero h1{font-size:clamp(2rem,9vw,2.6rem)!important}
 .hero .copy{max-width:none}
 .hero .ctas{flex-wrap:wrap}
}
/* sky -> grass -> sky instead of cream (20 Nov) */
:root{--grass:#a9cf76;--grass-deep:#5f963b;--sky2:#bfe0f2}
#families,#watch,#calm{background-color:var(--grass)!important;background-image:var(--felt);background-size:360px;background-blend-mode:soft-light}
#families{background-image:linear-gradient(var(--grass-deep),var(--grass) 170px),var(--felt)!important;background-size:auto,360px!important;background-repeat:no-repeat,repeat!important;padding-top:70px}
#calm{position:relative;padding-bottom:200px!important;background-image:linear-gradient(var(--grass) calc(100% - 190px),var(--grass-deep)),var(--felt)!important;background-size:auto,360px!important;background-repeat:no-repeat,repeat!important}
#watch::before,#calm::before{display:none!important}
#families .eyebrow,#watch .eyebrow,#calm .eyebrow{color:#2f5a1c}
#families .lead,#watch .lead,#calm .lead,#watch .vid p,#watch .tag{color:#2f4220}
#watch .vid h3{color:#1d3d14}
#watch a.go,#watch .more a,#watch p a{color:#1d4d1a}
#resources,#updates,#about{background-color:var(--sky2)!important;background-image:var(--felt);background-size:360px;background-blend-mode:soft-light}
#updates::before{display:none!important}
#resources{position:relative;padding-top:190px!important}
#resources::before{content:"";position:absolute;left:0;right:0;top:-2px;height:170px;background:url("/assets/felt/felt-hills-down.webp") top center/auto 170px repeat-x;pointer-events:none}
#resources .eyebrow,#updates .eyebrow,#about .eyebrow{color:#245c7a}
footer{background-color:#1d5f6b!important;background-image:var(--felt);background-size:360px;background-blend-mode:soft-light;color:#e8f4f2!important}
footer a{color:#fff!important}
/* one even grass texture across the middle; dark-green blends as overlays */
#families,#calm{background-image:var(--felt)!important;background-size:360px!important;background-repeat:repeat!important}
#families,#watch,#calm,#resources,#updates,#about{border:0!important}
#families{position:relative}
#families::before{content:"";position:absolute;left:0;right:0;top:0;height:170px;background:linear-gradient(var(--grass-deep),rgba(169,207,118,0));pointer-events:none}
#calm::after{content:"";position:absolute;left:0;right:0;bottom:0;height:190px;background:linear-gradient(rgba(169,207,118,0),var(--grass-deep));pointer-events:none}
#families>.wrap,#calm>.wrap{position:relative;z-index:1}

/* felt clouds drifting in the lower sky */
#resources,#updates,#about{position:relative;overflow:hidden}
#resources>.wrap,#updates>.wrap,#about>.wrap{position:relative;z-index:1}
.sky-cloud{z-index:0;opacity:.95;animation:drift 38s ease-in-out infinite alternate}
.sky-cloud:nth-of-type(2n){animation-duration:46s;animation-direction:alternate-reverse}
@keyframes drift{from{transform:translateX(-18px)}to{transform:translateX(22px)}}
@media (prefers-reduced-motion:reduce){.sky-cloud{animation:none}}
@media(max-width:700px){.sky-cloud{width:90px!important}}

/* felt flowers dotted through the grass (placeholders until the video flowers are swapped in) */
#watch{position:relative}
#families,#watch,#calm{overflow:hidden}
.grass-flower,.hill-flower{position:absolute;pointer-events:none;z-index:0;filter:drop-shadow(0 4px 3px rgba(40,70,20,.25))}
.hill-flower{z-index:1}
#watch>.wrap{position:relative;z-index:1}
.grass-flower:nth-of-type(odd){transform:rotate(-8deg)}.grass-flower:nth-of-type(even){transform:rotate(7deg)}
@media(max-width:1200px){.grass-flower{opacity:.9;width:36px!important}}
@media(max-width:700px){.grass-flower:nth-of-type(n+3){display:none}.hill-flower{width:32px!important}}
/* ===== inner pages: sky hero -> grass -> sky (20 Nov) ===== */
.felt-zone{position:relative;overflow:hidden;border:0!important;background-image:var(--felt)!important;background-size:360px!important;background-blend-mode:soft-light}
.felt-zone>.wrap{position:relative;z-index:1}
.felt-zone::before{display:none}
.felt-grass{background-color:var(--grass)!important}
.felt-grass::after{content:"";position:absolute;left:0;right:0;top:0;height:150px;background:linear-gradient(var(--grass-deep),rgba(169,207,118,0));pointer-events:none;z-index:0}
.felt-grass .eyebrow{color:#2f5a1c}.felt-grass .lead,.felt-grass>.wrap>p{color:#2f4220}
.felt-sky{background-color:var(--sky2)!important}
.felt-sky .eyebrow{color:#245c7a}
.felt-hills-top{padding-top:190px!important}
.felt-hills-top::before{display:block!important;content:"";position:absolute;left:0;right:0;top:-2px;height:170px;background:url("/assets/felt/felt-hills-down.webp") top center/auto 170px repeat-x;pointer-events:none;z-index:0}
/* the grass section needs a little extra room at the bottom so the hills have grass to hang from */
.felt-grass{padding-bottom:110px!important}
.topic-hero .hill-flower{position:absolute;z-index:3;pointer-events:none;filter:drop-shadow(0 4px 3px rgba(40,70,20,.25))}
.felt-zone .grass-flower{z-index:0}
.felt-zone .felt-cloud{z-index:0}
@media(max-width:700px){.topic-hero .hill-flower{width:30px!important}.felt-zone .grass-flower,.felt-zone .felt-cloud{display:none}.felt-hills-top{padding-top:150px!important}}
/* pages without sections (privacy, thank you) sit on sky felt too */
body{background-color:var(--sky2)!important}
section.felt-zone.felt-hills-top::before{display:block!important;content:""!important;top:-2px!important;height:170px!important;background:url("/assets/felt/felt-hills-down.webp") top center/auto 170px repeat-x!important;color:transparent!important}
section.felt-zone:not(.felt-hills-top)::before{display:none!important}
.felt-grass{box-shadow:inset 0 -170px 110px -70px var(--grass-deep)!important}
@media(max-width:700px){.wrap.article-body{padding-left:max(16px,env(safe-area-inset-left,0px))!important;padding-right:max(16px,env(safe-area-inset-right,0px))!important}}
/* ===== Ru's aquarium page: deep aquarium blues with the same light rays as the video (20 Nov) ===== */
.aqua{--navy:#1c3a86;--ocean:#21539f;--glass:#8fd0ea}
.aqua .topic-hero,.aqua .felt-zone{background-color:var(--navy)!important;box-shadow:none!important}
.aqua .felt-zone:nth-of-type(even){background-color:var(--ocean)!important}
/* light rays from the surface, like the aquarium window */
.aqua .topic-hero::before,.aqua .felt-zone::after{content:"";position:absolute;inset:0 0 auto 0;height:520px;pointer-events:none;z-index:0;
  background:repeating-linear-gradient(100deg,rgba(255,255,255,0) 0 70px,rgba(190,235,255,.16) 70px 120px,rgba(255,255,255,0) 120px 210px,rgba(190,235,255,.10) 210px 240px,rgba(255,255,255,0) 240px 330px);
  -webkit-mask:linear-gradient(#000,transparent);mask:linear-gradient(#000,transparent)}
.aqua .felt-zone::after{display:block!important;height:420px}
/* bubbles */
.aqua .topic-hero::after,.aqua .felt-zone.felt-sky::before,.aqua .felt-zone.felt-grass::before{content:""!important;display:block!important;position:absolute!important;inset:0!important;height:auto!important;pointer-events:none;z-index:0;background:
  radial-gradient(circle at 8% 70%,transparent 9px,rgba(255,255,255,.55) 10px 12px,transparent 13px),
  radial-gradient(circle at 10% 52%,transparent 5px,rgba(255,255,255,.45) 6px 7px,transparent 8px),
  radial-gradient(circle at 93% 30%,transparent 11px,rgba(255,255,255,.5) 12px 14px,transparent 15px),
  radial-gradient(circle at 90% 46%,transparent 6px,rgba(255,255,255,.4) 7px 8px,transparent 9px),
  radial-gradient(circle at 47% 88%,transparent 7px,rgba(255,255,255,.35) 8px 9px,transparent 10px)!important;
  -webkit-mask:none;mask:none}
.aqua .felt-hills-top{padding-top:90px!important}
.aqua .topic-hero{padding-bottom:70px!important}
.aqua .topic-hero .hill-flower,.aqua .topic-hero .felt-cloud,.aqua .felt-zone .felt-cloud,.aqua .felt-zone .grass-flower{display:none}
.aqua .topic-hero .wrap,.aqua .felt-zone>.wrap{position:relative;z-index:1}
/* light text on the dark water */
.aqua .topic-hero .crumbs,.aqua .topic-hero .crumbs a,.aqua .topic-hero .lead,.aqua .felt-zone .lead,.aqua .felt-zone>.wrap>p{color:#e3f3fb!important}
.aqua .topic-hero .eyebrow,.aqua .felt-zone .eyebrow{color:#9fe0f5!important}
.aqua .felt-zone h2,.aqua .felt-zone .sec-head h2{color:#fff!important}
.aqua .felt-zone .steps .step h3,.aqua .felt-zone .step p{color:inherit}
.aqua .btn{background:#ffce26!important;color:#1c2a55!important}
.aqua .btn::after{border-color:rgba(28,42,85,.45)!important}
.aqua .vid h3{color:#fff}.aqua .vid p{color:#cfe6f3}
/* sandy felt sea floor at the bottom of the last section */
.aqua .felt-zone:last-of-type{padding-bottom:120px!important}
.aqua .felt-zone:last-of-type .wrap::after{content:"";display:block;height:0}
/* ===== HD felt finish (22 Nov): real felt textures, the garden flowers from Where's Ted, moving flowers, hide-and-seek Duckie ===== */
body,.hero,.topic-hero,section.band,.panel,.resource-card,.char-card,.step,.colour-card,footer,.felt-zone{background-size:520px!important}
/* flowers sway gently like in the videos; tap one and it wiggles */
.hill-flower,.grass-flower{transform-origin:50% 100%;animation:sway 5.5s ease-in-out infinite;pointer-events:auto!important;cursor:pointer;-webkit-tap-highlight-color:transparent}
.hill-flower:nth-of-type(2n),.grass-flower:nth-of-type(2n){animation-duration:6.5s;animation-delay:-2s}
.hill-flower:nth-of-type(3n),.grass-flower:nth-of-type(3n){animation-duration:4.8s;animation-delay:-3.5s}
@keyframes sway{0%,100%{transform:rotate(-5deg) scale(1.45)}50%{transform:rotate(5deg) scale(1.45)}}
.hill-flower.wiggle,.grass-flower.wiggle{animation:wiggle .9s ease-in-out}
@keyframes wiggle{0%,100%{transform:rotate(0) scale(1.45)}20%{transform:rotate(-14deg) scale(1.6)}45%{transform:rotate(12deg) scale(1.6)}70%{transform:rotate(-7deg) scale(1.5)}}
/* Duckie plays hide and seek behind the hills */
.peek-duckie{position:absolute;bottom:58px;width:96px;z-index:0;transform:translateY(130%);transition:transform .9s cubic-bezier(.3,1.4,.5,1);cursor:pointer;filter:drop-shadow(0 4px 4px rgba(40,70,20,.25));-webkit-tap-highlight-color:transparent}
.peek-duckie.up{transform:translateY(18%)}
.peek-duckie.up.bob{animation:duckbob 1.6s ease-in-out infinite}
@keyframes duckbob{0%,100%{transform:translateY(18%) rotate(-3deg)}50%{transform:translateY(12%) rotate(3deg)}}
.peek-duckie.wobble{animation:duckwobble .7s ease-in-out}
@keyframes duckwobble{0%,100%{transform:translateY(18%) rotate(0)}25%{transform:translateY(8%) rotate(-12deg)}60%{transform:translateY(8%) rotate(12deg)}}
.hero>.wrap,.topic-hero>.wrap{position:relative;z-index:2}
@media(max-width:700px){.peek-duckie{width:64px;bottom:40px}}
/* Ru's aquarium: the felt water with the video's sunbeams, shimmering */
.aqua .topic-hero,.aqua .felt-zone{background-image:url("/assets/felt/felt-aqua-bg.webp")!important;background-size:cover!important;background-position:center top!important;background-blend-mode:normal!important}
.aqua .felt-zone:nth-of-type(even){background-image:linear-gradient(rgba(33,83,159,.25),rgba(28,58,134,.25)),url("/assets/felt/felt-aqua-bg.webp")!important}
.aqua .topic-hero::before,.aqua .felt-zone::after{background:radial-gradient(ellipse 60% 75% at 50% -8%,rgba(190,245,255,.38),rgba(190,245,255,0) 70%)!important;height:100%!important;animation:shimmer 7s ease-in-out infinite;-webkit-mask:none!important;mask:none!important}
@keyframes shimmer{0%,100%{opacity:.55;transform:skewX(-3deg)}50%{opacity:1;transform:skewX(3deg)}}
.aqua .peek-duckie{bottom:auto;top:38%;width:110px;transform:translateX(-160px);transition:none}
.aqua .peek-duckie.swim{animation:duckswim 16s linear forwards}
@keyframes duckswim{0%{left:-140px;transform:translateY(0) rotate(-4deg)}25%{transform:translateY(-14px) rotate(4deg)}50%{transform:translateY(0) rotate(-4deg)}75%{transform:translateY(-14px) rotate(4deg)}100%{left:105%;transform:translateY(0) rotate(-4deg)}}
@media (prefers-reduced-motion:reduce){.hill-flower,.grass-flower,.aqua .topic-hero::before,.aqua .felt-zone::after{animation:none}.peek-duckie{transition:none}.peek-duckie.up.bob,.aqua .peek-duckie.swim{animation:none}}
/* tulips are tall: keep them small so they never cover the Bubs */
.hill-flower[src*="flower-blue"]{width:26px!important}.grass-flower[src*="flower-blue"]{width:34px!important}
/* aquarium: sunbeams at the top of each section, fading into deep water; Duckie stays low and behind the words and Ru */
.aqua .topic-hero,.aqua .felt-zone{background:var(--navy) url("/assets/felt/felt-aqua-bg.webp") center top/100% auto no-repeat!important}
.aqua .felt-zone:nth-of-type(even){background:var(--navy) linear-gradient(rgba(28,58,134,.45),rgba(28,58,134,.45)) center top/100% auto no-repeat,var(--navy) url("/assets/felt/felt-aqua-bg.webp") center top/100% auto no-repeat!important}
.aqua .topic-hero>*:not(.peek-duckie){position:relative;z-index:2}
.aqua .peek-duckie{z-index:1;width:96px}
.aqua .felt-zone:nth-of-type(even),.aqua .felt-zone.felt-sky,.aqua .felt-zone.felt-grass{background:url("/assets/felt/felt-aqua-bg.webp") center top/100% auto no-repeat var(--navy)!important}
.aqua .felt-zone:nth-of-type(even){background:linear-gradient(rgba(20,40,110,.35),rgba(20,40,110,.35)),url("/assets/felt/felt-aqua-bg.webp") center top/100% auto no-repeat var(--navy)!important}
/* Duckie peeks over the hill ridge (sits just behind the front hills) */
.hero .peek-duckie,.topic-hero .peek-duckie{bottom:96px;transform:translateY(115%)}
.hero .peek-duckie.up,.topic-hero .peek-duckie.up{transform:translateY(2%)}
@keyframes duckbob{0%,100%{transform:translateY(2%) rotate(-3deg)}50%{transform:translateY(-4%) rotate(3deg)}}
@keyframes duckwobble{0%,100%{transform:translateY(2%) rotate(0)}25%{transform:translateY(-8%) rotate(-12deg)}60%{transform:translateY(-8%) rotate(12deg)}}
@media(max-width:700px){.hero .peek-duckie,.topic-hero .peek-duckie{bottom:70px}}
.hero .peek-duckie.up,.topic-hero .peek-duckie.up{transform:translateY(-14%)}
@keyframes duckbob{0%,100%{transform:translateY(-14%) rotate(-3deg)}50%{transform:translateY(-20%) rotate(3deg)}}
@keyframes duckwobble{0%,100%{transform:translateY(-14%) rotate(0)}25%{transform:translateY(-24%) rotate(-12deg)}60%{transform:translateY(-24%) rotate(12deg)}}
/* ===== gentle life (22 Nov): clouds float, the Bubs wiggle and breathe ===== */
.felt-cloud:not(.sky-cloud){animation:float 9s ease-in-out infinite}
.felt-cloud:not(.sky-cloud):nth-of-type(2n){animation-duration:12s;animation-delay:-4s}
@keyframes float{0%,100%{transform:translate(0,0)}50%{transform:translate(14px,-6px)}}
.bubs-move{position:relative;display:block}
.bubs-move .bub{display:block;width:100%;height:auto;transform-box:fill-box;will-change:transform}
.bubs-move .bub+.bub{position:absolute;inset:0}
/* each Bub moves in their own way; pivot at their feet */
.bubs-move .b1{transform-origin:14% 100%;animation:bubsway 4.2s ease-in-out infinite}          /* Lulu: sways */
.bubs-move .b2{transform-origin:37% 100%;animation:bubbounce 2.6s ease-in-out infinite}        /* Ru: little bounce */
.bubs-move .b3{transform-origin:58% 100%;animation:bubtilt 3.6s ease-in-out infinite -1s}      /* Onola: head tilt */
.bubs-move .b4{transform-origin:84% 100%;animation:bubrock 3.2s ease-in-out infinite -2s}      /* Jozo and Ted: cuddly rock */
@keyframes bubsway{0%,100%{transform:rotate(-1.6deg)}50%{transform:rotate(1.6deg)}}
@keyframes bubbounce{0%,100%{transform:translateY(0) scaleY(1)}40%{transform:translateY(-7px) scaleY(1.015)}60%{transform:translateY(-6px)}}
@keyframes bubtilt{0%,100%{transform:rotate(1.4deg) translateY(0)}50%{transform:rotate(-1.4deg) translateY(-3px)}}
@keyframes bubrock{0%,100%{transform:rotate(-1.2deg) scale(1)}50%{transform:rotate(1.2deg) scale(1.012)}}
.bubs-move .bub.hop{animation:bubhop .7s ease-out}
@keyframes bubhop{0%,100%{transform:translateY(0)}35%{transform:translateY(-22px) rotate(-3deg)}65%{transform:translateY(-6px) rotate(2deg)}}
/* single Bub pictures on other pages breathe and sway a little */
.char-hero{transform-origin:50% 100%;animation:bubbreath 4s ease-in-out infinite}
@keyframes bubbreath{0%,100%{transform:translateY(0) rotate(-1deg) scale(1)}50%{transform:translateY(-6px) rotate(1deg) scale(1.015)}}
@media (prefers-reduced-motion:reduce){.felt-cloud,.bubs-move .bub,.char-hero{animation:none!important}}
/* aquarium Duckie is steered by felt-duckie.js (dips under and rises over the words, floats over Ru's head) */
.aqua .peek-duckie,.aqua .topic-hero .peek-duckie{left:0!important;top:0!important;bottom:auto!important;transform:translate(-300px,0);transition:none!important;animation:none!important;z-index:3!important;pointer-events:auto}
.aqua .topic-hero .peek-duckie{width:78px}
.aqua .topic-hero{padding-top:56px!important}
/* Duckie swims BEHIND Ru's fronds (Ru is drawn on top of her) */
.aqua .peek-duckie,.aqua .topic-hero .peek-duckie{z-index:1!important}
.aqua .topic-hero .char-hero{position:relative;z-index:2}
/* dry Duckie (no mask) is a little smaller, true to scale */
.hero .peek-duckie,.topic-hero .peek-duckie{width:84px}
@media(max-width:700px){.hero .peek-duckie,.topic-hero .peek-duckie{width:58px}}
.aqua .topic-hero .peek-duckie{width:78px}
/* new textured Bubs (from the character reference pictures): pivot each at their own feet */
.bubs-move .b1{transform-origin:12.5% 99%}.bubs-move .b2{transform-origin:37.1% 99%}
.bubs-move .b3{transform-origin:59.7% 99%}.bubs-move .b4{transform-origin:85.9% 99%}
.hero .bubs-move{margin-top:30px}
/* 404: Rex looks around, puzzled */
.rex-lost{transform-origin:45% 95%;animation:rexlook 3.6s ease-in-out infinite}
@keyframes rexlook{0%,100%{transform:rotate(-4deg)}45%{transform:rotate(5deg) translateY(-3px)}55%{transform:rotate(5deg) translateY(-3px)}}
@media (prefers-reduced-motion:reduce){.rex-lost{animation:none}}
/* thank-you page: Ted and a smiling Duckie under floating clouds */
.thanks{padding:70px 0 90px!important;min-height:520px}
.thanks-pals{display:flex;justify-content:center;align-items:flex-end;gap:18px;margin-bottom:14px}
.thanks-pals .pal{display:block;height:auto}
.pal-ted{transform-origin:50% 100%;animation:bubsway 4.4s ease-in-out infinite}
.pal-duck{transform-origin:50% 100%;animation:duckhappy 2.6s ease-in-out infinite}
@keyframes duckhappy{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-8px) rotate(3deg)}}
@media(max-width:700px){.pal-ted{width:140px}.pal-duck{width:110px}}
@media (prefers-reduced-motion:reduce){.pal-ted,.pal-duck{animation:none}}
/* felt lettering anywhere (same as "Big feelings. Brighter days.") */
.felt-h{font-family:var(--display);color:var(--felt-yellow);-webkit-text-stroke:.16em var(--felt-red);paint-order:stroke fill;letter-spacing:.01em;filter:drop-shadow(0 5px 0 rgba(120,20,25,.35)) drop-shadow(0 10px 10px rgba(30,30,70,.18));line-height:1.12;font-size:clamp(2.4rem,4.4vw,3.6rem)!important;margin:6px auto}
.felt-h span{color:#ffffff;-webkit-text-stroke-color:#d0507a}
.felt-h .felt-title-svg{margin:0 auto}
@media(max-width:700px){.felt-h{font-size:clamp(2rem,9vw,2.6rem)!important}}
