/* The liquid canvas, and the still image that stands in whenever it is not drawing. */
.liquid-still { position: fixed; inset: 0; height: 100lvh; z-index: 0; background: var(--liquid-base) center / cover no-repeat; background-image: url("/media/surface/still-desktop.jpg"); background-image: image-set(url("/media/surface/still-desktop.avif") type("image/avif"), url("/media/surface/still-desktop.jpg") type("image/jpeg")); }
@media (max-width: 899px) { .liquid-still { background-image: url("/media/surface/still-phone.jpg"); background-image: image-set(url("/media/surface/still-phone.avif") type("image/avif"), url("/media/surface/still-phone.jpg") type("image/jpeg")); } }
.liquid { position: fixed; inset: 0; width: 100%; height: 100lvh; z-index: 0; opacity: 0; pointer-events: none; transition: opacity var(--dur-slow) var(--ease-out); }
.liquid-on .liquid { opacity: 1; }
.liquid-off .liquid { display: none; }
.app-hero .liquid-still, .app-hero .liquid { position: absolute; height: 100%; }
/* A phone half under the liquid: a fade at its foot, and a sheet of liquid that slides off it. */
.phone-sub { position: absolute; left: -8%; right: -8%; bottom: -2px; height: 26%; background: linear-gradient(to top, var(--liquid-base) 18%, transparent); pointer-events: none; }
.phone-sheet { display: none; position: absolute; inset: 0; border-radius: 44px; background: linear-gradient(to bottom, rgba(7, 8, 13, 0.96), rgba(7, 8, 13, 0.6) 70%, transparent); pointer-events: none; }
html.motion .phone-sheet { display: block; }
.liquid-strip { height: 160px; background: var(--liquid-base) center 40% / cover no-repeat; background-image: url("/media/surface/still-desktop.jpg"); background-image: image-set(url("/media/surface/still-desktop.avif") type("image/avif"), url("/media/surface/still-desktop.jpg") type("image/jpeg")); }
@media (max-width: 899px) { .liquid-strip { height: 112px; } }
