@import url("fonts.css");

/* ============================================================
   POLYVALENT — design tokens
   Palette is derived from the logo: near-black line art + the
   warm bone tone of the logo highlights, plus one signal accent.
   ============================================================ */
:root {
  --ink: #14141a;
  --ink-soft: #33333d;
  --muted: #6d6d79;
  --muted-2: #8d8d97;
  --line: #dedbd2;
  --line-2: #c9c5ba;
  --paper: #efede7;
  --paper-2: #e6e3db;
  --surface: #ffffff;
  --surface-2: #f7f6f2;
  --accent: #e2550c;
  --accent-2: #b8430a;
  --accent-soft: #fbeade;
  --ok: #1d7a4d;
  --ok-soft: #e2f1e9;
  --radius: 2px;
  --radius-2: 4px;
  --shadow-s: 0 1px 2px rgba(20, 20, 26, .05);
  --shadow-m: 0 2px 4px rgba(20, 20, 26, .05), 0 12px 28px -16px rgba(20, 20, 26, .28);
  --shadow-l: 0 24px 60px -24px rgba(20, 20, 26, .38);
  --wrap: 1260px;
  --gut: clamp(16px, 4vw, 40px);
  --sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 750;
  font-stretch: 112%;
  letter-spacing: -.022em;
  line-height: 1.06;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 1.1rem + 2.6vw, 3.3rem); font-weight: 800; font-stretch: 115%; overflow-wrap: break-word; hyphens: auto; }
