/* ============================================================
   DERRICK INDUSTRIES — products page (rendered by products.js)
   Visual language follows home.css: 6px radii, pill controls,
   mono eyebrows, image-zoom hovers, staggered entrances.
   Requires site-motion.css ([data-reveal], --ease).
   ============================================================ */

[hidden] { display: none !important; }

body.products { --r: 6px; --head-h: 65px; }
body.products .btn { border-radius: 100px; }
body.products .rfq-btn { border-radius: 100px; padding: 9px 16px; }
body.products .rfq-btn.btn-primary { background: var(--amber); border-color: var(--amber); color: var(--ink); }
body.products .rfq-btn.btn-primary:hover { background: var(--steel); border-color: var(--steel); color: var(--ink); }
body.products .rfq-btn.btn-outline-dk { border-color: var(--ink); }
body.products .rfq-btn.btn-outline-dk:hover { background: var(--ink); color: var(--paper); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #1F3144; }

body.products .feature-pills { gap: 6px; margin-top: 14px; }
body.products .feature-pills span {
  border: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-radius: 100px;
  background: var(--paper);
  padding: 5px 12px;
  font-size: 11.5px;
}

/* ------------------------------------------------------------
   PAGE HEADER — layered photo, drifting grid, line reveal
   ------------------------------------------------------------ */
body.products .page-header { padding: 88px 0 64px; overflow: hidden; isolation: isolate; }
.ph-layers { position: absolute; inset: 0; z-index: 0; }
.ph-layers > * { position: absolute; inset: 0; }
.ph-photo {
  background-size: cover; background-position: center;
  opacity: .16;
  animation: phZoom 22s ease-in-out infinite alternate;
}
@keyframes phZoom { from { transform: scale(1); } to { transform: scale(1.08); } }
.ph-grid {
  background-image:
    linear-gradient(rgba(120,158,196,.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,158,196,.13) 1px, transparent 1px),
    linear-gradient(rgba(120,158,196,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,158,196,.05) 1px, transparent 1px);
  background-size: 110px 110px, 110px 110px, 22px 22px, 22px 22px;
  -webkit-mask-image: radial-gradient(110% 100% at 15% 20%, #000 15%, transparent 75%);
  mask-image: radial-gradient(110% 100% at 15% 20%, #000 15%, transparent 75%);
  animation: phDrift 32s linear infinite;
}
@keyframes phDrift { to { background-position: 110px 110px, 110px 110px, 22px 22px, 22px 22px; } }
.ph-glow {
  background:
    radial-gradient(52% 70% at 8% 10%, rgba(93,177,230,.22) 0%, transparent 62%),
    radial-gradient(44% 60% at 92% 100%, rgba(92,130,168,.18) 0%, transparent 62%);
}
.ph-inner {
  position: relative; z-index: 1;
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
.ph-copy { max-width: 660px; }
body.products .page-header .ph-title { font-size: clamp(34px, 4.8vw, 56px); line-height: 1.05; margin: 0; max-width: none; }
.ph-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.ph-title .line > span { display: block; transform: translateY(112%); opacity: 0; }
body.ready .ph-title .line > span { animation: lineUp 1s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes lineUp { to { transform: none; opacity: 1; } }
.ph-title em { font-style: normal; color: var(--amber); position: relative; }
.ph-title em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .04em; height: 3px;
  background: repeating-linear-gradient(-45deg, var(--amber) 0 5px, transparent 5px 10px);
  transform: scaleX(0); transform-origin: 0 50%;
}
body.ready .ph-title em::after { animation: ruleIn .8s var(--ease) 1.1s forwards; }
@keyframes ruleIn { to { transform: scaleX(1); } }

.ph-stats {
  display: grid; grid-template-columns: repeat(2, minmax(130px, 1fr));
  margin: 0; gap: 1px;
  background: var(--line-dk);
  border: 1px solid var(--line-dk);
  border-radius: var(--r); overflow: hidden;
}
.ph-stats div { padding: 14px 18px; background: rgba(32,49,68,.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.ph-stats dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #9FB3C6; }
.ph-stats dd { margin: 2px 0 0; font-family: var(--mono); font-size: 24px; color: var(--amber); line-height: 1.2; }

/* ------------------------------------------------------------
   STICKY FILTER BAR + JUMP NAV (one sticky block)
   ------------------------------------------------------------ */
.cat-bar {
  position: sticky; top: var(--head-h); z-index: 90;
  background: rgba(244,248,250,.94);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
body.products .cat-filter-control {
  position: static;
  background: transparent; border: 0;
  padding: 12px 0 10px;
}
.filter-pills--sub { margin-top: 8px; }
body.products .cat-pill {
  border-radius: 100px;
  background: var(--white); color: var(--ink);
  border: 1px solid var(--line);
  padding: 7px 15px;
  font-size: 12px;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s var(--ease);
}
body.products .cat-pill:hover { background: var(--paper-2); border-color: var(--ink); color: var(--ink); }
body.products .cat-pill.active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
body.products #filter-subs .cat-pill, body.products #filter-groups .cat-pill { font-size: 11.5px; padding: 5px 13px; }
body.products #filter-subs .cat-pill.active, body.products #filter-groups .cat-pill.active { background: var(--steel); border-color: var(--steel); color: var(--ink); }
#filter-groups { padding-left: 12px; border-left: 2px solid var(--steel); }

body.products .product-jump {
  position: static;
  background: transparent;
  border: 0; border-top: 1px solid var(--line);
  scrollbar-width: none;
}
body.products .product-jump::-webkit-scrollbar { display: none; }
body.products .product-jump .wrap { align-items: center; gap: 0; }
body.products .product-jump a {
  position: relative;
  color: var(--slate);
  padding: 12px 12px;
  margin: 0;
  border-bottom: 0;
  transition: color .25s ease;
}
body.products .product-jump a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 2px;
  background: var(--steel);
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .4s var(--ease);
}
body.products .product-jump a:hover { color: var(--ink); }
body.products .product-jump a.on { color: var(--ink); }
body.products .product-jump a.on::after { transform: scaleX(1); }
body.products .product-jump a.pj-label { color: var(--steel-dp); opacity: 1; padding-left: 0; font-weight: 600; }
body.products .product-jump a.pj-label::after { left: 0; }
body.products .pj-sep { padding: 0 10px; }

.cat-section, .sub-section, .prod-card, .series-card, .group-block, [id^="phenolic-"] {
  scroll-margin-top: calc(var(--head-h) + var(--bar-h, 110px) + 20px);
}

/* ------------------------------------------------------------
   CATEGORY TILES — home bento style
   ------------------------------------------------------------ */
.cat-tiles { padding: 44px 0 8px; }
.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tile-grid--sub { grid-template-columns: repeat(var(--n, 4), 1fr); margin-top: 14px; }
.tile {
  position: relative; display: block;
  padding: 0; border: 0;
  border-radius: var(--r);
  background: var(--ink);
  aspect-ratio: 4 / 3;
  overflow: hidden; isolation: isolate;
  cursor: pointer; text-align: left; color: #fff;
  outline: 2px solid transparent; outline-offset: 3px;
  transition: outline-color .3s ease, transform .5s var(--ease);
}
.tile-grid--sub .tile { aspect-ratio: 16 / 10; }
.tile img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.9);
  transition: transform 1.1s var(--ease), filter .6s ease;
}
.tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22,34,48,0) 35%, rgba(22,34,48,.86) 100%);
}
.tile:hover img, .tile:focus-visible img { transform: scale(1.08); filter: saturate(1.05); }
.tile.on { outline-color: var(--steel); }
.tile:focus-visible { outline-color: var(--ink); }
.tile-label {
  position: absolute; z-index: 1; left: 22px; right: 22px; bottom: 18px;
  display: flex; flex-direction: column; gap: 4px;
  background: none; padding: 0;
}
.tile-label b {
  display: flex; align-items: baseline; gap: 10px;
  font-family: var(--display); font-weight: 700; font-size: clamp(19px, 1.7vw, 24px); line-height: 1.1;
}
.tile-label b em { font-style: normal; font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--amber); }
.tile-grid--sub .tile-label b { font-size: 16px; }
.tile-label i {
  font-family: var(--mono); font-style: normal;
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: #C6D2DE;
}
.tile-go {
  position: absolute; z-index: 1; top: 14px; right: 14px;
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(244,248,250,.92); color: var(--ink); font-size: 17px;
  transform: scale(.8) rotate(-45deg); opacity: 0;
  transition: transform .5s var(--ease), opacity .4s ease, background .3s ease;
}
.tile:hover .tile-go, .tile:focus-visible .tile-go, .tile.on .tile-go { transform: none; opacity: 1; }
.tile.on .tile-go, .tile:hover .tile-go { background: var(--amber); }
.tile.on .tile-go { transform: rotate(90deg); }

