/* Viapex website. Tokens and graphic language from 00-brain/brand-identity.md */

@font-face {
  font-family: "General Sans";
  src: url("fonts/GeneralSans-Variable.woff2") format("woff2");
  font-weight: 200 700;
  font-display: swap;
}
/* Gruppe A: licence for web use not yet cleared. Local preview only until confirmed. */
@font-face {
  font-family: "Gruppe A";
  src: url("fonts/GruppeA.ttf") format("truetype");
  font-display: swap;
}

:root {
  --happy-orange: #FFAE43;
  --polar-gray: #C1C2BD;
  --blackberry: #262724;
  --tech-white: #F5F5F5;
  --ironside: #656661;
  --matte-black: #191617;
  --panel-dark: #292A27;
  --livid: #669CCC;

  --line: rgba(38, 39, 36, .18);
  --line-strong: rgba(38, 39, 36, .5);
  --line-on-dark: rgba(245, 245, 245, .14);

  --font-display: "Gruppe A", "DIN Condensed", "Bahnschrift", "Arial Narrow", sans-serif;
  --font-text: "General Sans", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1440px;
  --grid-cell: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--tech-white);
  color: var(--blackberry);
  font: 500 16px/24px var(--font-text);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--happy-orange); outline-offset: 3px; }

/* ---------- type ---------- */
.d, h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .01em;
  margin: 0;
}
h1, h2, h3, h4, h5 { overflow-wrap: break-word; }
/* long German compounds hyphenate instead of breaking mid-word; big h1s only once the screen is narrow */
h2, h3, h4, h5 { hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 12 5 5; }
@media (max-width: 600px) { h2, h3, h4, h5 { hyphenate-limit-chars: 9 4 4; } }
@media (max-width: 1024px) { h1 { hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 10 4 4; } }
h1, .h1 { font-size: clamp(44px, 7.2vw, 80px); line-height: 1.1; }
h2, .h2 { font-size: clamp(36px, 5.4vw, 64px); line-height: 1.125; }
h3, .h3 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.2; }
h4, .h4 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.25; }
h5, .h5 { font-size: 24px; line-height: 32px; }
.label {
  font: 600 13px/18px var(--font-text);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.tag {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 16px; line-height: 20px;
  letter-spacing: .02em;
}
.small { font-size: 14px; line-height: 21px; }
.muted { color: var(--ironside); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.lead { font-size: 19px; line-height: 29px; max-width: 34em; }

/* ---------- layout ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.frame {
  max-width: var(--max); margin: 0 auto;
  border-left: 1px solid var(--line); border-right: 1px solid var(--line);
}
.rule { border-top: 1px solid var(--line); }
section { position: relative; }

/* blueprint grid ground */
.grid-bg {
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: var(--grid-cell) var(--grid-cell);
  background-position: -1px -1px;
}
.on-dark.grid-bg {
  background-image:
    linear-gradient(var(--line-on-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-on-dark) 1px, transparent 1px);
}

.ground-gray { background-color: var(--polar-gray); }
.ground-white { background-color: var(--tech-white); }
.ground-dark { background-color: var(--blackberry); color: var(--tech-white); }
.ground-black { background-color: var(--matte-black); color: var(--tech-white); }
.ground-orange { background-color: var(--happy-orange); color: var(--blackberry); }
.on-dark .muted { color: var(--polar-gray); }

/* section header: label top left, number top right */
.sec-head {
  display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 8px 24px;
  padding: 20px 0 0;
}
.sec-head .tag { max-width: 12em; }

/* orange corner markers (CAD selection handles) */
.marked { position: relative; }
.marked > .mk {
  position: absolute; width: 10px; height: 10px;
  background: var(--happy-orange); z-index: 2;
}
.mk.tl { top: -5px; left: -5px; } .mk.tr { top: -5px; right: -5px; }
.mk.bl { bottom: -5px; left: -5px; } .mk.br { bottom: -5px; right: -5px; }

/* crosshair */
.plus { position: absolute; width: 22px; height: 22px; pointer-events: none; }
.plus::before, .plus::after { content: ""; position: absolute; background: currentColor; opacity: .55; }
.plus::before { left: 10px; top: 0; width: 1px; height: 22px; }
.plus::after { top: 10px; left: 0; height: 1px; width: 22px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 245, 245, .94);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 88px; gap: 24px;
}
.brand { display: block; color: var(--blackberry); line-height: 0; }
.brand .lockup { height: 56px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none;
  font-family: var(--font-display); text-transform: uppercase;
  font-size: 16px; letter-spacing: .03em;
  padding: 10px 14px; position: relative;
}
.nav a .n { color: var(--ironside); font-size: 12px; margin-right: 6px; vertical-align: 2px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--blackberry); color: var(--tech-white); }
.nav a:hover .n, .nav a[aria-current="page"] .n { color: var(--happy-orange); }
.nav .ext::after { content: " ↗"; font-family: var(--font-text); font-size: 13px; }
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); text-transform: uppercase;
  font-size: 16px; letter-spacing: .03em; line-height: 1;
  padding: 16px 22px; text-decoration: none; border: 1px solid var(--blackberry);
  background: var(--blackberry); color: var(--tech-white); cursor: pointer;
  transition: background .15s, color .15s;
}
.btn::after { content: ""; width: 8px; height: 8px; background: var(--happy-orange); }
.btn:hover { background: var(--happy-orange); color: var(--blackberry); border-color: var(--happy-orange); }
.btn:hover::after { background: var(--blackberry); }
.btn.ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn.ghost:hover { background: var(--blackberry); color: var(--tech-white); border-color: var(--blackberry); }
.on-dark .btn { background: var(--happy-orange); color: var(--blackberry); border-color: var(--happy-orange); }
.on-dark .btn::after { background: var(--blackberry); }
.on-dark .btn:hover { background: var(--tech-white); border-color: var(--tech-white); }
.on-dark .btn.ghost { background: transparent; color: var(--tech-white); border-color: var(--tech-white); }
.on-dark .btn.ghost::after { background: var(--happy-orange); }
.on-dark .btn.ghost:hover { background: var(--tech-white); color: var(--blackberry); }
.nav-cta { margin-left: 12px; }
/* language switch sits in the header bar itself, so it is visible at every width */
.brand { margin-right: auto; }
.lang-switch { display: inline-flex; flex: none; border: 1px solid var(--line-strong); }
.lang-switch a {
  text-decoration: none; font-family: var(--font-display); text-transform: uppercase;
  padding: 8px 10px; font-size: 14px; line-height: 1; color: var(--ironside);
}
.lang-switch a:hover { color: var(--blackberry); }
.lang-switch a[aria-current="true"] { background: var(--blackberry); color: var(--tech-white); }
.menu-btn { display: none; }

