/* record.css (14 Nov 2026): the industry pages' opening, "on one record". Each of the trade's products (at most four) stands
   on its own record, a white sheet on an open floor; the camera visits each in turn while its rows are written, then draws
   back to all of them (the overview shows every record whole). The sheets are the page's HTML (plain cards with
   scripts off or without 3D); record3d.js lays them on the floor under the product. Loaded by pages whose data has
   "records" (src/lib/industry-page.ts), after the frame's styles. */
.pr{position:relative;background:var(--grey);color:var(--text);overflow:clip;padding:0}
.pr-p{color:#55575E}
.sht{position:relative;box-sizing:border-box;padding-bottom:clamp(40px,6vw,72px)}
.js .sht{height:100svh;min-height:540px;padding-bottom:0}
.js .sht.flat{height:auto;min-height:0;padding-bottom:clamp(40px,6vw,72px)}
.sht-hd{position:relative;z-index:3;box-sizing:border-box;max-width:calc(1280px + 2 * var(--pad));margin:0 auto;padding:calc(var(--nav) + clamp(36px,4.6vw,64px)) var(--pad) 0;pointer-events:none}
.sht-hd a{pointer-events:auto}
.sht-gl{display:none}
.sht.live .sht-gl{display:block;position:absolute;inset:0;z-index:2;pointer-events:none}
.sht-gl .gl{position:absolute;inset:0;width:100%;height:100%;display:block;opacity:0;transition:opacity .7s var(--ease-out)}
.sht-gl.on .gl{opacity:1}
/* the records as plain cards (scripts off, no 3D) */
.sht-ss{box-sizing:border-box;max-width:calc(1280px + 2 * var(--pad));margin:clamp(28px,4vw,48px) auto 0;padding:0 var(--pad);display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:16px}
.js .sht:not(.live):not(.flat) .sht-ss{visibility:hidden}
.sht-s{box-sizing:border-box;margin:0;padding:26px 28px 22px;background:var(--white);border:1px solid #E2E3E6}
.sht-t{margin:0 0 10px;font:400 13px/1.2 var(--mono);letter-spacing:.02em;color:#7A7C85}
.sht-l{margin:0;font:400 26px/1.15 var(--sans);letter-spacing:-.02em;color:var(--text)}
.sht-l b{display:block;font-weight:500;color:var(--orange)}
.sht-r{margin:18px 0 0;padding:0;list-style:none;border-top:1px solid #E4E4E4}
.sht-r li{display:grid;grid-template-columns:104px minmax(0,1fr);gap:0 12px;padding:10px 0;border-bottom:1px solid #E4E4E4;font:400 18px/1.3 var(--sans);color:var(--text)}
.sht-r li span{font:400 15px/1.55 var(--sans);color:#7A7C85}
.sht-k{display:none}
/* the records on the floor */
.sht.live .sht-ss{position:absolute;inset:0;z-index:1;max-width:none;margin:0;padding:0;display:block}
.sht.live .sht-s{position:absolute;left:0;top:0;width:660px;height:auto;min-height:500px;padding:36px 36px 26px 276px;transform-origin:0 0;cursor:pointer;
 border-color:#E6E7EA;box-shadow:0 1px 0 rgba(30,31,43,.05),0 30px 50px -34px rgba(30,31,43,.28);--zx:.2;--zz:.52;
 opacity:0;transition:opacity .6s var(--ease-out)}
.sht.ready .sht-s{opacity:1}
.sht.ready .sht-s.dim{opacity:.55}
.sht.live .sht-l{font-size:30px}
.sht.live .sht-r li{min-height:26px;font-size:20px}
.sht.live .sht-r li>*{transition:opacity .22s var(--ease-out),transform .22s var(--ease-out)}
.sht.live .sht-r li:not(.on)>i{opacity:0;transform:translateY(7px)}
.sht-r li>i{font-style:normal;position:relative}
.sht.live .sht-r li.now>span{color:var(--orange)}
.sht.live .sht-k{display:flex;position:absolute;z-index:3;left:max(var(--pad),calc(50% - 640px));bottom:clamp(18px,3vh,36px);gap:6px 24px;margin:0}
.sht-k button{all:unset;box-sizing:border-box;position:relative;min-height:44px;padding:14px 0 0;font:400 15px/1.3 var(--sans);color:#6F717A;cursor:pointer;transition:color var(--t) var(--ease-out)}
.sht-k button::before,.sht-k button::after{content:"";position:absolute;left:0;top:0;width:100%;height:2px;background:#D5D6DB}
.sht-k button::after{background:var(--text);transform:scaleX(var(--f,0));transform-origin:0 50%;transition:transform .5s var(--ease-out)}
.sht-k button[aria-pressed=true],.sht-k button:hover{color:var(--text)}
.sht-k button:focus-visible{outline:2px solid var(--signal);outline-offset:4px}
.sht-k button:active{transform:translateY(1px)}
.sht-k .all{--f:0}.sht-k .all::before{background:transparent}
@media (max-width:699px){
 .sht-hd{padding-top:calc(var(--nav) + 30px)}
 .sht.live .sht-s{width:400px;height:auto;padding:26px 26px 18px;--zx:.79;--zz:.25}
 .sht.live .sht-l{font-size:26px;min-height:140px;padding-right:142px}
 .sht.live .sht-r{margin-top:6px}
 .sht.live .sht-r li{grid-template-columns:92px minmax(0,1fr);padding:7px 0;font-size:19px}
 .sht.live .sht-k{left:var(--pad);right:var(--pad);bottom:max(14px,env(safe-area-inset-bottom));gap:14px}
 .sht.live .sht-k button{flex:1 1 auto}
 .sht-k .all{display:none}
 .sht.live{touch-action:pan-y}   /* sideways drags belong to the records, up-down still scrolls the page */
 .sht.ready .sht-s.dim{opacity:0}
 .sht.ready.moving .sht-s.dim{opacity:1;transition-duration:.2s}}   /* while a record slides, its neighbours show with their sheets */
@media (max-width:699px) and (max-height:780px){   /* short phones: a tighter record so it clears the tabs */
 .sht.live .sht-l{font-size:24px;min-height:124px}
 .sht.live .sht-r li{padding:5px 0;font-size:17px}}
@media (prefers-reduced-motion:reduce){.sht-s,.sht-r li>*,.sht-gl .gl,.sht-k button::after{transition:none!important}}
@media (min-width:900px){.sht-hd .pr-hd{flex-wrap:nowrap}}   /* the heading and its line stay side by side, so the picture keeps its height in a short window */
.sht.live.all .sht-r li>i{opacity:1;transform:none}   /* the overview: every record shows whole, all its rows written in */
