/* Virgin Australia, Journey Tracker: PHONE FOCUS (27 Oct 2026, chat PHONE ZOOM; built into the
   study by chat VA BUILDER). The phone's own stage gets perspective; the phone tilts and flies in
   (phone-focus.js), with the hero's floor shadow under it and Apple's real iPhone 18 Pro picture
   over the study's coded screen. Ported from _mockups/phone-zoom/phone-focus-page.css and the
   review copy's kit; his picks (27 Oct): Apple phone, flat picture, camera island on the screen
   only, shadows Hero out and Hero in. The Virgin study shows light only, so no dark rules. */

/* the phone and its floor move freely past the page's edge; only an outer card may crop them */
html,body{overflow-x:clip}

.pf-page{
  perspective:1400px; /* lint-ok: the camera's distance, his picked look; not a spacing value */
  position:relative;
  /* floor shadow, wide shot (0) and close-up (1), blended by --pf-z from the script: width %,
     blur px, darkness %, gap px. His picks: Hero out, Hero in (the hero's own floor) */
  --sw0:190;--sb0:6;--sd0:26;--sg0:36;
  --sw1:150;--sb1:14;--sd1:16;--sg1:24;
  --sx:-8;
}
.pf-page .pf-on{transform-style:preserve-3d;transform-origin:50% 50%;will-change:transform;position:relative;z-index:2}
.pf-page .pf-floor{position:absolute;left:50%;top:100%;aspect-ratio:1;pointer-events:none;z-index:-1;
  --w:calc(var(--sw0) + (var(--sw1) - var(--sw0)) * var(--pf-z,0));
  --b:calc(var(--sb0) + (var(--sb1) - var(--sb0)) * var(--pf-z,0));
  --d:calc((var(--sd0) + (var(--sd1) - var(--sd0)) * var(--pf-z,0)) * 1%);
  --g:calc(var(--sg0) + (var(--sg1) - var(--sg0)) * var(--pf-z,0));
  width:calc(var(--w) * 1%);
  transform:translate(calc(-50% + var(--sx) * 1%),-50%) translateY(calc(var(--g) * 1px)) rotateX(-76deg); /* lint-ok: unit conversion of the tuned gap */
  filter:blur(calc(var(--b) * 1px)); /* lint-ok: unit conversion of the tuned softness */
  /* a soft round pool in Virgin's purple, the hero's recipe */
  background:radial-gradient(closest-side,
    color-mix(in srgb,var(--va-purple) var(--d),transparent) 0%,
    color-mix(in srgb,var(--va-purple) calc(var(--d) * .83),transparent) 20%,
    color-mix(in srgb,var(--va-purple) calc(var(--d) * .45),transparent) 40%,
    color-mix(in srgb,var(--va-purple) calc(var(--d) * .13),transparent) 60%,
    color-mix(in srgb,var(--va-purple) calc(var(--d) * .03),transparent) 75%,
    transparent 100%)}
/* phones hold the phone flat and still (phone-focus.js), where the tilted floor would read as a stray line */
@media (max-width: 767.98px){.pf-page .pf-floor{display:none}}

/* Apple's iPhone 18 Pro picture (the device kit's silver, its camera island taken out so the
   screen's own island, which opens into the trip card, is the only one) laid over the coded
   phone: the bezel's measured screen sits on the 393 by 852 screen (bezels.json: screen at
   5.333% and 2.5% of the picture, 89.333% and 95% of its size) */
/* every coded phone in the study wears it (.pf-silver, his ask 27 Oct): the moving two and the still ones alike */
.vj-phone .pf-bz{position:absolute;left:calc(-100% * .05333 / .89333);top:calc(-100% * .025 / .95);width:calc(100% / .89333);height:calc(100% / .95);
  max-width:none;max-height:none;object-fit:fill;pointer-events:none;z-index:30}
/* the coded frame tucks in behind the picture; its rings go, its drop shadow stays */
.vj-phone.pf-silver .frame{inset:calc(var(--space-100) * -1);border-radius:60px;box-shadow:0 40px 90px var(--color-overlay-soft)} /* lint-ok: device geometry and the kit phone's own shadow, read off the bezel */

/* Pause: the site's one model (design-system.md, Motion pause control): a transparent toggle over the whole region,
   nothing shown, a pointer cursor and an inset ring for the keyboard (.vjm: over the kit's button styles) */
.vjm .pf-pause{position:absolute;inset:0;z-index:3;margin:0;padding:0;border:0;border-radius:inherit;background:transparent;cursor:pointer}
.vjm .pf-pause:focus-visible{outline:2px solid var(--color-focus-ring);outline-offset:-2px} /* lint-ok: the pattern's inset 2px ring */
.vjm .pf-pause[hidden]{display:none}

/* Phone tuner: review links only (phone-focus.js builds it when window.csReview); bottom left, clear of the panel */
.pf-tuner{position:fixed;left:var(--space-400);bottom:var(--space-1000);z-index:2147483000;width:240px;max-height:calc(100vh - 200px);overflow:auto; /* lint-ok: a review-only tool's width and height, never on the site */
  padding:var(--space-300) var(--space-400);border-radius:var(--radius-lg);background:var(--neutral-850);color:var(--color-static-white);font:var(--weight-medium) var(--text-caption)/1.3 var(--font-body);box-shadow:0 var(--space-200) var(--space-600) var(--color-overlay-soft)}
.pf-tuner[hidden]{display:none}
.pf-tuner .pf-t-h{display:block;width:100%;margin:0;padding:0;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}
.pf-tuner .pf-t-body{margin-top:var(--space-300)}
.pf-tuner .pf-t-body[hidden]{display:none}
.pf-tuner .pf-t-where{color:var(--lime-400)}
.pf-tuner label{display:grid;grid-template-columns:1fr auto;gap:var(--space-50) var(--space-200);margin:0 0 var(--space-200)}
.pf-tuner input{grid-column:1/-1;width:100%;accent-color:var(--lime-400)}
.pf-tuner output{grid-row:1;grid-column:2;font-variant-numeric:tabular-nums}
.pf-tuner .pf-t-reset{width:100%;min-height:32px;border-radius:var(--radius-full);border:var(--border-hairline);background:transparent;color:inherit;font:inherit;cursor:pointer} /* lint-ok: the review tool's button height */
