/* Products shelf: the Glass rail (Rohan picked it 2026-10-29; prototype explore/shelf-glass.html on design-explore f3b3fa8).
   Uniform glass cards, a quiet meta row, hover lift, subtle image parallax. Behaviour (wheel, drag, keys, snap) in products.js.
   Component tokens inherit both host themes. Status colours are marks only; all text uses the ink tokens. */
.products{
  --pv-live:#25995e;
  --pv-delivered:#5685e0;
  --pv-demo:var(--mute);
  --pv-shadow:color-mix(in srgb,var(--night) 22%,transparent);
  --pv-clear:color-mix(in srgb,var(--void) 0%,transparent);
  --pv-dpr:3;
  --pv-tile-pattern:color-mix(in srgb,var(--ink) 2%,transparent);
  --pv-gutter:max(16px,env(safe-area-inset-left,0px));
  --pv-edge:max(var(--pv-gutter),calc((100% - 1260px) / 2 + var(--pv-gutter)));
}
.products{position:relative;padding-block:112px 96px;min-width:0;color:var(--ink);background:var(--void);font:17px/1.5 var(--font-body);isolation:isolate;overflow:hidden}
/* one soft indigo pool behind the rail (the cards are not blurred: the pool is already smooth, and 15 backdrop filters cost frames) */
.products::before{content:"";position:absolute;z-index:-1;left:50%;top:260px;width:1400px;height:720px;margin-left:-700px;border-radius:50%;pointer-events:none;
  background:radial-gradient(closest-side,rgba(92,110,255,.16),rgba(92,110,255,.06) 50%,transparent)}
:root[data-theme="light"] .products::before{background:radial-gradient(closest-side,rgba(92,110,255,.08),transparent)}
.products *,.products *::before,.products *::after,.pv-sheet *,.pv-sheet *::before,.pv-sheet *::after{box-sizing:border-box}
.products [hidden],.pv-sheet [hidden]{display:none!important}
.products .pv-wrap{width:100%;max-width:1260px;margin-inline:auto;padding-inline:var(--pv-gutter) max(16px,env(safe-area-inset-right,0px))}
.products .pv-heading{max-width:1000px}
.products h2{margin:0;font:600 clamp(38px,4.3vw,64px)/1.06 var(--font-display);letter-spacing:-.025em;text-wrap:balance}
.products .pv-lead{max-width:780px;margin:20px 0 0;font-size:clamp(18px,1.6vw,21px);line-height:1.5;color:var(--mute)}

/* bar: industry chips (with counts) left, prev/next right */
.products .pv-bar{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-top:34px}
.products .pv-filters{display:flex;flex-wrap:wrap;gap:5px;flex:1;min-width:0}
.products .pv-filters button{display:inline-flex;align-items:center;border:0;cursor:pointer;min-height:44px;padding:10px 12px;border-radius:999px;font:600 13px/1.1 var(--font-body);color:var(--ink-2,var(--mute));
  background:var(--chip);box-shadow:inset 0 0 0 1px var(--stroke-1,var(--line));transition:background-color .3s var(--ease)}
.products .pv-filters button:hover{color:var(--ink)}
.products .pv-filters button[aria-pressed="true"]{background:var(--ink);color:var(--void);box-shadow:none}
.products .pv-n{margin-left:5px;opacity:.62;font-variant-numeric:tabular-nums}
.products .pv-arrows{display:flex;flex:none;gap:10px}
.products .pv-round,.pv-sheet .pv-round{display:grid;place-items:center;flex:none;width:44px;height:44px;min-width:44px;min-height:44px;border:0;border-radius:50%;padding:0;background:var(--hull-2);color:var(--ink);cursor:pointer;transition:transform .3s var(--ease),opacity .3s}
.products .pv-arrows .pv-round{width:48px;height:48px;background:var(--glass-2,var(--hull-2));box-shadow:inset 0 0 0 1px var(--stroke-2,var(--line)),inset 0 1px 0 var(--hilite,transparent)}
.products .pv-round:disabled,.pv-sheet .pv-round:disabled{cursor:default;color:var(--mute)}
.products .pv-round:disabled svg,.pv-sheet .pv-round:disabled svg{opacity:.4}

