/* products.html: the Hairline restyle (2026-09-15)
   Loaded after css/hairline.css, only on products.html. Every rule is scoped
   under body.hl-site.hl-products. Visual only: the product grid and the value
   ring are still built by js/main.js from data/products.json, with the same
   markup, hooks and behaviour (hold-to-preview clip, ring drift and drag).

   Contents
     1. hero
     2. the lineup: the product grid as one hairline band of open entries
     3. everything in the box: the value ring as black hairline stages
     4. narrower screens
*/

/* ============================================================
   1. HERO: the tracked label, the bouncing title and the lede
   ============================================================ */
.hl-site.hl-products .hero { padding-bottom: 0; }
.hl-site.hl-products .hero h1 { margin-top: 18px; }
.hl-site.hl-products .hero .lead {
  margin: 20px auto 0;
  font-size: 19px;
  line-height: 1.55;
  color: var(--hl-lede);
}

/* ============================================================
   2. THE LINEUP: one band, one light, one open entry per product
   ============================================================ */
.hl-site.hl-products .pp-lineup {
  padding-top: clamp(56px, 6vw, 88px);
  padding-bottom: clamp(72px, 8vw, 112px);
}
/* the section after the divider rule: the same breath on both sides of it */
.hl-site.hl-products .pp-box { padding-top: clamp(72px, 8vw, 112px); }
.hl-site.hl-products .pp-lineup > .eyebrow { margin-bottom: 20px; }

/* the band: rules top and bottom, the light on the top rule, columns split
   by vertical hairlines. Each entry is a subgrid over six shared rows
   (stage, status, name, tagline, facts, action) so every row lines up
   across the columns. */
.hl-site.hl-products .products-grid {
  position: relative;
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-template-rows: none;
  column-gap: 52px;
  row-gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hl-site.hl-products .products-grid::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 1px;
  background: var(--hl-light);
  pointer-events: none;
}

/* the entry: no box, no glass, no glow, no tilt, no border beam */
.hl-site.hl-products .products-grid > .product-card.pc2 {
  position: relative;
  display: grid;
  grid-row: span 6;
  grid-template-rows: subgrid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 22px;
  row-gap: 0;
  align-content: start;
  aspect-ratio: auto;
  min-width: 0;
  padding: 30px 0 30px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
  opacity: 1;
  color: inherit;
  text-decoration: none;
  transform: none !important;   /* the JS tilt writes an inline transform */
  transition: none;
}
.hl-site.hl-products .products-grid > .product-card.pc2:hover { transform: none; box-shadow: none; }
.hl-site.hl-products .products-grid > .product-card.pc2::before { content: none; }
/* the vertical hairline between entries, inset from the band rules */
.hl-site.hl-products .products-grid > .product-card.pc2 + .product-card.pc2::after {
  content: "";
  position: absolute;
  left: -26px;
  top: 28px;
  bottom: 28px;
  width: 1px;
  background: var(--line);
  pointer-events: none;
}
.hl-site.hl-products .products-grid > .product-card .spotlight,
.hl-site.hl-products .products-grid > .product-card .sheen { display: none; }
.hl-site.hl-products .products-grid > .product-card .pbody,
.hl-site.hl-products .products-grid > .product-card .prow { display: contents; }

/* row 1: the black stage */
.hl-site.hl-products .pc2 .pmedia {
  grid-row: 1;
  grid-column: 1 / -1;
  align-self: start;
  position: relative;
  aspect-ratio: 16 / 9;
  margin-bottom: 26px;
  overflow: hidden;
  background: var(--hl-stage);
  border: 1px solid var(--line);
  border-radius: var(--hl-radius);
  box-shadow: none;
  transition: border-color 0.2s ease;
}
.hl-site.hl-products .pc2 .pmedia img.cover { transform: none; transition: transform 0.6s ease, opacity 0.5s ease; }
.hl-site.hl-products .pc2:hover .pmedia { border-color: rgba(205, 216, 255, 0.34); }
.hl-site.hl-products .pc2:hover .pmedia img.cover { transform: scale(1.025); }
/* a product not out yet: the black stage carries one tracked label (the same
   treatment on products, search and the home lineup) */
