/* Header dropdowns, Penntek format (Nov 6 2026). Loaded last in the stamped head; owns every .menu rule.
   Residential: one column of photo cards. Commercial: two columns of photo cards. Systems: text columns plus a tools row.
   Desktop >= 1280px: white rounded panel under the tab. Below that the nav is the Menu button and each dropdown is an accordion row. */

/* ---------- shared card look ---------- */
body .nav-list .menu .menu__list{list-style:none;display:grid;grid-template-columns:minmax(0,1fr);gap:10px;margin:0;padding:0}
body .nav-list .menu .menu__list>li{opacity:1;transform:none;visibility:visible;transition:none}
body .nav-list .menu .menu__card{position:relative;display:block;height:var(--card-h,120px);aspect-ratio:auto;max-height:none;padding:0;border-radius:12px;overflow:hidden;background:#141414;color:#fff;text-decoration:none}
body .nav-list .menu .menu__card:hover,body .nav-list .menu .menu__card:focus-visible{background:#141414;color:#fff}
body .nav-list .menu .menu__card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:#2a2a2a;transition:transform .35s ease}
body .nav-list .menu .menu__card:hover img,body .nav-list .menu .menu__card:focus-visible img{transform:scale(1.04)}
body .nav-list .menu .menu__card::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(to bottom,rgba(0,0,0,0) 30%,rgba(0,0,0,.84) 100%)}
body .nav-list .menu .menu__card::after{border-radius:12px;border-width:3px}
body .nav-list .menu .menu__lab{position:absolute;left:0;right:0;bottom:0;z-index:2;display:block;padding:0 16px 12px;font:700 19px/1.15 var(--font-body);letter-spacing:.005em;text-transform:none;color:#fff;-webkit-line-clamp:2;line-clamp:2}
body .nav-list .menu .menu__lab .arr{display:inline-block;width:.85em;height:.85em;margin-left:8px;vertical-align:baseline;color:var(--orange)}
body .nav-list .menu .menu__card:hover .arr,body .nav-list .menu .menu__card:focus-visible .arr{transform:translateX(4px)}

/* ---------- systems: text columns ---------- */
/* the header's `.nav-list a` rule (flex, uppercase, white, hover fill, current-page bar) must not reach links inside the panel */
.nav-list .msys a.msys__link{display:block;position:static;gap:0;padding:0;background:none;color:inherit;font:inherit;letter-spacing:normal;text-transform:none;white-space:normal;text-decoration:none}
.nav-list .msys a.msys__link::after{display:none}
.nav-list .msys a.msys__tool{display:flex;align-items:center;gap:16px;padding:10px 16px 10px 10px;background:#fff;color:#141414}
.nav-list .msys a.msys__tool:hover,.nav-list .msys a.msys__tool:focus-visible{background:#fff}

.msys{display:block;min-height:0}
.msys__cols{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:0;padding:0}
.msys__col{display:block;border-left:1px solid #e3e1dc}
.msys__col:first-child{border-left:0}
.msys__link{display:block;color:inherit;text-decoration:none}
.nav-list .msys .msys__col>a.msys__link{height:100%;padding:34px 30px 30px}
.msys__name{display:block;font:800 24px/1.05 var(--font-head,var(--font-body));letter-spacing:.01em;text-transform:uppercase;color:#141414}
.msys__sub{display:block;margin-top:6px;font:400 19px/1.2 var(--font-body);letter-spacing:.04em;text-transform:uppercase;color:#8b8782}
.msys__rule{display:block;width:44px;height:3px;margin:20px 0 18px;background:var(--orange)}
.msys__desc{display:block;font:400 16px/1.5 var(--font-body);color:#3d3b38}
.msys__go{display:flex;align-items:center;gap:8px;margin-top:18px;font:700 14px/1 var(--font-body);letter-spacing:.06em;text-transform:uppercase;color:#a24800}
.msys__go .arr,.msys__tool>.arr{width:16px;height:16px;flex:none;color:var(--orange)}
.nav-list .msys .msys__col>a.msys__link:hover .msys__name,.nav-list .msys .msys__col>a.msys__link:focus-visible .msys__name{color:#a24800}
.msys__link:focus-visible{outline:3px solid var(--orange);outline-offset:-3px}
.msys__tools{display:flex;align-items:center;gap:26px;padding:20px 30px 24px;border-top:1px solid #e3e1dc}
.msys__tools-h{flex:none;margin:0;font:800 24px/1 var(--font-head,var(--font-body));letter-spacing:.01em;text-transform:uppercase;color:#8b8782}
.msys__tools-list{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0;padding:0;flex:1}
.msys__tool{display:flex;align-items:center;gap:16px;padding:10px 16px 10px 10px;border:1px solid #e3e1dc;border-radius:12px;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.06);color:#141414}
.msys__tool:hover,.msys__tool:focus-visible{border-color:var(--orange)}
.msys__tool img{width:84px;height:64px;flex:none;border-radius:8px;object-fit:cover;background:#2a2a2a}
.msys__tt{flex:1;min-width:0}
.msys__tt b{display:block;font:800 17px/1.1 var(--font-body);letter-spacing:.03em;text-transform:uppercase}
.msys__tt span{display:block;margin-top:4px;font:400 14px/1.35 var(--font-body);color:#4a4845}

/* ---------- desktop: dark glass panel (owner Nov 6: keep the original dark menu background) ---------- */
@media (min-width:1280px){
  html body .nav-list .has-menu>.menu{width:auto;max-width:calc(100vw - 24px);padding:10px;border:1px solid rgba(255,255,255,.13);border-radius:16px;background:rgba(16,16,18,.56);-webkit-backdrop-filter:blur(20px) saturate(1.4);backdrop-filter:blur(20px) saturate(1.4);color:#f5f3ef;color-scheme:dark;box-shadow:0 24px 60px rgba(0,0,0,.38),inset 0 1px 0 rgba(255,255,255,.09);scrollbar-color:rgba(255,255,255,.3) transparent}
  html body .nav-list .has-menu>.menu.menu--res{width:310px;--card-h:124px}
  html body .nav-list .has-menu>.menu.menu--com{width:610px;--card-h:112px}
  html body .nav-list .has-menu>.menu.menu--com .menu__list{grid-template-columns:repeat(2,minmax(0,1fr))}
  html body .nav-list .has-menu>.menu.menu--sys{width:min(960px,calc(100vw - 24px));padding:0}
  body .nav-list .menu .menu__lab{font-size:19px}
}

/* ---------- phone / tablet: accordion rows inside the Menu sheet ---------- */
@media (max-width:1279.98px){
  body .site-header .site-nav .menu{background:transparent;color:#fff}
  body .site-header .site-nav .menu__list{padding:14px 0 18px;min-height:0;overflow:hidden}
  body .site-header .site-nav .menu__list>li:first-child,body .site-header .site-nav .menu__list>li:last-child{margin:0}
  /* a closed accordion row must collapse to 0: padding survives a 0fr grid row and leaked a strip of the first card photo */
  body .site-header .site-nav .has-menu:not(.open):not([data-leaving]) .menu__list,
  body .site-header .site-nav .has-menu:not(.open):not([data-leaving]) .msys{padding-top:0;padding-bottom:0}
  body .site-header .site-nav .menu--res{--card-h:150px}
  body .site-header .site-nav .menu--com{--card-h:104px}
  body .site-header .site-nav .menu--com .menu__list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  body .site-header .site-nav .menu--com .menu__lab{padding:0 10px 9px;font-size:14px}
  body .site-header .site-nav .menu--com .menu__lab .arr{margin-left:5px}
  .site-nav .menu--sys .msys{min-height:0;overflow:hidden;padding:6px 0 14px}
  .site-nav .msys__cols{grid-template-columns:minmax(0,1fr)}
  .site-nav .msys__col{border-left:0;border-bottom:1px solid rgba(255,255,255,.16)}
  .site-nav .nav-list .msys .msys__col>a.msys__link{height:auto;padding:16px 4px}
  .site-nav .msys__name{font-size:21px;color:#fff}
  .site-nav .msys__sub{margin-top:4px;font-size:15px;color:#b9b5af}
  .site-nav .msys__rule{margin:12px 0 10px;width:36px}
  .site-nav .msys__desc{font-size:15px;color:#dcd8d2}
  .site-nav .msys__go{color:#ff9d52}
  .site-nav .nav-list .msys .msys__col>a.msys__link:hover .msys__name,.site-nav .nav-list .msys .msys__col>a.msys__link:focus-visible .msys__name{color:#ff9d52}
  .site-nav .msys__tools{display:block;padding:16px 0 4px;border-top:0}
  .site-nav .msys__tools-h{margin:0 0 10px;font-size:15px;color:#b9b5af}
  .site-nav .msys__tools-list{grid-template-columns:minmax(0,1fr);gap:10px}
  .site-nav .nav-list .msys a.msys__tool,.site-nav .nav-list .msys a.msys__tool:hover{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.22);box-shadow:none;color:#fff}
  .site-nav .msys__tt span{color:#dcd8d2}
}

/* Nov 6: eight top-level tabs were wider than the room between the logo and the phone button below ~1530px,
   so "Residential" ran under the logo and "Contact" under the phone. Close the tab gap (22px) there. */
@media (min-width: 1280px) and (max-width: 1599.98px) {
  body .site-header .nav-list { gap: 10px; }
}
@media (min-width: 1280px) and (max-width: 1439.98px) {
  body .site-header .nav-list { gap: 12px; }
  body .site-header .nav-list > li > :is(a, button.nav-tab) { font-size: 14px; letter-spacing: 0; }
}

/* Owner Nov 6: menu panels keep the original dark glass background; Systems text columns recoloured for it. */
@media (min-width:1280px){
  .msys__col{border-left-color:rgba(255,255,255,.13)}
  .msys__name{color:#fff}
  .msys__sub{color:rgba(245,243,239,.62)}
  .msys__desc{color:rgba(245,243,239,.86)}
  .msys__go{color:var(--orange)}
  .nav-list .msys .msys__col>a.msys__link:hover .msys__name,.nav-list .msys .msys__col>a.msys__link:focus-visible .msys__name{color:var(--orange)}
  .msys__tools{border-top-color:rgba(255,255,255,.13)}
  .msys__tools-h{color:rgba(245,243,239,.62)}
  .nav-list .msys a.msys__tool,.nav-list .msys a.msys__tool:hover,.nav-list .msys a.msys__tool:focus-visible{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.22);box-shadow:none;color:#fff}
  .nav-list .msys a.msys__tool:hover,.nav-list .msys a.msys__tool:focus-visible{border-color:var(--orange)}
  .msys__tt span{color:rgba(245,243,239,.72)}
}

/* Owner Nov 6: Systems columns become full-photo cards with a glass caption panel (like the process step cards), tighter. */
@media (min-width:1280px){
  html body .nav-list .has-menu>.menu.menu--sys{width:min(900px,calc(100vw - 24px));padding:10px}
  .msys__cols{gap:10px}
  .msys__col,.msys__col:first-child{border-left:0}
  .nav-list .msys .msys__col>a.msys__card{position:relative;display:flex;flex-direction:column;justify-content:flex-end;height:300px;padding:10px;border-radius:12px;overflow:hidden;isolation:isolate}
  .msys__img{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
  .msys__card::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(to bottom,rgba(0,0,0,0) 35%,rgba(0,0,0,.45) 100%)}
  .nav-list .msys .msys__col>a.msys__card:hover .msys__img,.nav-list .msys .msys__col>a.msys__card:focus-visible .msys__img{transform:scale(1.04)}
  .msys__panel{display:block;padding:14px 16px 15px;border:1px solid rgba(255,255,255,.12);border-radius:10px;background:linear-gradient(135deg,rgba(40,40,44,.78),rgba(22,22,24,.86));-webkit-backdrop-filter:blur(12px) saturate(1.2);backdrop-filter:blur(12px) saturate(1.2);box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}
  .msys__panel .msys__rule{order:-1;width:24px;height:2px;margin:0 0 10px}
  .msys__panel{display:flex;flex-direction:column}
  .msys__panel .msys__name{font-size:19px;line-height:1.05}
  .msys__panel .msys__sub{margin-top:3px;font-size:12px;letter-spacing:.12em}
  .msys__panel .msys__desc{margin-top:8px;font-size:14px;line-height:1.4}
  .msys__panel .msys__go{margin-top:10px;font-size:12px}
  .msys__tools{gap:16px;padding:12px 4px 2px;border-top:0}
  .msys__tools-h{font-size:16px}
  .msys__tools-list{gap:10px}
  .nav-list .msys a.msys__tool{padding:8px 14px 8px 8px}
  .msys__tool img{width:64px;height:48px}
}
@media (min-width:1280px){
  .nav-list .msys .msys__col>a.msys__card{height:330px;padding:8px}
  .msys__panel{padding:11px 13px 12px}
  .msys__panel .msys__rule{width:20px;margin-bottom:8px}
  .msys__panel .msys__name{font-size:17px}
  .msys__panel .msys__sub{font-size:11px}
  .msys__panel .msys__desc{margin-top:6px;font-size:13px;line-height:1.38;color:rgba(245,243,239,.8)}
  .msys__panel .msys__go{margin-top:8px;font-size:11px}
  .msys__tool img{object-fit:cover;background:#fff}
}
/* Owner Nov 6: Flake Colors tool shows the chip pile large, cut out, no box, floating for a 3D feel. */
@media (min-width:1280px){
  .nav-list .msys a.msys__tool{overflow:visible}
  .msys__tool img[src*="flake-pile-cutout"]{width:104px;height:104px;margin:-26px 4px -26px -6px;border-radius:0;background:none;object-fit:contain;filter:drop-shadow(0 10px 14px rgba(0,0,0,.55)) drop-shadow(0 2px 3px rgba(0,0,0,.35));transform:rotate(-8deg);transition:transform .35s ease}
  .nav-list .msys a.msys__tool:hover img[src*="flake-pile-cutout"],.nav-list .msys a.msys__tool:focus-visible img[src*="flake-pile-cutout"]{transform:rotate(-2deg) scale(1.06)}
  .msys__tools{padding-top:22px}
}
@media (max-width:1279.98px){
  .msys__tool img[src*="flake-pile-cutout"]{background:none;border-radius:0;object-fit:contain;filter:drop-shadow(0 6px 10px rgba(0,0,0,.5))}
}
/* Owner Nov 6: Visualizer tool gets the same floating 3D treatment as the flake pile: a before/after floor slab, cut out, no box. */
@media (min-width:1280px){
  .msys__tool img[src*="viz-slab"]{width:112px;height:112px;margin:-30px 0 -30px -8px;border-radius:0;background:none;object-fit:contain;filter:drop-shadow(0 12px 16px rgba(0,0,0,.5));transform:rotate(-4deg);transition:transform .35s ease}
  .nav-list .msys a.msys__tool:hover img[src*="viz-slab"],.nav-list .msys a.msys__tool:focus-visible img[src*="viz-slab"]{transform:rotate(0) translateY(-3px) scale(1.05)}
}
@media (max-width:1279.98px){
  .msys__tool img[src*="viz-slab"]{background:none;border-radius:0;object-fit:contain;filter:drop-shadow(0 6px 10px rgba(0,0,0,.5))}
}
@media (min-width:1280px){.msys__tool img[src*="viz-slab"]{width:128px;height:128px;margin:-38px -6px -38px -14px}}

/* Signature "3D" treatment (owner, Nov 6): like SaaS products mark their AI features, every 3D entry gets a gradient cube badge,
   a gradient border that slowly turns, and a soft glow. Static under reduced motion. */
@property --b3d-a{syntax:'<angle>';inherits:false;initial-value:0deg}
.b3d{display:inline-grid;place-items:center;flex:none;width:22px;height:22px;margin-right:8px;filter:drop-shadow(0 1px 3px rgba(248,112,0,.55))}
.b3d svg{display:block;width:18px;height:18px}
.is-3d{position:relative;isolation:isolate}
a.is-3d:not(#_),button.is-3d:not(#_){display:inline-flex;align-items:center}
.h-viz__alt.is-3d:not(#_){margin-top:16px;padding:10px 18px 10px 12px;border:2px solid transparent;border-radius:999px;text-decoration:none;color:#fff;
  background:linear-gradient(#1b1b1b,#1b1b1b) padding-box,conic-gradient(from var(--b3d-a),#f87000,#ffd28a,#ff7a00,#7a3700,#f87000) border-box;box-shadow:0 0 24px -6px rgba(248,112,0,.55)}
.vz-mode a.is-3d:not(#_){gap:0;border:1.5px solid transparent;background:linear-gradient(#141414,#141414) padding-box,conic-gradient(from var(--b3d-a),#f87000,#ffd28a,#ff7a00,#7a3700,#f87000) border-box;color:#fff}
.vz-mode a.is-3d[aria-current="page"]:not(#_){background:linear-gradient(135deg,#ff9a3c,#f87000) padding-box,conic-gradient(from var(--b3d-a),#ffd28a,#fff,#ffd28a,#f87000,#ffd28a) border-box;color:#141414}
body .lb .pk-seg button.pk-opt.is-3d.is-3d:not(#_):not(#_){padding-left:14px;background:linear-gradient(rgba(20,20,20,.86),rgba(20,20,20,.86)) padding-box,conic-gradient(from var(--b3d-a),#f87000,#ffd28a,#ff7a00,#7a3700,#f87000) border-box;border:2px solid transparent;border-radius:0 999px 999px 0}
body .lb .pk-seg button.pk-opt.is-3d.is-3d:not(#_):not(#_)[aria-pressed="true"]{background:linear-gradient(135deg,#ff9a3c,#f87000) padding-box,conic-gradient(from var(--b3d-a),#ffd28a,#fff,#ffd28a,#f87000,#ffd28a) border-box;color:#141414!important;-webkit-text-fill-color:#141414}
@media (prefers-reduced-motion:no-preference){.is-3d{animation:b3dSpin 6s linear infinite}}
@keyframes b3dSpin{to{--b3d-a:360deg}}
.is-3d:hover .b3d{transform:rotate(-8deg) scale(1.08);transition:transform .25s ease}