@media (max-width: 1080px) {
  .site-header .wrap { height: 76px; }
  .brand .lockup { height: 56px; }
  .menu-btn {
    display: inline-flex; align-items: center; gap: 10px;
    background: none; border: 1px solid var(--blackberry); padding: 10px 14px; cursor: pointer;
    font-family: var(--font-display); text-transform: uppercase; font-size: 15px;
  }
  .menu-btn i { display: block; width: 18px; height: 2px; background: currentColor; box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--tech-white); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 16px 4px; border-bottom: 1px solid var(--line); font-size: 20px; }
  .nav-cta { margin: 16px 0 0; justify-content: space-between; }
  .lang-switch a { padding: 11px 12px; font-size: 15px; }
}

/* ---------- hero ---------- */
.hero { overflow: hidden; }
.hero .inner { position: relative; padding: 40px 0 0; }
.hero-top {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; margin-top: 56px;
}
.hero h1 { max-width: 12em; }
/* logo mark as thin construction-line supergraphic, in its own column so it never sits behind text */
.hero-mark { width: clamp(160px, 24vw, 320px); height: auto; color: var(--blackberry); }
.hero-mark path { fill: none; stroke: currentColor; stroke-width: 1.25; vector-effect: non-scaling-stroke; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0;
  border-top: 1px solid var(--line-strong); margin-top: 56px;
}
.hero-grid > div { padding: 28px 0; }
.hero-grid > div + div { border-left: 1px solid var(--line-strong); padding-left: 28px; }
.hero-photo {
  position: relative; margin: 0; border-top: 1px solid var(--line-strong);
  aspect-ratio: 16 / 9; overflow: hidden; background: var(--ironside);
}
.hero-photo img.bg { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(245,245,245,.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,245,245,.18) 1px, transparent 1px);
  background-size: var(--grid-cell) var(--grid-cell);
}
.hero-photo::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: rgba(25, 22, 23, .32);
}
.hero-photo figcaption {
  position: absolute; inset: 0; z-index: 2;
  display: grid; place-items: center; padding: 0 var(--gutter);
  text-align: center; color: var(--tech-white);
  font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(32px, 5vw, 76px); line-height: 1.08; letter-spacing: .02em;
}
.hero-photo figcaption span { max-width: 14em; text-wrap: balance; }
.hero-photo figcaption { bottom: auto; height: 42%; padding-top: 2%; }
.slashes { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(18px, 2vw, 24px); line-height: 1.35; }