h2 { font-size: clamp(1.62rem, 1.15rem + 1.7vw, 2.6rem); }
h3 { font-size: clamp(1.08rem, .98rem + .45vw, 1.34rem); line-height: 1.2; letter-spacing: -.012em; }
h4 { font-size: 1rem; letter-spacing: -.008em; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

.mono, .eyebrow, .kicker, .val, .sku, code, kbd { font-family: var(--mono); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .68rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-2);
}
.eyebrow::before {
  content: ""; width: 22px; height: 1px; background: var(--accent); flex: none;
}
.eyebrow--plain::before { display: none; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.lead { font-size: clamp(1rem, .95rem + .35vw, 1.16rem); color: var(--ink-soft); max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: .82rem; }
.tiny { font-size: .72rem; letter-spacing: .04em; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.stack > * + * { margin-top: var(--sp, 1rem); }

/* ============================================================ header */
.topbar {
  background: var(--ink); color: #cfcfd6;
  font-family: var(--mono); font-size: .7rem; letter-spacing: .06em;
}
.topbar .wrap { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; align-items: center; min-height: 34px; padding-block: .3rem; }
.topbar b { color: #fff; font-weight: 500; }
.topbar .sep { opacity: .35; }
.topbar .lang { margin-left: auto; display: flex; gap: .55rem; align-items: center; }
.topbar .lang a { color: #9d9daa; padding: .1rem .3rem; border: 1px solid transparent; }
.topbar .lang a[aria-current="true"] { color: #fff; border-color: #4a4a56; }
.topbar .lang a:hover { color: #fff; }
@media (max-width: 720px) { .topbar .tb-opt { display: none; } }

.masthead {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.masthead .wrap { display: flex; align-items: center; gap: clamp(12px, 2.5vw, 40px); min-height: 74px; }
.brand { display: flex; align-items: center; gap: .7rem; flex: none; }
.brand img { height: auto; max-height: 28px; width: auto; max-width: 100%; }

.nav { margin-left: auto; display: flex; align-items: center; gap: clamp(8px, 1.6vw, 26px); }
.nav a {
  font-size: .82rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink-soft); padding: .5rem 0; border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.nav-cta { margin-left: .4rem; }

/* Tighten the nav on narrower screens so the labels never crowd the logo. */
@media (max-width: 1300px) {
  .nav { gap: 12px; }
  .nav a { font-size: .76rem; letter-spacing: .025em; }
}

.burger {
  display: none; margin-left: auto; width: 44px; height: 44px;
  background: none; border: 1px solid var(--line-2); border-radius: var(--radius);
  align-items: center; justify-content: center; flex: none;
}
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink);
}
.burger span::before { top: -6px; } .burger span::after { top: 6px; }

@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .masthead .wrap { min-height: 64px; }
  .brand img { max-height: 22px; }
  body.nav-open .nav {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: .5rem var(--gut) 1rem; box-shadow: var(--shadow-m); margin: 0;
  }
  body.nav-open .nav a { padding: .85rem 0; border-bottom: 1px solid var(--line); }
  body.nav-open .nav-cta { margin: .9rem 0 0; }
}

/* ============================================================ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 46px; padding: .7rem 1.15rem;
  border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--surface);
  color: var(--ink); font-size: .78rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  transition: background .15s, border-color .15s, color .15s, transform .15s;
}
.btn:hover { border-color: var(--ink); color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn--accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-2); border-color: var(--accent-2); color: #fff; }
.btn--ink { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--ink:hover { background: #000; border-color: #000; color: #fff; }
.btn--ghost { background: transparent; border-color: var(--line-2); }
.btn--sm { min-height: 38px; padding: .45rem .8rem; font-size: .7rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .7rem; }

.link-more {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  border-bottom: 1px solid var(--line-2); padding-bottom: .2rem;
}
.link-more::after { content: "→"; transition: transform .15s; }
.link-more:hover { border-bottom-color: var(--accent); }
.link-more:hover::after { transform: translateX(3px); }

/* ============================================================ sections */
.section { padding-block: clamp(48px, 6.5vw, 104px); }
.section--tight { padding-block: clamp(34px, 4vw, 64px); }
.section--paper { background: var(--paper); }
.section--paper2 { background: var(--surface-2); }
.section--ink { background: var(--ink); color: #e8e8ee; }
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }
.section--ink .lead, .section--ink .muted { color: #a9a9b6; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

.sec-head { display: grid; gap: .9rem; margin-bottom: clamp(26px, 3.4vw, 48px); }
.sec-head--split {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: end; gap: clamp(18px, 3vw, 56px);
}
@media (max-width: 860px) { .sec-head--split { grid-template-columns: 1fr; } }
.sec-head p { margin: 0; }

/* ============================================================ hero */
.hero { position: relative; overflow: hidden; background: var(--paper); border-bottom: 1px solid var(--line); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 72%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 72%);
}
.hero .wrap { position: relative; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(28px, 4vw, 72px); align-items: center;
  padding-block: clamp(44px, 6vw, 92px);
}
@media (max-width: 1000px) { .hero-grid { grid-template-columns: 1fr; padding-block: 44px 56px; } }
.hero h1 { margin: 1rem 0 1.25rem; max-width: 17ch; }
.hero .lead { max-width: 50ch; }

.hero-media {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: start;
}
.hero-media .shot {
  position: static; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-s); overflow: hidden; margin: 0;
}
.hero-media .shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-media .s1 { grid-column: 1 / -1; }
.hero-media .s1 img { aspect-ratio: 16 / 8; }
.hero-media .hero-note {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .4rem 1rem;
  align-items: baseline; justify-content: space-between;
  font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase;
  background: var(--ink); color: #fff; padding: .5rem .7rem; border-radius: var(--radius);
}
.hero-media .hero-note span:last-child { color: #9d9daa; }
@media (max-width: 1000px) { .hero-media { max-width: 560px; } }

.factbar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
@media (max-width: 860px) { .factbar { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.factbar .fact { padding: 1.15rem clamp(12px, 2vw, 26px); border-right: 1px solid var(--line); }
.factbar .fact:last-child { border-right: 0; }
@media (max-width: 860px) {
  .factbar .fact:nth-child(2n) { border-right: 0; }
  .factbar .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
.fact .k { font-family: var(--mono); font-size: .66rem; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.fact .v { font-family: var(--mono); font-size: 1.32rem; font-weight: 600; color: var(--ink); margin: .3rem 0 .2rem; letter-spacing: -.02em; }
.fact .s { font-size: .8rem; color: var(--muted); }

/* ============================================================ category tiles */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(12px, 1.6vw, 20px); }
.cat-tile {
  grid-column: span 2; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: border-color .16s, box-shadow .16s, transform .16s;
}
.cat-tile--wide { grid-column: span 3; }
.cat-tile--xl { grid-column: span 4; }
.cat-tile:hover { border-color: var(--ink); box-shadow: var(--shadow-m); transform: translateY(-2px); }
@media (max-width: 900px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } .cat-tile, .cat-tile--wide, .cat-tile--xl { grid-column: span 1; } }
@media (max-width: 560px) { .cat-grid { grid-template-columns: 1fr; } }
.cat-tile .thumb { display: block; aspect-ratio: 4 / 3; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.cat-tile .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cat-tile .body { padding: clamp(14px, 1.6vw, 22px); display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.cat-tile .count { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-2); }
.cat-tile h3 { margin-top: .1rem; }
.cat-tile p { font-size: .88rem; color: var(--muted); margin: 0; }
.cat-tile .go { margin-top: auto; padding-top: .9rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }

/* ============================================================ product cards */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: clamp(12px, 1.5vw, 20px); }
.pcard {
  display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: border-color .16s, box-shadow .16s, transform .16s;
}
.pcard:hover { border-color: var(--ink); box-shadow: var(--shadow-m); transform: translateY(-2px); }
.pcard .thumb { position: relative; aspect-ratio: 4 / 3; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.pcard .thumb img { width: 100%; height: 100%; object-fit: cover; }
.pcard .tag {
  position: absolute; top: 10px; left: 10px;
  font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(255,255,255,.94); border: 1px solid var(--line); padding: .22rem .45rem;
}
.pcard .body { padding: 14px 15px 16px; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.pcard .top { display: flex; align-items: baseline; justify-content: space-between; gap: .6rem; }
.pcard .sku { font-family: var(--mono); font-size: .66rem; letter-spacing: .06em; color: var(--muted); }
.pcard .brandmark { font-family: var(--mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.pcard h3 { font-size: 1rem; line-height: 1.24; }
.pcard h3 a:hover { color: var(--accent); }
.pcard .specs { margin: .1rem 0 0; display: grid; gap: .22rem; }
.pcard .specs div { display: flex; justify-content: space-between; gap: .8rem; font-size: .76rem; border-bottom: 1px dotted var(--line); padding-bottom: .2rem; }
.pcard .specs dt { color: var(--muted); }
.pcard .specs dd { margin: 0; font-family: var(--mono); font-size: .72rem; color: var(--ink-soft); text-align: right; }
.pcard .foot { margin-top: auto; padding-top: .8rem; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.pcard .moq { font-family: var(--mono); font-size: .66rem; color: var(--muted); letter-spacing: .04em; }
.cat-tile .body { }
.pcard .thumb { display: block; }

.stock { display: inline-flex; align-items: center; gap: .38rem; font-family: var(--mono); font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; }
.stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--muted-2); }
.stock--ok::before { background: var(--ok); }
.stock--neutral::before { background: var(--accent); }

.price-ask { font-family: var(--mono); font-size: .74rem; font-weight: 600; letter-spacing: .04em; color: var(--accent-2); text-transform: uppercase; }

/* list / table view */
.ptable { width: 100%; border-collapse: collapse; font-size: .86rem; }
.ptable th, .ptable td { text-align: left; padding: .62rem .55rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.ptable thead th {
  font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); border-bottom: 1px solid var(--line-2); white-space: nowrap;
}
.ptable tbody tr:hover { background: var(--surface-2); }
.ptable .pcell { display: flex; align-items: center; gap: .7rem; min-width: 200px; }
.ptable .pcell img { width: 46px; height: 36px; object-fit: cover; border: 1px solid var(--line); background: var(--surface-2); flex: none; }
.ptable .num { font-family: var(--mono); font-size: .78rem; white-space: nowrap; }
.ptable-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
[hidden] { display: none !important; }

/* ============================================================ catalogue layout */
.cat-layout { display: grid; grid-template-columns: 268px minmax(0, 1fr); gap: clamp(20px, 2.6vw, 40px); align-items: start; }
@media (max-width: 940px) { .cat-layout { grid-template-columns: 1fr; } }
.rail { position: sticky; top: 92px; display: grid; gap: 1.1rem; }
@media (max-width: 940px) { .rail { position: static; } }
.rail-box { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 1rem; }
.rail-box h2, .rail-box h3 {
  font-family: var(--mono); font-size: .68rem; font-weight: 600; letter-spacing: .13em;
  text-transform: uppercase; color: var(--ink); margin: 0 0 .7rem; font-stretch: 100%;
}
.field { width: 100%; min-height: 42px; padding: .5rem .65rem; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--surface); font: inherit; font-size: .88rem; color: var(--ink); }
.field:focus { border-color: var(--ink); outline: none; }
select.field { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 2rem; }
.check { display: flex; align-items: center; gap: .55rem; padding: .3rem 0; font-size: .85rem; color: var(--ink-soft); cursor: pointer; }
.check input { appearance: none; width: 17px; height: 17px; border: 1px solid var(--line-2); border-radius: 2px; flex: none; position: relative; background: #fff; }
.check input:checked { background: var(--accent); border-color: var(--accent); }
.check input:checked::after { content: ""; position: absolute; left: 5px; top: 2px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.check .n { margin-left: auto; font-family: var(--mono); font-size: .68rem; color: var(--muted); }
.rail-group + .rail-group { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }

.toolbar { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; padding-bottom: 1rem; border-bottom: 1px solid var(--line); margin-bottom: 1.2rem; }
.toolbar .found { font-family: var(--mono); font-size: .76rem; letter-spacing: .04em; color: var(--muted); }
.toolbar .spacer { margin-left: auto; }
.viewtoggle { display: inline-flex; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; }
.viewtoggle button { min-width: 44px; min-height: 38px; background: var(--surface); border: 0; border-right: 1px solid var(--line-2); color: var(--muted); }
.viewtoggle button:last-child { border-right: 0; }
.viewtoggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip {
  display: inline-flex; align-items: center; gap: .4rem; font-family: var(--mono); font-size: .68rem;
  letter-spacing: .05em; text-transform: uppercase; border: 1px solid var(--line-2); border-radius: 999px;
  padding: .25rem .6rem; background: var(--surface); color: var(--ink-soft);
}
.chip button { background: none; border: 0; color: var(--accent); font-size: .95rem; line-height: 1; padding: 0; }
.empty { border: 1px dashed var(--line-2); border-radius: var(--radius); padding: 3rem 1.5rem; text-align: center; color: var(--muted); }

/* ============================================================ tables */
.spec-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.spec-table th, .spec-table td { padding: .68rem .8rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec-table th { color: var(--muted); font-weight: 500; width: 44%; }
.spec-table td { font-family: var(--mono); font-size: .8rem; color: var(--ink); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }

.tier-table { width: 100%; border-collapse: collapse; font-size: .88rem; border: 1px solid var(--line); }
.tier-table caption { text-align: left; font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-bottom: .5rem; }
.tier-table th, .tier-table td { padding: .62rem .8rem; border-bottom: 1px solid var(--line); text-align: left; }
.tier-table thead th { background: var(--paper); font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.tier-table td:first-child { font-family: var(--mono); font-size: .8rem; white-space: nowrap; }
.tier-table tr:last-child th, .tier-table tr:last-child td { border-bottom: 0; }
.tier-table .ask { color: var(--accent-2); font-family: var(--mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .04em; }

.datatable { width: 100%; border-collapse: collapse; font-size: .88rem; }
.datatable th, .datatable td { padding: .78rem clamp(10px, 1.4vw, 20px); border-bottom: 1px solid var(--line); text-align: left; }
.datatable thead th { font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line-2); }
.datatable tbody th { font-weight: 600; color: var(--ink); }
.datatable tbody td { font-family: var(--mono); font-size: .8rem; color: var(--ink-soft); }
.datatable tbody tr:nth-child(odd) { background: var(--surface-2); }

/* ============================================================ steps / why */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--surface); padding: clamp(16px, 2vw, 26px); }
.step .n { font-family: var(--mono); font-size: 1.5rem; font-weight: 600; color: var(--accent); letter-spacing: -.03em; }
.step h3 { margin: .5rem 0 .4rem; }
.step p { font-size: .86rem; color: var(--muted); margin: 0; }

.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 760px) { .why-grid { grid-template-columns: 1fr; } }
.why { background: var(--surface); padding: clamp(18px, 2.2vw, 30px); }
.why h3 { margin-bottom: .5rem; }
.why p { font-size: .89rem; color: var(--muted); margin: 0; }

/* ============================================================ faq */
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: flex-start; gap: 1rem; padding: 1.05rem 0; cursor: pointer;
  font-weight: 650; font-size: 1rem; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; font-family: var(--mono); color: var(--accent); font-size: 1.2rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 1.2rem; margin: 0; color: var(--muted); font-size: .9rem; max-width: 78ch; }

/* ============================================================ notice */
.notice {
  border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--accent-soft);
  padding: 1rem 1.1rem; font-size: .88rem; margin: 0 0 1.6rem;
}
.notice strong { color: var(--accent-2); }

/* ============================================================ prose / legal */
.prose { max-width: 78ch; }
.prose h3 { margin: 2rem 0 .6rem; font-size: 1.06rem; font-stretch: 105%; }
.prose h3:first-child { margin-top: 0; }
.prose p, .prose li { font-size: .92rem; color: var(--ink-soft); }
.prose ul, .prose ol { padding-left: 1.1rem; margin: 0 0 1rem; }
.prose li { margin-bottom: .35rem; }
.prose a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 2px; }
.prose .notice { font-size: .86rem; }

.tbd {
  background: var(--accent-soft); color: var(--accent-2); border-bottom: 1px dashed var(--accent);
  font-family: var(--mono); font-size: .8em; padding: 0 .2em;
}

/* ============================================================ product detail */
.pd { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(24px, 3.4vw, 60px); align-items: start; }
@media (max-width: 900px) { .pd { grid-template-columns: 1fr; } }
.pd-media { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); overflow: hidden; }
@media (min-width: 901px) { .pd-media-col { position: sticky; top: 96px; } }
.pd-media img { width: 100%; }
.pd-note { font-family: var(--mono); font-size: .66rem; letter-spacing: .05em; color: var(--muted); padding: .55rem .8rem; border-top: 1px solid var(--line); background: var(--surface); }
.pd-head { display: grid; gap: .7rem; }
.pd-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .05em; color: var(--muted); text-transform: uppercase; }
.pd-actions { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; margin: 1.3rem 0; }
.qty { display: inline-flex; align-items: stretch; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; }
.qty button { width: 42px; min-height: 46px; background: var(--surface); border: 0; color: var(--ink); font-size: 1.05rem; }
.qty button:hover { background: var(--paper); }
.qty input { width: 74px; border: 0; border-inline: 1px solid var(--line-2); text-align: center; font-family: var(--mono); font-size: .86rem; color: var(--ink); }
.qty input:focus { outline: none; background: var(--surface-2); }
.crumbs { font-family: var(--mono); font-size: .7rem; letter-spacing: .06em; color: var(--muted); display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.2rem; }
.crumbs a:hover { color: var(--accent); }
.crumbs span { opacity: .5; }

/* ============================================================ drawer (RFQ basket) */
.drawer { position: fixed; inset: 0; z-index: 100; display: none; }
.drawer[data-open="true"] { display: block; }
.drawer .scrim { position: absolute; inset: 0; background: rgba(20, 20, 26, .45); border: 0; width: 100%; }
.drawer .panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100%);
  background: var(--surface); box-shadow: var(--shadow-l); display: flex; flex-direction: column;
  border-left: 1px solid var(--line);
}
.drawer header { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); }
.drawer header h2 { font-size: 1.02rem; font-stretch: 100%; }
.drawer header .close { margin-left: auto; background: none; border: 1px solid var(--line-2); border-radius: var(--radius); width: 38px; height: 38px; }
.drawer .list { flex: 1; overflow-y: auto; padding: 1rem 1.2rem; display: grid; gap: .9rem; align-content: start; }
.drawer footer { padding: 1rem 1.2rem 1.2rem; border-top: 1px solid var(--line); background: var(--surface-2); display: grid; gap: .7rem; }
.ln { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: .8rem; align-items: start; padding-bottom: .9rem; border-bottom: 1px solid var(--line); }
.ln img { width: 54px; height: 42px; object-fit: cover; border: 1px solid var(--line); background: var(--surface-2); }
.ln .nm { font-size: .84rem; font-weight: 600; line-height: 1.3; }
.ln .sub { font-family: var(--mono); font-size: .66rem; color: var(--muted); letter-spacing: .04em; margin-top: .2rem; }
.ln .rm { background: none; border: 0; color: var(--muted); font-size: 1.1rem; line-height: 1; padding: .1rem .2rem; }
.ln .rm:hover { color: var(--accent); }
.ln .qty { margin-top: .5rem; }
.ln .qty button { width: 32px; min-height: 32px; font-size: .95rem; }
.ln .qty input { width: 56px; font-size: .76rem; min-height: 32px; }
.basket-btn { position: relative; }
.basket-btn .count {
  position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px;
  background: var(--accent); color: #fff; border-radius: 999px;
  font-family: var(--mono); font-size: .66rem; font-weight: 600; display: grid; place-items: center;
}

/* ============================================================ forms */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.field-row { display: grid; gap: .35rem; }
.field-row label { font-family: var(--mono); font-size: .68rem; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.field-row textarea { min-height: 120px; resize: vertical; }
.field-row.span2 { grid-column: 1 / -1; }
.hint { font-size: .78rem; color: var(--muted); }
.req { color: var(--accent); }

/* ============================================================ misc blocks */
.cards2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
@media (max-width: 820px) { .cards2 { grid-template-columns: 1fr; } }
.panel-box { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: clamp(18px, 2.2vw, 30px); }
.panel-box .tagline { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2); }
.panel-box ul { margin: .9rem 0 0; padding: 0; list-style: none; display: grid; gap: .45rem; }
.panel-box li { display: flex; gap: .55rem; font-size: .87rem; color: var(--ink-soft); }
.panel-box li::before { content: "—"; color: var(--accent); flex: none; }

.datalist { display: grid; gap: 0; }
.datalist .row { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); font-size: .88rem; }
.datalist .row:last-child { border-bottom: 0; }
.datalist dt, .datalist .lab { color: var(--muted); }
.datalist .val { font-family: var(--mono); font-size: .8rem; text-align: right; }

