/* ===== Laxers Vision catalogue — tablets (v75) =====
   PORTRAIT (a tablet held upright, or any window at least 681px wide that is taller than it is wide): every page is set in one
   column — its heading on top, what it shows below — at a reading size taken from the page's width (about 14px on a 10–11 inch
   tablet). Where a page has a dark ground for its picture, the ground becomes the lower part of the page.
   Phones are not served (they get the "made for a larger screen" notice); landscape tablets keep the book's side-by-side pages. */
@media screen and (min-width:681px) and (orientation:portrait){

 /* ---- the reading size and the page's margins ---- */
 .book-stage>.catalogue-page.lvp,.book-turn .catalogue-page.lvp{font-size:min(1.95cqw,1.26cqh);--px:min(6.63cqw,4.28cqh)}   /* --px: 3.4 times the reading size, kept in page units so the top and bottom lines share the margin */
 .book-stage>.catalogue-page.lvp .page-inner,.book-turn .catalogue-page.lvp .page-inner{padding-block:2.6em 2.4em}

 /* ---- the cover: the white panel runs on to the page's right edge, like the picture above it (no dark strip) ---- */
 .gated .gate::after,html[dir="rtl"] .gated .gate::after{content:"";display:block;position:absolute;top:0;bottom:0;left:100%;width:var(--pr,66px);background:#fff}
 html[dir="rtl"] .gated .gate::before{content:"";position:absolute;top:0;bottom:0;right:100%;width:var(--pl,33px);background:#fff}   /* in Arabic the outer edge is on the left */

 /* ---- 1 · words over the picture (split pages and projects): the words take what they need, the picture the rest, on its dark ground ---- */
 .lvp .lv-split,.lvp .lv-split.s-start{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);row-gap:4.4em;align-items:stretch}
 .lvp .lv-split>.lv-copy{order:0;grid-row:1;justify-content:flex-start}
 .lvp .lv-split>.lv-stage{order:1;grid-row:2}
 .catalogue-page .lv-bleed,.catalogue-page .lv-bleed.start,
 html:not([dir="rtl"]) .catalogue-page .lv-bleed:not(.start),html[dir="rtl"] .catalogue-page .lv-bleed.start{top:var(--bt,48%);bottom:0;height:auto;width:auto;left:0;right:calc(-1*var(--pr,66px))}   /* --bt: 3em above the picture (fitBand in app.js) */
 .lvp.pg-split:not(.dark) .page-topline>span,.lvp.pg-case:not(.dark) .page-topline>span{color:var(--fg2)}
 .lvp.pg-split .page-bottomline,.lvp.pg-case .page-bottomline{color:#c9d7ea}
 .lvp.pg-split .page-bridge,.lvp.pg-case .page-bridge{color:#f4f8fc}
 .lvp.pg-split .page-bridge i,.lvp.pg-case .page-bridge i{color:#8cb6e8}
 .lv-split .lv-cap{bottom:-1.6em}

 /* ---- 2 · the picture in the middle: heading on top, the picture, then its notes in two columns ---- */
 .lvp .lv-chead{grid-template-columns:minmax(0,1fr);row-gap:.9em;align-items:start;margin-bottom:1.6em}
 .lvp .lv-chead .lv-lead{justify-self:start}
 .lvp .lv-cgrid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;column-gap:2.4em;row-gap:2em}
 .lvp .lv-cgrid>.lv-stage{grid-column:1/-1;grid-row:1}
 .lvp .lv-cgrid>.lv-cs.s{grid-column:1;grid-row:2}
 .lvp .lv-cgrid>.lv-cs.e{grid-column:2;grid-row:2}
 .lvp .lv-cs{justify-content:flex-start;gap:1.1em}
 .lvp .lv-cs .lv-co,.lvp .lv-cs.s .lv-co,.lvp .lv-cs.e .lv-co{text-align:start;padding:.8em 0 0;border-top:1px solid var(--ln)}
 .lvp .lv-cs .lv-co::before,.lvp .lv-cs .lv-co::after{display:none}
 .lvp .lv-cb{padding-inline:0;gap:1.6em;margin-top:1.6em}

 /* ---- 3 · index pages: the title on top, the chapters under it ---- */
 .lvp .lv-index{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto;align-content:center;row-gap:3.4em}
 .lvp .lv-index .lv-copy{justify-content:flex-start}
 .lvp .lv-chapters{justify-content:flex-start}
 .lvp .lv-chapters li{flex:none;max-height:none;min-height:4.4em}
 .lvp .lv-ch{padding-block:.85em}
 .lvp .lv-ch .tt{flex-direction:column;align-items:flex-start;gap:.3em}
 .lvp .lv-ch .k{white-space:normal}

 /* ---- 4 · squares, tools and plain grids: two columns ---- */
 .lvp .lv-tiles{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:1.6em 2.4em}
 .lvp .lv-tile svg{width:7em;height:7em}
 .lvp .lv-tools,.lvp .lv-tools.c3,.lvp .lv-tools.c6,.lvp .lv-tools.plain{grid-template-columns:repeat(2,minmax(0,1fr));gap:2.6em 2.6em}

 /* ---- 5 · steps: two to a row ---- */
 .lvp .lv-strip-row{grid-auto-flow:row;grid-template-columns:repeat(2,minmax(0,1fr));row-gap:4.6em;align-content:center}

 /* ---- 6 · lists beside words (platforms, partners, engagement): the words on top, the list under them ---- */
 .lvp .lv-partners{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto;align-content:center;row-gap:3em}

 /* ---- 7 · a project as a sequence of moments: the words on top, the moments in two columns ---- */
 .lvp .lv-frames{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);row-gap:2.4em;align-items:start}
 .lvp .lv-fgrid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:none;align-content:start}
 /* the moments keep their shape (16:10) when the page is tall enough; on a squarer page they give up a little height, evenly */
 .lvp .lv-fgrid{--fw:calc((100cqw - 2*var(--px) - 1.3em) / 2);grid-template-rows:repeat(3,minmax(0,max-content));height:100%;min-height:0}
 .lvp .lv-frame{display:grid;grid-template-rows:minmax(0,calc(var(--fw) / 1.6)) auto;min-height:0}
 .lvp .lv-frame .im{aspect-ratio:auto;height:100%;min-height:0}

 /* ---- 8 · three kinds of software side by side: narrower cells ---- */
 .lvp .lv-cmp>div{padding:.85em .8em}
 .lvp .lv-cmp .rw{padding-inline-start:0}

 /* ---- 9 · the approach line: one column ---- */
 .lvp .lv-appr{grid-template-columns:minmax(0,1fr);row-gap:.7em}

 /* ---- 10 · the company's story (Follow one message): the five stops run down the page, one under the other ---- */
 .lvp .fl-head{grid-template-columns:minmax(0,1fr);row-gap:1em;margin:.6em 0 2em}
 .lvp .fl-title{font-size:4.4em}
 html[lang="ar"] .lvp .fl-title{font-size:3.9em}
 .lvp .fl-head p{justify-self:start;margin:0}
 .lvp .fl-stops{grid-template-columns:minmax(0,1fr);grid-template-rows:none;grid-auto-rows:auto;align-content:center;column-gap:0}
 .lvp .fl-stop{grid-row:auto;grid-template-rows:auto auto minmax(0,1fr);grid-template-columns:6.4em 8.4em minmax(0,1fr);grid-template-areas:"node shot name" "node shot beat" "node shot go";column-gap:1.4em;padding-block:.75em;align-items:start}
 .lvp .fl-node{grid-area:node;height:100%}
 .lvp .fl-node::before{bottom:auto;top:.33em}
 .lvp .fl-node::after{bottom:auto;top:.6em;width:1px;height:calc(100% + 1.5em);inset-inline-start:.275em}
 .lvp .fl-stop.gap .fl-node::after{background:repeating-linear-gradient(180deg,var(--ln) 0 .45em,transparent .45em .9em)}
 .lvp .fl-time{padding-inline-start:1.3em}
 .lvp .fl-shot{grid-area:shot;width:100%;height:auto;aspect-ratio:1}
 .lvp .fl-name{grid-area:name;margin-top:0}
 .lvp .fl-beat{grid-area:beat}
 .lvp .fl-go{grid-area:go;margin-top:.7em}
 .lvp .fl-prog,.lvp .fl-trav{display:none}

 /* ---- 11 · a title band with a picture, then a grid (UX/UI, inside the product): the picture across the top, the words, then two columns ---- */
 .catalogue-page .lv-topband{display:none}
 .catalogue-page .lv-topimg,html:not([dir="rtl"]) .catalogue-page .lv-topimg{top:5.6em;height:30cqh;width:auto;left:0;right:calc(-1*var(--pr,66px))}
 .lvp.pg-bandgrid .page-topline>span{color:var(--fg2)}
 .lvp .lv-bandgrid .lv-bhead{height:auto;min-height:0;max-width:none;padding-top:calc(30cqh + 1.4em)}
 .lvp .lv-items{grid-template-columns:repeat(2,minmax(0,1fr));gap:2.4em 2.6em;align-content:center}

 /* ---- 12 · the company profile: the heading over the mission, four numbers in two rows, the facts over the people ---- */
 .lvp .sh-head{grid-template-columns:minmax(0,1fr);row-gap:1.1em;align-items:start}
 .lvp .sh-mission{justify-self:start;max-width:none}
 .lvp .sh-stats{grid-template-columns:repeat(4,minmax(0,1fr))}
 .lvp .sh-title{font-size:4.6em}
 html[lang="ar"] .lvp .sh-title{font-size:4em}
 .lvp .sh-mission{font-size:1.5em}
 html[lang="ar"] .lvp .sh-mission{font-size:1.38em}
 .lvp .sh-stats{margin-top:1.7em}
 .lvp .sh-stat b{font-size:5.2em}
 .lvp .sh-low{margin-top:1.9em}
 .lvp .sh-row{padding:.72em 0}
 .lvp .sh-person{margin-top:.8em;padding-top:.8em}
 .lvp .sh-team{margin-top:.8em;padding-top:.8em}
 .lvp .sh-low{grid-template-columns:minmax(0,1fr);row-gap:2.2em}
 .lvp .sh-row{grid-template-columns:9em minmax(0,1fr)}

 /* ---- the picture-band pages: smaller drawings so four pieces fit in two rows ---- */
 .lvp .lv-item .vz-mini{height:7.4em}

 /* ---- the picture in the middle, continued: the picture keeps its own height (its shape at the column's width), and the picture
    with its notes stands in the middle of the space under the heading ---- */
 .lvp .lv-cgrid{--vh:calc((100cqw - 2*var(--px)) / 1.6 + 1em);flex:0 1 auto;grid-template-rows:minmax(0,var(--vh)) auto;margin-block:auto}
 .lvp .lv-cgrid:has(.vz-doc){--vh:calc((100cqw - 2*var(--px)) / 2.2 + 1em)}
 .lvp .lv-cgrid:has(.vz-ph2){--vh:calc((100cqw - 2*var(--px)) / 1.12 + 1em)}
 .lvp .lv-cgrid:has(.vz-stack){--vh:calc((100cqw - 2*var(--px)) / 1.04 + 1em)}
 .lvp .lv-cgrid:has(+.lv-cb){margin-bottom:0}
 .lvp .lv-cgrid+.lv-cb{margin-bottom:auto}
 /* a little more air above the bottom line */
 .lvp .lv-body{padding-bottom:2.3em}

 /* ---- small labels never fall under about 10px, even on the smallest tablets ---- */
 .book-stage .lvp .page-topline,.book-turn .lvp .page-topline{font-size:max(10px,.74em)}
 .book-stage .lvp .page-bottomline,.book-turn .lvp .page-bottomline{font-size:max(10px,.66em)}
 .lvp .page-bridge i{font-size:max(9.5px,.7em)}
 .lvp .lv-cap{font-size:max(9.5px,.6em)}
 .lvp .lv-foot,.lvp .lv-meta,.lvp .lv-q .k,.lvp .lv-prow .k{font-size:max(10px,.66em)}
 .lvp .lv-op-list .k,.lvp .lv-step small,.lvp .lv-tagline,.lvp .lv-chips span{font-size:max(10px,.7em)}
 .lvp .page-eyebrow,.lvp .lv-ch .k,.lvp .fl-note,.lvp .lv-prow .n,.lvp .lv-frame .n,.lvp .lv-step .o,.lvp .lv-count,.lvp .lv-pt .n,.lvp .lv-tile .n{font-size:max(10px,.72em)}
 /* v79: the index descriptions are sentences, not labels; the process table's labels */
 .lvp .lv-toc .lv-ch .k{font-size:max(11px,.92em)}
 .lvp .lv-sdl dt{font-size:max(10px,.76em)}
}

/* LANDSCAPE TABLETS (touch, up to 1400px wide): the book keeps its side-by-side pages; only the smallest labels are kept at 9px or more */
@media screen and (min-width:681px) and (max-width:1400px) and (orientation:landscape) and (pointer:coarse){
 .book-stage .lvp .page-topline,.book-turn .lvp .page-topline{font-size:max(9px,.74em)}
 .book-stage .lvp .page-bottomline,.book-turn .lvp .page-bottomline{font-size:max(9px,.66em)}
 .lvp .page-bridge i,.lvp .lv-cap{font-size:max(9px,.6em)}
 .lvp .lv-foot,.lvp .lv-meta,.lvp .lv-q .k,.lvp .lv-prow .k,.lvp .lv-op-list .k,.lvp .lv-step small,.lvp .lv-tagline,.lvp .page-eyebrow,.lvp .lv-count,.lvp .fl-note{font-size:max(9px,.68em)}
 /* v79: row numbers, the index numbers and the process table's labels */
 .lvp .lv-prow .n{font-size:max(9px,.72em)}
 .lvp .lv-ch .no{font-size:max(9px,.78em)}
 .lvp .lv-sdl dt{font-size:max(9px,.76em)}
}