.hl-site.hl-products .pc2 .pmedia-blank {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 0 16px;
  font-size: 0;
  color: transparent;
  text-shadow: none;
}
.hl-site.hl-products .pc2 .pmedia-blank::before {
  content: "In the workshop";
  font: 600 12.5px/1.4 "Inter", sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  color: var(--hl-eyebrow);
}

/* row 2: the status as a tracked label ("Available now" is drawn for the
   live product, the soon products show their own "Coming soon") */
.hl-site.hl-products .pc2:not(.soon) .pbody::before {
  content: "Available now";
  grid-row: 2;
  grid-column: 1 / -1;
  font: 600 12.5px/1.4 "Inter", sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hl-eyebrow);
}
.hl-site.hl-products .pc2 .prow .status-pill {
  grid-row: 2;
  grid-column: 1 / -1;
  justify-self: start;
  position: static;
  display: block;
  transform: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  font: 600 12.5px/1.4 "Inter", sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hl-eyebrow);
  white-space: normal;
}
.hl-site.hl-products .pc2 .status-pill i { display: none; }

/* row 3: the bright name */
.hl-site.hl-products .pc2 .prow h3 {
  grid-row: 3;
  grid-column: 1 / -1;
  margin: 12px 0 0;
  font: 600 26px/1.15 "Space Grotesk", "Inter", sans-serif;
  letter-spacing: -0.02em;
  color: var(--hl-bright);
  text-shadow: none;
  transform: none;
  transition: color 0.15s ease;
}
.hl-site.hl-products .pc2:hover .prow h3 { color: #fff; }

/* row 4: the tagline as a quiet note */
.hl-site.hl-products .pc2 .sub {
  grid-row: 4;
  grid-column: 1 / -1;
  margin: 8px 0 0;
  max-width: 40ch;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--hl-soft);
  text-shadow: none;
}

/* row 5: the three facts as hairline rows, no chips */
.hl-site.hl-products .pc2 .ptags {
  grid-row: 5;
  grid-column: 1 / -1;
  display: block;
  margin: 22px 0 0;
}
.hl-site.hl-products .pc2 .ptags span {
  display: block;
  padding: 11px 0;
  border: 0;
  border-top: 1px solid var(--hl-rule);
  border-radius: 0;
  background: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--hl-body);
  white-space: normal;
}
.hl-site.hl-products .pc2 .ptags span:last-child { border-bottom: 1px solid var(--hl-rule); }

/* row 6: the price as a light numeral beside the white pill (live), or a
   quiet note (soon) */
.hl-site.hl-products .pc2 .prow .price-pill {
  grid-row: 6;
  grid-column: 1;
  align-self: center;
  position: static;
  transform: none;
  margin-top: 26px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--hl-num);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  box-shadow: none;
  text-shadow: none;
  font: 600 34px/1 "Space Grotesk", sans-serif;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}
.hl-site.hl-products .pc2:hover .prow .price-pill { transform: none; box-shadow: none; }
.hl-site.hl-products .pc2 .cta-row {
  grid-row: 6;
  grid-column: 2;
  align-self: center;
  justify-self: start;
  position: static;
  margin-top: 26px;
}
/* the way into the product page is a secondary action: a hairline text link
   with the drawn arrow (the white pill stays the purchase button's) */
