/* Why page: playful word effects in the section headings (see /why/). Decoration is aria-hidden;
   reduced motion and the motion toggle get still versions. */
.gx .phl{overflow:visible}
.ph-js .gx .phl>span{transform:translateY(.35em);opacity:0;transition:transform .8s cubic-bezier(.2,.8,.2,1),opacity .6s}
.ph-js .ph.in .gx .phl>span{transform:none;opacity:1}

/* FACEBOOK wears a "RENTED" tag */
.fx-rent{position:relative;display:inline-block}
.fx-rent .tag{position:absolute;right:.3em;top:88%;padding:.35em .7em .35em 1em;font:900 .17em/1 var(--f-display);letter-spacing:.12em;color:#0a0a09;-webkit-text-stroke:0;background:var(--yellow);clip-path:polygon(18% 0,100% 0,100% 100%,18% 100%,0 50%);transform-origin:-60% -140%;animation:fx-swing 2.6s ease-in-out infinite;white-space:nowrap}
.fx-rent .tag::before{content:"";position:absolute;left:9%;top:50%;width:.4em;height:.4em;margin-top:-.2em;border-radius:50%;background:#0a0a09}
.fx-rent::after{content:"";position:absolute;right:.95em;top:70%;width:2px;height:.32em;background:var(--paper);transform:rotate(-24deg);opacity:.7}
@keyframes fx-swing{0%,100%{transform:rotate(-10deg)}50%{transform:rotate(12deg)}}

/* CALL: the phone rings */
.fx-ring{display:inline-block;width:.62em;height:.62em;margin-left:.16em;vertical-align:.04em}
.fx-ring svg{width:100%;height:100%;overflow:visible}
.fx-ring .hs{fill:var(--c2);animation:fx-buzz 2.4s infinite;transform-origin:50% 50%}
.fx-ring .w{fill:none;stroke:var(--c2);stroke-width:3.5;stroke-linecap:round;animation:fx-waves 2.4s infinite}
@keyframes fx-buzz{0%,40%,100%{transform:none}4%,12%,20%,28%{transform:rotate(-14deg)}8%,16%,24%,32%{transform:rotate(14deg)}}
@keyframes fx-waves{0%,40%,100%{opacity:0}6%,32%{opacity:1}}

/* FOUND: a magnifying glass slides in and zooms */
.fx-found{position:relative;display:inline-block;margin:0 .08em}
.nw{white-space:nowrap}
.fx-found .fw{display:inline-block;transform-origin:50% 60%;animation:fx-zoom 5s 1s infinite}
.fx-found .mag{position:absolute;left:0;top:-.08em;width:.95em;height:.95em;overflow:visible;fill:none;stroke:var(--c2);stroke-width:5;stroke-linecap:round;animation:fx-search 5s 1s infinite}
.fx-found .mag circle{fill:rgba(255,255,255,.07)}
@keyframes fx-search{0%{transform:translateX(-1.6em);opacity:0}10%{opacity:1}30%{transform:translateX(.2em)}40%{transform:translateX(1.2em)}50%,80%{transform:translateX(.85em) scale(1.12)}100%{transform:translateX(3.4em);opacity:0}}
@keyframes fx-zoom{0%,46%,84%,100%{transform:none}54%,78%{transform:scale(1.14)}}

/* WORKING: the moon comes up, stars twinkle, zzz (the website's still working) */
.fx-night{position:relative;display:inline-block;width:.8em;height:.8em;margin-left:.2em;vertical-align:.02em}
.fx-night .moon{width:.62em;height:.62em;fill:#ffe9a8;filter:drop-shadow(0 0 .12em rgba(255,225,120,.6));animation:fx-rise 6s infinite ease-in-out}
html.light .fx-night .moon{fill:#e0a800;filter:none}
.fx-night .st{position:absolute;font-style:normal;font-size:.2em;color:#fff6c8;-webkit-text-fill-color:#fff6c8;-webkit-text-stroke:0;animation:fx-twk 1.8s infinite}
html.light .fx-night .st{color:#c48a00;-webkit-text-fill-color:#c48a00}
.fx-night .t1{left:3.4em;top:0}.fx-night .t2{left:.2em;top:3em;animation-delay:.6s}.fx-night .t3{left:3.6em;top:2.6em;animation-delay:1.1s}
.fx-night .z{position:absolute;left:.5em;top:-.1em;font:900 .22em/1 var(--f-display);color:var(--c2);-webkit-text-stroke:0;opacity:0;animation:fx-zzz 3s infinite}
.fx-night .z2{animation-delay:1s;font-size:.27em}.fx-night .z3{animation-delay:2s;font-size:.33em}
@keyframes fx-rise{0%{transform:translateY(.25em) rotate(-10deg);opacity:.4}40%,100%{transform:none;opacity:1}}
@keyframes fx-twk{0%,100%{opacity:.2;transform:scale(.6)}50%{opacity:1;transform:scale(1.2)}}
@keyframes fx-zzz{0%{transform:translate(0,0);opacity:0}20%{opacity:1}100%{transform:translate(1em,-2.4em);opacity:0}}

/* BIGGER keeps getting bigger */
.fx-big{display:inline-block;transform-origin:0 88%;animation:fx-grow 4.6s 1s infinite cubic-bezier(.3,1.5,.5,1)}
.fx-big.b2{animation-delay:1.5s}
@keyframes fx-grow{0%,10%{transform:none;margin-right:0}35%,75%{transform:scale(1.28);margin-right:.32em}90%,100%{transform:none;margin-right:0}}

/* OPPORTUNITY: a door swings open and light pours out */
.fx-door{position:relative;display:inline-block;width:.5em;height:.78em;margin-left:.12em;vertical-align:-.02em;perspective:2.2em}
.fx-door .frame{position:absolute;inset:0;border:.045em solid var(--c2);border-bottom-width:.02em;background:#0a0a09;overflow:visible}
.fx-door .glow{position:absolute;inset:0;background:linear-gradient(180deg,#fff6c8,#ffd23f);opacity:0;animation:fx-light 5s 1s infinite}
.fx-door .leaf{position:absolute;inset:0;background:var(--c2);transform-origin:0 50%;animation:fx-open 5s 1s infinite cubic-bezier(.5,0,.3,1);backface-visibility:visible}
.fx-door .leaf i{position:absolute;right:.07em;top:52%;width:.06em;height:.06em;border-radius:50%;background:#0a0a09}
.fx-door .beam{position:absolute;left:.08em;bottom:-.02em;width:1.6em;height:.78em;background:linear-gradient(90deg,rgba(255,226,120,.5),rgba(255,226,120,0));clip-path:polygon(0 0,18% 0,100% 100%,0 100%);opacity:0;animation:fx-light 5s 1s infinite;pointer-events:none;z-index:-1}
html.light .fx-door .frame{background:#16161a}
@keyframes fx-open{0%,10%{transform:none}30%,80%{transform:rotateY(-78deg)}95%,100%{transform:none}}
@keyframes fx-light{0%,12%{opacity:0}30%,78%{opacity:1}95%,100%{opacity:0}}
#w-gap{position:relative;z-index:0}

@media (prefers-reduced-motion:reduce){.gx *{animation:none!important}.fx-door .leaf{transform:rotateY(-70deg)}.fx-door .glow,.fx-door .beam,.fx-night .z{opacity:1}.fx-found .mag{transform:translateX(.85em)}}
html.no-motion .gx *{animation:none!important}html.no-motion .fx-door .leaf{transform:rotateY(-70deg)}html.no-motion .fx-door .glow,html.no-motion .fx-door .beam{opacity:1}html.no-motion .fx-found .mag{transform:translateX(.85em)}