/* accessories group tiles: product cut-outs on white */
.tile-grid--grp { grid-template-columns: repeat(var(--n, 6), 1fr); }
.tile-grid--grp .tile { aspect-ratio: 1 / 1; background: #fff; border: 1px solid var(--line); color: var(--ink); }
.tile-grid--grp .tile::after { display: none; }
.tile-grid--grp .tile img { object-fit: contain; padding: 12px 12px 52px; filter: none; }
.tile-grid--grp .tile:hover img { transform: scale(1.05); }
.tile-grid--grp .tile-label { left: 12px; right: 12px; bottom: 10px; }
.tile-grid--grp .tile-label b { font-size: 14px; }
.tile-grid--grp .tile-label i { color: var(--slate); }
.tile-grid--grp .tile-go { width: 32px; height: 32px; font-size: 14px; top: 8px; right: 8px; }

/* entrance — only when a new row appears */
.cat-tiles.animate .tile { animation: tileIn 1s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms); }
.cat-tiles.animate .tile img { animation: imgSettle 1.6s var(--ease) both; animation-delay: inherit; }
@keyframes tileIn { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes imgSettle { from { scale: 1.25; } to { scale: 1; } }

/* ------------------------------------------------------------
   CATEGORY HEADS — home section-head layout
   ------------------------------------------------------------ */
body.products .cat-divider {
  background: none; color: var(--ink);
  margin-top: 0; padding: 88px 0 0;
  overflow: visible;
}
body.products .cat-divider::before { display: none; }
body.products .cat-section:first-child .cat-divider { padding-top: 48px; }
.cat-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px; flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.cat-head::after {
  content: ""; position: absolute; left: 0; bottom: -1px; width: 120px; height: 3px;
  background: var(--steel);
}
body.products .cat-title { font-size: clamp(30px, 3.6vw, 46px); margin: 0; color: var(--ink); }
body.products .cat-desc { max-width: 440px; color: var(--slate); font-size: 15.5px; }

/* ------------------------------------------------------------
   SUB SECTIONS
   ------------------------------------------------------------ */
.sub-section { padding: 48px 0 8px; }
.sub-section.product-panel { border-top: none; padding-bottom: 8px; }
.sub-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding-bottom: 0; margin-bottom: 24px; border: 0;
}
.sub-head h3 { font-size: clamp(22px, 2.6vw, 30px); margin: 0; display: flex; align-items: baseline; gap: 12px; }
.sub-head h3::before {
  content: ""; width: 10px; height: 10px; flex: none; align-self: center;
  border-radius: 50%; background: var(--steel);
  box-shadow: 0 0 0 5px rgba(93,177,230,.18);
}
.sub-count, .group-head .sub-count {
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink); white-space: nowrap;
  padding: 5px 12px; border-radius: 100px; border: 1px solid var(--line); background: var(--white);
}
.group-block { padding-top: 8px; margin-bottom: 40px; }
.group-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin: 8px 0 18px; padding: 0 0 12px;
  border-bottom: 1px solid var(--line);
}
.group-head h4 { font-size: clamp(18px, 2vw, 22px); margin: 0; }
.blk-title {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--steel-dp);
  margin: 48px 0 16px;
}
.blk-title::before {
  content: ""; width: 20px; height: 4px; flex: none;
  background: repeating-linear-gradient(-45deg, var(--amber) 0 4px, var(--ink) 4px 8px);
}
.lede-block { color: var(--slate); max-width: 70ch; margin-bottom: 22px; }
.range-note { font-size: 13px; color: var(--slate); margin-top: 12px; }

