/* COM.MA scribble intro (B2-1) */
@property --intro-p{syntax:'<number>';inherits:false;initial-value:0}
#intro{position:fixed;inset:0;z-index:9999;pointer-events:none;
  background:#141414 url(grain.webp) 0 0/512px 512px repeat;
  -webkit-mask:linear-gradient(#000 0 0) top/100% calc(100% - var(--intro-p)*100%) no-repeat;
          mask:linear-gradient(#000 0 0) top/100% calc(100% - var(--intro-p)*100%) no-repeat}
#intro img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;visibility:hidden}
#intro img.on{visibility:visible}
@media (prefers-reduced-motion:reduce){#intro{display:none}}
/* Phones: the frames are landscape, so they sit whole across the screen rather than being cropped to their middle.
   The wordmark frame (last) is scaled so COM.MA lands at the size and place of the Home wordmark it hands over to:
   87.5vw wide (the frame's wordmark is 38.1% of its width), its centre 42dvh plus half the logo's height down. */
@media (max-width:820px){
  #intro img{object-fit:contain}
  #intro img:last-child{transform:translateY(calc(42dvh + 8.4vw - 50dvh)) scale(2.3)}
}