.hl-site.hl-products .pc2:not(.soon) .cta-row {
  display: inline-block;
  padding: 12px 2px;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--hl-bright);
  font: 600 15px/1.3 "Inter", sans-serif;
  letter-spacing: 0;
  white-space: nowrap;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  text-decoration-color: rgba(205, 216, 255, 0.4);
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}
.hl-site.hl-products .pc2:not(.soon) .cta-row::after {
  content: "\2192";
  content: "\2192" / "";
  display: inline-block;
  margin-left: 10px;
  text-decoration: none;
  transition: translate 0.15s ease;
}
.hl-site.hl-products .pc2:not(.soon):hover .cta-row { color: #fff; text-decoration-color: var(--hl-ice); }
.hl-site.hl-products .pc2:not(.soon):hover .cta-row::after { translate: 3px 0; }
.hl-site.hl-products .pc2.soon .cta-row {
  grid-column: 1 / -1;
  font: 500 14px/1.5 "Inter", sans-serif;
  letter-spacing: 0;
  color: var(--hl-soft);
}

/* ============================================================
   3. EVERYTHING IN THE BOX: the ring keeps its drift and drag; each value
      is a black stage with a hairline border, a line icon, a light index,
      a bright name and a quiet note. The front card carries the one light.
   ============================================================ */
.hl-site.hl-products .pp-box .hl-head { margin-bottom: 8px; }
.hl-site.hl-products .pp-box .vring { height: 470px; margin-top: 0; counter-reset: pp-box; }
.hl-site.hl-products .vring .fring-card {
  counter-increment: pp-box;
  width: 320px;
  height: 292px;
  margin-left: -160px;
  margin-top: -146px;
  padding: 28px 28px 26px;
  text-align: left;
  background: var(--hl-stage);
  border: 1px solid var(--line);
  border-radius: var(--hl-radius);
  box-shadow: none;
}
.hl-site.hl-products .vring .fring-card.front { border-color: rgba(205, 216, 255, 0.3); box-shadow: none; }
.hl-site.hl-products .vring .fring-card.front::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: -1px;
  height: 1px;
  background: var(--hl-light);
  pointer-events: none;
}
/* the light index, top right, level with the icon */
.hl-site.hl-products .vring .fring-card::after {
  content: counter(pp-box, decimal-leading-zero);
  position: absolute;
  top: 30px;
  right: 28px;
  font: 600 22px/1 "Space Grotesk", sans-serif;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
  background: var(--hl-num-sm);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* the icon: a plain line drawing over an inner rule, no badge, tint or glow */
.hl-site.hl-products .vring .fring-card .ficon {
  display: block;
  place-items: normal;   /* style.css centres it; block boxes honour that now */
  width: auto;
  height: auto;
  margin: 0 0 20px;
  padding: 0 0 22px;
  border: 0;
  border-bottom: 1px solid var(--hl-rule);
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--hl-ice);
}
.hl-site.hl-products .vring .fring-card .ficon svg { display: block; width: 26px; height: 26px; stroke-width: 1.3; }
.hl-site.hl-products .vring .fring-card h3 {
  margin: 0 0 8px;
  font: 600 21px/1.2 "Space Grotesk", "Inter", sans-serif;
  letter-spacing: -0.02em;
  color: var(--hl-bright);
}
.hl-site.hl-products .vring .fring-card p {
  max-width: 34ch;
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--hl-soft);
}
/* on the running ring every card stays an opaque black stage; the cards away
   from the front dim their content instead, so no text shows through another */
@media (min-width: 821px) {
  html:not(.low-fx) .hl-site.hl-products .vring .fring-card { opacity: 1 !important; }
  html:not(.low-fx) .hl-site.hl-products .vring .fring-card > * { opacity: 0.38; transition: opacity 0.35s ease; }
  html:not(.low-fx) .hl-site.hl-products .vring .fring-card::after { opacity: 0.38; transition: opacity 0.35s ease; }
  html:not(.low-fx) .hl-site.hl-products .vring .fring-card.front > *,
  html:not(.low-fx) .hl-site.hl-products .vring .fring-card.front::after { opacity: 1; }
}
.hl-site.hl-products .pp-box .carousel-hint {
  margin-top: 4px;
  font: 600 12.5px/1.4 "Inter", sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hl-eyebrow);
  opacity: 0.8;
}

/* ============================================================
   4. NARROWER SCREENS
   ============================================================ */
@media (max-width: 1100px) {
  .hl-site.hl-products .products-grid { column-gap: 40px; }
  .hl-site.hl-products .products-grid > .product-card.pc2 + .product-card.pc2::after { left: -20px; top: 24px; bottom: 24px; }
  .hl-site.hl-products .pc2 .prow h3 { font-size: 23px; }
  .hl-site.hl-products .pc2 .prow .price-pill { font-size: 30px; }
  .hl-site.hl-products .pc2:not(.soon) .cta-row { font-size: 14px; }
}

/* wide screens where the ring does not run (low-fx: reduced motion or a weak
   device): the six values rest in one band of three columns and two rows
   instead of piling up at the ring's centre */