/* the rail: edge fades so cards slide under the page edge instead of being cut */
.products .pv-rail{position:relative;margin-top:22px;min-width:0}
.products .pv-rail::before,.products .pv-rail::after{content:"";position:absolute;z-index:3;top:0;bottom:0;width:clamp(16px,4vw,64px);pointer-events:none;transition:opacity .3s var(--ease)}
.products .pv-rail::before{left:0;background:linear-gradient(90deg,var(--void),var(--pv-clear))}
.products .pv-rail::after{right:0;background:linear-gradient(270deg,var(--void),var(--pv-clear))}
.products .pv-rail.pv-at-start::before,.products .pv-rail.pv-at-end::after{opacity:0}
.products .pv-shelf{position:relative;display:flex;align-items:stretch;gap:22px;max-width:100%;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;
  scroll-snap-type:x mandatory;scroll-padding-inline:var(--pv-edge);padding:18px var(--pv-edge) 40px;scrollbar-width:none;-webkit-overflow-scrolling:touch;outline:none}
.products .pv-shelf::-webkit-scrollbar{display:none}
.products .pv-shelf.pv-driving,.products .pv-shelf.pv-filtering{scroll-snap-type:none}
@media (pointer:fine){.products .pv-shelf{cursor:grab}.products .pv-shelf.pv-grabbing,.products .pv-shelf.pv-grabbing *{cursor:grabbing!important}}
.products .pv-shelf.pv-grabbing{user-select:none;-webkit-user-select:none}
.products .pv-shelf.pv-grabbing a,.products .pv-shelf.pv-grabbing button{pointer-events:none}
.products .pv-shelf img{-webkit-user-drag:none;user-select:none}

