/* Bowlby One without the specks and 1-unit jogs that a thick stroke turns into spikes; renamed, as its license asks */
@font-face{font-family:"Paper Twins Loud";src:url(/fonts/paper-twins-loud.woff2) format("woff2");font-display:swap}
@font-face{font-family:"Patrick Hand";src:url(/fonts/patrick-hand.woff2) format("woff2");font-display:swap}
:root{--ink:#1F1A14;--paper:#F7EBCB;--mustard:#E0B04A;--green:#2E6B43;--red:#A63A2B;--blue:#2F6C86;--sky:#CFE3EA;--pink:#F3B9A6;--cap:#FFE9A8;
  --loud:"Paper Twins Loud","Arial Black",sans-serif;--hand:"Patrick Hand","Comic Sans MS",cursive;color-scheme:light}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0;background:var(--paper);color:var(--ink);font:400 20px/1.3 var(--hand);overflow-x:clip;min-height:100svh;display:flex;flex-direction:column}
body>.in{width:100%;flex:1}
h1,h2,p{margin:0} img{display:block}
a{color:inherit}
:focus-visible{outline:4px solid var(--blue);outline-offset:3px}
.in{max-width:1288px;margin:0 auto;padding-left:max(24px,env(safe-area-inset-left));padding-right:max(24px,env(safe-area-inset-right))}
/* the cover of a comic: the corner box, the title, the language key */
header{display:grid;grid-template-columns:124px minmax(0,1fr) auto;padding:18px 0 16px}
header>div{border:5px solid var(--ink);min-width:0}header>div+div{border-left:0}
.corner{background:var(--mustard);display:grid;align-content:center;justify-items:center;gap:3px;padding:6px;font:400 17px/1 var(--loud)}.corner img{width:62px;height:auto}
.title{display:flex;align-items:center;padding:12px 26px;min-height:104px;background:radial-gradient(#0002 24%,#0000 26%) 0 0/11px 11px,var(--blue)}
.title a{font:400 clamp(27px,4.2vw,54px)/1 var(--loud);letter-spacing:-.01em;color:#fff;-webkit-text-stroke:7px var(--ink);paint-order:stroke fill;text-decoration:none;text-wrap:balance}
.langs{background:#fff;display:grid;place-items:center;padding:10px 20px}
.langs nav{display:inline-flex;border:4px solid var(--ink)}
.langs nav>*{display:inline-flex;align-items:center;min-height:44px;padding:0 15px;font-size:20px;line-height:1;text-decoration:none;white-space:nowrap}
.langs span{background:var(--ink);color:#fff}.langs span::before{content:"✓";content:"✓" / "";margin-right:7px}
.langs a:hover{background:var(--cap)}
footer nav a{display:inline-flex;align-items:center;min-height:44px;padding:0 10px;text-underline-offset:4px}

/* the strip: every size is a share of its width, so the whole page is one drawing that scales */
main{container-type:inline-size}
.g{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:1.413cqw;position:relative}
.p{position:relative;border:clamp(4px,.45cqw,6px) solid var(--ink);background:#fff;overflow:hidden;min-width:0;height:31.8cqw}
.o{overflow:visible}.clip,.dots{position:absolute;inset:0;overflow:hidden}
.p:has(.bg){background:var(--sky)}
.bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.pup{position:absolute;left:25.8cqw;bottom:1.1cqw;height:14.6cqw;width:auto}
.dots,.who,.fin{background:radial-gradient(#0002 24%,#0000 26%) 0 0/11px 11px,var(--c)}
.mustard{--c:var(--mustard)}.sky{--c:var(--sky)}.pink{--c:var(--pink)}
.c4{grid-column:span 4}.c5{grid-column:span 5}.c6{grid-column:span 6}.c8{grid-column:span 8}
.t{grid-column:span 7;height:41.5cqw;padding:3cqw}.r1{height:41.5cqw}
.t h1{position:relative;font:400 10.4cqw/.84 var(--loud);letter-spacing:-.02em;color:#fff;-webkit-text-stroke:.44cqw var(--ink);paint-order:stroke fill;filter:drop-shadow(.5cqw .5cqw 0 var(--ink))}
.pitch,.cp,.bal{text-wrap:balance}
.nb{white-space:nowrap}
.pitch{position:relative;width:22.4cqw;font-size:clamp(17px,2.3cqw,28px);line-height:1.15;margin-top:2.3cqw;background:#fff;border:3px solid var(--ink);padding:.8cqw 1.3cqw}
.t .b{position:absolute;right:1.2cqw;bottom:.6cqw;height:31.6cqw;width:auto}
.hat{position:absolute;left:43.4cqw;top:-.6cqw;width:11.4cqw;height:auto;z-index:5;filter:drop-shadow(3px 5px 0 #0003)}
.hop{animation:hop 2.6s ease-in-out infinite alternate}@keyframes hop{from{transform:translateY(0) rotate(-12deg)}to{transform:translateY(-14px) rotate(13deg)}}
.cp{position:absolute;left:0;top:0;z-index:3;max-width:88%;background:var(--cap);border:solid var(--ink);border-width:0 4px 4px 0;padding:.5em .75em;font-size:clamp(17px,1.95cqw,24px);line-height:1.2}
.shot{position:absolute;inset:0}
.area{position:absolute;left:54.2%;top:55%;width:44.6%;height:43.8%;border-radius:10px;border:3.5px dashed #C4E8FF;background:#96D2FF33;box-shadow:0 0 0 1px #1F1A1473,inset 0 0 0 1px #1F1A1440,0 0 16px 3px #8FD3FFb0;animation:hint 1.1s ease-in-out infinite alternate}@keyframes hint{from{opacity:.75}to{opacity:1;background-color:#96D2FF59}}
.tip{display:flex;align-items:center;gap:.6em}
.key{position:relative;flex:none;display:grid;place-items:center;width:1.9em;height:1.9em;border-radius:50%;background:var(--ink)}.key svg{width:62%;height:62%}.key b{position:absolute;right:-.3em;top:-.25em;min-width:1.25em;border-radius:1em;background:#fff;border:2px solid var(--ink);font:400 .62em/1.15 var(--loud);text-align:center}
.who{display:flex;flex-direction:column;align-items:center;gap:1.6cqw;padding:1.7cqw 1.6cqw 0}
.bal{position:relative;z-index:4;background:#fff;border:4px solid var(--ink);border-radius:32px;padding:.45em .8em;font-size:clamp(17px,2.1cqw,26px);line-height:1.12;text-align:center;max-width:100%}
.bal::before,.bal::after{content:"";position:absolute;left:44%;top:100%;border:solid #0000;border-width:22px 14px 0 4px;border-top-color:var(--ink)}
.bal::after{border-width:15px 9px 0 3px;border-top-color:#fff;margin:-1px 0 0 4.5px}
.fig{flex:1 1 0;min-height:0;width:100%;object-fit:contain;object-position:50% 100%;margin-top:14px}.fig.low{padding:0 6%;margin-bottom:1.4cqw}
/* her head is just under the balloon's tail (22px), at any width */
.sky .fig{margin:calc(25px - 1.6cqw) 0 max(0px,1.6cqw - 11px)}
.pow{position:absolute;z-index:4;font:400 clamp(24px,4.5cqw,56px)/1 var(--loud);color:#fff;-webkit-text-stroke:3px var(--ink);paint-order:stroke fill;padding:.85em .92em;clip-path:polygon(50% 0,60% 20%,78% 6%,78% 26%,100% 24%,86% 44%,100% 60%,80% 64%,84% 90%,62% 76%,48% 100%,38% 78%,16% 92%,20% 66%,0 62%,14% 46%,0 24%,22% 28%,22% 6%,40% 20%)}
.pow.red{background:var(--red);right:-1.6cqw;top:-2.6cqw;rotate:8deg}.pow.green{background:var(--green);left:-1.6cqw;bottom:-3cqw;rotate:-6deg}
.fin{--c:var(--blue);grid-column:1/-1;height:33.6cqw;color:#fff;display:grid;grid-template-columns:minmax(0,1fr) 27cqw;gap:2cqw;align-items:center;padding:0 3.5cqw}
.fin h2{font:400 clamp(30px,5.4cqw,66px)/.98 var(--loud);-webkit-text-stroke:.35cqw var(--ink);paint-order:stroke fill;text-wrap:balance}
.fin p{font-size:clamp(18px,2.2cqw,27px);margin-top:1.2cqw}.fin .hop{width:100%;height:auto}
.cta{display:inline-block;margin-top:1.1em;background:var(--red);color:#fff;border:4px solid var(--ink);box-shadow:6px 6px 0 var(--ink);font:400 clamp(17px,2.3cqw,28px)/1.1 var(--loud);text-decoration:none;padding:.72em .95em}
a.cta{transition:transform .12s,box-shadow .12s}a.cta:hover{transform:translate(4px,4px);box-shadow:2px 2px 0 var(--ink)}
.path{position:absolute;inset:0;width:100%;height:100%;z-index:2;pointer-events:none;overflow:visible}
.path path{animation:fly 2.4s linear infinite}@keyframes fly{to{stroke-dashoffset:-36}}

footer{margin-top:clamp(18px,2vw,28px);background:var(--ink);color:var(--paper);padding-bottom:env(safe-area-inset-bottom)}
footer .in{display:flex;flex-wrap:wrap;gap:2px 26px;justify-content:space-between;align-items:center;padding-block:10px}footer nav{margin:0 -10px}
footer :focus-visible{outline-color:var(--mustard)}

/* privacy, support, 404 */
.band{height:auto;min-height:190px;display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:26px 30px 0;margin-bottom:16px;border-width:5px}
.band .dots{--c:var(--mustard)}.support .dots{--c:var(--pink)}
.band h1{position:relative;align-self:center;padding-bottom:26px;min-width:0;font:400 clamp(34px,7cqw,74px)/.95 var(--loud);color:#fff;-webkit-text-stroke:4px var(--ink);paint-order:stroke fill;overflow-wrap:anywhere}
.band img{position:relative;flex:none;height:200px;width:auto;margin-bottom:-60px}.support img{height:140px;margin-bottom:8px}
.text{height:auto;border-width:5px;padding:clamp(22px,4cqw,48px) clamp(18px,5cqw,64px);font:400 18px/1.6 ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}
.text>*{max-width:68ch}.text p+p{margin-top:1em}
.text h2{width:fit-content;font:400 24px/1.15 var(--hand);background:var(--cap);border:3px solid var(--ink);padding:.3em .7em;margin:1.6em 0 .7em}
.text a{color:var(--blue);overflow-wrap:anywhere}
.lost{height:auto;min-height:min(560px,74vh);display:flex;align-items:center;padding:40px 5cqw;border-width:5px}.lost .dots{--c:var(--sky)}
.lost>div:not(.dots){position:relative;max-width:56cqw}.lost h1{font:400 clamp(36px,6.6cqw,78px)/.95 var(--loud);color:#fff;-webkit-text-stroke:4px var(--ink);paint-order:stroke fill}
.lost p{font-size:24px;margin-top:18px}.lost .b{position:absolute;right:6cqw;bottom:-6px;height:74%;width:auto}.lost .hop{position:absolute;right:22cqw;top:5%;width:150px;height:auto}

/* the wind that changes the language (wind.js) */
.wind{position:absolute;left:0;right:0;top:0;z-index:50;overflow:hidden;pointer-events:none}.wind div{position:absolute;inset:0}
.wind span{position:absolute;translate:-50% -50%;white-space:pre}.wind i{position:absolute;left:0;height:4px;border-radius:4px;background:var(--ink)}.wind img{position:absolute;height:auto;filter:drop-shadow(3px 5px 0 #0003)}

/* phones, and the open iPhone Duo: one panel under the other, each scene whole */
@media (max-width:699.98px){
body{font-size:19px}.in{padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right))}
header{grid-template-columns:90px minmax(0,1fr);padding:12px 0}header>div{border-width:4px}.corner{font-size:16px;padding:6px 2px}.corner img{width:46px}.title{padding:10px 14px;min-height:88px}.title a{font-size:clamp(21px,7.2vw,46px);-webkit-text-stroke-width:5px}.langs{grid-column:1/-1;border-left:4px solid var(--ink)!important;border-top:0;padding:6px}
/* the key is 40% smaller here; ::after keeps the finger's 44px */
.langs nav{border-width:3px}.langs nav>*{min-height:25px;padding:0 5.25px;font-size:14px}.langs span::before{margin-right:4px}.langs a{position:relative}.langs a::after{content:"";position:absolute;inset:-10px -3px}
.g{gap:12px}.p{grid-column:1/-1;height:auto;border-width:4px}
.path{display:none}
.p:has(.bg){aspect-ratio:1200/760}
.p:has(.cp){aspect-ratio:auto;display:flex;flex-direction:column-reverse}.p:has(.cp) .bg{position:static;height:auto;aspect-ratio:1200/760}
.cp{position:static;max-width:none;border-width:0 0 4px;font-size:19px;padding:8px 12px}
.t{height:auto;min-height:min(154cqw,690px);padding:20px}.t h1{font-size:min(19.6cqw,104px);-webkit-text-stroke-width:5px;filter:drop-shadow(5px 5px 0 var(--ink))}
.pitch{width:min(56cqw,320px);font-size:clamp(19px,5.4cqw,26px);margin-top:20px;padding:9px 13px}
.t .b{height:min(72cqw,336px);right:1.5cqw;bottom:min(2.4cqw,12px)}.pup{left:4.5cqw;bottom:min(3cqw,16px);height:min(42cqw,196px)}.hat{left:auto;right:min(9cqw,42px);top:auto;bottom:min(75cqw,350px);width:min(26cqw,118px)}.shot{position:relative}
.half{grid-column:span 6}.who{padding:12px 10px 0;gap:8px;min-height:300px}.bal{font-size:clamp(17px,4.7cqw,24px);border-radius:24px;border-width:3.5px;padding:9px 10px}.fig{flex:0 1 auto;height:150px;margin-top:auto}.fig.low{height:110px;margin-bottom:12px;padding:0}.sky .fig{margin:17px 0 auto}
.pow{font-size:clamp(26px,8cqw,48px);-webkit-text-stroke-width:2.5px}.pow.red{right:-6px;top:-20px}.pow.green{left:-6px;bottom:-26px;z-index:6}
.p:has(.green)+.p .cp{padding-top:18px}
.fin{height:auto;grid-template-columns:1fr;padding:26px 20px 14px;gap:14px}.fin h2{font-size:clamp(32px,10.4cqw,64px);-webkit-text-stroke-width:4px}.fin p{font-size:21px;margin-top:12px}.fin .hop{width:min(58%,260px);margin:6px auto 0}.cta{font-size:clamp(16px,5cqw,24px)}
footer .in{flex-direction:column;align-items:flex-start;padding-left:max(16px,env(safe-area-inset-left))}
.band{min-height:130px;padding:18px 16px 0}.band img{height:140px;margin-bottom:-44px}.support img{height:84px;margin-bottom:6px}.band h1{font-size:clamp(28px,9.4cqw,52px);-webkit-text-stroke-width:3.5px;padding-bottom:18px}
.text{font-size:17px}.lost{align-items:flex-start;min-height:560px;padding:26px 20px}.lost>div:not(.dots){max-width:none}.lost .b{height:270px;right:8px}.lost .hop{right:auto;left:14px;top:auto;bottom:120px;width:120px}
}
@media (min-width:600px) and (max-width:699.98px){header{grid-template-columns:90px minmax(0,1fr) auto}.langs{grid-column:auto;border-left:0!important;border-top:4px solid var(--ink);padding:8px 14px}.title a{font-size:30px}}
@media (max-width:359.98px){.pitch{font-size:17px;padding:7px 10px;margin-top:16px}.nb{white-space:normal}.half{grid-column:1/-1}.who{min-height:250px}}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