/* spec tables — card-style */
body.products .table-scroll {
  margin-top: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 20px 22px 8px;
}
body.products table.spec caption { color: var(--steel-dp); margin-bottom: 14px; }
body.products table.spec th { background: var(--paper); }
body.products table.spec th:first-child { border-radius: 4px 0 0 4px; }
body.products table.spec th:last-child { border-radius: 0 4px 4px 0; }
body.products table.spec td:first-child { font-family: var(--mono); font-size: 12.5px; color: var(--slate); width: 38%; }
body.products table.spec tr:hover td { background: var(--paper); }

/* ------------------------------------------------------------
   PRODUCT CARDS — home featured-card style
   ------------------------------------------------------------ */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prod-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.prod-card.in {
  transition: opacity .8s var(--ease), transform .8s var(--ease), border-color .2s ease, box-shadow .4s ease;
  transition-delay: var(--d, 0s), var(--d, 0s), 0s, 0s;
}
.prod-card.in:hover {
  border-color: var(--steel);
  transform: translateY(-6px);
  box-shadow: 0 24px 40px -28px rgba(27,36,48,.6);
  transition-delay: 0s;
}
.prod-card:target { border-color: var(--steel-dp); box-shadow: 0 0 0 3px rgba(93,177,230,.25); }
.pc-media {
  position: relative; display: block; width: 100%;
  padding: 0; border: 0;
  background: #fff;
  aspect-ratio: 4 / 3; overflow: hidden; cursor: pointer;
}
.pc-media::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); z-index: 1; }
.pc-media:focus-visible { outline: 3px solid var(--steel); outline-offset: -3px; }
.pc-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; padding: 14px;
  transition: opacity .4s ease, transform .7s var(--ease);
}
.pc-alt { opacity: 0; object-fit: cover; padding: 0; }
.pc-media:hover .pc-alt, .pc-media:focus-visible .pc-alt { opacity: 1; }
.prod-card:not(.is-ph) .pc-media:hover .pc-img:first-child { transform: scale(1.06); }
.is-ph .pc-img { object-fit: cover; padding: 0; }
.pc-tag, .pc-count {
  position: absolute; z-index: 1; top: 12px; left: 12px;
  padding: 4px 10px; border-radius: 100px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase;
}
.pc-tag { background: rgba(44,66,88,.88); color: var(--paper); }
.pc-count { left: auto; right: 12px; background: rgba(244,248,250,.94); color: var(--ink); border: 1px solid var(--line); }
.pc-go {
  position: absolute; z-index: 1; right: 12px; bottom: 12px;
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 16px;
  transform: scale(.7) rotate(-45deg); opacity: 0;
  transition: transform .5s var(--ease), opacity .35s ease, background .3s ease;
}
.pc-media:hover .pc-go, .pc-media:focus-visible .pc-go { transform: none; opacity: 1; background: var(--steel-dp); }
.pc-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pc-cat { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--amber-dp); }
.pc-body h4 { font-size: 18px; line-height: 1.25; margin: 0; }
.pc-body .feature-pills { margin-top: 8px; }
.pc-actions {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  margin-top: auto; padding-top: 18px;
}
.pc-view {
  padding: 0; border: 0; background: none;
  font-family: var(--mono); font-size: 12.5px; font-weight: 600; color: var(--steel-dp);
  display: inline-flex; align-items: center; gap: 6px;
}
.pc-view:hover { color: var(--ink); }
.pc-view:hover .arw { transform: translateX(5px); }
.pc-actions .rfq-btn { padding: 7px 14px; font-size: 12px; }

