/* Sixty peeks over the [66th] pill (Liam, November 20, 2026: "try making sixty like peaking over the logo").
   Sixty stands behind the pill, a sibling placed before it, so the pill's frosted glass blurs his body into a
   warm glow and only the flame and eyes show sharp above the top edge. ?sixty=0 opens with him off.
   Geometry: the box's bottom is the pill's bottom, his feet rest on the pill's top edge, and --sixty-y pushes
   him down behind the glass. Peek leaves his eyes about 4px over the edge. */
html.sixty-on .nav{padding-top:44px}

.sixty-peek{
  position:absolute;top:calc(var(--sixty-top,0px) - 56px);left:var(--sixty-x,50%);z-index:0;
  width:50px;height:104px;margin-left:-25px;
  clip-path:inset(-60px -40px 0 -40px); /* nothing shows below the pill's bottom edge */
  pointer-events:none;display:none;
}
html.sixty-on .sixty-peek{display:block}
.sixty-peek img{
  position:absolute;left:0;bottom:48px;width:100%;height:auto;display:block;
  transform-origin:50% 100%;
  transform:translateY(var(--sixty-y,120px)) rotate(var(--sixty-r,0deg));
  transition:transform var(--dur-2) cubic-bezier(.34,1.56,.64,1);
  filter:drop-shadow(0 2px 3px rgba(120,60,20,.25));
}
.sixty-peek.is-peek img{--sixty-y:28px}
.sixty-peek.is-up img{--sixty-y:22px}
/* below the top of the page he hides fully behind the pill */
.sixty-peek.is-duck img{--sixty-y:120px;transition-duration: var(--dur-2);transition-timing-function:cubic-bezier(.4,0,.6,1)}
.sixty-peek.is-tilt-l img{--sixty-r:-9deg}
.sixty-peek.is-tilt-r img{--sixty-r:9deg}

@media(max-width:720px){
  html.sixty-on .nav{padding-top:36px}
  .sixty-peek{width:44px;height:98px;margin-left:-22px;top:calc(var(--sixty-top,0px) - 50px)}
  .sixty-peek.is-peek img{--sixty-y:24px}
  .sixty-peek.is-up img{--sixty-y:19px}
}

/* the preloader hands him over without the rise */
.sixty-peek.no-anim img{transition:none !important}

/* the site's exclusion cursor turns his glow blue inside the pill, so it steps aside over the logo */
html.sixty-on.sixty-hover #vx-cursor{opacity:0}

/* the switch, above the polish switch */
.c2-sixty-sw{position:fixed;right:16px;bottom:116px;z-index:62;display:flex;align-items:center;gap:3px;padding:5px;background:#211e1aee;border-radius:40px;box-shadow:0 8px 24px #0004;font-family:var(--font)}
.c2-sixty-sw span{color:#a59c8f;font:500 12px/1 var(--font);padding:0 6px 0 10px}
.c2-sixty-sw button{border:0;background:none;color:#e9e2d6;font:500 13px/1 var(--font);padding:9px 14px;border-radius:30px;cursor:pointer;white-space:nowrap}
.c2-sixty-sw button[aria-pressed=true]{background:#f6f4ef;color:#211e1a}

@media (prefers-reduced-motion:reduce){
  .sixty-peek img{transition:none}
  .sixty-peek.is-tilt-l img,.sixty-peek.is-tilt-r img{--sixty-r:0deg}
}
