@import url(ad-cta.css?v=358);   /* the shared video ad CTA (the VAC cover's .vc-cta and the prototypes' .ad-cta): one rule */
/* Project card media shared by the homepage strip (index.html, css/home.css) and the case pages' NEXT CASE STUDY card (css/case.css .next):
   one component, one set of rules. */
/* FMSS cover animation (js/fmss-split.js [data-fmss-anim]): the case-page hero only (homepage and NEXT CASE STUDY cards show the still
   cover art, no demo). The layer paints the FMSS art
   itself (light-mode file in both themes: black phone on the orange gradient, identical in light and dark) and plays the Solution 1 loop
   on the phone screen baked into it. Static (reduced motion, before the screens decode): just the art = the current cover.
   content-visibility:auto, as .cover-anim: off screen the phone's layers and their animations leave the rendering. */
.fmss-anim{position:absolute;inset:0;overflow:hidden;pointer-events:none;background:#f9552a url(../assets/cover-fmss-hero.webp?v=355) 50% 50%/cover no-repeat;content-visibility:auto}
.hero-slot.fmss-wrap{position:relative}
.fsp-ph{position:absolute;left:0;top:0;width:391px;height:828px;transform-origin:0 0;opacity:0;transition:opacity .32s cubic-bezier(.2,.7,.2,1)}
.fmss-anim.on .fsp-ph{opacity:1}
.fsp-scr{position:absolute;inset:8px;overflow:hidden;background:#000;isolation:isolate;border-radius:48px} /* the cover art's screen radius (clip-path path() refines it where supported) */
.fsp-bz{position:absolute;inset:4px;background:#000;border-radius:52px} /* black bezel fill UNDER the screen (Evolution .bezel-fill); clip-path path() refines it */
html body .fmss-anim .fsp-scr img{position:absolute;left:0;top:0;width:375px;height:812px;max-width:none;display:block;border-radius:0;object-fit:fill;-webkit-user-drag:none}
.fsp-scr .L{will-change:transform,opacity}
.fsp-scr .mv{position:absolute;overflow:hidden;will-change:left,top,width,height}
html body .fmss-anim .fsp-scr video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;margin:0;border-radius:0;background:none}
.fsp-scr .cu{position:absolute;left:-4px;right:-4px;top:780px;bottom:-4px}
.fsp-scr .cs{position:absolute;left:-4px;right:-4px;top:24px;height:28px}
@media (prefers-reduced-motion:reduce){.fsp-ph{display:none}}
/* Device cover (js/device-cover.js [data-cover-anim]): the animated case-study cover on the case-page hero only (homepage and NEXT CASE
   STUDY cards show the still cover art, no demo). The layer paints the project's cover art itself (the light-mode file in both themes: black phone on the project gradient, identical
   in light and dark) and plays the project's loop on the phone screen baked into it (players: js/vac-chain.js; FMSS keeps its own .fmss-anim/.fsp-* above until it moves onto js/device-cover.js).
   Static (reduced motion, before the screens decode): just the art = the current cover. content-visibility:auto (= contain layout paint style,
   plus skipped while far off screen): off screen the phone's layers and their animations leave the rendering, so WebKit stops re-processing
   the paused loop's keyframes on every scrolled frame. */
.cover-anim{position:absolute;inset:0;overflow:hidden;pointer-events:none;background:50% 50%/cover no-repeat;content-visibility:auto}
.cover-anim[data-cover-anim=vac]{background-color:#9e785a;background-image:url(../assets/cover-vac-hero.webp?v=400)}
.hero-slot.cover-wrap{position:relative}
.cv-ph{position:absolute;left:0;top:0;width:391px;height:828px;transform-origin:0 0;opacity:0;transition:opacity .32s cubic-bezier(.2,.7,.2,1)}
.cover-anim.on .cv-ph{opacity:1}
.cv-scr{position:absolute;inset:8px;overflow:hidden;background:#000;isolation:isolate;border-radius:48px} /* the cover art's screen radius (clip-path path() refines it where supported) */
.cv-bz{position:absolute;inset:4px;background:#000;border-radius:52px} /* black bezel fill UNDER the screen (Evolution .bezel-fill); clip-path path() refines it */
html body .cover-anim .cv-scr img{position:absolute;left:0;top:0;max-width:none;display:block;border-radius:0;object-fit:fill;-webkit-user-drag:none}
@media (prefers-reduced-motion:reduce){.cv-ph{display:none}}
/* VAC player layers (js/vac-chain.js), design px (375x812 screen), in paint order: Feed (the cleared Figma Feed + the post's DOM), Split
   backdrop (live, blurred), the seed's black Reels page, the media (shared element with the <video>, sized by the player), the seed's
   Reels UI, FMSS status bar + close X overlay (two clips of bo1), live player controls (js/video-scrubber.js), the site sheet + shared IAB
   header, chained Reels pages (375x734, video + UI), Reels chrome, comment composer, the touch marker (.cv-touch). Reels measures: the
   Figma Reels component (Card 6 Screen 140796:11916); type SF Pro (the system face on Apple devices), Inter / Helvetica elsewhere; the
   Reels overlay text (name, Sponsored, caption, CTA, counts, comment) uses the shared --t-r-* roles in css/type.css */
.cv-scr.vac{--vc-f:-apple-system,BlinkMacSystemFont,"SF Pro Text","SF Pro","Segoe UI",Roboto,"Inter","Helvetica Neue",Arial,sans-serif;font-family:var(--vc-f);-webkit-font-smoothing:antialiased;text-rendering:geometricPrecision}
.cv-scr.vac p:not(:where(.vc-cta)){position:absolute;margin:0;padding:0;white-space:nowrap;font-family:var(--vc-f);font-style:normal;letter-spacing:0}
.cv-scr.vac .vc-l{position:absolute;left:0;top:0;will-change:transform,opacity}
html body .cover-anim .cv-scr.vac .vc-feed{width:375px;height:812px;background:#fff}
html body .cover-anim .cv-scr.vac .vc-fb{width:375px;height:812px}
html body .cover-anim .cv-scr.vac .vc-nm img,html body .cover-anim .cv-scr.vac .vc-in img{position:static;flex:none}
.cv-scr.vac .vc-amb{width:375px;height:432px;overflow:hidden;background:#000}
.cv-scr.vac .vc-amb canvas{position:absolute;left:-24px;top:-24px;width:423px;height:480px;filter:blur(24px)}
.cv-scr.vac .vc-amb::after{content:"";position:absolute;inset:0;background:rgba(0,0,0,.24)}
.cv-scr.vac .vc-p0,.cv-scr.vac .vc-pg{width:375px;height:734px;overflow:hidden;background:#000}
.cv-scr.vac .vc-mv{overflow:hidden;background:#000;will-change:left,top,width,height,clip-path}
html body .cover-anim .cv-scr.vac video.vc-v{position:absolute;left:0;top:0;width:100%;height:100%;object-fit:cover;display:block;margin:0;border-radius:0;background:none}
/* the portrait (670x1060) Porsche seed, cover-cropped and centred in every rect: Feed/Split keep the middle of its height, Reels the middle
   of its width. Same as preview/vac-proto's .mv video */
.cv-scr.vac .vc-mv video.vc-v{object-position:50% 50%}
.cv-scr.vac .vc-ui{position:absolute;left:0;top:0;width:375px;height:734px}
.cv-scr.vac .vc-gb{position:absolute;left:0;bottom:0;width:375px;height:264px;background:linear-gradient(0deg,rgba(0,0,0,.75) 0%,rgba(0,0,0,.675) 20%,rgba(0,0,0,.563) 39.65%,rgba(0,0,0,.375) 60.35%,rgba(0,0,0,.15) 80.13%,rgba(0,0,0,0) 100%)}
/* the UFI: the shared Reels UFI (preview/shared/ufi/ufi.css + ufi.js, loaded by projects/vac.html) */
.cv-scr.vac .vc-dt{position:absolute;left:12px;top:606px;width:303px;height:116px}
html body .cover-anim .cv-scr.vac .vc-av{left:0;top:0;width:36px;height:36px;border-radius:50%;background:#fff}
.cv-scr.vac .vc-nm{left:44px;top:-1px;display:flex;align-items:center;gap:4px;font:var(--t-r-name);letter-spacing:var(--t-r-name-ls);font-feature-settings:var(--t-sf-ft);color:#fff;text-shadow:0 0 1px rgba(0,0,0,.62)}
html body .cover-anim .cv-scr.vac .vc-bd{width:12px;height:12px;filter:drop-shadow(0 0 1px rgba(0,0,0,.62))}
.cv-scr.vac .vc-sp{left:44px;top:20px;font:var(--t-r-sp);letter-spacing:var(--t-r-sp-ls);font-feature-settings:var(--t-sf-ft);color:var(--t-r-sp-c);text-shadow:0 0 1px rgba(0,0,0,.62)}
/* the caption + "… more ⌄": size, type and the cut are the shared VAC caption's (js/vac-caption.js, p.vcap); placed here */
.cv-scr.vac .vc-cp{left:0;top:48px}
.cv-scr.vac .vc-cta{position:absolute;left:0;top:80px;width:303px}   /* the rest (36 high, padding, type, r8): the shared video ad CTA, css/ad-cta.css (kept out of the p rule above) */
html body .cover-anim .cv-scr.vac .vc-bo{width:375px;height:406px}
.cv-scr.vac .vc-box{clip-path:inset(44px 0 0 0)}
.cv-scr.vac .vc-sh{width:375px;height:422px;overflow:hidden;background:#fff;border-radius:16px 16px 0 0}
html body .cover-anim .cv-scr.vac .vc-site{left:0;top:52px;width:375px;height:722px}
.cv-scr.vac .vc-sh .iab-load{position:absolute}   /* the shared IAB page-load bar (preview/shared/iab/iab.css), under the sheet header */
.cv-scr.vac .vc-hm{left:120.5px;top:799px;width:134px;height:5px;border-radius:3px;background:#000}   /* the home indicator on the half sheet (vac-proto .home) */
.cv-scr.vac .vc-chrome{width:375px;height:178px}
.cv-scr.vac .vc-gt{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.4),rgba(0,0,0,0))}
html body .cover-anim .cv-scr.vac .vc-bk{left:12px;top:58px;width:24px;height:24px}
.cv-scr.vac .vc-bar{top:734px;width:375px;height:78px;background:#000}
.cv-scr.vac .vc-in{box-sizing:content-box;left:12px;top:8px;width:327px;height:40px;padding:0 12px;border-radius:20px;background:rgba(255,255,255,.1);display:flex;align-items:center;justify-content:space-between;font:var(--t-r-input);letter-spacing:var(--t-r-input-ls);font-feature-settings:var(--t-sf-ft);color:rgba(255,255,255,.9)}
html body .cover-anim .cv-scr.vac .vc-em{width:20px;height:20px}
/* the device status bar (vac-proto .sb): FMSS Solution 1's bo1 status band as a mask, its colour set by the player */
.cv-scr.vac .vc-sb{width:375px;height:44px;background:#000;-webkit-mask:url(../preview/fmss-sol1/assets/bo1.webp?v=5) 0 0/375px 406px no-repeat;mask:url(../preview/fmss-sol1/assets/bo1.webp?v=5) 0 0/375px 406px no-repeat}
.cv-scr.vac .vc-hi{position:absolute;left:120.5px;top:64px;width:134px;height:5px;border-radius:3px;background:#fff}
/* scripted touch marker (DeviceCover.finger / .touch(): the Evolution prototypes' autoplay finger, as VideoScrubber's .vs-m), never takes input */
.cv-touch{position:absolute;left:0;top:0;z-index:9;width:44px;height:44px;border-radius:50%;pointer-events:none;opacity:0;background:rgba(255,255,255,.5);box-shadow:inset 0 0 0 2px rgba(255,255,255,.95),0 0 0 1px rgba(0,0,0,.28),0 2px 12px rgba(0,0,0,.4);will-change:transform,opacity}