@media (max-width: 760px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-grid > div + div { border-left: 0; border-top: 1px solid var(--line-strong); padding-left: 0; }
  .hero-photo figcaption { font-size: clamp(20px, 6.2vw, 40px); }
  .hero-mark { display: none; }
}

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { padding: 32px var(--gutter) 28px 0; border-right: 1px solid var(--line-on-dark); }
.stat + .stat { padding-left: 28px; }
.stat:last-child { border-right: 0; }
.stat .big {
  font-family: var(--font-display); font-size: clamp(64px, 9vw, 128px); line-height: .95;
  color: transparent; -webkit-text-stroke: 1.5px var(--tech-white);
}
.stat .big em { font-style: normal; color: var(--happy-orange); -webkit-text-stroke: 0; }
.stat p { margin-top: 14px; max-width: 18em; }
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line-on-dark); }
}

/* ---------- modules (numbered business lines) ---------- */
.modules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.module {
  position: relative; display: grid; grid-template-rows: auto 1fr auto;
  min-height: 520px; padding: 24px 28px 28px; text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: background .2s;
}
.module:nth-child(odd) { border-right: 1px solid var(--line); }
.module .top { display: flex; justify-content: space-between; }
.module .num { font-family: var(--font-display); font-size: 40px; line-height: 1; }
.module .pic { display: flex; align-items: center; justify-content: center; padding: 24px 0; }
.module .pic img { max-height: 260px; width: auto; mix-blend-mode: multiply; }
.module .pic img.mono { filter: grayscale(1) contrast(1.06); }
.module h3 { margin-bottom: 12px; }
.module p { max-width: 30em; hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 10 4 4; }
.module .more { margin-top: 18px; display: inline-flex; gap: 10px; align-items: center; font-family: var(--font-display); text-transform: uppercase; }
.module .more::before { content: ""; width: 8px; height: 8px; background: var(--happy-orange); }
a.module:hover { background: var(--polar-gray); }
@media (max-width: 860px) {
  .modules { grid-template-columns: minmax(0, 1fr); }
  .module:nth-child(odd) { border-right: 0; }
  .module { min-height: 0; }
}

/* ---------- split / text blocks ---------- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0; }
.split > * { padding: 48px 0; }
.split > * + * { padding-left: 48px; border-left: 1px solid var(--line); }
.cols-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
@media (max-width: 860px) {
  .split, .cols-2 { grid-template-columns: minmax(0, 1fr); }
  .split > * + * { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}
/* about copy: one size, filling its column */
.about-text p { font: 500 clamp(22px, 2.1vw, 30px)/1.42 var(--font-text); letter-spacing: -.005em; margin: 0 0 .8em; }
.about-text p:last-child { margin-bottom: 0; }
.pad-xl { padding-top: clamp(56px, 8vw, 120px); padding-bottom: clamp(56px, 8vw, 120px); }
.pad-l { padding-top: 64px; padding-bottom: 64px; }