/* the glass card */
.products .pv-card{--acc:#b597ff;--acc-l:#5b34c7;position:relative;display:flex;flex-direction:column;flex:0 0 352px;width:352px;min-width:0;padding:7px;border-radius:28px;scroll-snap-align:start;
  background:linear-gradient(180deg,rgba(24,29,56,.62),rgba(14,17,34,.5));
  box-shadow:inset 0 0 0 1px var(--stroke-1,var(--line)),inset 0 1px 0 color-mix(in srgb,var(--hilite,#fff) 60%,transparent),0 24px 60px -36px rgba(0,0,0,.7);
  transition:transform .6s var(--ease),box-shadow .6s var(--ease)}
:root[data-theme="light"] .products .pv-card{background:#fff;box-shadow:inset 0 0 0 1px var(--stroke-1,var(--line)),0 18px 40px -28px rgba(20,24,60,.35)}
.products .pv-media{position:relative;aspect-ratio:16/10;border-radius:21px;overflow:hidden;background:#05060c;flex:none}
:root[data-theme="light"] .products .pv-media{background:#eef0f6}
.products .pv-media::after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08);pointer-events:none}
:root[data-theme="light"] .products .pv-media::after{box-shadow:inset 0 0 0 1px rgba(20,24,60,.06)}
.products .pv-art{position:absolute;inset:0 -3%;width:106%;height:100%;max-width:none;object-fit:cover;transform:translate3d(calc(var(--px,0) * -10px),0,0);transition:transform .8s var(--ease)}
/* Auto image style: Night glass in the dark theme (the default), Silver studio in the light theme. Follows html[data-theme], set by
   the site's own toggle (home.js), not the OS setting. A lazy image with display:none is not fetched, so only one twin downloads. */
.products .pv-art-studio{display:none}
:root[data-theme="light"] .products .pv-art-night{display:none}
:root[data-theme="light"] .products .pv-art-studio{display:block}
.products .pv-media-tile{display:flex;background:none}
.products .pv-body{display:flex;flex:1;flex-direction:column;gap:10px;padding:18px 16px 12px}
.products .pv-eyebrow{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0;font:600 12px/1 var(--font-body);letter-spacing:.06em;text-transform:uppercase}
.products .pv-vert{display:inline-flex;align-items:center;gap:8px;color:var(--ink-3,var(--mute))}
.products .pv-vert i{width:6px;height:6px;border-radius:2px;background:var(--acc);transform:rotate(45deg)}
:root[data-theme="light"] .products .pv-vert i{background:var(--acc-l)}
.products .pv-st{display:inline-flex;align-items:center;gap:7px;color:var(--ink-2,var(--mute))}
.products .pv-st i,.products .pv-status i,.pv-sheet .pv-status i{display:inline-block;flex:none;width:7px;height:7px;border-radius:50%;background:var(--pv-demo)}
.products .pv-st[data-status="live"] i{background:var(--pv-live);box-shadow:0 0 0 3px color-mix(in srgb,var(--pv-live) 22%,transparent)}
.products .pv-st[data-status="delivered"] i{background:var(--pv-delivered)}
.products .pv-st[data-status="prototype"] i{background:transparent;box-shadow:inset 0 0 0 1.5px var(--pv-demo)}
.products .pv-name{margin:0;font:600 23px/1.15 var(--font-display);letter-spacing:-.02em;text-wrap:balance}
.products .pv-details-link{color:inherit;text-decoration:none}
/* the whole card opens the product page; Preview screens sits above the stretched link */
.products .pv-details-link::after{content:"";position:absolute;inset:0;z-index:1;border-radius:28px}
.products .pv-line{margin:0;font-size:15px;line-height:1.45;color:var(--ink-2,var(--mute));display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.9em}
.products .pv-card .pv-meta{display:flex;flex-wrap:wrap;gap:6px 14px;margin:2px 0 0;font:500 13px/1.3 var(--font-body);color:var(--ink-3,var(--mute))}
.products .pv-card .pv-meta .pv-ready{color:var(--ink);font-weight:600}
.products .pv-card .pv-meta .pv-ai{font-weight:700;letter-spacing:.04em;background:var(--grad-key);-webkit-background-clip:text;background-clip:text;color:transparent}
.products .pv-foot{display:flex;align-items:center;justify-content:space-between;min-height:56px;margin-top:auto;padding-top:10px;border-top:1px solid var(--stroke-1,var(--line))}
.products .pv-preview{position:relative;z-index:2;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:10px 2px;border:0;background:none;color:var(--ink);font:600 14px/1 var(--font-body);cursor:pointer}
.products .pv-preview::before{content:"";width:16px;height:12px;border-radius:3px;box-shadow:inset 0 0 0 1.5px currentColor}
.products .pv-go{display:grid;place-items:center;width:38px;height:38px;margin-left:auto;border-radius:50%;background:var(--chip);color:var(--ink);transition:transform .5s var(--ease),background-color .3s}
.products .pv-card:focus-within{box-shadow:inset 0 0 0 1px var(--stroke-2,var(--line)),0 0 0 2px var(--void),0 0 0 4px var(--link)}
.products .pv-details-link:focus-visible{outline:none}
.products .pv-preview:focus-visible{outline:2px solid var(--link);outline-offset:3px;border-radius:8px}
.products .pv-shelf.pv-grabbing .pv-card{transform:none}

/* below the rail: progress, hint, the screens note */
.products .pv-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px;margin-top:2px}
.products .pv-progress{flex:1;max-width:280px;height:3px;border-radius:3px;background:var(--stroke-1,var(--line));overflow:hidden}
.products .pv-progress i{display:block;height:100%;width:var(--w,20%);margin-left:var(--l,0);border-radius:3px;background:var(--grad-key)}
.products .pv-hint{margin:0;font:500 13px/1.3 var(--font-body);color:var(--ink-3,var(--mute))}
.products .pv-hint kbd{font:600 11px/1 var(--font-body);padding:3px 6px;border-radius:6px;box-shadow:inset 0 0 0 1px var(--stroke-2,var(--line))}
.products .pv-footer>.pv-note{flex-basis:100%}
.products .pv-note,.pv-sheet .pv-note{margin:0;font:400 12px/1.5 var(--font-body);color:var(--mute)}

/* shared with the sheet: pills, tile, focus, screen-reader text */
.products .pv-tile,.pv-sheet .pv-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;width:100%;aspect-ratio:16/10;padding:20px;border-radius:inherit;background-color:var(--hull-2);background-image:linear-gradient(30deg,var(--pv-tile-pattern) 12%,transparent 12.5%,transparent 87%,var(--pv-tile-pattern) 87.5%),linear-gradient(150deg,var(--pv-tile-pattern) 12%,transparent 12.5%,transparent 87%,var(--pv-tile-pattern) 87.5%),linear-gradient(30deg,var(--pv-tile-pattern) 12%,transparent 12.5%,transparent 87%,var(--pv-tile-pattern) 87.5%),linear-gradient(150deg,var(--pv-tile-pattern) 12%,transparent 12.5%,transparent 87%,var(--pv-tile-pattern) 87.5%),linear-gradient(60deg,var(--pv-tile-pattern) 25%,transparent 25.5%,transparent 75%,var(--pv-tile-pattern) 75%);background-size:48px 84px;background-position:0 0,0 0,24px 42px,24px 42px,0 0;text-align:center}
.products .pv-tile-name,.pv-sheet .pv-tile-name{font:600 clamp(22px,3vw,36px)/1.18 var(--font-display);letter-spacing:-.018em;color:var(--ink)}
.products .pv-card .pv-tile-name{font-size:22px}
.products .pv-tile-caption,.pv-sheet .pv-tile-caption{font:400 12px/1.5 var(--font-body);color:var(--mute)}
.pv-sheet .pv-meta{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.pv-sheet .pv-pill{display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:5px 9px;border-radius:999px;background:var(--hull-2);color:var(--mute);font:500 11px/1.25 var(--font-body);letter-spacing:0;overflow-wrap:anywhere}
.pv-sheet .pv-ready{background:var(--ink);color:var(--void);font-weight:600}
.pv-sheet .pv-status i{width:6px;height:6px}
.pv-sheet .pv-status[data-status="live"] i{background:var(--pv-live,#25995e)}
.pv-sheet .pv-status[data-status="delivered"] i{background:var(--pv-delivered,#5685e0)}
.pv-sheet .pv-status[data-status="prototype"] i{background:transparent;border:1.5px solid var(--mute)}
.pv-sheet .pv-slide .pv-art-studio{display:none}
:root[data-theme="light"] .pv-sheet .pv-slide .pv-art-night{display:none}
:root[data-theme="light"] .pv-sheet .pv-slide .pv-art-studio{display:block}
.products :focus-visible,.pv-sheet :focus-visible{outline:2px solid var(--link);outline-offset:4px}
.products .pv-shelf:focus-visible{outline:2px solid var(--link);outline-offset:-4px;border-radius:12px}
.products .pv-sr,.pv-sheet .pv-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

/* Native dialog supplies the top layer, inert background and Escape support. */
.pv-sheet{width:min(1160px,calc(100% - 40px));max-width:none;max-height:calc(100dvh - 48px);padding:0;border:0;margin:auto;border-radius:34px;overflow:visible;background:none;color:var(--ink);font:17px/1.5 var(--font-body)}
.pv-sheet::backdrop{background:color-mix(in srgb,var(--night) 55%,transparent)}
.pv-sheet .pv-panel{position:relative;max-height:calc(100dvh - 48px);padding:60px 32px 32px;border-radius:34px;overflow-y:auto;overscroll-behavior:contain;background:var(--hull);background:color-mix(in srgb,var(--hull) 78%,transparent);backdrop-filter:blur(28px) saturate(160%);-webkit-backdrop-filter:blur(28px) saturate(160%);box-shadow:inset 0 0 0 1px var(--line),0 28px 90px -24px var(--pv-shadow);transform-origin:0 0}
.pv-sheet .pv-close{position:absolute;right:16px;top:12px;z-index:2;background:var(--hull-2)}
.pv-sheet .pv-sheet-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:32px;align-items:center}
.pv-sheet .pv-gallery-area{min-width:0}
.pv-sheet .pv-gallery{display:flex;width:100%;max-width:calc(var(--pv-source-width,1586px) / var(--pv-dpr));margin-inline:auto;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;border-radius:18px;background:var(--hull-2)}
.pv-sheet .pv-gallery.pv-no-screens{max-width:none}
.pv-sheet .pv-gallery::-webkit-scrollbar{display:none}
.pv-sheet .pv-slide{display:flex;align-items:center;justify-content:center;flex:0 0 100%;min-width:0;margin:0;scroll-snap-align:start;scroll-snap-stop:always;aspect-ratio:16/10}
.pv-sheet .pv-slide img{display:block;width:100%;height:100%;max-width:calc(var(--pv-source-width,1586px) / var(--pv-dpr));object-fit:cover}
.pv-sheet .pv-gallery-controls{display:flex;justify-content:center;align-items:center;gap:12px;margin-top:14px}
.pv-sheet .pv-dots{display:flex;gap:0}
.pv-sheet .pv-dots button{position:relative;display:grid;place-items:center;min-width:44px;min-height:44px;padding:0;border:0;border-radius:50%;background:none;color:var(--mute);cursor:pointer}
.pv-sheet .pv-dots button::before{content:"";display:block;width:6px;height:6px;border-radius:50%;background:currentColor;transition:transform .3s var(--spring)}
.pv-sheet .pv-dots button[aria-current="true"]{color:var(--ink)}
.pv-sheet .pv-dots button[aria-current="true"]::before{transform:scale(1.5)}
.pv-sheet .pv-details{min-width:0;padding-block:12px 24px}
.pv-sheet h3{margin:0;font:600 clamp(26px,3vw,36px)/1.12 var(--font-display);letter-spacing:-.02em;text-wrap:balance}
.pv-sheet #pv-description{margin:16px 0 24px;font-size:17px;line-height:1.5;color:var(--mute)}
.pv-sheet #pv-product-note{margin:-12px 0 24px;font-size:14px;line-height:1.5;color:var(--mute)}
.pv-sheet .pv-pill{font-size:12px;padding:6px 10px}
.pv-sheet .pv-details .pv-note{margin-top:28px}
@media(max-width:760px){.pv-sheet{width:calc(100% - 24px);max-height:calc(100dvh - 24px);border-radius:28px}.pv-sheet .pv-panel{max-height:calc(100dvh - 24px);padding:64px 18px 28px;border-radius:28px}.pv-sheet .pv-sheet-grid{grid-template-columns:minmax(0,1fr);gap:8px}.pv-sheet .pv-details{padding:12px 6px 4px}.pv-sheet .pv-gallery{border-radius:16px}.pv-sheet .pv-gallery-controls{gap:8px}.pv-sheet .pv-details .pv-note{margin-top:22px}}
.pv-sheet [data-pv-details],.pv-sheet [data-pv-enquiry]{display:inline-flex;align-items:center;min-height:44px;color:var(--link)}

@media(min-width:820px){.products{--pv-gutter:max(40px,env(safe-area-inset-left,0px))}.products .pv-wrap{padding-inline:var(--pv-gutter) max(40px,env(safe-area-inset-right,0px))}}
@media(max-width:719px){
  .products{padding-block:72px 64px}
  .products .pv-lead{margin-top:16px}
  .products .pv-bar{margin-top:26px}
  .products .pv-arrows{display:none!important}
  /* chips scroll sideways on a phone instead of wrapping into four rows */
  .products .pv-filters{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin-inline:calc(-1 * var(--pv-gutter));padding-inline:var(--pv-gutter);padding-block:2px}
  .products .pv-filters::-webkit-scrollbar{display:none}
  .products .pv-filters button{flex:none}
  .products .pv-rail{margin-top:16px}
  .products .pv-shelf{gap:16px}
  .products .pv-card{flex-basis:min(82vw,340px);width:min(82vw,340px)}
  .products .pv-name{font-size:21px}
  .products .pv-hint{display:none}
}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
  .products .pv-card:hover{transform:translateY(-8px);box-shadow:inset 0 0 0 1px var(--stroke-2,var(--line)),inset 0 1px 0 var(--hilite,transparent),0 40px 80px -40px rgba(0,0,0,.8),0 0 70px -24px color-mix(in srgb,var(--acc) 60%,transparent)}
  :root[data-theme="light"] .products .pv-card:hover{box-shadow:inset 0 0 0 1px var(--stroke-2,var(--line)),0 34px 60px -30px rgba(20,24,60,.4)}
  .products .pv-card:hover .pv-art{transform:translate3d(calc(var(--px,0) * -10px),0,0) scale(1.035)}
  .products .pv-card:hover .pv-go{transform:translateX(3px);background:var(--ink);color:var(--void)}
  .products .pv-round:not(:disabled):hover,.pv-sheet .pv-round:not(:disabled):hover{transform:scale(1.06)}
}
@media(prefers-reduced-motion:reduce){
  .products .pv-art{transform:none!important;inset:0;width:100%;height:100%}
  .products *,.products *::before,.products *::after,.pv-sheet *,.pv-sheet *::before{transition:none!important;scroll-behavior:auto!important}
}