/* ------------------------------------------------------------
   FLOORING
   ------------------------------------------------------------ */
.size-strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0; margin: 0 0 32px;
  background: none; border: 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.size-strip div { background: none; padding: 16px 20px; border-left: 1px solid var(--line); }
.size-strip div:first-child { border-left: 0; padding-left: 0; }
.size-strip dt { font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--slate); }
.size-strip dd { margin: 4px 0 0; font-family: var(--mono); font-size: clamp(16px, 1.6vw, 20px); color: var(--steel-dp); }
.series-list { display: grid; gap: 22px; margin-bottom: 40px; }
.series-card {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px;
  padding: 0; background: none; border: 0;
}
.series-media { display: flex; flex-direction: column; gap: 10px; }
.series-scene, .series-mini button, .app-grid button, .edge {
  position: relative; display: block;
  padding: 0; border: 0;
  border-radius: var(--r);
  background: var(--paper-2);
  cursor: pointer; overflow: hidden;
}
.series-scene img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
.series-scene:hover img { transform: scale(1.04); }
.series-scene::after {
  content: "\2922"; position: absolute; top: 14px; right: 14px;
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(244,248,250,.92); color: var(--ink); font-size: 16px;
  opacity: 0; transform: scale(.8); transition: opacity .3s ease, transform .4s var(--ease);
}
.series-scene:hover::after { opacity: 1; transform: none; }
.series-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; }
.series-mini button { opacity: .75; transition: opacity .25s ease, transform .35s var(--ease); }
.series-mini button:hover { opacity: 1; transform: translateY(-3px); }
.series-mini img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.series-body {
  padding: 30px 30px 28px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  align-self: stretch;
}
.series-body .eyebrow { margin-bottom: 10px; }
.series-body h4 { font-size: clamp(22px, 2.2vw, 28px); margin: 0 0 10px; line-height: 1.15; }
.series-body .desc { color: var(--slate); font-size: 15px; margin-bottom: 20px; }
.swatch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; }
.swatch-grid--lg { grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 12px; }
.swatch {
  display: flex; flex-direction: column;
  padding: 0; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--white); overflow: hidden;
  cursor: pointer; text-align: left;
  transition: border-color .25s ease, transform .35s var(--ease), box-shadow .35s ease;
}
.swatch:hover, .swatch:focus-visible { border-color: var(--steel-dp); transform: translateY(-4px); box-shadow: 0 16px 26px -20px rgba(27,36,48,.6); }
.swatch img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.swatch:hover img { transform: scale(1.08); }
.swatch span { font-family: var(--mono); font-size: 11px; padding: 6px 8px 6px; color: var(--ink); position: relative; background: var(--white); }
.swatch em { font-style: normal; font-size: 11.5px; padding: 0 8px 8px; color: var(--slate); margin-top: -4px; background: var(--white); position: relative; }
.series-actions { margin-top: 22px; }