@media (min-width: 821px) {
  html.low-fx .hl-site.hl-products .pp-box .vring {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: auto;
    height: auto;
    margin: 32px 0 0;
    cursor: auto;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  html.low-fx .hl-site.hl-products .pp-box .vring::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -1px;
    height: 1px;
    background: var(--hl-light);
    pointer-events: none;
  }
  html.low-fx .hl-site.hl-products .vring .fring-card {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    height: auto;
    margin: 0;
    padding: 30px 26px 28px;
    transform: none !important;
    opacity: 1 !important;
    background: none;
    border: 0;
    border-radius: 0;
    user-select: auto;
  }
  html.low-fx .hl-site.hl-products .vring .fring-card:nth-child(3n+1) { padding-left: 0; }
  html.low-fx .hl-site.hl-products .vring .fring-card:nth-child(n+4) { border-top: 1px solid var(--hl-rule); }
  html.low-fx .hl-site.hl-products .vring .fring-card:not(:nth-child(3n+1))::before {
    content: "";
    position: absolute;
    left: 0;
    top: 28px;
    bottom: 28px;
    width: 1px;
    background: var(--line);
    pointer-events: none;
  }
  html.low-fx .hl-site.hl-products .vring .fring-card::after { right: 26px; }
  /* nothing to drag in the resting band */
  html.low-fx .hl-site.hl-products .pp-box .carousel-hint { display: none; }
}

