/* Homepage, Thortful's and Openbank's covers (Silvia, 2 December 2026: the homepage had too many things; "más limpio y
   más on point"). One phone, centred, on a plain ground, and one short story on its screen, in her own screens. Nothing
   round the phone. Script: assets/js/home-covers.js, which holds the first frame until the cover plays; with reduced
   motion or no script this CSS is the last frame (the last screen is on top). Sized in cqh of the cover. The flat lay
   with the envelopes (home-thortful.css / .js) and Openbank's three phones (cover-c.jpg) are kept, unused. */
.hc{position:absolute;inset:0;background:var(--hc-bg,#F0F0EE);overflow:hidden;container-type:size;pointer-events:none}
.hc[data-hc="thortful"]{--hc-bg:#FCE9DB;--hc-sh:110,35,0}
.hc[data-hc="openbank"]{--hc-bg:#FDE6EF;--hc-sh:70,10,40}
/* THE PHONE IS A REAL-LOOKING IPHONE (Silvia, 2 December 2026: the black frames were "un dibujo"; she wanted the metal):
   assets/images/device/iphone-frame.webp, the silver iPhone 14 Pro of a free Figma mock-up she put in her file, exported
   with its screen empty (432 x 881; the screen is 390 x 844 at 21, 18). The frame lies over the screen, whose corners
   are rounded just enough to stay under the bezel. The screen is 80cqh tall, as before. */
.hc-ph{position:absolute;left:50%;top:4.12cqh;height:91.86cqh;aspect-ratio:432/881;transform:translateX(-50%)}
.hc-ph::before{content:"";position:absolute;inset:.6% 1.4%;border-radius:15%/7.4%;
  box-shadow:0 4cqh 7cqh -2cqh rgba(var(--hc-sh),.42),0 1cqh 2.2cqh rgba(var(--hc-sh),.2)}
.hc-s{position:absolute;left:4.861%;top:2.043%;width:90.278%;height:95.8%;border-radius:12.8%/5.92%;overflow:hidden;background:#000;isolation:isolate;
  clip-path:inset(0 round 12.8%/5.92%);-webkit-clip-path:inset(0 round 12.8%/5.92%)}
/* the homepage sizes and zooms every img inside a card cover; nothing in here should follow that. The screen's ground is
   black and each picture runs half a pixel past it: on white, a light hairline showed along the dark screens (Silvia) */
.sb-card .sb-card-image .hc img{position:absolute;max-width:none;object-fit:fill;transition:none;transform:none;display:block}
.sb-card .sb-card-image .hc .hc-s img{left:-.5px;top:-.5px;width:calc(100% + 1px);height:calc(100% + 1px)}
.sb-card .sb-card-image .hc .hc-fr{left:0;top:0;width:100%;height:100%;z-index:3}
.hc-s>b,.hc-s>i{position:absolute}
.hc-ring{width:7.7%;height:3.55%;margin:-1.775% 0 0 -3.85%;box-sizing:border-box;border:.4cqh solid #5CC12E;border-radius:50%;opacity:0;z-index:20}
.hc-tap{width:12%;aspect-ratio:1;margin:-6% 0 0 -6%;border-radius:50%;background:rgba(20,20,22,.2);box-shadow:0 0 0 .2cqh rgba(255,255,255,.55);opacity:0;z-index:21}