/* ---------- product feature card (dark, after guide p. applications) ---------- */
.feature {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 560px;
  border: 1px solid var(--line-on-dark);
}
.feature .txt { padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.feature .pic { background: var(--tech-white); display: flex; align-items: center; justify-content: center; position: relative; }
.feature .pic img { max-height: 480px; mix-blend-mode: multiply; }
.feature .giant { font-family: var(--font-display); font-size: clamp(72px, 10vw, 144px); line-height: .9; }
.feature dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; font-size: 15px; }
.feature dt { color: var(--polar-gray); }
.feature dd { margin: 0; }
@media (max-width: 860px) { .feature { grid-template-columns: minmax(0, 1fr); } .feature .pic { min-height: 320px; } }

/* ---------- supergraphic CTA ---------- */
.cta-band { overflow: hidden; }
.cta-band .inner {
  position: relative; z-index: 2;
  padding: clamp(64px, 9vw, 140px) 0 clamp(64px, 9vw, 140px) min(38vw, 540px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end;
}
.cta-band .super {
  position: absolute; left: max(-140px, -8vw); top: 50%; transform: translateY(-50%);
  width: min(44vw, 620px); color: var(--happy-orange); z-index: 1; pointer-events: none;
}
.cta-band h2 { max-width: 12ch; }
@media (max-width: 1080px) {
  .cta-band .inner { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 760px) {
  .cta-band .inner { padding-left: 0; padding-top: 250px; }
  .cta-band .super { width: 240px; left: -60px; top: 24px; transform: none; }
}

/* ---------- page header (inner pages) ---------- */
.page-head { border-bottom: 1px solid var(--line); overflow: hidden; }
.page-head .inner { position: relative; padding: 24px 0 48px; }
.page-head h1 { margin-top: 64px; }
.page-head .intro.solo { grid-template-columns: minmax(0, 1fr); }
.page-head .intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 40px; align-items: end; }
.page-head .intro p { margin: 0; }
.crumbs { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; font-weight: 600; }
.crumbs a { text-decoration: none; color: var(--ironside); }
.crumbs a:hover { color: var(--blackberry); text-decoration: underline; }
.crumbs span { color: var(--ironside); margin: 0 8px; }
@media (max-width: 1100px) { .page-head .intro { grid-template-columns: minmax(0, 1fr); gap: 20px; } }

/* ---------- range (rotor stators) ---------- */
.toolbar {
  display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between;
  padding: 20px 0; border-bottom: 1px solid var(--line);
  position: sticky; top: 88px; z-index: 10; background: var(--tech-white);
}
@media (max-width: 1080px) { .toolbar { top: 76px; } }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  border: 1px solid var(--line-strong); background: transparent; padding: 8px 12px; cursor: pointer;
  font-family: var(--font-display); text-transform: uppercase; font-size: 14px; line-height: 1;
}
.chip[aria-pressed="true"] { background: var(--blackberry); color: var(--tech-white); border-color: var(--blackberry); }
.search {
  display: flex; align-items: center; border: 1px solid var(--line-strong); background: #fff; min-width: min(320px, 100%);
}
.search input { border: 0; padding: 10px 12px; background: transparent; flex: 1; outline: none; min-width: 0; }
.search svg { margin-left: 12px; flex: none; }
.count { font-size: 13px; color: var(--ironside); }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); border-left: 1px solid var(--line); margin-top: -1px; }
.card {
  position: relative; display: flex; flex-direction: column;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  text-decoration: none; background: var(--tech-white);
}
.card .pic { aspect-ratio: 1; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.card .pic img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .3s; }
.card .body { padding: 14px 16px 18px; border-top: 1px solid var(--line); flex: 1; display: flex; flex-direction: column; gap: 8px; }
/* part designations stay in General Sans: Gruppe A's D and X read as O and H at small sizes */
.card .name { font: 600 22px/1.15 var(--font-text); letter-spacing: -.005em; hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 10 4 4; overflow-wrap: break-word; }
.card .variant { font-size: 13px; color: var(--ironside); margin-top: -4px; }
.card .specs { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; line-height: 18px; margin-top: auto; }
.card .specs b { font-weight: 600; }
a.card:hover { background: var(--polar-gray); }
a.card:hover .pic img { transform: scale(1.04); }
a.card:hover::after { content: ""; position: absolute; top: -5px; right: -5px; width: 10px; height: 10px; background: var(--happy-orange); }
.card[hidden] { display: none; }
.empty { padding: 48px 0; display: none; }

