/* v154 — chapter 06, 3D & events (lv-vr-v23.js; replaces lv-vr-v22.css, adds page 45, the hologram booth). Page 44 shows Amber, the digital host, large on a
   black page; page 45 is the events page of v152. Both sit on the ax pages' measure (lv-services-v5.css); the Pause / Play
   button and the notes are lv-biz-v20.css's. */

/* ---------- page 44: the words at the start, Amber at the end, in no frame ----------
   The page is pure black, as her film is around her, so she stands on the page itself; her film is 900 x 624. */
.catalogue-page.ax-page.dark.ax-vguide{background:#000}
.ax-vguide .ax-fit{font-size:min(calc(100cqh/40),calc(100cqw/80))}
html[lang="ar"] .ax-vguide .ax-fit{font-size:min(calc(100cqh/41.5),calc(100cqw/80))}
.vg{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 46em;column-gap:3em;align-items:center}
.vg-copy{min-width:0}
.vg-copy .ax-title{font-size:3.05em;text-wrap:balance}
.vg-copy .ax-lead{margin-top:1.1em!important;max-width:24em}
.vg-where{list-style:none;margin:1.6em 0 0;padding:0;max-width:26em}
.vg-where li{border-top:1px solid var(--ax-line);padding:.7em 0 .72em}
.vg-where b{display:block;font-size:1.08em;font-weight:600;line-height:1.35;color:var(--ax-ink)}
.vg-where span{display:block;font-size:1em;line-height:1.45;color:var(--ax-mut);margin-top:.15em}
.vg-note{display:block;margin-top:1.2em;max-width:26em}
.ax-page .vg-fig{position:relative;margin:0;min-width:0}
.vg-view{position:relative;aspect-ratio:900/624;background:#000}
.vg-view .vg-vid{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.vg-fig .bz-toggle{position:absolute;inset-inline-end:0;bottom:-.2em;border-color:rgba(255,255,255,.28);color:#f4f7fb}
.vg-fig .bz-toggle:hover{border-color:var(--ax-acc);color:var(--ax-acc)}
html[lang="ar"] .vg-where b{font-size:1.12em;line-height:1.5}
html[lang="ar"] .vg-where span{font-size:1.06em;line-height:1.55}
@container ax (max-aspect-ratio:7/5){
 .ax-vguide .ax-fit{font-size:min(calc(100cqh/60),calc(100cqw/54))}
 html[lang="ar"] .ax-vguide .ax-fit{font-size:min(calc(100cqh/62),calc(100cqw/54))}
 .vg{grid-template-columns:minmax(0,1fr);row-gap:1.6em;align-content:center;width:min(100%,46em);margin-inline:auto}
 .vg-fig{grid-row:1}.vg-copy{grid-row:2}
 .vg-copy .ax-lead{max-width:40em}
 .vg-where{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:1.4em;max-width:none}
}
@container ax (max-aspect-ratio:1/1){
 .ax-vguide .ax-fit{font-size:min(calc(100cqh/64),calc(100cqw/52))}
 html[lang="ar"] .ax-vguide .ax-fit{font-size:min(calc(100cqh/66),calc(100cqw/52))}
}

/* ---------- page 45: the words above; the hall through a day, with the day's four parts beside it ----------
   The film starts during the keynote (its poster), so "During" is lit first; lv-vr-v21.js lights each part as the film reaches it. */
.ax-vvenue .ax-fit{font-size:min(calc(100cqh/45),calc(100cqw/78))}
html[lang="ar"] .ax-vvenue .ax-fit{font-size:min(calc(100cqh/46.5),calc(100cqw/78))}
.vv{flex:1;min-height:0;display:flex;flex-direction:column;justify-content:center;width:min(100%,74em);margin-inline:auto}
.vv-head{display:flex;align-items:flex-end;justify-content:space-between;gap:2em}
.vv-head .ax-title{font-size:2.6em;text-wrap:balance}
.vv-head .ax-lead{margin-top:.7em!important;max-width:44em}
.ax-page .vv-fig{margin:1.3em 0 0;display:grid;grid-template-columns:45em minmax(0,1fr);column-gap:2.4em;align-items:center}
.vv-view{position:relative;aspect-ratio:16/10;border-radius:.9em;overflow:hidden;background:#eef1f4}
.vv-view .vv-vid{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.vv-phases{list-style:none;margin:0;padding:0}
.vv-phases li{padding:.75em 0 .8em;padding-inline-start:1.1em;border-inline-start:3px solid var(--ax-line);transition:border-color .35s}
.vv-phases li+li{margin-top:.35em}
.vv-phases small{display:block;font-size:1em;line-height:1.4;color:var(--ax-mut)}
.vv-phases b{display:block;font-size:1.14em;font-weight:600;line-height:1.35;color:var(--ax-mut);margin-top:.1em;transition:color .35s}
.vv-phases span{display:block;font-size:1em;line-height:1.45;color:var(--ax-mut);margin-top:.2em}
.vv-fig[data-phase="0"] li:nth-child(1),.vv-fig[data-phase="1"] li:nth-child(2),.vv-fig[data-phase="2"] li:nth-child(3),.vv-fig[data-phase="3"] li:nth-child(4){border-color:var(--ax-acc)}
.vv-fig[data-phase="0"] li:nth-child(1) b,.vv-fig[data-phase="1"] li:nth-child(2) b,.vv-fig[data-phase="2"] li:nth-child(3) b,.vv-fig[data-phase="3"] li:nth-child(4) b{color:var(--ax-ink)}
html[lang="ar"] .vv-phases b{font-size:1.18em;line-height:1.5}
html[lang="ar"] .vv-phases small,html[lang="ar"] .vv-phases span{font-size:1.06em;line-height:1.55}
@media print{.vv-phases li{border-color:var(--ax-line)!important}.vv-phases b{color:var(--ax-ink)!important}}
@container ax (max-aspect-ratio:7/5){
 .ax-vvenue .ax-fit{font-size:min(calc(100cqh/60),calc(100cqw/54))}
 html[lang="ar"] .ax-vvenue .ax-fit{font-size:min(calc(100cqh/62),calc(100cqw/54))}
 .vv{width:min(100%,47em)}
 .ax-page .vv-fig{grid-template-columns:minmax(0,1fr);row-gap:1.4em}
 .vv-phases{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:1.6em;row-gap:.4em}
 .vv-phases li+li{margin-top:0}
}
@container ax (max-aspect-ratio:1/1){
 .vv-head{flex-direction:column;align-items:flex-start;gap:1em}
}


/* ---------- page 45: Tayf, a hologram booth. The page is a project page like every other (lv-projects-v5.css): the story,
   then the device and its notes. The booth is tall, so it takes the board's full height and its notes sit on both sides of
   it, each with its line running to the booth. ---------- */
/* the grid is as tall as the booth, so each note's height is a share of the booth's */
.pjh-inner{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);column-gap:1.7em;
 font-size:min(1em,15px);max-width:58em;width:100%;margin-inline:auto}
/* the booth: a dark cabinet, a light in its crown, the screen (the film is the inside of the booth), a base with the badge reader */
.pjh-booth{position:relative;align-self:center;width:min(calc((100cqh - 2.2em) / 1.95),44cqw);padding:7% 4.4% 0;
 border-radius:1.1em 1.1em .4em .4em;background:linear-gradient(165deg,#1b2d45 0%,#0c1828 34%,#060d18 70%,#14243a 100%);
 border:1px solid #31476a;box-shadow:inset 0 1px 0 #5a7da666,0 .2em .4em #07172c30,0 2.2em 3em -1.6em #1d3e6a70}
.pjh-led{position:absolute;top:0;left:20%;right:20%;margin-top:3.2%;height:.26em;border-radius:1em;
 background:linear-gradient(90deg,#9fd8ff00,#c7eaff 22%,#eef9ff 50%,#c7eaff 78%,#9fd8ff00);box-shadow:0 0 .7em #8fd3ffaa}
.pjh-screen{position:relative;aspect-ratio:576/1024;border-radius:.35em;overflow:hidden;background:#000;box-shadow:0 0 0 1px #0d1a2c}
.pjh-screen .pj-vid{display:block;width:100%;height:100%;object-fit:cover}
/* the Pause / Play button sits in the screen's top corner, at the end of the line (the film leaves that corner empty) */
.pjh-screen .pj5-film-toggle{top:1.6%;bottom:auto;right:auto;inset-inline-end:2.4%}
.pjh-base{position:relative;display:block;height:0;padding-bottom:24%}
.pjh-base::before{content:'';position:absolute;inset-inline:0;top:14%;height:1px;background:#2b4263}
.pjh-scan{position:absolute;left:50%;top:38%;width:32%;height:36%;transform:translateX(-50%);border-radius:.35em;
 background:linear-gradient(180deg,#0d1828,#04090f);border:1px solid #3b5a80;box-shadow:inset 0 0 .5em #8fd3ff26}
.pjh-scan::after{content:'';position:absolute;left:16%;right:16%;top:calc(50% - 1px);height:2px;border-radius:2px;background:#9fd8ff;box-shadow:0 0 .45em #8fd3ffcc}
/* the booth stands on the page: a plinth and its shadow */
.pjh-booth::before{content:'';position:absolute;left:-2.5%;right:-2.5%;bottom:-.45em;height:.45em;border-radius:.15em .15em .3em .3em;background:linear-gradient(#26395a,#0d1828)}
.pjh-booth::after{content:'';position:absolute;left:-16%;right:-16%;bottom:-1.5em;height:1.7em;border-radius:50%;background:radial-gradient(closest-side,#1b345438,#1b345400);z-index:-1}
/* the notes: in a column on each side; each one's line runs on to the booth at its own height */
.pjh-notes{position:relative;min-width:0}
.pjh-notes section{position:absolute;inset-inline:0;bottom:calc(100% - var(--y));padding:.55em 0 .6em;border-bottom:1px solid #97adc7}
.pjh-notes.start section{text-align:end}
.pjh-notes b{display:block;font-size:1.08em;line-height:1.25;font-weight:500;letter-spacing:-.025em}
.pjh-notes p{font-size:.88em;line-height:1.45;color:var(--pj5-muted);margin:.3em 0 0}
html .lvp .pjh-notes b{font-size:var(--f15)}
html .lvp .pjh-notes p{font-size:var(--f14)}
html[lang="ar"] .pjh-notes b{letter-spacing:0;line-height:1.5}
html[lang="ar"] .pjh-notes p{line-height:1.6}
.pjh-notes i{position:absolute;top:100%;width:1.7em;height:1px;margin-top:-1px;background:#7e9abc}
.pjh-notes.start i{inset-inline-start:100%}
.pjh-notes.end i{inset-inline-end:100%}
.pjh-notes i::after{content:'';position:absolute;top:-.2em;width:.4em;height:.4em;border:1px solid #5276a1;border-radius:50%;background:#fff}
.pjh-notes.start i::after{inset-inline-end:-.2em}
.pjh-notes.end i::after{inset-inline-start:-.2em}
@media(prefers-reduced-motion:no-preference){.pjh-booth{animation:pj5Rise .8s cubic-bezier(.22,1,.36,1) both}.pjh-notes section{animation:pj5Note .6s ease .45s both}}
@media print{.pjh-booth{animation:none}}
