/* Southern Mien Devices — design system
   Dark but clean. Neo-grotesque type, generous space, single warm accent. */

/**
 * @license
 * MyFonts Webfont Build ID 3867246
 * Webfont: Helvetica Now Pro Display Bold by Monotype
 * Copyright © 2026 Monotype Imaging Inc. All rights reserved.
 */
@font-face {
  font-family: "HelveticaNowProDisplayBold";
  src:
    url("../assets/fonts/HelveticaNowProDisplayBold/font.woff2") format("woff2"),
    url("../assets/fonts/HelveticaNowProDisplayBold/font.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/**
 * @license
 * MyFonts Webfont Build ID 3867246
 * Webfont: Helvetica Now Pro Display Black by Monotype
 * Copyright © 2026 Monotype Imaging Inc. All rights reserved.
 */
@font-face {
  font-family: "HelveticaNowProDisplayBlack";
  src:
    url("../assets/fonts/HelveticaNowProDisplayBlack/font.woff2") format("woff2"),
    url("../assets/fonts/HelveticaNowProDisplayBlack/font.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg:        #0b0b0c;
  --bg-2:      #111113;
  --surface:   #16161a;
  --surface-2: #1d1d22;
  --line:      #2a2a31;
  --text:      #f3f3f1;
  --muted:     #9a9aa2;
  --muted-2:   #6c6c74;
  --accent:    #e08a3c;   /* warm amber — the LED */
  --accent-dim:#b96f2c;
  --white:     #ffffff;

  --maxw: 100%;
  --pad: clamp(20px, 5vw, 64px);
  --radius: 4px;

  --font: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-title: "HelveticaNowProDisplayBlack", "HelveticaNowProDisplayBold", "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-display: "HelveticaNowProDisplayBold", "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-header: "HelveticaNowProDisplayBold", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

::selection { background: #d9dde2; color: inherit; }

.text-nowrap { white-space: nowrap; }

/* ---------- type ---------- */
h1,h2,h3,h4 { font-family: var(--font-title); font-weight: 700; line-height: 1.02; letter-spacing: 0; margin: 0; }
.eyebrow {
  font-family: var(--font-display);
  font-size: 12px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--muted); font-weight: 700;
}
.product-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 16px;
  padding: 7px 10px 6px;
  background: transparent;
  border: 1px solid var(--text);
  border-radius: 2px;
  color: var(--text);
  line-height: 1;
}
.lede { font-size: clamp(18px, 2.2vw, 22px); color: var(--muted); max-width: 60ch; }

/* ---------- layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
section { padding-block: clamp(64px, 10vw, 128px); }
.anchor-target { display: block; position: relative; top: -96px; height: 0; visibility: hidden; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font-family: var(--font-display);
  font-weight: 700; font-size: 15px; letter-spacing: .02em;
  padding: 14px 26px; border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--white); color: #0b0b0c; }
.btn-primary:hover { background: var(--accent); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--text); }
.btn-block { width: 100%; }
.btn-lg { padding: 17px 34px; font-size: 16px; }

/* ---------- header ---------- */
.site-header {
  position: relative; z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 24px; position: relative;
}
.nav-logo img { height: 24px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-family: var(--font-header);
  font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--muted);
  transition: color .2s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 18px; }
.cart-btn {
  font-family: var(--font-header);
  background: none; border: 0; color: var(--text); cursor: pointer;
  font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 4px;
}
.cart-count {
  font-family: var(--font-header);
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 20px;
  background: var(--accent); color: #0b0b0c; font-size: 12px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.nav-toggle { display: none; background: none; border: 0; color: var(--text); cursor: pointer; padding: 8px; font-size: 20px; }

/* ---------- hero ---------- */
.hero { padding-top: clamp(48px, 7vw, 92px); padding-bottom: clamp(48px, 7vw, 92px); }
.site-header + section { padding-top: clamp(28px, 4.5vw, 56px); }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 6vw, 84px); align-items: center; }
.hero-h1 {
  font-size: clamp(36px, 5.2vw, 68px); font-weight: 700; letter-spacing: 0;
  line-height: 1.0; margin: 16px 0 22px; max-width: 13ch;
}
.hero-h1 .accent { color: var(--accent); }
.hero p.lede { margin: 0 0 34px; max-width: 66ch; line-height: 1.52; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-stage {
  position: relative; aspect-ratio: 1 / 1;
  display: flex; align-items: center; justify-content: center; padding: clamp(8px, 2vw, 24px);
}
.hero-pedal {
  width: 100%; max-width: 480px; height: 100%; object-fit: contain;
}

/* spec ribbon */
.ribbon { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ribbon-item { padding: 30px clamp(12px,2.4vw,28px); border-left: 1px solid var(--line); }
.ribbon-item:first-child { border-left: 0; }
.ribbon-item .n { font-family: var(--font-display); font-size: clamp(26px,3.2vw,38px); font-weight: 700; letter-spacing: 0; }
.ribbon-item .l { color: var(--muted); font-size: 13px; margin-top: 6px; }
@media (max-width: 760px){ .ribbon { grid-template-columns: 1fr 1fr; } .ribbon-item:nth-child(3){ border-left:0; } .ribbon-item:nth-child(3),.ribbon-item:nth-child(4){ border-top:1px solid var(--line); } }
@media (max-width: 880px){ .hero-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce){ .hero-pedal { animation: none; } }

/* ---------- featured / split ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split-media {
  background: radial-gradient(120% 120% at 50% 20%, #1c1c22 0%, #0d0d10 70%);
  border: 1px solid var(--line); border-radius: 8px; padding: clamp(24px,5vw,56px);
}
.split-media img { margin-inline: auto; filter: drop-shadow(0 30px 60px rgba(0,0,0,.6)); }
.split h2 { font-size: clamp(34px, 5vw, 60px); margin-bottom: 20px; }
.spec-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 0; }
.spec-list li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 14px 0; border-top: 1px solid var(--line); font-size: 15px;
}
.spec-list li span:first-child { color: var(--muted); }
.spec-list li span:last-child { font-weight: 600; text-align: right; }

/* ---------- section heading ---------- */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(28px, 4vw, 44px); }

/* ---------- product grid ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 8px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.card:hover { border-color: #3a3a44; transform: translateY(-3px); }
.card-media {
  aspect-ratio: 4/5; background: radial-gradient(120% 120% at 50% 25%, #1b1b21 0%, #0d0d10 72%);
  display: flex; align-items: center; justify-content: center; padding: 26px;
}
.card-media img { max-height: 100%; width: auto; }
.card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-cat { font-family: var(--font-display); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); }
.card-name { font-family: var(--font-display); font-size: 19px; font-weight: 700; letter-spacing: 0; }
.card-foot { margin-top: auto; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; }
.price { font-family: var(--font-display); font-weight: 700; font-size: 17px; }
.badge {
  font-family: var(--font-display);
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); border: 1px solid var(--accent-dim); border-radius: 40px; padding: 4px 10px;
}
.badge-soon { color: var(--muted); border-color: var(--line); }

/* ---------- product detail ---------- */
body.product-page {
  background: var(--te-grey);
}
body.product-page > section:not(.signal-section) {
  background: var(--te-grey);
}
body.product-page .signal-section {
  background: #ffffff;
}
body.product-page .gallery-stage,
body.product-page .gallery-thumb,
body.product-page .feature-block,
body.product-page .spec-list,
body.product-page .faq-list,
body.product-page .term-note {
  background: var(--te-grey);
}
body.product-page > section.product-hero-section,
body.product-page .product-hero-section .gallery-stage,
body.product-page .product-hero-section .gallery-thumb,
body.product-page .product-hero-section .feature-block,
body.product-page .product-hero-section .spec-list {
  background: #ffffff;
}
body.product-page > section.faq-section,
body.product-page > section.faq-section .wrap,
body.product-page > section.faq-section .faq-list,
body.product-page > section.faq-section .faq-item,
body.product-page > section.faq-section .faq-cta {
  background: #ffffff;
}
body.product-page > section.faq-section {
  border-top: 0;
}
.pdp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, 560px); gap: clamp(32px,6vw,80px); align-items: start; }
.pdp-info {
  width: 100%;
  max-width: 560px;
  justify-self: end;
}
.pdp-media {
  position: sticky; top: 96px;
  background: radial-gradient(120% 120% at 50% 20%, #1c1c22 0%, #0d0d10 70%);
  border: 1px solid var(--line); border-radius: 10px; padding: clamp(28px,5vw,64px);
}
.pdp-media img { margin-inline: auto; filter: drop-shadow(0 36px 70px rgba(0,0,0,.65)); }

/* product gallery (light stage for white-background renders) */
.gallery { position: sticky; top: 96px; }
.gallery-stage {
  position: relative; background: #ffffff; border: 0; border-radius: 0;
  overflow: hidden; aspect-ratio: 4/3; cursor: zoom-in;
}
.gallery-stage img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
#gallery-main {
  transform: scale(.8);
  transform-origin: center;
}
.gallery-outgoing {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.gallery-mobile-track {
  display: none;
}
.gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: #0b0b0c;
  font-family: "HelveticaNowProDisplayBold", var(--font-display);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  opacity: .34;
  transform: translateY(-50%);
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.gallery-nav:hover {
  opacity: .78;
  transform: translateY(-50%) translateX(var(--arrow-shift, 0));
}
.gallery-prev { left: 3%; --arrow-shift: -2px; }
.gallery-next { right: 3%; --arrow-shift: 2px; }
.gallery-thumbs { display: flex; justify-content: center; gap: 10px; margin-top: -44px; overflow: visible; padding-bottom: 0; scrollbar-width: none; }
.gallery-thumbs::-webkit-scrollbar { height: 6px; }
.gallery-thumbs::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }
.gallery-thumb {
  flex: 0 0 auto; width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 0; border-radius: 0; overflow: visible;
  cursor: pointer; padding: 0; color: #0b0b0c; opacity: .22;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.gallery-thumb::before {
  content: "\25AA";
  font-family: "HelveticaNowProDisplayBold", var(--font-header);
  font-size: 1.52em;
  line-height: 1;
}
body.product-page .product-hero-section .gallery-thumb {
  background: transparent;
}
.gallery-thumb:hover { opacity: .56; }
.gallery-thumb.active { opacity: 1; transform: translateY(-1px); }
@media (max-width: 880px){ .gallery { position: static; } }
@media (max-width: 760px){
  .gallery-nav { width: 38px; height: 38px; font-size: 23px; }
  .gallery-prev { left: 2px; }
  .gallery-next { right: 2px; }
  .gallery-thumbs { justify-content: center; }
}
@media (max-width: 880px){
  .gallery-stage {
    cursor: grab;
  }
  .gallery-stage:active {
    cursor: grabbing;
  }
  #gallery-main {
    display: none;
  }
  .gallery-mobile-track {
    display: flex;
    width: 100%;
    height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .gallery-mobile-track::-webkit-scrollbar {
    display: none;
  }
  .gallery-mobile-track img {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(.9);
    transform-origin: center;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }
  .gallery-thumbs {
    gap: 8px;
    margin-top: -29px;
  }
  .gallery-thumb {
    width: 24px;
    height: 24px;
  }
  .gallery-thumb::before {
    font-size: 1.08em;
  }
  .gallery-nav {
    display: none;
    pointer-events: none;
  }
}

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(8,8,10,.94);
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), visibility .25s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-stage { position: relative; overflow: hidden; background: #fff; border-radius: 8px; }
.lightbox-img { display: block; max-width: min(92vw, 1100px); max-height: 80vh; }
.lightbox-close { position: absolute; top: 22px; right: 26px; background: none; border: 0; color: #fff; font-size: 34px; line-height: 1; cursor: pointer; opacity: .8; }
.lightbox-close:hover { opacity: 1; }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #fff;
  width: 52px; height: 52px; border-radius: 50%; cursor: pointer; font-size: 22px;
  display: flex; align-items: center; justify-content: center; transition: background .2s var(--ease);
}
.lightbox-nav:hover { background: rgba(255,255,255,.18); }
.lightbox-prev { left: 24px; } .lightbox-next { right: 24px; }
.lightbox-count { margin-top: 18px; color: #9a9aa2; font-size: 13px; letter-spacing: .1em; }
@media (prefers-reduced-motion: reduce){ .gallery-mobile-track { scroll-behavior: auto; } }
@media (max-width: 560px){ .lightbox-nav { width: 42px; height: 42px; } .lightbox-prev{left:10px} .lightbox-next{right:10px} }
.pdp h1 { font-size: clamp(34px, 5.2vw, 56px); margin: 10px 0 18px; }
.pdp .price-lg { font-family: var(--font-display); font-size: 26px; font-weight: 700; margin: 4px 0 24px; }
.pdp-info .ks-cta {
  display: flex;
  width: 100%;
}
.pdp-info .feature-block,
.pdp-info .pdp-eng,
.pdp-info .spec-details {
  max-width: 100%;
}
.pdp-info .what-block-desktop,
.pdp-info .what-details-mobile {
  max-width: 46ch;
}
.price-vat { font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: .02em; margin-left: 6px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.qty button { font-family: var(--font-display); background: var(--surface); border: 0; color: var(--text); width: 44px; height: 48px; font-size: 18px; cursor: pointer; }
.qty button:hover { background: var(--surface-2); }
.qty input { width: 52px; height: 48px; text-align: center; background: var(--bg-2); border: 0; color: var(--text); font-size: 16px; font-weight: 700; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy-row { display: flex; gap: 14px; align-items: stretch; margin: 8px 0 30px; flex-wrap: wrap; }
.feature-block { border-top: 1px solid var(--line); padding-top: 28px; margin-top: 36px; }
.feature-block h3 { font-family: var(--font-display); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.feature-block p { color: #d2d2cf; margin: 0; }

/* ---------- about ---------- */
.prose { max-width: 70ch; }
.prose p { color: #d9d9d6; margin: 0 0 22px; }
.prose p.big { font-family: "HelveticaNowProDisplayBlack", "HelveticaNowProDisplayBold", var(--font-display); font-size: clamp(22px,3vw,30px); color: var(--text); font-weight: 900; letter-spacing: 0; line-height: 1.3; }
.stat-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 8px; }
.stat .n { font-family: var(--font-display); font-size: clamp(32px,5vw,52px); font-weight: 700; letter-spacing: 0; }
.stat .l { color: var(--muted); font-size: 14px; }

/* ---------- contact ---------- */
.contact-email {
  margin: 0;
  font-family: "HelveticaNowProDisplayBold", var(--font-display);
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.contact-email a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .16em; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,6vw,72px); }
@media (min-width: 881px) {
  body.contact-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
  body.contact-page > .site-footer {
    margin-top: auto;
  }
}
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field label { font-family: var(--font-display); font-size: 13px; letter-spacing: .04em; color: var(--muted); font-weight: 600; }
.field input, .field textarea {
  background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--text); padding: 13px 15px; font: inherit; font-size: 15px;
}
.field input:focus, .field textarea:focus { outline: none; border-color: #15151a; }
/* message box defaults to single-line height; user can drag to enlarge */
.field textarea { resize: vertical; min-height: 47px; line-height: 1.4; }
.contact-info dt { font-family: "HelveticaNowProDisplayBold", var(--font-display); color: var(--muted); font-size: 13px; letter-spacing: .04em; margin-top: 22px; }
.contact-info dd { font-family: "HelveticaNowProDisplayBold", var(--font-display); margin: 4px 0 0; font-size: 17px; font-weight: 700; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; padding-block: 64px; align-items: start; }
.footer-mark img { height: 18px; margin-bottom: 18px; }
.footer-blurb { color: var(--muted); font-size: 14px; font-weight: 400; max-width: 30ch; margin: 0 0 16px; }
.footer-legal { color: var(--muted-2); font-size: 12px; line-height: 1.6; margin: 14px 0 0; max-width: 40ch; }
.footer-legal strong { color: var(--muted); font-weight: 700; }
.footer-col h4 { font-family: var(--font-display); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { color: #c7c7c4; font-size: 14px; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 24px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 13px; flex-wrap: wrap; }

/* ---------- cart drawer ---------- */
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.55); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s; z-index: 90; }
.cart-overlay.open { opacity: 1; visibility: visible; }
.cart-drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 92vw);
  background: var(--bg-2); border-left: 1px solid var(--line);
  transform: translateX(100%); transition: transform .34s var(--ease); z-index: 100;
  display: flex; flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.cart-head h3 { font-family: var(--font-display); font-size: 16px; letter-spacing: .04em; }
.cart-close { background: none; border: 0; color: var(--muted); font-size: 26px; line-height: 1; cursor: pointer; }
.cart-close:hover { color: var(--text); }
.cart-items { flex: 1; overflow-y: auto; padding: 12px 24px; }
.cart-empty { color: var(--muted); text-align: center; padding: 60px 0; }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cart-item-img { width: 64px; height: 64px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); object-fit: contain; padding: 6px; }
.cart-item-name { font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.cart-item-price { color: var(--muted); font-size: 13px; margin-top: 2px; }
.cart-item-qty { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; font-size: 14px; }
.cart-item-qty button { background: var(--surface); border: 1px solid var(--line); color: var(--text); width: 26px; height: 26px; border-radius: 4px; cursor: pointer; font-size: 15px; line-height: 1; }
.cart-remove { background: none; border: 0; color: var(--muted-2); cursor: pointer; font-size: 12px; text-decoration: underline; padding: 0; margin-top: 6px; }
.cart-remove:hover { color: var(--text); }
.cart-line-total { font-family: var(--font-display); font-weight: 700; font-size: 15px; }
.cart-foot { padding: 22px 24px; border-top: 1px solid var(--line); }
.cart-subtotal { font-family: var(--font-display); display: flex; justify-content: space-between; margin-bottom: 6px; font-weight: 700; font-size: 18px; }
.cart-note { color: var(--muted-2); font-size: 12px; margin: 0 0 18px; }

/* ---------- feature rows (Lehle-style technical blocks) ---------- */
.feat-list { display: grid; gap: 0; margin-top: 8px; }
.feat-row { display: grid; grid-template-columns: 52px 1fr; gap: 22px; padding: 28px 0; border-top: 1px solid var(--line); }
.feat-row:last-child { border-bottom: 1px solid var(--line); }
.feat-icon {
  width: 52px; height: 52px; border: 1px solid var(--line); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--accent);
  background: var(--bg-2);
}
.feat-icon svg { width: 24px; height: 24px; }
.feat-row h3 { font-size: 18px; font-weight: 700; letter-spacing: 0; margin: 4px 0 8px; text-transform: none; color: var(--text); }
.feat-row p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }

.feat-section { background: var(--bg-2); }
.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; }
@media (max-width: 760px){ .feat-grid { grid-template-columns: 1fr; } }

/* signal diagram */
.signal-section .sec-head {
  justify-content: center;
  text-align: center;
  margin-bottom: 18px;
}
.signal-section .sec-head > div {
  width: auto;
}
.signal-section .sec-head h2 {
  font-size: clamp(32px, 4.6vw, 51px);
  max-width: none;
}
.diagram { border: 1px solid var(--line); border-radius: 10px; background: radial-gradient(120% 120% at 50% 0%, #1a1a20 0%, #0d0d10 75%); padding: clamp(24px,5vw,48px); }
.diagram svg { width: 100%; height: auto; display: block; }

/* made-in badge */
.made-badge { font-family: var(--font-display); display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--muted); border: 1px solid var(--line); border-radius: 40px; padding: 8px 16px; }
.made-badge b { color: var(--text); letter-spacing: .14em; }
.flag { width: 22px; height: 15px; border-radius: 2px; overflow: hidden; display: inline-grid; grid-template-columns: 1fr 1fr 1fr; border: 1px solid var(--line); }
.flag i { display: block; }
.flag i:nth-child(1){ background:#3a7d44; } .flag i:nth-child(2){ background:#f4f4f1; } .flag i:nth-child(3){ background:#b73a3a; }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 18px; background: var(--bg-2); }
.marquee-track { font-family: var(--font-display); display: inline-flex; gap: 48px; white-space: nowrap; animation: scroll 30s linear infinite; font-weight: 700; font-size: clamp(20px,3vw,30px); letter-spacing: 0; color: var(--muted-2); padding-left: 48px; }
.marquee-track b { color: var(--text); font-weight: 700; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 880px) {
  .split, .pdp, .contact-grid { grid-template-columns: 1fr; }
  .pdp-info { max-width: none; justify-self: stretch; }
  .pdp-media { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.open .nav-links {
    display: flex; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 8px 0; z-index: 60;
  }
  .nav.open .nav-links a { padding: 14px var(--pad); width: 100%; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .stat-row { grid-template-columns: 1fr; gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* =====================================================================
   V2 — LIGHT THEME TEST: black header & footer, white body
   ===================================================================== */
:root {
  --bg:        #ffffff;
  --bg-2:      #f3f4f6;
  --surface:   #f7f8fa;
  --surface-2: #eaecf0;
  --line:      #e3e6ea;
  --text:      #15151a;
  --muted:     #15151a;
  --muted-2:   #15151a;
  --te-grey:   #f1f1f1;
}
body { background: var(--bg); color: var(--text); }
::selection { background: #d9dde2; color: inherit; }

/* header stays black */
.site-header { background: #0b0b0c; backdrop-filter: none; border-bottom-color: #1e1e22; }
.site-header .nav-links a { color: #b9b9bf; }
.site-header .nav-links a:hover, .site-header .nav-links a.active { color: #fff; }
.cart-btn, .nav-toggle { color: #fff; }
.nav.open .nav-links { background: #0b0b0c; border-bottom-color: #1e1e22; }

/* footer stays black */
.site-footer { background: #0b0b0c; border-top-color: #1e1e22; }
.footer-col h4 { color: #8a8a90; }
.footer-col a { color: #c7c7c4; }
.footer-col a:hover { color: #fff; }
.footer-blurb { color: #8a8a90; }
.footer-legal { color: #7a7a80; }
.footer-legal strong { color: #d2d2cf; }
.footer-bottom { color: #8a8a90; border-top-color: #1e1e22; }
.footer-bottom a { color: #d2d2cf; }

/* buttons need contrast on white */
.btn-primary { background: #0b0b0c; color: #fff; }
.btn-primary:hover { background: #34343b; color: #fff; }
.btn-ghost { color: #15151a; border-color: var(--line); }
.btn-ghost:hover { border-color: #15151a; }

/* light panels where dark gradients were used */
.split-media, .card-media { background: #eef0f4; }
.feat-section { background: #ffffff; }


/* engineering icon circles: white with amber outline */
.feat-icon { background: #ffffff; border-color: var(--accent); }

/* keep the company name from breaking onto a new line */
.footer-legal strong { white-space: nowrap; }

/* readability fixes on the light theme: these paragraphs were styled for a dark bg */
.feature-block p { color: #15151a; }
.prose p { color: #33333a; }
.prose p.big { color: #15151a; }

/* ---- Valhalla-inspired touches: display headings + arrow links ---- */
h1, h2, .hero-h1 { font-family: var(--font-title); font-weight: 900; letter-spacing: 0; }
.btn-ghost::after { content: "\2192"; display: inline-block; margin-left: 2px; font-family: "HelveticaNowProDisplayBold", var(--font-display); font-weight: 700; transition: transform .2s var(--ease); }
.btn-ghost:hover::after { transform: translateX(4px); }
.btn-clean-hero {
  background: #0b0b0c;
  border-color: #0b0b0c;
  color: #ffffff;
}
.btn-clean-hero:hover {
  background: #15151a;
  border-color: #15151a;
  color: #ffffff;
}
.footer-col a { display: inline-flex; align-items: center; gap: 0; }
.footer-col a::after { content: "\2192"; opacity: 0; margin-left: 4px; font-family: "HelveticaNowProDisplayBold", var(--font-display); font-weight: 700; transform: translateX(-4px); transition: opacity .2s var(--ease), transform .2s var(--ease); }
.footer-col a:hover::after { opacity: 1; transform: translateX(0); }

/* engineering — technical tiles that open the characteristics */
.engineering-head { margin-bottom: 24px; }
.eng { display: grid; grid-template-columns: 1fr; gap: clamp(22px,4vw,34px); align-items: start; }
.eng-dots { display: flex; flex-direction: row; flex-wrap: nowrap; gap: 12px; overflow-x: auto; padding: 4px 4px 10px; scrollbar-width: thin; }
.eng-dots::-webkit-scrollbar { height: 6px; }
.eng-dots::-webkit-scrollbar-thumb { background: #d8dce1; border-radius: 4px; }
.eng-dot { width: 56px; height: 56px; border-radius: 0; border: 0; background: transparent; color: var(--muted-2); display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; transition: color .25s var(--ease), opacity .25s var(--ease), transform .2s var(--ease); }
.eng-dot { flex: 0 0 64px; width: 64px; height: 64px; }
.eng-dot svg { width: 38px; height: 38px; stroke-width: 1.8; shape-rendering: geometricPrecision; }
.eng-dot:hover { color: var(--text); opacity: .82; }
.eng-dot.active { color: #15151a; opacity: 1; }
.eng-panel { min-height: 168px; padding-top: 2px; max-width: 760px; }
.eng-panel.is-empty { display: none; }
.eng-panel h3 { font-family: var(--font-display); font-size: clamp(22px,3vw,30px); margin-bottom: 14px; }
.eng-panel p { color: var(--muted); max-width: 68ch; font-size: 17px; margin: 0; }
.what-eng {
  margin: 22px 0 0;
  gap: 18px;
}
.what-eng .eng-dots {
  justify-content: flex-start;
  padding-left: 0;
  padding-right: 0;
}
.what-eng .eng-panel {
  min-height: 0;
  max-width: 100%;
  padding-left: 0;
  border-left: 0;
}
.what-eng .eng-panel h3 {
  font-size: clamp(18px, 2.1vw, 22px);
  margin-bottom: 8px;
}
.what-eng .eng-panel p {
  max-width: 58ch;
  font-size: 15px;
  line-height: 1.58;
}
.what-eng-mobile { margin-top: 18px; }
.product-mobile-eng { display: none; }
.eng-anim { animation: engfade .45s var(--ease); }
@keyframes engfade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 680px){ .eng-dots { margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); } }
@media (prefers-reduced-motion: reduce){ .eng-anim { animation: none; } }

/* Kickstarter CTA + cart hidden (pre-launch) */
.btn-ks { font-family: "HelveticaNowProDisplayBold", var(--font-display); background: #222222; color: #ffffff; border-color: #222222; font-size: 17px; font-weight: 700; min-height: 64px; padding: 20px 42px; }
.btn-ks:hover { background: #111111; color: #ffffff; border-color: #111111; }
.hero .btn-ks { background: #05ce78; border-color: #05ce78; color: #ffffff; }
.hero .btn-ks:hover { background: #04b96c; border-color: #04b96c; color: #ffffff; }
.ks-cta { margin-bottom: 14px; }
.ks-cta-wrap { width: 100%; }
.ks-availability-mobile { display: none; }
.ks-logo { height: 17px; width: auto; margin-left: 8px; display: inline-block; vertical-align: middle; }
.ks-logo-k { height: 24px; margin-left: 10px; }
.cart-btn { display: none; }

/* white header, dark text */
.site-header { background: #0b0b0c; backdrop-filter: none; border-bottom: 0; }
.site-header .nav-links a { color: #f3f3f1; }
.site-header .nav-links a:hover, .site-header .nav-links a.active { color: #ffffff; }
.site-header .cart-btn, .site-header .nav-toggle { color: #f3f3f1; }
.nav.open .nav-links { background: #0b0b0c; border-bottom-color: #2a2a31; }
/* slightly larger header logo */
.nav-logo img { height: 25px; }
.nav-logo-mark {
  position: relative;
  display: inline-flex;
  align-items: flex-start;
  line-height: 1;
  transform: translateY(2px);
}
/* centered-logo header layout */
.nav-center { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: clamp(32px, 4vw, 64px); }
.nav-center .nav-logo { justify-self: start; }
.nav-grp { display: flex; align-items: center; gap: 10px; list-style: none; margin: 0; padding: 0; }
.nav-grp-main { justify-self: end; }
.nav-grp a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 31px;
  padding: 5px 7px 7px;
  border: 0;
  font-family: var(--font-header);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
  color: #f3f3f1;
  transition: opacity .2s var(--ease);
}
.nav-grp a::after {
  display: none;
}
.nav-grp a:hover { opacity: 1; }
.nav-grp a.active {
  color: #ffffff;
  text-decoration: none;
}
@media (max-width: 880px){
  /* mobile header: logo left, hamburger right, soft menu reveal */
  .site-header { transition: box-shadow .28s var(--ease); }
  .site-header.menu-open { box-shadow: 0 18px 36px rgba(0,0,0,.08); }
  .nav { height: auto; min-height: 68px; transition: padding-bottom .32s var(--ease); }
  .nav-center {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    grid-template-rows: 68px auto;
    align-items: center;
    column-gap: 12px;
    row-gap: 0;
    min-height: 68px;
  }
  .nav-center .nav-logo { grid-column: 1; grid-row: 1; min-width: 0; margin-right: 0; justify-self: start; }
  .nav-center .nav-logo img { height: auto; width: auto; max-width: min(100%, 280px); }
  .nav-center .nav-toggle { grid-column: 2; grid-row: 1; justify-self: end; width: 44px; height: 44px; font-size: 30px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; margin-left: 0; border-radius: 4px; transform: none; transition: background .24s var(--ease), color .24s var(--ease); }
  .nav-toggle-icon { display: block; line-height: 1; transform: translateY(-7px); }
  .nav.open .nav-toggle-icon { transform: translateY(-2px); }
  .nav.open { padding-bottom: 18px; }
  .nav.open .nav-toggle { background: #ffffff; color: #0b0b0c; }
  /* menu: inner styles are CONSTANT (not gated on .open) so nothing snaps;
     only height + fade animate, with content-matched max-heights to avoid pauses */
  .nav-grp {
    grid-column: 1 / -1; display: flex; width: 100%; flex-direction: column; gap: 0;
    max-height: 0; overflow: hidden; opacity: 0; pointer-events: none; transform: translateY(-6px);
    transition: max-height .34s var(--ease), opacity .22s var(--ease), transform .34s var(--ease), padding-top .34s var(--ease);
  }
  .nav-grp-main { grid-row: 2; padding-top: 0; }
  .nav.open .nav-grp { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .nav.open .nav-grp-main { max-height: 184px; padding-top: 16px; }
  .nav-grp li { width: 100%; text-align: center; }
  .nav-grp a {
    display: inline-flex; align-items: center; justify-content: center; width: auto; min-height: 38px;
    padding: 8px 14px 10px; border: 0; font-size: 18px; line-height: 1.2; text-decoration: none;
  }
  .nav-grp a::after,
  .nav-grp li:nth-child(even) a::after {
    display: none;
  }
  .nav-grp a.active { text-decoration: none; }
  .hero-grid > *, .split > *, .pdp > *, .contact-grid > * { min-width: 0; }
  .gallery, .gallery-stage, .gallery-thumbs { min-width: 0; max-width: 100%; }
  .gallery-thumbs { width: 100%; }
}

/* optional text wordmark in the display font */
.nav-wordmark { font-family: var(--font-display); font-weight: 700; font-size: clamp(15px, 1.9vw, 21px); letter-spacing: .005em; color: #000000; white-space: nowrap; line-height: 1; }

/* footer column headings in white */
.footer-col h4 { color: #ffffff; }

/* Parerga Studio S.r.l. in grey */
.footer-legal strong { color: #9a9aa0; }

/* engineering icons: black technical tiles inspired by compact product labels */
.eng-dot {
  flex: 0 0 auto;
  width: 100%;
  height: auto;
  min-width: 0;
  flex-direction: row;
  justify-content: flex-start;
  gap: 10px;
  background: transparent;
  border: 1px solid #d8dce1;
  border-radius: 0;
  box-shadow: none;
  color: #15151a;
  opacity: 1;
  padding: 10px;
}
.eng-icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0b0b0c;
  border: 1px solid #0b0b0c;
  border-radius: 5px;
  color: #ffffff;
  transition: background .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease), transform .2s var(--ease);
}
.eng-icon svg {
  width: 27px;
  height: 27px;
}
.eng-dot:hover {
  background: #f3f4f6;
  border-color: #15151a;
  box-shadow: none;
  color: #15151a;
  opacity: 1;
  transform: none;
}
.eng-dot:hover .eng-icon {
  background: #15151a;
  border-color: #15151a;
}
.eng-dot.active {
  background: #f3f4f6;
  border-color: #15151a;
  box-shadow: none;
  color: #15151a;
  opacity: 1;
}
.eng-dot.active .eng-icon {
  box-shadow: none;
}
.eng-label {
  display: block;
  width: 100%;
  max-width: none;
  min-height: 0;
  font-family: "HelveticaNowProDisplayBold", var(--font-display);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-align: left;
  color: #15151a;
}
.eng-label b {
  font-family: "HelveticaNowProDisplayBlack", "HelveticaNowProDisplayBold", var(--font-display);
  font-weight: 900;
}
.pdp-eng {
  margin: 22px 0 0;
  gap: 18px;
}
.eng-hint {
  margin: 0 0 -8px;
  color: var(--muted);
  font-family: "HelveticaNowProDisplayBold", var(--font-display);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .04em;
}
.pdp-eng .eng-dots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(66px, 72px));
  justify-content: flex-start;
  gap: 10px;
  overflow: visible;
  margin: 0;
  padding: 0;
}
.pdp-eng .eng-dot {
  width: 72px;
  height: 72px;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
}
.pdp-eng .eng-icon {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  background: transparent;
  border-color: transparent;
  border-radius: 5px;
  color: #0b0b0c;
}
.pdp-eng .eng-icon svg {
  width: 42px;
  height: 42px;
}
.pdp-eng .eng-label {
  display: none;
}
.pdp-eng .eng-dot:hover,
.pdp-eng .eng-dot.active {
  background: transparent;
  border-color: transparent;
}
.pdp-eng .eng-dot:hover {
  transform: translateY(-2px);
}
.pdp-eng .eng-dot:hover .eng-icon {
  background: transparent;
  border-color: transparent;
  color: #0b0b0c;
  transform: translateY(-1px);
}
.pdp-eng .eng-dot.active .eng-icon {
  box-shadow: 0 0 0 3px #d8dce1;
}
.pdp-eng .eng-panel {
  min-height: 0;
  max-width: 100%;
  padding-left: 0;
  border-left: 0;
}
.pdp-eng .eng-panel.is-empty {
  display: none;
}
@media (max-width: 880px){
  .pdp-eng .eng-dots {
    grid-template-columns: repeat(3, 72px);
    justify-content: flex-start;
  }
}
/* footer: 4 columns + readable plain-text items */
.footer-top { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
.footer-col li { color: #b9b9bf; }
@media (max-width: 880px){ .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .footer-top { grid-template-columns: 1fr; } }


/* about — get in touch CTA */
.cta-block { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: clamp(32px,5vw,56px); }
.cta-block h2 { font-size: clamp(28px,4vw,46px); margin-top: 8px; max-width: 18ch; }

/* signal-flow: footswitch loop toggle */
.loop-toggle { display: flex; align-items: center; gap: 12px; }
.loop-toggle-label { font-family: var(--font-display); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.loop-seg { display: inline-flex; border: 1px solid var(--line); border-radius: 40px; overflow: hidden; }
.loop-opt { background: transparent; border: 0; padding: 8px 16px; font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--muted); cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease); }
.loop-opt.active { background: var(--accent); color: #0b0b0c; }
.flow-svg.two-mode .chan[data-ch="3"] { opacity: .25; pointer-events: none; }
.flow-svg.two-mode [data-wire="3"] { opacity: .18; }

/* specifications dropdown */
.pdp .feature-block h3 { font-family: "HelveticaNowProDisplayBold", var(--font-display); }
.spec-details { padding-top: 0; }
.spec-summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 28px; }
.spec-summary::-webkit-details-marker { display: none; }
.spec-summary h3 { margin: 0; }
.spec-caret {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-family: "HelveticaNowProDisplayBold", var(--font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  transform: translateY(-1px);
  transition: transform .25s var(--ease);
}
.spec-caret::before { content: "\2193"; }
.spec-details[open] .spec-caret { transform: translateY(1px) rotate(180deg); }
.spec-details[open] .spec-list { margin-bottom: 8px; }
.what-details-mobile { display: none; }
.what-block-desktop,
.what-details-mobile {
  border-top: 0;
  padding-top: 0;
}
.what-block-desktop p,
.what-copy { text-wrap: pretty; }
.what-copy { margin: 0; padding-top: 0; line-height: 1.65; }
@media (max-width: 880px){
  .what-block-desktop { display: none; }
  .what-details-mobile { display: block; }
  .what-details-mobile,
  .product-mobile-eng + .spec-details {
    border-bottom: 1px solid var(--line);
  }
  .what-details-mobile .spec-summary,
  .product-mobile-eng + .spec-details .spec-summary {
    padding-bottom: 22px;
  }
  .what-details-mobile[open] {
    padding-bottom: 18px;
  }
  .product-mobile-eng + .spec-details[open] {
    padding-bottom: 14px;
  }
  .product-mobile-eng {
    display: grid;
    margin: 20px 0 12px;
    gap: 14px;
  }
  .product-mobile-eng .eng-dots {
    display: grid;
    grid-template-columns: repeat(3, minmax(54px, 1fr));
    justify-items: center;
    gap: 8px 14px;
    overflow: visible;
    margin: 0;
    padding: 8px 0 4px;
  }
  .product-mobile-eng .eng-dot {
    flex: 0 0 auto;
    width: 62px;
    height: 62px;
  }
  .product-mobile-eng .eng-dot svg {
    width: 38px;
    height: 38px;
  }
  .product-mobile-eng .eng-panel {
    padding-left: 12px;
  }
}

/* keep the product gallery fixed in place (no sticky shift when the specs dropdown opens) */
.gallery { position: static; top: auto; }

.eng-desc{white-space:pre-line;}

/* Softer Specifications open */
.spec-details[open] .spec-list { animation: specOpen .38s var(--ease) both; }
.what-details-mobile[open] .what-copy { animation: specOpen .38s var(--ease) both; }
@keyframes specOpen {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* Newsletter band (home) */
.news-band { background: var(--bg); }
.news-inner { max-width: 700px; margin: 0 auto; text-align: center; padding: clamp(34px,6vw,64px) 0; }
.news-title { font-size: clamp(30px,4.2vw,46px); line-height: 1.06; letter-spacing: 0; margin: 12px 0 14px; }
.news-sub { color: var(--muted); font-size: clamp(16px,2vw,18px); max-width: 48ch; margin: 0 auto 26px; }
.news-form { display: flex; gap: 10px; justify-content: center; flex-wrap: nowrap; align-items: stretch; }
.news-input {
  flex: 1 1 0; min-width: 0; max-width: none; padding: 0 16px; height: 52px;
  font: inherit; font-size: 16px; color: var(--text);
  background: #fff; border: 1px solid var(--line); border-radius: 8px; outline: none;
}
.news-input:focus { border-color: #15151a; outline: none; }
.news-form .btn {
  min-height: 54px;
  height: auto;
  padding: 15px 28px;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0;
  white-space: nowrap;
}
.news-ok { color: #000; font-weight: 600; margin-top: 6px; }
.news-note { color: var(--muted-2); font-size: 13px; margin-top: 14px; }

/* Product naming note */
.term-note-section { padding-block: clamp(32px, 5vw, 56px); }
.term-note {
  max-width: 820px;
  margin: 0;
  color: #b8bbc0;
  font-size: 12px;
  font-style: italic;
  line-height: 1.65;
}
body.product-page > section.term-note-section,
body.product-page .term-note-section .term-note {
  background: #ffffff;
}
.term-note sup { font-size: 11px; line-height: 0; color: inherit; }
.term-note strong { color: var(--muted); font-weight: 600; }
.term-note a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.term-note a:hover { color: var(--text); }


/* FAQ accordion (black & white) */
.faq-section { border-top: 1px solid var(--line); }
.faq-section .sec-head { justify-content: center; text-align: center; margin-bottom: clamp(34px, 5vw, 58px); }
.faq-section .sec-head > div { width: 100%; }
.faq-list { counter-reset: faq; margin: 0 auto; max-width: 980px; border-top: 1px solid var(--line); }
.faq-item { counter-increment: faq; border-bottom: 1px solid var(--line); }
.faq-item summary {
  font-family: var(--font-display);
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) 22px;
  align-items: center;
  gap: clamp(18px, 3vw, 40px);
  padding: clamp(28px, 4vw, 44px) 0;
  font-size: clamp(19px, 2.35vw, 28px);
  font-weight: 700;
  line-height: 1.12;
  color: var(--text);
  text-decoration: none;
  -webkit-user-select: none;
  user-select: none;
}
.faq-item summary:hover,
.faq-item summary:focus,
.faq-item summary:focus-visible,
.faq-item summary * { text-decoration: none; }
.faq-item summary::before {
  content: counter(faq, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: clamp(17px, 2vw, 24px);
  font-weight: 700;
  letter-spacing: .04em;
  color: #c2c5ca;
}
body.product-page .faq-item summary::before {
  font-size: clamp(24px, 2.2vw, 28px);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .faq-caret {
  justify-self: end;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-family: "HelveticaNowProDisplayBold", var(--font-display);
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
  transform: translateY(-1px);
  transition: transform .25s var(--ease), color .25s var(--ease);
}
.faq-item .faq-caret::before { content: "\2193"; }
.faq-item[open] .faq-caret { transform: translateY(1px) rotate(180deg); }
.faq-item p { margin: -8px 48px clamp(28px, 4vw, 42px) clamp(86px, 9vw, 108px); max-width: 70ch; color: var(--muted); font-size: 16px; line-height: 1.65; animation: specOpen .38s var(--ease) both; }
.faq-cta { margin: clamp(30px,5vw,48px) auto 0; padding-top: clamp(24px,4vw,34px); display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; max-width: 980px; }
.faq-cta h3 { margin: 0 0 8px; font-size: clamp(22px,3vw,30px); }
.faq-cta p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; }

/* FAQ CTA: animated arrow pointing at the Contact button (matches home .btn-ghost arrow) */
.faq-cta-action { display: inline-flex; align-items: center; gap: 12px; }
.cta-arrow { font-family: "HelveticaNowProDisplayBold", var(--font-display); font-size: 22px; font-weight: 700; line-height: 1; color: var(--text); display: inline-block; transition: transform .2s var(--ease); }
.faq-cta-action:hover .cta-arrow { transform: translateX(4px); }




/* Darker grey for small section labels (eyebrows + feature headings) */
.eyebrow, .feature-block h3 { color: var(--text); }

/* Header nav in uppercase, except the GTRS Leveler brand link */
.nav-grp a { text-transform: uppercase; letter-spacing: .02em; font-weight: 500; }

/* Footer: all text white */
.site-footer .footer-blurb,
.site-footer .footer-legal,
.site-footer .footer-legal strong,
.site-footer .footer-col h4,
.site-footer .footer-col a,
.site-footer .footer-col li,
.site-footer .footer-bottom,
.site-footer .footer-bottom a { color: #e9e9ed; }

/* ============ Mobile-only refinements (desktop untouched) ============ */
@media (max-width: 640px){
  /* tighten very tall vertical rhythm on phones */
  section { padding-block: 56px; }
  .site-header + section { padding-top: 34px; }
  .sec-head { margin-bottom: 28px; }
  .faq-section .sec-head { text-align: center; margin-bottom: 30px; }
  .faq-item summary {
    grid-template-columns: 52px minmax(0, 1fr) 18px;
    gap: 16px;
    padding: 24px 0;
    font-size: clamp(17px, 5vw, 21px);
    line-height: 1.18;
  }
  body.product-page .faq-item summary::before {
    font-size: 24px;
    line-height: 1;
    letter-spacing: .04em;
  }
  .faq-item p { margin: -2px 0 24px 68px; font-size: 15px; line-height: 1.62; }
  .faq-cta > div:first-child {
    flex: 0 0 100%;
    width: 100%;
    text-align: center;
  }
  .faq-cta-action {
    flex: 0 0 100%;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0;
  }
  .faq-cta-action .cta-arrow { justify-self: end; margin-right: 12px; }
  .faq-cta-action .btn { grid-column: 2; }
  /* signal-flow panel: give the animation more space on mobile */
  .diagram { padding: 8px; margin-left: -10px; margin-right: -10px; }
  /* footer breathing room */
  .footer-top { padding-block: 44px; }
  /* stack the bottom footer row */
  .footer-bottom { justify-content: flex-start; gap: 8px; }
  /* smaller copyright + email on mobile */
  .footer-bottom, .footer-bottom a { font-size: 14px; }
  /* newsletter + hero CTAs full-width, easier to tap */
  .news-form { flex-direction: column; align-items: stretch; }
  .news-input { flex: 0 0 auto; width: 100%; max-width: none; min-height: 60px; height: auto; padding: 16px 17px; line-height: 1.35; }
  .news-form .btn { flex: 0 0 auto; width: 100%; min-height: 60px; padding: 17px 18px; }
  .hero-actions .btn, .ks-cta { width: 100%; justify-content: center; }

  /* Product CTA: keep the supporting label outside the mobile button. */
  .pdp-info .ks-cta-wrap {
    display: grid;
    gap: 9px;
    margin-bottom: 18px;
  }
  .pdp-info .ks-availability-mobile {
    display: block;
    font-family: "HelveticaNowProDisplayBold", var(--font-display);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .12em;
    text-transform: none;
    color: var(--muted);
  }
  .pdp-info .ks-availability-desktop { display: none; }
  .pdp-info .ks-cta {
    min-height: 60px;
    margin-bottom: 0;
    padding: 16px 22px;
  }
  .pdp-info .ks-logo {
    height: 20px;
    margin-left: 0;
  }

  /* Five engineering symbols stay balanced in one touch-friendly row. */
  .pdp-eng .eng-dots {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    justify-content: stretch;
    width: 100%;
    gap: 4px;
  }
  .pdp-eng .eng-dot {
    width: 100%;
    height: 58px;
    min-width: 0;
  }
  .pdp-eng .eng-icon {
    width: 54px;
    height: 54px;
    max-width: 100%;
  }
  .pdp-eng .eng-icon svg {
    width: 32px;
    height: 32px;
  }
}
@media (max-width: 420px){
  /* avoid the legal line forcing horizontal overflow on tiny screens */
  .footer-legal strong { white-space: normal; }
}

/* thinner stroke for the articulated gain knob (dense ticks read heavy at 1.8) */
.eng-dot[data-i="2"] svg { stroke-width: 1.3; }

/* thinner stroke for the selector and toggle symbols */
.eng-dot[data-i="3"] svg, .eng-dot[data-i="5"] svg { stroke-width: 1.3; }
.eng-dot[data-i="4"] svg { stroke-width: 1.9; }

/* keep stroke width constant regardless of per-symbol normalization scaling */
.eng-dot svg * { vector-effect: non-scaling-stroke; }

/* Signal-flow: desktop horizontal vs mobile vertical */
#flow-svg-m { display: none; }
#flow-svg-m .lbl  { font-size: 11px; }
#flow-svg-m .fsw-num { font-size: 19px; }
#flow-svg-m .lbl2 { font: 700 9.5px "HelveticaNowProDisplayBold", Jost, sans-serif; fill: #6c6c74; }
@media (max-width: 640px){
  #flow-svg { display: none; }
  #flow-svg-m { display: block; }
}

/* All readable body text in black (footer stays white; diagram labels unaffected) */
.lede, .feature-block p, .eng-panel p, .faq-item p, .news-sub,
.prose p, .contact-info dt, .contact-info dd, .spec-list li span,
.ribbon-item .l, .field label { color: var(--text); }

/* Footer: uniform text size matching the office-hours items (17px) */
.footer-blurb,
.footer-col a,
.footer-col li,
.footer-bottom,
.footer-bottom a { font-size: 15px; }

/* Home: full-bleed video hero with header and copy in overlay */
.home-root,
.home-page {
  min-height: 100%;
  background: #000;
}
.home-page {
  min-height: 100dvh;
  overscroll-behavior-y: none;
}
.home-page .site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 50;
  background: transparent;
  border-bottom: 0;
  padding-top: env(safe-area-inset-top);
}
.home-page .site-header .wrap {
  position: relative;
  z-index: 1;
}
.home-page .hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 100svh;
  min-height: 100dvh;
  overflow: hidden;
  padding: clamp(142px, 18vh, 210px) 0 clamp(64px, 10vh, 112px);
  background: #000;
  color: #ffffff;
}
.home-page .hero-video,
.home-page .hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.home-page .hero-video {
  z-index: -2;
  object-fit: cover;
  object-position: center;
}
.home-page .hero-shade {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0,0,0,.46) 0%, rgba(0,0,0,.08) 34%, rgba(0,0,0,.18) 56%, rgba(0,0,0,.72) 100%),
    linear-gradient(90deg, rgba(0,0,0,.48) 0%, rgba(0,0,0,.12) 58%, rgba(0,0,0,.05) 100%);
  pointer-events: none;
}
.home-page .hero > .wrap {
  width: 100%;
}
.home-page .hero-content {
  width: min(100%, 780px);
}
.home-page .hero-h1 {
  margin: 0 0 22px;
  color: #ffffff;
  font-size: clamp(46px, 6.4vw, 92px);
  line-height: .94;
  text-wrap: balance;
}
.home-page .hero-title-line {
  display: block;
  /* Clip the font's tall selection boxes to their own line. */
  overflow: hidden;
}
.home-page .hero .lede {
  max-width: 61ch;
  margin: 0 0 34px;
  color: rgba(255,255,255,.92);
  text-shadow: 0 1px 20px rgba(0,0,0,.22);
}
.home-page .hero .btn-clean-hero {
  background: rgba(0,0,0,.16);
  border-color: rgba(255,255,255,.7);
  color: #ffffff;
  backdrop-filter: blur(8px);
}
.home-page .hero .btn-clean-hero:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: #0b0b0c;
}

@media (max-width: 880px) {
  .home-page .site-header.menu-open {
    background: rgba(11,11,12,.92);
    backdrop-filter: blur(14px);
  }
  .home-page .hero {
    min-height: 100svh;
    min-height: 100dvh;
    padding-top: 132px;
    padding-bottom: max(clamp(48px, 8vh, 80px), calc(env(safe-area-inset-bottom) + 18px));
  }
  .home-page .hero-video {
    object-position: center;
  }
}

@media (max-width: 640px) {
  .home-page .site-header + .hero {
    padding-top: 122px;
  }
  .home-page .hero {
    min-height: 100svh;
    min-height: 100dvh;
  }
  .home-page .hero-h1 {
    font-size: clamp(42px, 14vw, 66px);
  }
  .home-page .hero .lede {
    font-size: 17px;
    line-height: 1.5;
  }
  .home-page .home-ks-cta-wrap {
    display: grid;
    width: 100%;
    gap: 9px;
  }
  .home-page .home-ks-cta-wrap .ks-availability-mobile {
    display: block;
    font-family: "HelveticaNowProDisplayBold", var(--font-display);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .12em;
    text-transform: none;
    color: rgba(255,255,255,.76);
  }
  .home-page .home-ks-cta-wrap .ks-availability-desktop {
    display: none;
  }
  .home-page .home-ks-cta-wrap .btn-ks {
    min-height: 60px;
    padding: 16px 22px;
  }
  .home-page .home-ks-cta-wrap .ks-logo {
    height: 20px;
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .hero-video { display: none; }
  .home-page .hero { background: #0b0b0c; }
}
/* Legal / P.IVA line slightly smaller */
.footer-legal,
.footer-legal strong { font-size: 13px; font-weight: 400; }

/* Minimal footer */
.site-footer {
  background: var(--bg);
  border-top: 0;
}
body.product-page .site-footer {
  background: #ffffff;
}
body.product-page .site-footer .wrap,
body.product-page .footer-simple {
  background: #ffffff;
}
.footer-simple {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: end;
  gap: 32px;
  padding-top: clamp(34px, 5vw, 54px);
  padding-bottom: clamp(20px, 3vw, 32px);
}
.site-footer .footer-blurb {
  font-family: "Instrument Sans", var(--font);
  font-weight: 500;
  font-feature-settings: "ss01" 1;
  max-width: none;
  margin: 0;
  color: #15151a;
  font-size: 17.25px;
  line-height: 1.45;
}
.footer-made {
  white-space: nowrap;
}
.footer-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 36px);
  font-family: "HelveticaNowProDisplayBold", var(--font-header);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #15151a;
}
.footer-nav a {
  position: relative;
  color: #15151a;
  transition: opacity .2s var(--ease);
}
.footer-nav a::before {
  content: "\25AA";
  position: absolute;
  left: -15px;
  top: 50%;
  font-family: "HelveticaNowProDisplayBold", var(--font-header);
  font-size: 1.05em;
  line-height: 1;
  opacity: 0;
  transform: translateY(-50%) scale(.45);
  transition: opacity .18s var(--ease), transform .18s var(--ease);
}
.footer-nav a:hover {
  opacity: .55;
}
.footer-nav a:hover::before {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}
.site-footer .footer-bottom {
  display: flex;
  font-family: "Instrument Sans", var(--font);
  font-weight: 500;
  font-feature-settings: "ss01" 1;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 3vw, 34px);
  padding: 0;
  border-top: 0;
  color: #15151a;
  font-size: 17.25px;
}
.site-footer .footer-bottom a {
  color: #15151a;
}
@media (max-width: 640px) {
  .footer-simple {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 14px;
    padding-top: 34px;
    padding-bottom: 26px;
    text-align: center;
  }
  .footer-made {
    display: block;
  }
  .footer-nav {
    width: 100%;
    justify-content: center;
  }
  .site-footer .footer-bottom {
    align-items: center;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    text-align: center;
  }
}