/* spec table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: #fff; }
table.specs { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 720px; }
table.specs th, table.specs td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.specs thead th {
  font: 600 12px/16px var(--font-text); letter-spacing: .08em; text-transform: uppercase;
  background: var(--blackberry); color: var(--tech-white); position: sticky; top: 0; cursor: pointer; user-select: none;
}
table.specs thead th[aria-sort]::after { content: " ↕"; color: var(--polar-gray); }
table.specs thead th[aria-sort="ascending"]::after { content: " ↑"; color: var(--happy-orange); }
table.specs thead th[aria-sort="descending"]::after { content: " ↓"; color: var(--happy-orange); }
table.specs td:first-child a { font-weight: 600; font-size: 16px; text-decoration: none; }
table.specs td:first-child a:hover { text-decoration: underline; }
table.specs tbody tr:hover { background: var(--tech-white); }
table.specs td.num { font-variant-numeric: tabular-nums; }

/* ---------- product detail ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); border-bottom: 1px solid var(--line); }
.pdp .gallery { border-right: 1px solid var(--line); background: #fff; }
.pdp .gallery .main { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; position: relative; }
.pdp .gallery .main img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pdp .gallery .main.gray { background: var(--polar-gray); }
.pdp .gallery .main img.mono, .thumbs img.mono { filter: grayscale(1) contrast(1.06); }
.thumbs { display: flex; border-top: 1px solid var(--line); }
.thumbs button { flex: 0 0 25%; aspect-ratio: 1; border: 0; border-right: 1px solid var(--line); background: #fff; padding: 8px; cursor: pointer; }
.thumbs button img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.thumbs button[aria-current="true"] { outline: 2px solid var(--happy-orange); outline-offset: -2px; }
.pdp .info { padding: 32px 0 40px 40px; display: flex; flex-direction: column; gap: 28px; }
/* part designations never wrap: the name shrinks to fit its column (--n = character count) */
.pdp .info { container-type: inline-size; }
.pdp .model { font-family: var(--font-display); font-size: min(120px, calc(100cqi / (var(--n, 4) * .68))); line-height: .92; text-transform: uppercase; white-space: nowrap; hyphens: manual; -webkit-hyphens: manual; }
.speclist { margin: 0; border-top: 1px solid var(--blackberry); }
.speclist > div { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.speclist dt { color: var(--ironside); }
.speclist dd { margin: 0; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.speclist.wide > div { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.speclist dt { hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 10 4 4; overflow-wrap: break-word; }
.speclist dd { overflow-wrap: anywhere; }
.speclist.wide dd { text-align: left; font-weight: 500; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 960px) {
  .pdp { grid-template-columns: minmax(0, 1fr); }
  .pdp .gallery { border-right: 0; border-bottom: 1px solid var(--line); }
  .pdp .info { padding: 28px 0 36px; }
}

ul.ticks { list-style: none; margin: 0; padding: 0; }
ul.ticks li { padding: 10px 0 10px 22px; border-bottom: 1px solid var(--line); position: relative; }
ul.ticks li::before { content: ""; position: absolute; left: 0; top: 18px; width: 8px; height: 8px; background: var(--happy-orange); }
.on-dark ul.ticks li { border-color: var(--line-on-dark); }

/* variant compare (Viapex Q) */
.variants { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); background: #fff; }
.variants > div { padding: 24px; }
.variants > div + div { border-left: 1px solid var(--line); }
@media (max-width: 1180px) { .variants { grid-template-columns: minmax(0, 1fr); } .variants > div + div { border-left: 0; border-top: 1px solid var(--line); } }

/* video poster */
.video {
  position: relative; aspect-ratio: 16 / 9; background: var(--matte-black); color: var(--tech-white);
  display: flex; align-items: center; justify-content: center; overflow: hidden; border: 0; width: 100%; cursor: pointer; padding: 0;
}
.video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; filter: grayscale(1); }
.video .play { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.video .play i { width: 84px; height: 84px; background: var(--happy-orange); display: grid; place-items: center; }
.video .play i::before { content: ""; border-left: 22px solid var(--blackberry); border-top: 13px solid transparent; border-bottom: 13px solid transparent; margin-left: 6px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* materials strip */
.materials { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(24px, 3.4vw, 40px); line-height: 1.25; }
.materials span { white-space: nowrap; }
@media (max-width: 480px) { .materials span { white-space: normal; hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 10 4 4; } }
.materials .s { color: var(--happy-orange); margin: 0 .15em; }
.module .materials { font-size: clamp(22px, 2.6vw, 34px); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.contact-grid > * { padding: 40px 0; }
.contact-grid > * + * { padding-left: 48px; border-left: 1px solid var(--line); }
.addr { border-top: 1px solid var(--blackberry); }
.addr > div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.addr a { text-decoration: none; font-size: 20px; line-height: 28px; }
.addr a:hover { text-decoration: underline; }
form.inquiry { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
form.inquiry .full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line-strong); background: #fff; padding: 12px 14px; border-radius: 0;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blackberry); box-shadow: 0 0 0 3px rgba(255, 174, 67, .55); }
.form-note { font-size: 13px; color: var(--ironside); }
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-grid > * + * { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  form.inquiry { grid-template-columns: 1fr; }
}

/* ---------- legal ---------- */
.legal { max-width: 760px; padding: 48px 0 96px; }
.legal h2 { font-size: 28px; line-height: 36px; margin: 40px 0 12px; }
.legal h3 { font-family: var(--font-text); text-transform: none; font-weight: 600; font-size: 18px; line-height: 26px; margin: 28px 0 8px; letter-spacing: 0; }
.legal p { color: #3a3b37; overflow-wrap: anywhere; }

/* ---------- footer ---------- */
.site-footer { background: var(--blackberry); color: var(--tech-white); }
.site-footer .top { display: grid; grid-template-columns: 5fr 3fr 3fr 3fr; gap: 0; border-bottom: 1px solid var(--line-on-dark); }
.site-footer .top > div { padding: 40px 24px 40px 0; }
.site-footer .top > div + div { padding-left: 24px; border-left: 1px solid var(--line-on-dark); }
.site-footer .lockup { height: 56px; width: auto; color: var(--tech-white); }
.site-footer ul { list-style: none; margin: 12px 0 0; padding: 0; }
.site-footer li { padding: 5px 0; }
.site-footer a { text-decoration: none; color: var(--tech-white); }
.site-footer a:hover { color: var(--happy-orange); }
.site-footer .label { color: var(--polar-gray); }
.site-footer .bottom { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; padding: 20px 0 28px; font-size: 13px; color: var(--polar-gray); }
.site-footer .bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
@media (max-width: 960px) {
  .site-footer .top { grid-template-columns: 1fr 1fr; }
  .site-footer .top > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .site-footer .top > div:first-child { grid-column: 1 / -1; border-bottom: 1px solid var(--line-on-dark); }
  .site-footer .top > div:nth-child(2) { padding-left: 0; border-left: 0; }
}
@media (max-width: 560px) {
  .site-footer .top { grid-template-columns: 1fr; }
  .site-footer .top > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-on-dark); }
}

.nw { white-space: nowrap; }
@media (max-width: 480px) {
  .site-header .wrap { gap: 10px; }
  .menu-btn { font-size: 0; gap: 0; padding: 12px 13px; }
  .lang-switch a { padding: 11px 8px; }
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--happy-orange); padding: 10px 14px; z-index: 100; }
.skip:focus { left: 8px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
