/* Static curved aperture measured from galekto.com/projects.
   Existing scanlines, refraction and animated content are unchanged. */
.crt-edges,.mobile-balanced .crt-edges,.menu::after{display:none}
.tv-contour{position:fixed;inset:0;z-index:120;pointer-events:none;overflow:hidden;contain:strict;transform:translateZ(0)}
.tv-contour-bevel,.tv-contour-glass,.tv-contour svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.tv-contour-bevel{box-shadow:inset 0 0 70px rgba(0,0,0,.9),inset 0 0 28px rgba(0,0,0,.68)}
.tv-contour svg{display:block;overflow:hidden}
.tv-contour-matte{fill-rule:evenodd}
.tv-contour-rim{fill:none;stroke:rgba(255,255,255,.09);stroke-width:3}
/* Glass over the tube, after arcmarumo.com: a top sheen, a soft low band and
   two window panes that fade downward. Static, screen-blended. */
.tv-contour-glass{mix-blend-mode:screen;background:linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.012) 7%,transparent 14%,transparent 82%,rgba(255,255,255,.03) 90%,transparent 97%),radial-gradient(110% 85% at 50% 42%,rgba(255,255,255,.03),transparent 62%)}
.tv-contour-glass::before{content:"";position:absolute;inset:0;background:linear-gradient(98deg,transparent 0 61%,rgba(255,255,255,.04) 61.4%,rgba(255,255,255,.065) 67%,transparent 67.4%,transparent 69.6%,rgba(255,255,255,.035) 70%,rgba(255,255,255,.055) 77%,transparent 77.4%);-webkit-mask-image:linear-gradient(180deg,#000 4%,rgba(0,0,0,.55) 40%,transparent 78%);mask-image:linear-gradient(180deg,#000 4%,rgba(0,0,0,.55) 40%,transparent 78%)}
@media(max-width:767px){.tv-contour-glass::before{background:linear-gradient(100deg,transparent 0 58%,rgba(255,255,255,.035) 58.6%,rgba(255,255,255,.055) 70%,transparent 70.6%)}}
/* Keep the logo and menu controls inside the curved upper corners. */
@media(min-width:768px){.header{top:16px}.menu{padding-top:46px}}
.site-noise,.mobile-balanced .site-noise{inset:-128px;opacity:.055;mix-blend-mode:normal;background-image:none;background-size:256px 256px;animation:tv-grain 1s steps(1,end) infinite;will-change:transform}
@keyframes tv-grain{
  0%,100%{transform:translate3d(0,0,0)}
  12.5%{transform:translate3d(-71px,43px,0)}
  25%{transform:translate3d(53px,-89px,0)}
  37.5%{transform:translate3d(-103px,-17px,0)}
  50%{transform:translate3d(97px,79px,0)}
  62.5%{transform:translate3d(-29px,-113px,0)}
  75%{transform:translate3d(17px,101px,0)}
  87.5%{transform:translate3d(-89px,61px,0)}
}
.motion-paused .site-noise{animation-play-state:paused}
@media(prefers-reduced-motion:reduce){.site-noise,.mobile-balanced .site-noise{animation:none}}