.cta-band { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; opacity: .18;
  background-image: linear-gradient(#3a3a46 1px, transparent 1px), linear-gradient(90deg, #3a3a46 1px, transparent 1px);
  background-size: 46px 46px;
}
.cta-band .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 1.6rem; align-items: center; padding-block: clamp(38px, 5vw, 66px); }
@media (max-width: 820px) { .cta-band .wrap { grid-template-columns: 1fr; } }
.cta-band h2 { color: #fff; max-width: 24ch; }
.cta-band p { color: #a9a9b6; margin: .8rem 0 0; max-width: 56ch; }

/* footer */
.foot { background: var(--ink); color: #a9a9b6; font-size: .86rem; }
.foot a:hover { color: #fff; }
.foot .top { display: grid; grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, .85fr)); gap: clamp(20px, 3vw, 48px); padding-block: clamp(36px, 4.5vw, 62px); }
@media (max-width: 940px) { .foot .top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .foot .top { grid-template-columns: 1fr; } }
.foot h4 { font-family: var(--mono); font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; color: #fff; margin-bottom: .9rem; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.foot img.f-logo { width: 300px; max-width: 100%; height: auto; margin-bottom: 1rem; }
.foot .addr { font-family: var(--mono); font-size: .76rem; line-height: 1.7; }
.foot .bottom {
  border-top: 1px solid #2c2c36; padding-block: 1.1rem;
  display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; align-items: center;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .05em;
}
.foot .bottom nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; }
.legal-note { border: 1px solid #2c2c36; background: #191921; padding: .9rem 1rem; font-size: .76rem; border-radius: var(--radius); }

/* page header band */
.pagehead { background: var(--paper); border-bottom: 1px solid var(--line); padding-block: clamp(30px, 4vw, 58px); }
.pagehead h1 { max-width: 22ch; margin-top: .9rem; font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3.1rem); }
.pagehead .lead { margin-top: .9rem; }

/* accessibility */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 200; }
.skip:focus { left: 0; }

@media print {
  .topbar, .masthead, .drawer, .cta-band, .foot .bottom nav { display: none !important; }
  body { font-size: 11pt; }
  .section { padding-block: 1rem; }
  a { text-decoration: none; color: #000; }
}