/* ------------------------------------------------------------
   PHENOLIC
   ------------------------------------------------------------ */
body.products .panel-top {
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; align-items: stretch;
}
body.products .panel-top > div:first-child {
  padding: 34px 34px 32px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
}
body.products .panel-top h3 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.12; margin-bottom: 14px; }
.ph-heroes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ph-heroes .bracket-frame { padding: 0; border: 0; background: none; cursor: pointer; border-radius: var(--r); overflow: hidden; }
.ph-heroes .bracket-frame::before, .ph-heroes .bracket-frame::after,
.ph-heroes .bracket-frame .bf-tr, .ph-heroes .bracket-frame .bf-bl { display: none; }
.ph-heroes img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
.ph-heroes button:hover img { transform: scale(1.05); }
.panel-rfq-action { margin-top: 22px; }
.ph-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.layers { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; max-width: 460px; }
.layer { padding: 14px 16px; font-size: 14px; color: var(--paper); border-radius: 4px; }
.layer-0 { background: var(--steel-dp); }
.layer-1 { background: var(--ink-2); }
.layer-2 { background: var(--ink); min-height: 76px; }
.benefit-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.benefit-list li {
  font-family: var(--mono); font-size: 12px;
  background: var(--white); border: 1px solid var(--line); border-radius: 100px;
  padding: 6px 14px;
}
.edge-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 260px)); gap: 14px; }
.edge { background: var(--white); border: 1px solid var(--line); }
.edge img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .8s var(--ease); }
.edge:hover img { transform: scale(1.05); }
.edge span { display: block; padding: 10px 12px; font-family: var(--mono); font-size: 12px; text-align: left; background: var(--white); border-top: 1px solid var(--line); }
.app-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 8px; }
.app-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform 1s var(--ease); }
.app-grid button:hover img { transform: scale(1.06); }

