/* ==========================================================================
   NORVYX Solutions — site styles
   Material: brushed silver plates on a cool mist ground, graphite type.
   One family (Archivo); width does the hierarchy work — expanded for
   headings like stamped equipment labels, normal width for reading.
   ========================================================================== */

:root {
  --mist: #F3F4F5;
  --platinum: #E4E7EA;
  --silver: #C5CBD1;
  --alloy: #8E979F;
  --steel: #545D66;
  --graphite: #1D2125;
  --graphite-2: #2B3137;
  --signal: #2F6EA6;
  --led: #74C6F2;
  --surface: #FBFBFC;
  --line: #D3D8DC;
  --danger: #A23B32;

  --font: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --container: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(64px, 9vw, 112px);

  --brushed:
    linear-gradient(100deg, rgba(255,255,255,0) 22%, rgba(255,255,255,.42) 40%, rgba(255,255,255,0) 58%),
    repeating-linear-gradient(180deg, rgba(255,255,255,.22) 0 1px, rgba(255,255,255,0) 1px 3px),
    repeating-linear-gradient(180deg, rgba(40,48,56,.05) 0 1px, rgba(40,48,56,0) 1px 7px),
    linear-gradient(180deg, #EDEFF1 0%, #D5DADE 46%, #C6CCD2 54%, #DCE0E3 100%);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--graphite);
  background: var(--mist);
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}
body.drawer-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--signal); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }
::selection { background: #CFE3F3; }

h1, h2, h3, h4 {
  margin: 0;
  font-stretch: 125%;
  font-weight: 640;
  line-height: 1.08;
  letter-spacing: -.012em;
  color: var(--graphite);
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5vw, 4.1rem); font-weight: 660; }
h2 { font-size: clamp(1.8rem, 3.1vw, 2.6rem); }
h3 { font-size: 1.22rem; font-stretch: 112%; line-height: 1.25; letter-spacing: 0; }
p { margin: 0 0 1em; max-width: 64ch; }
p:last-child { margin-bottom: 0; }
.lead { font-size: clamp(1.1rem, 1.4vw, 1.25rem); line-height: 1.55; color: var(--steel); max-width: 56ch; }
address { font-style: normal; }

