/* Products with live models (product-3d.js) and their item pages (canvas.js productMarkup). 2026-10-08. */

/* One WebGL layer over the floor, the Grid and an open item; under the HUD; never takes a click. */
.product-gl {
  position: fixed; inset: 0; width: 100vw; height: 100vh;
  pointer-events: none; z-index: 12;
}

/* The item page: copy on the left, the live model's stage on the right (stacked on a phone). */
.folio-product-top {
  display: grid; gap: 24px; align-items: center;
  grid-template-columns: 1fr;
}
.folio-product-stage { width: 100%; aspect-ratio: 1 / 1; max-height: 56vh; justify-self: center; }
@media (min-width: 900px) {
  .folio-product-top { grid-template-columns: 5fr 7fr; min-height: 62vh; }
  .folio-product-stage { aspect-ratio: 4 / 3; max-height: none; }
}
.folio-product-copy .folio-stage-member { font: 400 var(--t-lede)/1.5 var(--font-sans); color: var(--chrome-2); max-width: 40ch; }

.folio-product-rows { display: grid; gap: 32px; margin-top: 40px; }
@media (min-width: 900px) { .folio-product-rows { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.folio-product-row h3 { color: var(--chrome); margin-bottom: 10px; }
.folio-product-row p { color: var(--chrome-2); font: 400 15px/1.55 var(--font-sans); max-width: 46ch; }

.folio-product-facts {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 24px;
  margin-top: 40px; border-top: 1px solid var(--line); padding-top: 24px;
}
@media (min-width: 900px) { .folio-product-facts { grid-template-columns: repeat(4, 1fr); } }
.folio-product-facts dt { color: var(--chrome-3); margin-bottom: 6px; }
.folio-product-facts dd { color: var(--chrome); font: 400 15px/1.4 var(--font-sans); }

/* The suite: a swipeable row of every other product. */
.folio-product-suite { margin-top: 72px; }
.folio-product-suite header { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.folio-product-suite h3 { color: var(--chrome); }
.folio-product-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); align-items: start;
  gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px;
  overscroll-behavior-x: contain; scrollbar-width: thin;
}
@media (max-width: 760px) { .folio-product-track { grid-auto-columns: 74%; } }
.folio-product-card { scroll-snap-align: start; display: grid; gap: 10px; color: inherit; text-decoration: none; min-height: var(--hit); }
.folio-product-card img {
  width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; display: block;
  outline: 1px solid var(--line-strong); background: var(--ph-2);
  transition: outline-color var(--dur-2) linear, transform var(--dur-3) var(--ease-out);
}
.folio-product-card:hover img, .folio-product-card:focus-visible img { outline-color: var(--chrome-3); transform: translateY(-3px); }
.folio-product-card b { font: 560 18px/1.1 var(--font-display); font-stretch: 120%; }
.folio-product-card span { color: var(--chrome-3); }

/* The cover's HUD (product-3d.js hud()): over the backdrop, under the live model. Ink on the light studio sweep. */
.product-hud { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; overflow: visible; }
.product-hud .ph-name {
  font-family: var(--font-display); font-weight: 800; font-stretch: 125%; font-size: 236px; letter-spacing: -.02em;
  fill: #fff; opacity: .92;
}
.product-hud .ph-sub { font-family: var(--font-hud); font-size: 30px; letter-spacing: .6em; fill: #fff; opacity: .85; }
.product-hud .ph-line { fill: none; stroke: rgba(11, 12, 14, .16); stroke-width: 1.5; }
.product-hud .ph-dash { stroke-dasharray: 4 8; }
.product-hud .ph-ink { fill: none; stroke: rgba(11, 12, 14, .55); stroke-width: 2; }
.product-hud .ph-text { font-family: var(--font-hud); font-size: 22px; letter-spacing: .08em; fill: rgba(11, 12, 14, .62); }
.product-hud .ph-status circle { fill: rgba(11, 12, 14, .3); transition: fill var(--dur-2) linear; }
.product-hud.is-awake .ph-status circle { fill: var(--signal); }
.product-hud .ph-awake, .product-hud.is-awake .ph-asleep { display: none; }
.product-hud.is-awake .ph-awake { display: inline; }
.folio-product-copy .folio-product-page { margin-top: var(--s-5); align-self: flex-start; }   /* the full product-line page (2026-10-11) */