/* tablets: each product becomes one row, the stage on the left */
@media (max-width: 820px) {
  .hl-site.hl-products .pp-lineup { padding-top: 48px; padding-bottom: 72px; }
  .hl-site.hl-products .products-grid { grid-template-columns: minmax(0, 1fr); }
  .hl-site.hl-products .products-grid > .product-card.pc2 {
    grid-row: auto;
    grid-template-rows: repeat(5, auto) 1fr;
    grid-template-columns: minmax(0, 42%) auto minmax(0, 1fr);
    column-gap: 20px;
    padding: 28px 0;
  }
  .hl-site.hl-products .products-grid > .product-card.pc2 + .product-card.pc2 { border-top: 1px solid var(--hl-rule); }
  .hl-site.hl-products .products-grid > .product-card.pc2 + .product-card.pc2::after { content: none; }
  .hl-site.hl-products .pc2 .pmedia { grid-row: 1 / -1; grid-column: 1; margin: 0; border-radius: 14px; }
  .hl-site.hl-products .pc2:not(.soon) .pbody::before,
  .hl-site.hl-products .pc2 .prow .status-pill,
  .hl-site.hl-products .pc2 .prow h3,
  .hl-site.hl-products .pc2 .sub,
  .hl-site.hl-products .pc2 .ptags { grid-column: 2 / -1; }
  .hl-site.hl-products .pc2 .prow h3 { margin-top: 8px; }
  .hl-site.hl-products .pc2 .ptags { margin-top: 16px; }
  .hl-site.hl-products .pc2 .ptags span { padding: 9px 0; }
  .hl-site.hl-products .pc2 .prow .price-pill { grid-column: 2; align-self: end; margin-top: 20px; }
  .hl-site.hl-products .pc2 .cta-row { grid-column: 3; align-self: end; margin-top: 20px; }
  .hl-site.hl-products .pc2.soon .cta-row { grid-column: 2 / -1; }

  /* the value ring is a swipe strip here (style.css flattens it): an open
     band inside the page column, entries split by vertical hairlines */
  .hl-site.hl-products .pp-box .vring {
    position: relative;
    width: auto !important;
    margin: 28px 0 0 !important;
    padding: 0 !important;
    gap: 0 !important;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    scrollbar-width: none;
    /* the strip fades at its right edge, so the cut card reads as more to swipe */
    -webkit-mask-image: linear-gradient(90deg, #000 78%, transparent);
    mask-image: linear-gradient(90deg, #000 78%, transparent);
  }
  .hl-site.hl-products .pp-box .vring::-webkit-scrollbar { display: none; }
  .hl-site.hl-products .vring > .fring-card {
    width: 250px !important;
    max-height: none !important;
    height: auto !important;
    padding: 26px 22px 24px !important;
    overflow: visible !important;
    background: none;
    border: 0;
    border-radius: 0;
    scroll-snap-align: start;
  }
  .hl-site.hl-products .vring > .fring-card:first-child { padding-left: 0 !important; width: 228px !important; }
  .hl-site.hl-products .vring > .fring-card + .fring-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 24px;
    bottom: 22px;
    width: 1px;
    background: var(--line);
    pointer-events: none;
  }
  .hl-site.hl-products .vring > .fring-card::after { top: 28px; right: 22px; }
  .hl-site.hl-products .vring .fring-card h3 { font-size: 19px; }
  .hl-site.hl-products .vring .fring-card p { font-size: 14px; }
  .hl-site.hl-products .pp-box .carousel-hint { margin-top: 14px; text-align: left; opacity: 1; }
}

/* phones: style.css forces every section to 84px top and bottom here
   (!important), so the page rhythm is set again with the same weight */
@media (max-width: 640px) {
  .hl-site.hl-products .hero { padding-top: 56px !important; padding-bottom: 0 !important; }
  .hl-site.hl-products .pp-lineup { padding-top: 56px !important; padding-bottom: 72px !important; }
  .hl-site.hl-products .pp-box { padding-top: 72px !important; padding-bottom: 72px !important; }
}

/* phones: the entry stacks, the stage full width on top */
@media (max-width: 480px) {
  .hl-site.hl-products .hero .lead { font-size: 17px; }
  .hl-site.hl-products .products-grid > .product-card.pc2 {
    grid-template-rows: none;
    grid-template-columns: auto minmax(0, 1fr);
    padding: 24px 0 28px;
  }
  .hl-site.hl-products .pc2 .pmedia { grid-row: 1; grid-column: 1 / -1; margin-bottom: 22px; }
  /* an empty stage (a product not out yet) is only a black box on a phone */
  .hl-site.hl-products .pc2.soon .pmedia:not(:has(img, video)) { display: none; }
  .hl-site.hl-products .pc2:not(.soon) .pbody::before { grid-row: 2; }
  .hl-site.hl-products .pc2:not(.soon) .pbody::before,
  .hl-site.hl-products .pc2 .prow .status-pill,
  .hl-site.hl-products .pc2 .prow h3,
  .hl-site.hl-products .pc2 .sub,
  .hl-site.hl-products .pc2 .ptags { grid-column: 1 / -1; }
  .hl-site.hl-products .pc2 .prow h3 { font-size: 24px; }
  .hl-site.hl-products .pc2 .prow .price-pill { grid-column: 1; }
  .hl-site.hl-products .pc2 .cta-row { grid-column: 2; }
  .hl-site.hl-products .pc2.soon .cta-row { grid-column: 1 / -1; }
}

/* ---------- motion and contrast themes ---------- */
@media (prefers-reduced-motion: reduce) {
  .hl-site.hl-products .pc2 .pmedia, .hl-site.hl-products .pc2 .pmedia img.cover,
  .hl-site.hl-products .pc2 .prow h3, .hl-site.hl-products .pc2 .cta-row, .hl-site.hl-products .pc2 .cta-row::after,
  .hl-site.hl-products .vring .fring-card > *, .hl-site.hl-products .vring .fring-card::after { transition: none; }
  .hl-site.hl-products .pc2:hover .pmedia img.cover { transform: none; }
}
html[data-motion="off"] .hl-site.hl-products .pc2:hover .pmedia img.cover { transform: none; }
@media (forced-colors: active) {
  .hl-site.hl-products .products-grid::before,
  .hl-site.hl-products .vring .fring-card.front::before { forced-color-adjust: none; background: CanvasText; }
  .hl-site.hl-products .pc2 .prow .price-pill,
  .hl-site.hl-products .vring .fring-card::after { forced-color-adjust: none; background: none; color: CanvasText; }
}

/* phone audit (2026-09-16): the strip swipes, it does not spin; its cards run
   to the screen edge instead of being cut at the page gutter */
.hl-site.hl-products .pp-box .carousel-hint .hint-touch { display: none; }
@media (max-width: 820px) {
  .hl-site.hl-products .pp-box .carousel-hint .hint-desk { display: none; }
  .hl-site.hl-products .pp-box .carousel-hint .hint-touch { display: inline; }
  .hl-site.hl-products .pp-box [data-carousel-box] { margin-left: -24px; margin-right: -24px; padding-left: 24px; padding-right: 24px; scroll-padding-inline: 24px; }
}