.container { width: min(calc(100% - 2 * var(--gutter)), var(--container)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -64px; z-index: 100;
  background: var(--graphite); color: var(--mist);
  padding: 10px 14px; border-radius: 3px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: inherit; font-size: .97rem; font-weight: 620; font-stretch: 112%;
  line-height: 1.1; padding: .9rem 1.35rem;
  border: 1px solid transparent; border-radius: 3px;
  text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn-primary { background: var(--graphite); color: var(--mist); }
.btn-primary:hover { background: var(--graphite-2); }
.btn-metal {
  background: var(--brushed); color: var(--graphite); border-color: #A3ABB3;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85), 0 1px 0 rgba(29,33,37,.08);
}
.btn-metal:hover { border-color: var(--steel); }
.btn-ghost { background: transparent; color: var(--graphite); border-color: var(--alloy); }
.btn-ghost:hover { border-color: var(--graphite); }
.btn-small { padding: .6rem .9rem; font-size: .9rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243,244,245,.94);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand {
  display: inline-flex; align-items: baseline; gap: .55rem;
  margin-right: auto; color: var(--graphite); text-decoration: none;
}
.brand-mark { font-stretch: 125%; font-weight: 760; font-size: 1.32rem; letter-spacing: .07em; }
.brand-sub { font-stretch: 112%; font-size: .86rem; color: var(--steel); letter-spacing: .02em; }
.site-nav { display: flex; gap: 2px; }
.site-nav a {
  color: var(--graphite); text-decoration: none;
  padding: 10px 12px; border-radius: 3px; font-weight: 520; font-size: .98rem;
}
.site-nav a:hover { background: var(--platinum); }
.site-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--graphite); border-radius: 0; }
.cart-btn {
  display: inline-flex; align-items: center; gap: 9px;
  font: inherit; font-size: .95rem; font-weight: 600; font-stretch: 112%;
  padding: 8px 12px 8px 14px; color: var(--graphite);
  background: var(--brushed); border: 1px solid #A3ABB3; border-radius: 3px; cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85);
}
.cart-btn:hover { border-color: var(--steel); }
.cart-count {
  display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 11px; background: var(--graphite); color: var(--mist);
  font-size: .76rem; font-stretch: 100%;
}
.nav-toggle {
  display: none; font: inherit; font-size: .95rem; font-weight: 600;
  padding: 8px 12px; background: transparent; color: var(--graphite);
  border: 1px solid var(--alloy); border-radius: 3px; cursor: pointer;
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--alt { background: var(--platinum); }
.section--rule { border-top: 1px solid var(--line); }
.page-head + .section { padding-top: clamp(36px, 5vw, 56px); }
.section-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end;
  gap: 16px 32px; margin-bottom: clamp(32px, 4vw, 48px);
}
.section-head .lead { margin-top: 14px; }
.text-link { font-weight: 600; white-space: nowrap; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(64px, 8vw, 112px); border-bottom: 1px solid var(--line); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(36px, 5vw, 80px); align-items: center;
}
.hero h1 { max-width: 15ch; }
.hero .lead { margin-top: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-contact { margin-top: 26px; font-size: .95rem; color: var(--steel); }
.hero-contact a { color: var(--graphite); }

/* ---------- Rack (hero) ---------- */
.rack-figure { margin: 0; }
.rack {
  position: relative;
  padding: 16px 30px;
  border-radius: 6px;
  background: linear-gradient(180deg, #2C3238 0%, #22272C 100%);
  box-shadow: 0 34px 60px -34px rgba(29,33,37,.6), inset 0 0 0 1px rgba(255,255,255,.06);
}
.rack::before, .rack::after {
  content: ""; position: absolute; top: 10px; bottom: 10px; width: 12px; border-radius: 2px;
  background:
    repeating-linear-gradient(180deg, transparent 0 6px, #15191C 6px 11px, transparent 11px 16px) center / 5px 100% no-repeat,
    linear-gradient(90deg, #4C545C, #3B4249);
}
.rack::before { left: 9px; }
.rack::after { right: 9px; }
.rack-unit {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px;
  min-height: 68px; margin: 7px 0; padding: 10px 40px;
  background: var(--brushed); border-radius: 2px;
  color: #2B3238; text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85), inset 0 -1px 0 rgba(0,0,0,.2), 0 2px 0 rgba(0,0,0,.45);
}
.rack-unit::before, .rack-unit::after {
  content: ""; position: absolute; top: 50%; width: 11px; height: 11px; margin-top: -5.5px; border-radius: 50%;
  background:
    linear-gradient(45deg, transparent 43%, rgba(30,34,38,.55) 44% 56%, transparent 57%),
    radial-gradient(circle at 35% 30%, #F6F7F8, #A1A9B0 62%, #6F777E);
  box-shadow: 0 0 0 1px rgba(0,0,0,.22);
}
.rack-unit::before { left: 14px; }
.rack-unit::after { right: 14px; }
.ru-text { min-width: 0; }
.ru-label {
  display: block; font-stretch: 125%; font-weight: 660; font-size: 1.02rem; line-height: 1.2;
  text-shadow: 0 1px 0 rgba(255,255,255,.75);
}
.ru-desc { display: block; margin-top: 3px; font-size: .82rem; line-height: 1.3; color: #555E67; }
.ru-panel { display: flex; align-items: center; gap: 14px; }
.ru-vents {
  width: 56px; height: 22px; border-radius: 2px; opacity: .5;
  background: repeating-linear-gradient(90deg, #3A4249 0 3px, transparent 3px 7px);
}
.ru-led {
  width: 9px; height: 9px; border-radius: 50%;
  background: #4F5961; box-shadow: inset 0 1px 1px rgba(0,0,0,.55);
}
a.rack-unit:hover .ru-label { color: var(--signal); }
a.rack-unit:focus-visible { outline: 3px solid var(--led); outline-offset: 3px; }

.rack .ru-led { animation: led-on .5s ease-out forwards; }
.rack .rack-unit:nth-child(1) .ru-led { animation-delay: .35s; }
.rack .rack-unit:nth-child(2) .ru-led { animation-delay: .52s; }
.rack .rack-unit:nth-child(3) .ru-led { animation-delay: .69s; }
.rack .rack-unit:nth-child(4) .ru-led { animation-delay: .86s; }
.rack .rack-unit:nth-child(5) .ru-led { animation-delay: 1.03s; }
@keyframes led-on {
  0%   { background: #4F5961; box-shadow: inset 0 1px 1px rgba(0,0,0,.55); }
  55%  { background: #C4EBFF; box-shadow: 0 0 12px 3px rgba(116,198,242,.95); }
  100% { background: var(--led); box-shadow: 0 0 6px 1px rgba(116,198,242,.75); }
}
.rack-figure figcaption { margin-top: 14px; font-size: .9rem; color: var(--steel); }

/* Standalone plate (about page) */
.rack-unit--solo { box-shadow: inset 0 1px 0 rgba(255,255,255,.85), inset 0 -1px 0 rgba(0,0,0,.18), 0 0 0 1px #AEB6BD; }
.rack-unit--solo .ru-vents { display: none; }
.rack-unit--solo .ru-led { background: var(--led); box-shadow: 0 0 6px 1px rgba(116,198,242,.75); }

/* ---------- Intro ---------- */
.intro-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 6vw, 96px); align-items: start;
}
.intro-grid h2 { max-width: 16ch; }
.intro-grid .text-link { display: inline-block; margin-top: 8px; }

/* ---------- Advantages (ruled grid) ---------- */
.ruled { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 2px solid var(--graphite); }
.ruled > div { padding: 34px 40px 38px 0; border-bottom: 1px solid var(--line); }
.ruled > div:nth-child(2n) { padding: 34px 0 38px 40px; border-left: 1px solid var(--line); }
.ruled h3::before {
  content: ""; display: block; width: 38px; height: 7px; margin-bottom: 20px; border-radius: 1px;
  background: var(--brushed); box-shadow: inset 0 0 0 1px rgba(29,33,37,.28), 0 1px 0 rgba(255,255,255,.7);
}
.ruled h3 { margin-bottom: 10px; }
.ruled p { color: #3A4148; }

/* ---------- Product grid & cards ---------- */
.product-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: clamp(18px, 2vw, 26px);
}
.card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: 4px;
}
.card:hover { border-color: var(--alloy); }
.card-media { display: block; aspect-ratio: 4 / 3; background: var(--platinum); overflow: hidden; color: inherit; text-decoration: none; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 18px 18px 20px; }
.card-cat { margin: 0; font-size: .84rem; color: var(--steel); }
.card-title { font-size: 1.1rem; }
.card-title a { color: var(--graphite); text-decoration: none; }
.card-title a:hover { text-decoration: underline; }
.card-desc {
  margin: 0; font-size: .95rem; line-height: 1.5; color: #3F464D;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.card-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line);
}
.card-price { margin: 0; font-weight: 650; font-stretch: 112%; line-height: 1.2; }
.card-price small { display: block; font-weight: 400; font-stretch: 100%; font-size: .8rem; color: var(--steel); }

/* Faceplate placeholder for products without images */
.faceplate {
  position: relative; width: 100%; height: 100%; min-height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  padding: 16% 12%;
  background: var(--brushed);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), inset 0 0 0 1px rgba(29,33,37,.12);
}
.fp-screw {
  position: absolute; width: 9px; height: 9px; border-radius: 50%;
  background:
    linear-gradient(45deg, transparent 43%, rgba(30,34,38,.5) 44% 56%, transparent 57%),
    radial-gradient(circle at 35% 30%, #F6F7F8, #A1A9B0 62%, #6F777E);
  box-shadow: 0 0 0 1px rgba(0,0,0,.2);
}
.fp-screw:nth-child(1) { top: 10px; left: 10px; }
.fp-screw:nth-child(2) { top: 10px; right: 10px; }
.fp-screw:nth-child(3) { bottom: 10px; left: 10px; }
.fp-screw:nth-child(4) { bottom: 10px; right: 10px; }
.fp-name {
  font-stretch: 125%; font-weight: 660; font-size: clamp(1rem, 1.6vw, 1.35rem); line-height: 1.15;
  color: #353D44; text-shadow: 0 1px 0 rgba(255,255,255,.75);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.fp-foot { position: absolute; left: 12%; right: 12%; bottom: 13%; display: flex; align-items: center; justify-content: space-between; }
.fp-vents { width: 70px; height: 16px; opacity: .45; background: repeating-linear-gradient(90deg, #3A4249 0 3px, transparent 3px 7px); border-radius: 2px; }
.fp-led { width: 8px; height: 8px; border-radius: 50%; background: var(--led); box-shadow: 0 0 6px 1px rgba(116,198,242,.7); }
.faceplate--small { padding: 0; }
.faceplate--small .fp-screw, .faceplate--small .fp-name { display: none; }
.faceplate--small .fp-foot { left: 9px; right: 9px; bottom: auto; top: 50%; margin-top: -4px; }
.faceplate--small .fp-vents { width: 26px; height: 8px; }
.faceplate--small .fp-led { width: 6px; height: 6px; }

/* Skeletons */
.sk {
  border-radius: 3px;
  background: linear-gradient(90deg, #E1E5E8 0%, #EEF0F2 50%, #E1E5E8 100%);
  background-size: 200% 100%;
  animation: sk-shine 1.4s ease-in-out infinite;
}
.sk-media { aspect-ratio: 4 / 3; border-radius: 0; }
.sk-line { height: 12px; }
.w30 { width: 30%; } .w45 { width: 45%; } .w60 { width: 60%; } .w80 { width: 80%; } .w100 { width: 100%; }
.sk-title { height: 20px; }
.sk-block { height: 44px; }
@keyframes sk-shine { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* Empty / error states */
.empty-state {
  grid-column: 1 / -1; padding: 40px clamp(20px, 4vw, 40px);
  border: 1px dashed var(--alloy); border-radius: 4px; background: var(--surface);
}
.empty-state h3 { margin-bottom: 8px; }
.empty-state p { color: #3F464D; }
.empty-state .btn { margin-top: 18px; }

/* ---------- Steps ---------- */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px;
}
.steps li { border-top: 2px solid var(--graphite); padding-top: 20px; }
.step-num {
  display: block; margin-bottom: 18px;
  font-stretch: 125%; font-weight: 300; font-size: 2.75rem; line-height: 1; color: var(--alloy);
}
.steps h3 { margin-bottom: 8px; }
.steps p { color: #3A4148; font-size: 1rem; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); }
.quote {
  margin: 0; padding-left: 22px; border-left: 3px solid var(--silver);
  display: flex; flex-direction: column; justify-content: space-between; gap: 22px;
}
.quote p { margin: 0; font-size: 1.08rem; line-height: 1.55; }
.quote footer { font-size: .92rem; color: var(--steel); line-height: 1.45; }
.quote cite { display: block; font-style: normal; font-weight: 620; color: var(--graphite); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--brushed);
  border-block: 1px solid #A9B1B8;
  padding-block: clamp(56px, 7vw, 88px);
}
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; }
.cta-inner h2 { max-width: 18ch; text-shadow: 0 1px 0 rgba(255,255,255,.7); }
.cta-inner p { margin-top: 14px; color: #3B434B; max-width: 52ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Page head / breadcrumbs ---------- */
.page-head { padding-block: clamp(44px, 6vw, 80px) clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); max-width: 20ch; }
.page-head .lead { margin-top: 18px; }
.breadcrumbs { margin-bottom: 22px; font-size: .9rem; color: var(--steel); }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--alloy); }
.breadcrumbs a { color: var(--steel); }

/* ---------- Catalog ---------- */
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 30px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font: inherit; font-size: .92rem; font-weight: 540; padding: .5rem .9rem;
  color: var(--graphite); background: transparent;
  border: 1px solid var(--alloy); border-radius: 3px; cursor: pointer;
}
.chip:hover { border-color: var(--graphite); }
.chip[aria-pressed="true"] { background: var(--graphite); border-color: var(--graphite); color: var(--mist); }
.result-count { margin: 0; color: var(--steel); font-size: .95rem; }
.catalog-note { margin-top: 48px; color: var(--steel); }

/* ---------- Product page ---------- */
.product-page { padding-block: clamp(32px, 4vw, 48px) var(--section); }
.product-layout {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 5vw, 72px); align-items: start;
}
.product-media {
  aspect-ratio: 4 / 3; overflow: hidden;
  border: 1px solid var(--line); border-radius: 4px; background: var(--platinum);
}
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-media .fp-name { font-size: clamp(1.5rem, 2.8vw, 2.3rem); -webkit-line-clamp: 4; }
.product-media .fp-screw { width: 12px; height: 12px; }
.product-media .fp-screw:nth-child(1) { top: 14px; left: 14px; }
.product-media .fp-screw:nth-child(2) { top: 14px; right: 14px; }
.product-media .fp-screw:nth-child(3) { bottom: 14px; left: 14px; }
.product-media .fp-screw:nth-child(4) { bottom: 14px; right: 14px; }
.thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.thumbs button {
  width: 76px; aspect-ratio: 4 / 3; padding: 0; overflow: hidden; cursor: pointer;
  border: 1px solid var(--line); border-radius: 3px; background: var(--platinum);
}
.thumbs button[aria-current="true"] { border-color: var(--graphite); box-shadow: 0 0 0 1px var(--graphite); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-info .card-cat a { color: var(--steel); }
.product-info h1 { margin-top: 10px; font-size: clamp(2rem, 3.6vw, 3rem); }
.product-tagline { margin-top: 14px; font-size: 1.15rem; color: var(--steel); }
.product-price { margin: 22px 0 22px; font-size: 1.7rem; font-weight: 650; font-stretch: 112%; line-height: 1.2; }
.price-suffix { font-size: 1rem; font-weight: 400; font-stretch: 100%; color: var(--steel); }
.product-desc { white-space: pre-line; color: #343B42; margin-bottom: 24px; }
.product-info h2 { font-size: 1.05rem; font-stretch: 112%; letter-spacing: 0; margin: 0 0 12px; }
.includes { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 8px; }
.includes li { position: relative; padding-left: 22px; }
.includes li::before { content: ""; position: absolute; left: 0; top: .72em; width: 11px; height: 3px; background: var(--steel); }
.facts {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 28px;
  margin: 0 0 28px; padding: 18px 0; border-block: 1px solid var(--line);
}
.facts dt { color: var(--steel); }
.facts dd { margin: 0; font-weight: 560; }
.buy-row { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; }
.qty { display: inline-flex; overflow: hidden; background: var(--surface); border: 1px solid var(--alloy); border-radius: 3px; }
.qty button { width: 44px; border: 0; background: transparent; font: inherit; font-size: 1.15rem; color: var(--graphite); cursor: pointer; }
.qty button:hover { background: var(--platinum); }
.qty input {
  width: 52px; border: 0; border-inline: 1px solid var(--line); background: transparent;
  font: inherit; text-align: center; color: var(--graphite); -moz-appearance: textfield; appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty--small button { width: 32px; font-size: 1rem; }
.qty--small input { width: 38px; font-size: .92rem; }
.buy-note { margin-top: 20px; font-size: .93rem; color: var(--steel); }
.form-error { margin: 12px 0 0; color: var(--danger); font-size: .95rem; }

/* ---------- Prose & legal ---------- */
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.45rem; font-stretch: 112%; letter-spacing: 0; margin: 2.4em 0 .7em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.1rem; margin: 1.6em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 1em; }
.prose li { margin-bottom: .45em; max-width: 64ch; }
.updated { color: var(--steel); font-size: .95rem; margin-top: 14px; }
.legal-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); }
.toc { position: sticky; top: 104px; align-self: start; font-size: .92rem; }
.toc p { font-weight: 620; font-stretch: 112%; margin-bottom: 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.toc a { color: var(--steel); text-decoration: none; }
.toc a:hover { color: var(--graphite); text-decoration: underline; }

/* ---------- About ---------- */
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.service-list { display: grid; gap: 0; border-top: 2px solid var(--graphite); }
.service-item {
  display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 32px; align-items: center;
  padding-block: 28px; border-bottom: 1px solid var(--line);
}
.service-item p { margin-bottom: 8px; color: #343B42; }
.principles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.principles li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.principles strong { display: block; font-stretch: 112%; font-weight: 620; margin-bottom: 4px; }

.nameplate {
  position: relative; padding: 30px 34px;
  background: var(--brushed); border: 1px solid #A9B1B8; border-radius: 4px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85);
}
.nameplate .fp-screw:nth-child(1) { top: 12px; left: 12px; }
.nameplate .fp-screw:nth-child(2) { top: 12px; right: 12px; }
.nameplate .fp-screw:nth-child(3) { bottom: 12px; left: 12px; }
.nameplate .fp-screw:nth-child(4) { bottom: 12px; right: 12px; }
.nameplate h2, .nameplate h3 { font-stretch: 125%; text-shadow: 0 1px 0 rgba(255,255,255,.7); }
.nameplate h3 { font-size: 1.15rem; margin-bottom: 18px; }
.nameplate dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 22px; margin: 0; }
.nameplate dt { color: #4B545C; font-size: .92rem; padding-top: 1px; }
.nameplate dd { margin: 0; color: var(--graphite); overflow-wrap: anywhere; }
.nameplate a { color: var(--graphite); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label { font-weight: 600; font-size: .95rem; }
.field .hint { font-weight: 400; color: var(--steel); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--graphite);
  padding: .75rem .9rem; background: var(--surface);
  border: 1px solid var(--alloy); border-radius: 3px;
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--signal); outline-offset: 0; }
.field textarea { min-height: 170px; resize: vertical; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.form-hidden { display: none; }
.form-privacy { margin-top: 14px; font-size: .9rem; color: var(--steel); }
.notice { padding: 16px 18px; margin-bottom: 26px; border: 1px solid; border-radius: 3px; }
.notice--ok { border-color: #9CC7AE; background: #EAF4EE; color: #1F5A38; }
.notice strong { display: block; font-stretch: 112%; }
.contact-side { display: grid; gap: 24px; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-aside { position: sticky; top: 110px; }
.faq-aside p { color: var(--steel); }
.faq-aside .btn { margin-top: 10px; }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group > h2 { font-size: 1.45rem; font-stretch: 112%; letter-spacing: 0; padding-bottom: 14px; border-bottom: 2px solid var(--graphite); }
details.faq { border-bottom: 1px solid var(--line); }
details.faq summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 20px 44px 20px 0; font-weight: 620; font-stretch: 112%; font-size: 1.06rem; line-height: 1.35;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background:
    linear-gradient(var(--graphite), var(--graphite)) center / 14px 2px no-repeat,
    linear-gradient(var(--graphite), var(--graphite)) center / 2px 14px no-repeat;
}
details.faq[open] summary::after { background: linear-gradient(var(--graphite), var(--graphite)) center / 14px 2px no-repeat; }
.faq-answer { padding: 0 0 22px; color: #343B42; }

/* ---------- Status pages ---------- */
.status { padding-block: clamp(64px, 10vw, 140px); }
.status-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.status .lead { margin-top: 20px; }
.status-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.status-ref { margin-top: 26px; font-size: .88rem; color: var(--steel); overflow-wrap: anywhere; }
.status-plate { aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden; border: 1px solid #A9B1B8; }
.status-plate .fp-led--off { background: #59636B; box-shadow: none; }

/* ---------- Cart drawer ---------- */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(29,33,37,.42); }
.drawer {
  position: fixed; top: 0; right: 0; z-index: 70;
  display: flex; flex-direction: column;
  width: min(430px, 100%); height: 100vh; height: 100dvh;
  background: var(--surface); border-left: 1px solid var(--line);
  box-shadow: -24px 0 48px -24px rgba(29,33,37,.35);
  transform: translateX(100%); visibility: hidden;
  transition: transform .26s ease, visibility 0s linear .26s;
}
.drawer.open { transform: none; visibility: visible; transition: transform .26s ease, visibility 0s; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.3rem; }
.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  font: inherit; font-size: 1.05rem; color: var(--graphite);
  background: transparent; border: 1px solid var(--line); border-radius: 3px; cursor: pointer;
}
.icon-btn:hover { border-color: var(--graphite); }
.drawer-body { flex: 1; overflow-y: auto; padding: 4px 22px; }
.drawer-foot { padding: 18px 22px 22px; border-top: 1px solid var(--line); background: var(--mist); }
.cart-empty { padding: 32px 0; }
.cart-empty p { color: var(--steel); margin-bottom: 18px; }
.cart-line { display: grid; grid-template-columns: 68px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-thumb { display: block; width: 68px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 3px; background: var(--platinum); text-decoration: none; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-line-name { display: block; font-weight: 600; line-height: 1.3; color: var(--graphite); text-decoration: none; }
.cart-line-name:hover { text-decoration: underline; }
.cart-line-price { font-size: .9rem; color: var(--steel); margin: 2px 0 10px; }
.cart-line-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.link-btn { font: inherit; font-size: .9rem; color: var(--steel); background: none; border: 0; padding: 4px 0; cursor: pointer; text-decoration: underline; text-underline-offset: .18em; }
.link-btn:hover { color: var(--danger); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 1.05rem; }
.cart-total strong { font-size: 1.3rem; font-stretch: 112%; }
.cart-note { margin: 8px 0 16px; font-size: .88rem; color: var(--steel); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translateX(-50%);
  max-width: min(520px, calc(100% - 32px)); padding: 14px 18px;
  background: var(--graphite); color: var(--mist); border-radius: 3px; font-size: .95rem;
  box-shadow: 0 16px 32px -16px rgba(0,0,0,.5);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--graphite); color: #B7BEC5; padding-block: 64px 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, .8fr) minmax(0, 1.4fr); gap: 40px; }
.site-footer .brand { margin: 0 0 16px; color: #E8EBEE; }
.site-footer .brand-sub { color: #9AA3AB; }
.footer-brand p { max-width: 36ch; }
.footer-title { font-size: .98rem; font-stretch: 112%; letter-spacing: 0; color: #E8EBEE; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #DCE0E4; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer address { display: grid; gap: 8px; overflow-wrap: anywhere; }
.site-footer :focus-visible { outline-color: var(--led); }
.footer-legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px;
  margin-top: 52px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12);
  font-size: .85rem; color: #98A1A9;
}
.footer-legal p { margin: 0; max-width: 80ch; }
.footer-legal nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid, .intro-grid, .split, .contact-grid, .product-layout, .faq-layout, .legal-layout, .status-grid { grid-template-columns: minmax(0, 1fr); }
  .rack-figure { max-width: 600px; }
  .toc, .faq-aside { position: static; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quotes { grid-template-columns: minmax(0, 1fr); max-width: 680px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-item { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .status-plate { max-width: 420px; }
}
@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .header-inner { gap: 10px; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    display: none; flex-direction: column; gap: 0;
    padding: 8px var(--gutter) 18px; background: var(--mist); border-bottom: 1px solid var(--line);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .site-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--graphite); padding-left: 14px; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .brand-sub { display: none; }
  .ruled { grid-template-columns: minmax(0, 1fr); }
  .ruled > div, .ruled > div:nth-child(2n) { padding: 28px 0 30px; border-left: 0; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .principles { grid-template-columns: minmax(0, 1fr); }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .rack { padding: 12px 24px; }
  .rack::before { left: 6px; } .rack::after { right: 6px; }
  .rack-unit { padding: 10px 30px; min-height: 62px; }
  .rack-unit::before { left: 10px; } .rack-unit::after { right: 10px; }
  .ru-vents { display: none; }
  .hero-actions .btn, .cta-actions .btn { flex: 1 1 auto; }
  .product-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  .rack .ru-led { animation: none; background: var(--led); box-shadow: 0 0 6px 1px rgba(116,198,242,.75); }
  .sk { animation: none; }
  .drawer, .drawer.open { transition: none; }
}

/* Product page loading placeholder spacing & FAQ aside heading */
.product-skel-gap { height: 18px; }
.product-skel-gap-sm { height: 8px; }
.faq-aside-title { font-size: 1.35rem; margin-bottom: 12px; }