/* ------------------------------------------------------------
   PRODUCT DETAIL — the "inner page" (dialog)
   Mirrors the home product-line panel: lead image + thumbs,
   white info card, mono spec grid, pill actions.
   ------------------------------------------------------------ */
.dlg {
  border: 0; padding: 0;
  max-width: min(1180px, 94vw); width: 100%; max-height: 92vh;
  background: var(--paper); color: var(--ink);
  border-radius: 10px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
}
.dlg::backdrop { background: rgba(22,34,48,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.dlg[open] { animation: dlgIn .5s var(--ease); }
.dlg[open]::backdrop { animation: fadeIn .4s ease; }
@keyframes dlgIn { from { opacity: 0; transform: translateY(24px) scale(.98); } }
@keyframes fadeIn { from { opacity: 0; } }
.dlg-close {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  width: 42px; height: 42px; border-radius: 50%;
  border: 0; background: var(--ink); color: var(--paper);
  font-size: 24px; line-height: 1; cursor: pointer;
  transition: background .25s ease, transform .4s var(--ease);
}
.dlg-close:hover { background: var(--steel-dp); transform: rotate(90deg); }
.dlg :focus-visible, .tile:focus-visible, .swatch:focus-visible { outline: 3px solid var(--steel); outline-offset: 2px; }

.dt-body {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 24px; padding: 24px;
}
.dt-gallery { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.dt-main {
  position: relative; display: block; width: 100%;
  padding: 0; border: 0; border-radius: var(--r);
  background: #fff; cursor: zoom-in; overflow: hidden;
  border: 1px solid var(--line);
}
.dt-main img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; padding: 20px; display: block; transition: transform 1.2s var(--ease); }
.dt-main.is-ph img { object-fit: cover; padding: 0; }
.dt-main:hover img { transform: scale(1.04); }
.dt-zoom, .dt-count {
  position: absolute; z-index: 1;
  border-radius: 100px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em;
}
.dt-zoom {
  top: 14px; left: 14px; width: 38px; height: 38px; display: grid; place-items: center;
  background: rgba(244,248,250,.94); border: 1px solid var(--line); color: var(--ink); font-size: 15px;
  transition: background .25s ease;
}
.dt-main:hover .dt-zoom { background: var(--amber); }
.dt-count { left: 14px; bottom: 14px; padding: 6px 12px; background: rgba(44,66,88,.88); color: var(--paper); }
.dt-thumbs {
  display: grid; grid-auto-flow: column; grid-auto-columns: 84px; gap: 8px;
  overflow-x: auto; scrollbar-width: thin; padding: 2px 2px 6px;
  margin: 0;
}
.dt-thumbs button {
  padding: 0; border: 0; border-radius: var(--r); overflow: hidden;
  background: #fff; cursor: pointer;
  opacity: .6; outline: 2px solid transparent; outline-offset: -2px;
  transition: opacity .25s ease, outline-color .25s ease, transform .35s var(--ease);
}
.dt-thumbs button:hover { opacity: 1; transform: translateY(-2px); }
.dt-thumbs button.on { opacity: 1; outline-color: var(--steel); }
.dt-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.dt-note { font-size: 13px; color: var(--slate); }

.dt-info {
  padding: 32px 30px 28px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  align-self: start;
}
.dt-num {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--steel-dp); margin: 0 48px 12px 0;
}
.dt-info h3 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.12; margin: 0 0 12px; }
.dt-info .desc { color: var(--slate); font-size: 15px; }
.dt-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--slate); margin: 22px 0 10px;
}
.dt-info .feature-pills { margin-top: 0; }
.dt-specs { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border-top: 1px solid var(--line); }
.dt-specs div { padding: 11px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.dt-specs div:nth-child(odd) { padding-right: 16px; }
.dt-specs dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
.dt-specs dd { margin: 2px 0 0; font-family: var(--display); font-weight: 600; font-size: 15px; line-height: 1.35; overflow-wrap: anywhere; }
.dt-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.dt-actions .rfq-btn { padding: 13px 22px; font-size: 13.5px; }
.dt-actions .dt-also { padding: 12px 20px; font-size: 13.5px; background: none; }
.dt-help { margin-top: 16px; font-size: 13px; color: var(--slate); }
.dt-help a { color: var(--steel-dp); font-weight: 600; border-bottom: 1px solid currentColor; }

.dt-related { grid-column: 1 / -1; padding-top: 6px; }
.dt-related .dt-label { margin-top: 0; }
.dt-rel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.dt-rel {
  display: flex; flex-direction: column; gap: 4px;
  padding: 0 0 14px; text-align: left;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  cursor: pointer;
  transition: border-color .2s ease, transform .4s var(--ease), box-shadow .4s ease;
}
.dt-rel:hover { border-color: var(--steel); transform: translateY(-4px); box-shadow: 0 20px 32px -26px rgba(27,36,48,.6); }
.dt-rel-img { display: block; aspect-ratio: 4 / 3; background: #fff; border-bottom: 1px solid var(--line); overflow: hidden; margin-bottom: 8px; }
.dt-rel-img img { width: 100%; height: 100%; object-fit: contain; padding: 10px; transition: transform .7s var(--ease); }
.dt-rel.is-ph .dt-rel-img img { object-fit: cover; padding: 0; }
.dt-rel:hover .dt-rel-img img { transform: scale(1.06); }
.dt-rel-name { padding: 0 14px; font-family: var(--display); font-weight: 600; font-size: 14.5px; line-height: 1.3; color: var(--ink); }
.dt-rel-go { padding: 0 14px; font-family: var(--mono); font-size: 11.5px; color: var(--steel-dp); }

/* content entrance each time a product opens */
.dlg.swap .dt-gallery { animation: wipeIn .9s var(--ease) both; }
.dlg.swap .dt-info { animation: infoIn .7s var(--ease) .08s both; }
.dlg.swap .dt-related { animation: infoIn .7s var(--ease) .2s both; }
@keyframes wipeIn { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes infoIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* lightbox */
.lb { background: transparent; max-width: 96vw; width: auto; overflow: visible; box-shadow: none; }
.lb[open] { display: flex; align-items: center; gap: 14px; }
.lb figure { margin: 0; text-align: center; }
.lb-img { max-width: min(86vw, 1200px); max-height: 78vh; display: block; margin: 0 auto; background: var(--white); border-radius: var(--r); }
.lb figcaption { color: var(--paper); font-family: var(--mono); font-size: 13px; margin-top: 14px; display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; }
.lb .lb-rfq { padding: 7px 16px; font-size: 13px; }
.lb-close { top: -10px; right: -10px; }
.lb-nav {
  width: 50px; height: 50px; flex: none;
  border: 1px solid rgba(244,248,250,.4); border-radius: 50%;
  background: rgba(22,34,48,.6); color: var(--paper);
  font-size: 26px; line-height: 1; cursor: pointer;
  transition: background .25s ease, transform .25s var(--ease);
}
.lb-nav:hover { background: var(--amber); color: var(--ink); transform: scale(1.06); }

/* ------------------------------------------------------------
   CTA — centred, striped, corner brackets (as home)
   ------------------------------------------------------------ */
body.products .cta-banner { position: relative; overflow: hidden; padding: 88px 0; margin-top: 88px; }
.cta-stripes {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(-45deg, rgba(255,255,255,.05) 0 18px, transparent 18px 36px);
  animation: ctaStripes 5s linear infinite;
  pointer-events: none;
}
@keyframes ctaStripes { to { background-position: 50.912px 0; } }
body.products .cta-banner .wrap { display: block; position: relative; z-index: 1; }
.cta-frame { position: relative; max-width: 820px; margin: 0 auto; padding: 56px 40px; text-align: center; }
.cta-frame[data-reveal] { transform: none; }
body.products .cta-frame h3 { font-size: clamp(30px, 4.2vw, 52px); line-height: 1.08; max-width: none; }
body.products .cta-frame p { color: #EAF4FB; font-size: 17px; max-width: 56ch; margin: 16px auto 0; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.cf { position: absolute; width: 34px; height: 34px; border: 3px solid #fff; opacity: 0; transition: transform .9s var(--ease) .2s, opacity .6s ease .2s; }
.cf.tl { top: 0; left: 0; border-right: 0; border-bottom: 0; transform: translate(60px, 40px); }
.cf.tr { top: 0; right: 0; border-left: 0; border-bottom: 0; transform: translate(-60px, 40px); }
.cf.bl { bottom: 0; left: 0; border-right: 0; border-top: 0; transform: translate(60px, -40px); }
.cf.br { bottom: 0; right: 0; border-left: 0; border-top: 0; transform: translate(-60px, -40px); }
.cta-frame.in .cf { opacity: 1; transform: none; }

body.products footer .footer-grid ul li a { display: inline-block; transition: transform .3s var(--ease), color .3s ease; }
body.products footer .footer-grid ul li a:hover { transform: translateX(4px); }

/* ------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------ */
@media (max-width: 980px) {
  .series-card, body.products .panel-top { grid-template-columns: 1fr; }
  .dt-body { grid-template-columns: 1fr; padding: 64px 18px 20px; gap: 18px; }
  .dt-rel-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .tile-grid--grp { grid-template-columns: repeat(3, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .ph-cols { grid-template-columns: 1fr; gap: 8px; }
  .app-grid { grid-template-columns: repeat(2, 1fr); }
  body.products .filter-pills { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  body.products .filter-pills::-webkit-scrollbar { display: none; }
}
@media (max-width: 640px) {
  body.products .page-header { padding: 56px 0 40px; }
  .ph-stats { width: 100%; }
  .ph-stats dd { font-size: 20px; }
  .tile-grid { grid-template-columns: 1fr; }
  .tile-grid--sub, .tile-grid--grp { grid-template-columns: repeat(2, 1fr); }
  .tile-grid--sub .tile-label { left: 14px; right: 14px; bottom: 12px; }
  .card-grid { grid-template-columns: 1fr; }
  body.products .cat-divider { padding-top: 64px; }
  .ph-heroes img { min-height: 200px; }
  .edge-grid { grid-template-columns: 1fr 1fr; }
  .series-body, body.products .panel-top > div:first-child, .dt-info { padding: 24px 20px; }
  .dt-specs { grid-template-columns: 1fr; }
  .dt-specs div:nth-child(odd) { padding-right: 0; }
  .dt-actions .btn { flex: 1 1 100%; justify-content: center; }
  .size-strip div:nth-child(3) { border-left: 0; padding-left: 0; }
  .size-strip { grid-template-columns: 1fr 1fr; }
  .size-strip div { padding: 12px 14px; }
  .lb-nav { width: 38px; height: 38px; font-size: 20px; }
  .cta-frame { padding: 40px 8px; }
  .cta-actions .btn { flex: 1 1 100%; justify-content: center; }
}

/* ------------------------------------------------------------
   REDUCED MOTION — show everything, move nothing
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  .ph-title .line > span { opacity: 1 !important; transform: none !important; }
  .ph-title em::after { transform: scaleX(1) !important; }
  .ph-photo, .ph-grid, .cta-stripes { animation: none !important; }
  .cat-tiles.animate .tile, .cat-tiles.animate .tile img, .dlg.swap *, .dlg[open] { animation: none !important; }
  .tile img, .pc-img, .series-scene img, .app-grid img, .swatch, .swatch img, .edge img, .dt-main img { transition: none; }
  .cf { opacity: 1; transform: none; }
}
