@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('/fonts/archivo-latin-var.woff2') format('woff2-variations'), url('/fonts/archivo-latin-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* TIAP Hardware: public site stylesheet.
   Design tokens come from the TIAP logo: red + black + arc grey on warm off-white.
   One typeface (Archivo, variable weight and width). Square geometry, 1px rules. */

:root {
  --paper: #f3f2ee;
  --paper-2: #e9e7e1;
  --paper-3: #dfdcd4;
  --white: #fcfbf9;
  --line: #d3d0c7;
  --ink: #1a1a1a;
  --ink-2: #414346;
  --ink-3: #626468;
  --arc: #58595b;
  --red: #d7262b;
  --red-ink: #bf2229;
  --red-dark: #a91e24;
  --red-tint: #f7e1df;
  --black: #151515;
  --on-dark: #f3f2ee;
  --on-dark-2: #b9b7b1;
  --line-dark: #34363a;
  --green: #1d7a3d;
  --green-tint: #e2efe5;
  --amber: #8a5a00;

  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 128px);
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-variation-settings: 'wdth' 100;
  font-feature-settings: 'kern' 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
figure { margin: 0; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--red-ink); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 750; line-height: 1.06; letter-spacing: -0.015em; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
::selection { background: var(--red); color: #fff; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; font-weight: 600; }
.skip-link:focus { top: 12px; color: #fff; }

/* ------------------------------------------------------------------ type */
.label, .eyebrow {
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-variation-settings: 'wdth' 82;
  color: var(--ink-3);
  margin: 0;
}
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; color: var(--ink-2); }
.eyebrow::before { content: ''; width: 18px; height: 3px; background: var(--red); flex: none; }
.eyebrow--dark { color: var(--on-dark-2); }
.display {
  font-size: clamp(2.5rem, 6.4vw, 5.6rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.03em;
}
.h2 { font-size: clamp(1.9rem, 3.8vw, 3.1rem); line-height: 1.02; letter-spacing: -0.025em; }
.h3 { font-size: 1.3rem; line-height: 1.15; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.5; color: var(--ink-2); max-width: 44ch; }
.muted { color: var(--ink-3); }
.small { font-size: 0.875rem; }
.num { font-variant-numeric: tabular-nums; font-variation-settings: 'wdth' 88; }
.red { color: var(--red-ink); }
.prose { max-width: 68ch; }
.prose h2 { font-size: 1.6rem; margin: 2.2em 0 0.6em; }
.prose h3 { font-size: 1.2rem; margin: 1.8em 0 0.5em; }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 1.1em; }
.prose li { margin: 0.3em 0; }
.prose li::marker { color: var(--red); }
.prose a { color: var(--red-ink); }
.prose strong { font-weight: 700; }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 20px;
  border: 1.5px solid var(--ink); background: transparent; color: var(--ink);
  font-weight: 650; font-size: 0.98rem; line-height: 1.2; text-decoration: none;
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--white); }
.btn--primary { background: var(--red); border-color: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--red); border-color: var(--red); color: #fff; }
.btn--light { border-color: var(--on-dark); color: var(--on-dark); }
.btn--light:hover { background: var(--on-dark); color: var(--ink); }
.btn--sm { min-height: 40px; padding: 8px 14px; font-size: 0.9rem; }
.btn--block { width: 100%; }
.btn .icon { flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ------------------------------------------------------------------ header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(243, 242, 238, 0.96); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(243, 242, 238, 0.88); backdrop-filter: blur(8px); } }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.logo:hover { color: var(--ink); }
.logo-img { height: 44px; width: auto; }
.logo-type { display: flex; flex-direction: column; line-height: 1; }
.logo-word { font-size: 1.34rem; font-weight: 800; letter-spacing: 0.01em; white-space: nowrap; }
.logo-word .t { color: var(--red); }
.logo-tag { margin-top: 5px; font-size: 0.66rem; font-weight: 500; color: var(--ink-2); font-variation-settings: 'wdth' 78; letter-spacing: 0.01em; white-space: nowrap; }
.nav { margin-left: auto; }
.nav-list { display: flex; gap: 4px; list-style: none; }
.nav-link { display: block; padding: 10px 12px; text-decoration: none; font-weight: 550; font-size: 0.97rem; position: relative; }
.nav-link[aria-current="page"]::after, .nav-link:hover::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--red); }
.nav-link:hover { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.quote-pill { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 12px; border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 0.92rem; background: var(--white); }
.quote-pill:hover { border-color: var(--ink); color: var(--ink); }
.quote-count { min-width: 22px; height: 22px; padding: 0 6px; display: inline-grid; place-items: center; background: var(--ink); color: #fff; font-size: 0.75rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.quote-count[data-empty="true"] { background: var(--paper-3); color: var(--ink-2); }
.menu-toggle { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 8px 10px; background: none; border: 1px solid var(--line); font-weight: 600; }
.mobile-menu { border-top: 1px solid var(--line); background: var(--paper); padding: 8px var(--gutter) 24px; max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
.mobile-menu ul { list-style: none; margin-bottom: 20px; }
.mobile-menu li a { display: flex; align-items: baseline; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.5rem; font-weight: 700; text-decoration: none; }
.mm-index { font-size: 0.75rem; color: var(--ink-3); font-weight: 600; font-variant-numeric: tabular-nums; }
.mobile-menu .btn { margin-top: 10px; }

@media (max-width: 1080px) {
  .nav, .header-cta .btn-label { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 400px) {
  .header-cta { display: none; }
  .header-inner { gap: 12px; }
  .header-actions { gap: 6px; }
}
@media (max-width: 560px) {
  :root { --header-h: 60px; }
  .logo-tag, .quote-pill-label, .menu-toggle-label { display: none; }
  .logo-word { font-size: 1.2rem; }
  .logo-img { height: 36px; }
  .header-cta { padding-inline: 10px; }
}

/* ------------------------------------------------------------------ sections */
.section { padding-block: var(--section); border-top: 1px solid var(--line); }
.section--flush-top { border-top: 0; }
.section--alt { background: var(--paper-2); }
.section--dark { background: var(--black); color: var(--on-dark); border-top-color: var(--black); }
.section--dark .lead, .section--dark .muted { color: var(--on-dark-2); }
.section--dark a:hover { color: #fff; }
.section-head { display: grid; gap: 20px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .link-arrow { justify-self: start; }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1fr 1fr; align-items: end; }
  .section-head--split .lead, .section-head--split .link-arrow { justify-self: end; }
}

/* ------------------------------------------------------------------ hero */
.hero { padding-block: clamp(40px, 7vw, 96px) clamp(48px, 7vw, 96px); }
.hero-grid { display: grid; gap: clamp(40px, 5vw, 72px); }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: minmax(0, 8fr) minmax(360px, 4.4fr); align-items: start; } }
.hero h1 { margin-bottom: 28px; font-size: clamp(2.5rem, 5.3vw, 4.8rem); }
.hero h1 .accent { color: var(--red); }
.hero .lead { margin-bottom: 32px; max-width: 40ch; }
.hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 48px; border-top: 1.5px solid var(--ink); }
.hero-facts li { list-style: none; padding: 14px 16px 0 0; }
.hero-facts li + li { padding-left: 16px; border-left: 1px solid var(--line); }
.hero-facts strong { display: block; font-size: 1rem; line-height: 1.25; }
.hero-facts span { display: block; font-size: 0.85rem; color: var(--ink-3); margin-top: 4px; line-height: 1.35; }
@media (max-width: 560px) {
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 12px; }
}

/* catalogue index (hero) */
.index { border: 1.5px solid var(--ink); background: var(--white); }
.index-head { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 18px; border-bottom: 1.5px solid var(--ink); }
.index-head h2 { font-size: 1rem; letter-spacing: 0; }
.index-list { list-style: none; }
.index-list a { display: grid; grid-template-columns: 44px 1fr auto 20px; align-items: center; gap: 12px; padding: 14px 18px; text-decoration: none; border-bottom: 1px solid var(--line); transition: background-color .15s var(--ease); }
.index-list li:last-child a { border-bottom: 0; }
.index-list a:hover { background: var(--paper); color: var(--ink); }
.index-list a:hover .index-code { background: var(--red); color: #fff; border-color: var(--red); }
.index-code { display: grid; place-items: center; height: 28px; border: 1px solid var(--ink); font-size: 0.75rem; font-weight: 700; font-variation-settings: 'wdth' 85; letter-spacing: 0.06em; transition: all .15s var(--ease); }
.index-name { font-weight: 650; line-height: 1.2; }
.index-name small { display: block; font-weight: 400; color: var(--ink-3); font-size: 0.83rem; margin-top: 2px; }
.index-count { font-size: 0.85rem; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.index-foot { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-top: 1.5px solid var(--ink); font-weight: 650; text-decoration: none; }
.index-foot:hover { background: var(--ink); color: #fff; }

/* image band + placeholders */
.photo-band { margin-top: clamp(40px, 6vw, 72px); }
.photo-band img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; background: var(--paper-2); }
.required {
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: 18px; border: 1.5px dashed #b0461f; background: repeating-linear-gradient(-45deg, #f6ece6 0 10px, #f3e5dd 10px 20px);
  color: #7a2d13; font-size: 0.85rem; line-height: 1.4;
}
.required strong { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; font-variation-settings: 'wdth' 85; }
.required-inline { display: inline-block; padding: 2px 8px; border: 1px dashed #b0461f; background: #f6ece6; color: #7a2d13; font-size: 0.8rem; font-weight: 600; }
.required--photo { aspect-ratio: 16 / 7; align-items: center; text-align: center; }

/* ------------------------------------------------------------------ Twyford feature */
.feature-grid { display: grid; gap: clamp(40px, 6vw, 88px); }
@media (min-width: 1000px) { .feature-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); align-items: start; } }
.format-chart { border: 1px solid var(--line-dark); padding: clamp(16px, 3vw, 32px); }
.format-chart svg { width: 100%; height: auto; }
.format-chart .fc-shape { fill: none; stroke: var(--on-dark-2); stroke-width: 1.5; }
.format-chart .fc-shape.is-wall { stroke-dasharray: 6 5; }
.format-chart .fc-label { fill: var(--on-dark); font-family: var(--font); font-size: 24px; font-weight: 700; }
.format-chart .fc-sub { fill: var(--on-dark-2); font-family: var(--font); font-size: 18px; }
.format-chart .fc-max { stroke: var(--red); stroke-width: 2.5; }
.format-chart .fc-dim { stroke: var(--on-dark-2); stroke-width: 1; }
.format-chart .fc-dim-text { fill: var(--on-dark-2); font-family: var(--font); font-size: 18px; }
.format-caption { display: flex; justify-content: space-between; gap: 16px; margin-top: 14px; font-size: 0.8rem; color: var(--on-dark-2); }
.numbered { list-style: none; counter-reset: n; border-top: 1px solid var(--line-dark); }
.numbered > li { counter-increment: n; display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line-dark); }
.numbered > li::before { content: counter(n, decimal-leading-zero); font-size: 0.8rem; font-weight: 700; color: var(--red); font-variant-numeric: tabular-nums; padding-top: 3px; }
.numbered h3 { font-size: 1.08rem; margin-bottom: 4px; letter-spacing: 0; }
.numbered p { margin: 0; color: var(--on-dark-2); font-size: 0.96rem; }
.section:not(.section--dark) .numbered { border-top-color: var(--line); }
.section:not(.section--dark) .numbered > li { border-bottom-color: var(--line); }
.section:not(.section--dark) .numbered p { color: var(--ink-2); }
.factories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 32px; border: 1px solid var(--line-dark); }
.factories div { padding: 14px 16px; }
.factories div + div { border-left: 1px solid var(--line-dark); }
.factories strong { display: block; font-size: 0.98rem; }
.factories span { display: block; font-size: 0.8rem; color: var(--on-dark-2); margin-top: 2px; }
@media (max-width: 560px) { .factories { grid-template-columns: 1fr; } .factories div + div { border-left: 0; border-top: 1px solid var(--line-dark); } }

/* ------------------------------------------------------------------ build stages */
.build { display: grid; gap: clamp(32px, 5vw, 64px); }
@media (min-width: 1000px) { .build { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; } }
.build > *, .hero-grid > *, .feature-grid > *, .assist > *, .visit > *, .cta-block > *, .grid-2 > *, .est > *, .product > *, .detail-grid > * { min-width: 0; }
.build-figure { position: relative; border: 1.5px solid var(--ink); background: var(--white); padding: clamp(12px, 2vw, 24px); }
.build-figure figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; font-size: 0.78rem; color: var(--ink-3); }
.bs { width: 100%; height: auto; }
.bs * { transition: stroke .25s var(--ease), fill .25s var(--ease), opacity .25s var(--ease); }
.bs .base { stroke: var(--ink-3); stroke-width: 1; fill: none; }
.bs .earth { stroke: #b5b1a6; stroke-width: 1; }
.bs .stage { cursor: pointer; }
.bs .stage .ln { stroke: #8f9194; stroke-width: 1.4; fill: none; }
.bs .stage .fl { fill: #e5e2da; stroke: #8f9194; stroke-width: 1.2; }
.bs .stage .dk { fill: #a4a6a9; stroke: none; }
.bs .stage .tag rect { fill: var(--white); stroke: #8f9194; stroke-width: 1.2; }
.bs .stage .tag text { fill: var(--ink-2); font: 700 17px var(--font); }
.bs .stage.is-active .ln { stroke: var(--red); stroke-width: 2; }
.bs .stage.is-active .fl { fill: var(--red-tint); stroke: var(--red); }
.bs .stage.is-active .dk { fill: var(--red); }
.bs .stage.is-active .tag rect { fill: var(--red); stroke: var(--red); }
.bs .stage.is-active .tag text { fill: #fff; }
.bs .stage:hover .ln, .bs .stage:hover .fl { stroke: var(--ink); }
.stage-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1.5px solid var(--ink); margin-bottom: 28px; }
.stage-tab { min-height: 64px; padding: 10px; background: var(--white); border: 0; border-right: 1px solid var(--line); font-weight: 650; font-size: 0.88rem; line-height: 1.2; text-align: left; display: grid; align-content: start; gap: 4px; }
.stage-tab:last-child { border-right: 0; }
.stage-tab span { font-size: 0.72rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
@media (max-width: 620px) {
  .stage-tabs { display: flex; overflow-x: auto; scrollbar-width: none; }
  .stage-tabs::-webkit-scrollbar { display: none; }
  .stage-tab { flex: 0 0 auto; min-width: 104px; }
}
.stage-tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.stage-tab[aria-selected="true"] span { color: var(--on-dark-2); }
.stage-panel h2, .stage-panel h3 { font-size: 1.6rem; margin-bottom: 10px; letter-spacing: -0.015em; }
.stage-panel > p { color: var(--ink-2); }
.stage-panel + .stage-panel { margin-top: 48px; }
.js .stage-panel + .stage-panel { margin-top: 0; }
.stage-products { list-style: none; border-top: 1.5px solid var(--ink); margin: 20px 0 24px; }
.stage-products li { border-bottom: 1px solid var(--line); }
.stage-products a { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: baseline; padding: 11px 0; text-decoration: none; }
.stage-products a span:first-child { font-weight: 600; }
.stage-products .muted { font-size: 0.85rem; white-space: nowrap; }

/* ------------------------------------------------------------------ WhatsApp assistant */
.assist { display: grid; gap: clamp(40px, 6vw, 88px); }
@media (min-width: 1000px) { .assist { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: start; } }
.checklist { list-style: none; margin: 24px 0 32px; }
.checklist li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-dark); }
.checklist .icon { color: var(--red); margin-top: 2px; }
.checklist--no .icon { color: var(--on-dark-2); }
.section:not(.section--dark) .checklist li { border-bottom-color: var(--line); }
.transcript { border: 1px solid var(--line-dark); background: #1d1e20; color: var(--on-dark); }
.transcript-head { display: flex; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line-dark); font-size: 0.78rem; color: var(--on-dark-2); letter-spacing: .06em; text-transform: uppercase; font-variation-settings: 'wdth' 85; font-weight: 600; }
.transcript ol { list-style: none; padding: 20px 16px; display: grid; gap: 14px; }
.msg { max-width: 88%; padding: 10px 14px; font-size: 0.96rem; line-height: 1.45; }
.msg small { display: block; font-size: 0.72rem; color: var(--on-dark-2); margin-bottom: 4px; letter-spacing: .04em; text-transform: uppercase; font-variation-settings: 'wdth' 85; }
.msg--in { background: #2a2c2f; justify-self: start; }
.msg--out { background: #3a1a1b; border-left: 3px solid var(--red); justify-self: end; }
.transcript-foot { padding: 12px 16px; border-top: 1px solid var(--line-dark); font-size: 0.8rem; color: var(--on-dark-2); }

/* ------------------------------------------------------------------ steps */
.steps { list-style: none; display: grid; gap: 0; border-top: 1.5px solid var(--ink); counter-reset: s; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.steps li { counter-increment: s; padding: 20px 20px 24px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 800px) { .steps li { border-bottom: 0; } .steps li + li { padding-left: 20px; border-left: 1px solid var(--line); } }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-size: 2.4rem; font-weight: 800; color: var(--red); line-height: 1; margin-bottom: 18px; font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 1.15rem; margin-bottom: 8px; letter-spacing: 0; }
.steps p { margin: 0; color: var(--ink-2); font-size: 0.96rem; }

/* ------------------------------------------------------------------ visit / contact */
.visit { display: grid; gap: clamp(32px, 5vw, 64px); }
@media (min-width: 1000px) { .visit { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; } }
.facts { list-style: none; border-top: 1.5px solid var(--ink); }
.facts li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt, .facts .k { font-size: 0.78rem; font-weight: 650; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); font-variation-settings: 'wdth' 85; padding-top: 3px; }
.facts .v { font-weight: 550; }
.facts .v a { font-weight: 650; }
@media (max-width: 480px) { .facts li { grid-template-columns: 1fr; gap: 4px; } }
.channels { display: grid; gap: 0; border-top: 1.5px solid var(--ink); }
.channel { display: grid; grid-template-columns: 44px 1fr 24px; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.channel .icon-box { width: 44px; height: 44px; display: grid; place-items: center; background: var(--ink); color: #fff; }
.channel:hover .icon-box { background: var(--red); }
.channel strong { display: block; font-size: 1.12rem; }
.channel span { display: block; color: var(--ink-3); font-size: 0.9rem; }
.channel:hover { color: var(--ink); }

/* ------------------------------------------------------------------ page head + breadcrumbs */
.page-head { padding-block: clamp(32px, 5vw, 64px) clamp(28px, 4vw, 48px); }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -0.03em; margin-bottom: 16px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; font-size: 0.85rem; color: var(--ink-3); margin-bottom: 24px; }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: var(--line); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); }

/* ------------------------------------------------------------------ catalogue */
.cat-toolbar { position: sticky; top: var(--header-h); z-index: 20; background: var(--paper); border-block: 1px solid var(--line); padding-block: 12px; }
.toolbar-grid { display: grid; gap: 12px; }
@media (min-width: 900px) { .toolbar-grid { grid-template-columns: minmax(260px, 360px) 1fr auto; align-items: center; } }
.search { position: relative; }
.search .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; }
.search input { width: 100%; min-height: 46px; padding: 10px 14px 10px 44px; border: 1.5px solid var(--ink); background: var(--white); border-radius: 0; }
.search input::placeholder { color: var(--ink-3); }
.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 12px; border: 1px solid var(--line); background: var(--white); text-decoration: none; font-weight: 600; font-size: 0.88rem; white-space: nowrap; }
.chip span { color: var(--ink-3); font-weight: 500; font-variant-numeric: tabular-nums; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-current="page"], .chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip[aria-current="page"] span, .chip.is-active span { color: var(--on-dark-2); }
.brand-select select { min-height: 40px; padding: 8px 32px 8px 12px; border: 1px solid var(--line); background: var(--white); border-radius: 0; font-weight: 600; font-size: 0.88rem; }
.cat-group { padding-block: clamp(36px, 5vw, 56px) 0; }
.cat-group-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; margin-bottom: 16px; }
.cat-group-head h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); display: flex; gap: 14px; align-items: baseline; }
.cat-group-head h2 .code { font-size: 0.8rem; color: var(--red-ink); font-weight: 700; letter-spacing: .08em; }
.ptable { list-style: none; border-top: 1.5px solid var(--ink); }
.ptable-head { display: none; }
.prow { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.prow-code { grid-column: 1 / -1; font-size: 0.72rem; font-weight: 700; letter-spacing: .08em; color: var(--ink-3); font-variation-settings: 'wdth' 85; }
.prow-main { min-width: 0; display: flex; align-items: center; gap: 12px; }
.prow-text { min-width: 0; }
.prow-thumb { flex: none; width: 52px; height: 52px; object-fit: cover; border: 1px solid var(--line); background: var(--white); }
.prow-thumb--none { display: block; background: repeating-linear-gradient(135deg, var(--paper-2) 0 6px, var(--paper) 6px 12px); }
.prow-name { font-weight: 650; text-decoration: none; line-height: 1.3; }
.prow-name:hover { color: var(--red-ink); text-decoration: underline; }
.prow-spec { display: block; color: var(--ink-3); font-size: 0.88rem; margin-top: 2px; }
.prow-brand { display: none; }
.prow-price { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.prow-price small { display: block; font-weight: 500; font-size: 0.78rem; color: var(--ink-3); }
.prow-actions { grid-column: 1 / -1; display: flex; gap: 8px; }
@media (min-width: 860px) {
  .ptable-head, .prow { grid-template-columns: 76px minmax(0, 1fr) 150px 150px 190px; gap: 16px; }
  .ptable-head { display: grid; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.72rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); font-variation-settings: 'wdth' 85; }
  .ptable-head span:nth-child(4) { text-align: right; }
  .prow { padding: 12px 0; }
  .prow-code { grid-column: auto; }
  .prow-brand { display: block; color: var(--ink-2); font-size: 0.92rem; }
  .prow-actions { grid-column: auto; justify-content: flex-end; }
}
.avail { display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; font-weight: 600; white-space: nowrap; }
.avail::before { content: ''; width: 8px; height: 8px; background: var(--ink-3); }
.avail--in_stock { color: var(--green); }
.avail--in_stock::before { background: var(--green); }
.avail--out_of_stock { color: var(--red-ink); }
.avail--out_of_stock::before { background: var(--red); }
.avail--ask { color: var(--ink-2); }
.btn-add, .btn-ask { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 12px; border: 1.5px solid var(--ink); background: var(--white); font-weight: 650; font-size: 0.86rem; text-decoration: none; white-space: nowrap; }
.btn-add:hover, .btn-ask:hover { background: var(--ink); color: #fff; }
.btn-add.is-added { background: var(--ink); color: #fff; }
.empty { padding: 48px 0; border-top: 1.5px solid var(--ink); }
.empty h2 { font-size: 1.5rem; margin-bottom: 8px; }
.price-note { margin-top: 20px; font-size: 0.85rem; color: var(--ink-3); max-width: 72ch; }

/* ------------------------------------------------------------------ product page */
.product { display: grid; gap: clamp(32px, 5vw, 72px); padding-bottom: var(--section); }
@media (min-width: 960px) { .product { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: start; } .product-buy { position: sticky; top: calc(var(--header-h) + 24px); } }
.gallery-main { background: var(--white); border: 1px solid var(--line); aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; list-style: none; }
.gallery-caption { display: flex; align-items: baseline; gap: 10px; margin-top: 10px; font-size: 1.05rem; }
.gallery-thumbs--designs { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; }
.gallery-thumbs.gallery-thumbs--designs button { width: 100%; height: auto; display: flex; flex-direction: column; text-align: left; cursor: pointer; }
.gallery-thumbs.gallery-thumbs--designs img { aspect-ratio: 1; height: auto; }
.thumb-cap { display: block; padding: 5px 6px; font-size: 0.72rem; font-weight: 650; line-height: 1.2; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.gallery-thumbs button { width: 72px; height: 72px; padding: 0; border: 1px solid var(--line); background: var(--white); }
.gallery-thumbs button[aria-current="true"] { border: 2px solid var(--ink); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.plate { width: 100%; height: 100%; display: grid; grid-template-rows: auto 1fr auto; padding: clamp(16px, 3vw, 28px); background: var(--white); }
.plate-top { display: flex; justify-content: space-between; font-size: 0.78rem; font-weight: 650; color: var(--ink-3); letter-spacing: .06em; text-transform: uppercase; font-variation-settings: 'wdth' 85; }
.plate svg { width: 70%; max-height: 100%; place-self: center; }
.plate .pl-shape { fill: var(--paper); stroke: var(--ink); stroke-width: 2; }
.plate .pl-dim { stroke: var(--ink-3); stroke-width: 1; }
.plate .pl-text { fill: var(--ink-2); font: 600 22px var(--font); }
.plate-code { font-size: clamp(3rem, 9vw, 6rem); font-weight: 800; letter-spacing: -0.04em; place-self: center; color: #8c8e91; }
.plate-bottom { font-size: 0.8rem; color: var(--ink-3); }
.product-buy .code { font-size: 0.78rem; font-weight: 700; letter-spacing: .08em; color: var(--ink-3); font-variation-settings: 'wdth' 85; margin-bottom: 10px; }
.product-buy h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); letter-spacing: -0.025em; margin-bottom: 12px; }
.product-buy .spec-line { font-size: 1.05rem; color: var(--ink-2); margin-bottom: 20px; }
.buy-box { border: 1.5px solid var(--ink); background: var(--white); margin-top: 24px; }
.buy-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.buy-price { font-size: 1.9rem; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.buy-price small { font-size: 0.9rem; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
.buy-actions { display: grid; gap: 10px; padding: 18px; }
.qty { display: inline-flex; border: 1.5px solid var(--ink); }
.qty button { width: 44px; min-height: 46px; border: 0; background: var(--white); display: grid; place-items: center; }
.qty button:hover { background: var(--paper); }
.qty input { width: 64px; border: 0; border-inline: 1px solid var(--line); text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; background: var(--white); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.add-line { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.buy-note { padding: 12px 18px; border-top: 1px solid var(--line); font-size: 0.83rem; color: var(--ink-3); }
.detail-grid { display: grid; gap: clamp(32px, 5vw, 64px); }
@media (min-width: 960px) { .detail-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } }
.spec-table { width: 100%; border-collapse: collapse; border-top: 1.5px solid var(--ink); }
.spec-table th, .spec-table td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 42%; font-weight: 550; color: var(--ink-3); font-size: 0.92rem; padding-right: 16px; }
.spec-table td { font-weight: 600; }
.uses { list-style: none; border-top: 1.5px solid var(--ink); }
.uses li { padding: 12px 0 12px 26px; border-bottom: 1px solid var(--line); position: relative; font-weight: 550; }
.uses li::before { content: ''; position: absolute; left: 0; top: 20px; width: 12px; height: 2px; background: var(--red); }
.related { list-style: none; display: grid; gap: 0; border-top: 1.5px solid var(--ink); }
@media (min-width: 700px) { .related { grid-template-columns: repeat(2, minmax(0, 1fr)); } .related li:nth-child(odd) { border-right: 1px solid var(--line); } }
@media (min-width: 1100px) { .related { grid-template-columns: repeat(4, minmax(0, 1fr)); } .related li { border-right: 1px solid var(--line); } .related li:nth-child(4n) { border-right: 0; } }
.related a { display: block; padding: 18px 18px 22px 0; height: 100%; text-decoration: none; border-bottom: 1px solid var(--line); }
@media (min-width: 700px) { .related a { padding-left: 18px; } }
.related a:hover { background: var(--white); color: var(--ink); }
.related .code { font-size: 0.72rem; font-weight: 700; color: var(--ink-3); letter-spacing: .08em; }
.related strong { display: block; margin: 6px 0 4px; line-height: 1.25; }
.related span { font-size: 0.88rem; color: var(--ink-3); }

/* ------------------------------------------------------------------ forms */
.form { display: grid; gap: 18px; }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 700px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; align-content: start; }
.field label { font-weight: 650; font-size: 0.93rem; }
.field .hint { font-size: 0.83rem; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid var(--ink-3); border-radius: 0; background: var(--white);
}
.field textarea { min-height: 128px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: 3px solid var(--red); outline-offset: 0; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--red); }
.field .error { color: var(--red-ink); font-size: 0.86rem; font-weight: 600; }
.req { color: var(--red-ink); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 16px; border-left: 4px solid var(--red); background: var(--red-tint); font-weight: 550; }
.alert--ok { border-left-color: var(--green); background: var(--green-tint); }
.consent { font-size: 0.83rem; color: var(--ink-3); }
.cta-block { display: grid; gap: clamp(32px, 5vw, 64px); }
@media (min-width: 1000px) { .cta-block { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.section--dark .field label { color: var(--on-dark); }
.section--dark .field input, .section--dark .field textarea, .section--dark .field select { background: #202124; border-color: #5b5d61; color: var(--on-dark); }
.section--dark .field input:focus, .section--dark .field textarea:focus { border-color: var(--on-dark); }
.section--dark .consent, .section--dark .field .hint { color: var(--on-dark-2); }
.section--dark .field .error { color: #ff8e8a; }
.next-list { list-style: none; margin-top: 28px; border-top: 1px solid var(--line-dark); }
.next-list li { padding: 12px 0; border-bottom: 1px solid var(--line-dark); color: var(--on-dark-2); font-size: 0.95rem; }
.next-list strong { color: var(--on-dark); }

/* quote list */
.qlist { list-style: none; border-top: 1.5px solid var(--ink); }
.qitem { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.qitem-name { font-weight: 650; }
.qitem-name small { display: block; font-weight: 400; color: var(--ink-3); font-size: 0.85rem; }
.qitem-controls { display: flex; gap: 8px; align-items: center; }
.qitem .qty button, .qitem .qty input { min-height: 40px; }
.qitem .qty button { width: 38px; }
.qitem .qty input { width: 54px; }
.qtotal { display: flex; justify-content: space-between; padding: 14px 0; font-weight: 700; border-bottom: 1.5px solid var(--ink); }
.remove { background: none; border: 0; color: var(--ink-3); text-decoration: underline; font-size: 0.85rem; min-height: 40px; }
.remove:hover { color: var(--red-ink); }

/* estimator */
.est { display: grid; gap: clamp(32px, 5vw, 64px); }
@media (min-width: 1000px) { .est { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: start; } .est-result { position: sticky; top: calc(var(--header-h) + 24px); } }
.formats { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; border: 0; padding: 0; margin: 0; }
.formats legend { font-weight: 650; font-size: 0.93rem; margin-bottom: 8px; }
.format-opt { position: relative; }
.format-opt input { position: absolute; opacity: 0; }
.format-opt label { display: grid; gap: 8px; padding: 12px; border: 1.5px solid var(--line); background: var(--white); cursor: pointer; height: 100%; font-weight: 650; font-size: 0.9rem; }
.format-opt svg { height: 40px; width: auto; }
.format-opt svg rect { fill: var(--paper); stroke: var(--ink-3); stroke-width: 1.5; }
.format-opt input:checked + label { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.format-opt input:checked + label svg rect { fill: var(--red-tint); stroke: var(--red); }
.format-opt input:focus-visible + label { outline: 3px solid var(--red); outline-offset: 2px; }
.seg { display: inline-flex; border: 1.5px solid var(--ink); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; padding: 10px 14px; font-weight: 600; font-size: 0.9rem; cursor: pointer; min-height: 44px; }
.seg label + label span { border-left: 1px solid var(--line); }
.seg input:checked + span { background: var(--ink); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--red); outline-offset: -3px; }
.result-card { border: 1.5px solid var(--ink); background: var(--white); }
.result-card h2 { font-size: 1rem; padding: 14px 18px; border-bottom: 1.5px solid var(--ink); letter-spacing: 0; }
.result-big { padding: 20px 18px; border-bottom: 1px solid var(--line); }
.result-big strong { font-size: clamp(2.6rem, 6vw, 3.6rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1; display: block; font-variant-numeric: tabular-nums; }
.result-big span { color: var(--ink-3); }
.result-lines { list-style: none; }
.result-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 18px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.result-lines li span:first-child { color: var(--ink-2); }
.result-lines li strong { text-align: right; }
.result-actions { display: grid; gap: 10px; padding: 18px; }
.result-note { padding: 0 18px 18px; font-size: 0.82rem; color: var(--ink-3); }

/* guides */
.guide-list { list-style: none; border-top: 1.5px solid var(--ink); }
.guide-list a { display: grid; gap: 8px; padding: 28px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
@media (min-width: 900px) { .guide-list a { grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1fr) 24px; gap: 24px; align-items: baseline; } }
.guide-list .n { font-size: 0.8rem; font-weight: 700; color: var(--red-ink); font-variant-numeric: tabular-nums; }
.guide-list h2, .guide-list h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -0.01em; }
.guide-list p { margin: 0; color: var(--ink-2); }
.guide-list a:hover h2, .guide-list a:hover h3 { color: var(--red-ink); }
.article { display: grid; gap: 48px; padding-bottom: var(--section); }
@media (min-width: 1000px) { .article { grid-template-columns: 240px minmax(0, 1fr); } .toc { position: sticky; top: calc(var(--header-h) + 24px); } }
.toc ol { list-style: none; border-top: 1.5px solid var(--ink); counter-reset: t; }
.toc li { counter-increment: t; border-bottom: 1px solid var(--line); }
.toc a { display: grid; grid-template-columns: 28px 1fr; padding: 10px 0; text-decoration: none; font-size: 0.92rem; font-weight: 550; }
.toc a::before { content: counter(t, decimal-leading-zero); font-size: 0.75rem; color: var(--ink-3); font-weight: 700; padding-top: 2px; }
.article .prose { font-size: 1.08rem; }

/* FAQ */
.faq { border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; cursor: pointer; font-weight: 650; font-size: 1.05rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { flex: none; transition: transform .2s var(--ease); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq .answer { padding: 0 0 20px; color: var(--ink-2); max-width: 70ch; }

/* ------------------------------------------------------------------ footer */
.site-footer { background: var(--black); color: var(--on-dark); padding-block: clamp(48px, 7vw, 88px) 28px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-top { display: grid; gap: 40px; }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.site-footer .logo { color: var(--on-dark); }
.site-footer .logo-word { color: var(--on-dark); }
.site-footer .logo-word .t { color: #ff3b3f; }
.site-footer .logo-tag { color: var(--on-dark-2); }
.footer-brand p { color: var(--on-dark-2); margin-top: 18px; max-width: 34ch; font-size: 0.95rem; }
.footer-title { font-size: 0.75rem; font-weight: 650; text-transform: uppercase; letter-spacing: .09em; color: var(--on-dark-2); margin-bottom: 14px; font-variation-settings: 'wdth' 82; }
.footer-col ul { list-style: none; display: grid; gap: 10px; font-size: 0.95rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line-dark); font-size: 0.82rem; color: var(--on-dark-2); }
.footer-bottom p { margin: 0; max-width: 80ch; }

/* ------------------------------------------------------------------ toast */
.toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 80; display: flex; align-items: center; gap: 16px; padding: 12px 16px; background: var(--ink); color: #fff; font-weight: 600; font-size: 0.93rem; max-width: calc(100vw - 32px); }
.toast a { color: #fff; text-decoration: underline; white-space: nowrap; }

/* ------------------------------------------------------------------ utilities + motion */
.stack-sm > * + * { margin-top: 8px; }
.mt-0 { margin-top: 0; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; } .mt-6 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; } .mb-3 { margin-bottom: 24px; }
.grid-2 { display: grid; gap: clamp(32px, 5vw, 64px); }
@media (min-width: 900px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.icon { flex: none; }

.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .cat-toolbar, .btn, .btn-add, .toast { display: none !important; }
  body { background: #fff; }
}

/* building section: pipes are drawn thicker in every state */
.bs .stage .pipe, .bs .stage.is-active .pipe { stroke-width: 5; stroke-linejoin: round; }
@media (min-width: 1000px) { .steps--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.pb-section { padding-bottom: var(--section); }
.search--narrow { max-width: 520px; }

/* ---------------------------------------------------------------- home: showroom cards and tile wall */
.pcards { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (min-width: 900px) { .pcards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.pcard a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--ink); background: var(--white); border: 1px solid var(--line); transition: border-color .15s var(--ease), transform .2s var(--ease); }
.pcard a:hover { border-color: var(--ink); transform: translateY(-2px); }
.pcard-img { display: block; aspect-ratio: 1; overflow: hidden; background: #fff; border-bottom: 1px solid var(--line); }
.pcard-img img { width: 100%; height: 100%; object-fit: contain; padding: 6%; transition: transform .4s var(--ease); }
.pcard--swatch .pcard-img img { object-fit: cover; padding: 0; }
.pcard a:hover .pcard-img img { transform: scale(1.04); }
.pcard-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; flex: 1; }
.pcard-cat { font-size: 0.72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); font-variation-settings: 'wdth' 85; }
.pcard-name { font-weight: 650; line-height: 1.3; }
.pcard-price { margin-top: auto; padding-top: 8px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pcard-price small { font-weight: 500; color: var(--ink-3); }
.tile-wall { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 56px; }
@media (min-width: 640px) { .tile-wall { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .tile-wall { grid-template-columns: repeat(9, minmax(0, 1fr)); } }
.tile-wall a { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: #222; }
.tile-wall img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease), opacity .2s; }
.tile-wall a:hover img { transform: scale(1.08); }
.tile-wall span { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 6px 5px; font-size: 0.68rem; font-weight: 700; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.72)); letter-spacing: .02em; }
@media (prefers-reduced-motion: reduce) { .pcard a, .pcard-img img, .tile-wall img { transition: none; } }
@media (max-width: 959px) {
  /* Phones: designs scroll sideways so the price and buy box stay near the top. */
  .gallery-thumbs--designs { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 100px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; padding-bottom: 6px; }
  .gallery-thumbs--designs li { scroll-snap-align: start; }
}

/* ==========================================================================
   Industrial theme (September 2026). SSTR's visual grammar in TIAP's identity:
   steel greys, dark technical panels with a dot grid, uppercase headlines,
   monospace codes and brackets, chamfered primary buttons, frame lines.
   TIAP red stays the only accent. Everything above still applies; this layer
   only overrides tokens and components.
   ========================================================================== */
:root {
  --paper: #eceef0;
  --paper-2: #e2e4e7;
  --paper-3: #d4d7db;
  --white: #f8f9fa;
  --line: #c9cdd2;
  --ink: #16181b;
  --ink-2: #3c4046;
  --ink-3: #5c6168;
  --black: #131417;
  --panel: #1b1d21;
  --on-dark: #eceef0;
  --on-dark-2: #a4a9b0;
  --line-dark: #2d3036;
  --red: #dc282e;
  --red-hot: #ff3b41;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", "JetBrains Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --chamfer: 10px;
  --dots: radial-gradient(rgba(236, 238, 240, 0.09) 1px, transparent 1.4px);
}

/* type: uppercase display, monospace metadata */
.display, .h2, .page-head h1, .product-buy h1, .stage-panel h2, .stage-panel h3, .empty h2 {
  text-transform: uppercase; font-weight: 640; letter-spacing: -0.012em; font-variation-settings: "wdth" 96;
}
.display { font-size: clamp(2.4rem, 6vw, 5.2rem); line-height: 0.96; }
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 4.6rem); }
.h2 { line-height: 1; }
.page-head h1 { font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1; }
.product-buy h1 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.04; }
.eyebrow, .label, .pcard-cat, .prow-code, .index-code, .product-buy .code, .related .code, .thumb-cap,
.ptable-head, .facts .k, .spec-table th, .footer-title, .crumbs, .plate-top, .format-caption, .guide-list .n,
.cat-group-head h2 .code, .mm-index, .transcript-head, .build-figure figcaption, .stage-tab span, .tile-wall span, .gallery-caption .label {
  font-family: var(--mono); font-variation-settings: normal; letter-spacing: 0.04em;
}
.eyebrow { font-size: 0.72rem; font-weight: 500; text-transform: uppercase; color: var(--ink-2); gap: 10px; }
.eyebrow::before { width: 8px; height: 8px; background: var(--red); }
.eyebrow--dark, .section--dark .eyebrow, .hero--dark .eyebrow { color: var(--on-dark-2); }
.label { font-size: 0.7rem; font-weight: 500; }
.pcard-cat::before, .prow-code::before, .product-buy .code::before { content: "// "; color: var(--red); }
.bracket { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); }

/* buttons: chamfered solid actions, square outlines */
.btn { text-transform: uppercase; font-size: 0.84rem; letter-spacing: 0.05em; font-weight: 650; min-height: 50px; padding-inline: 22px; }
.btn--primary, .btn--dark, .header-cta {
  clip-path: polygon(var(--chamfer) 0, 100% 0, 100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%, 0 100%, 0 var(--chamfer));
}
.btn--primary:focus-visible, .btn--dark:focus-visible, .header-cta:focus-visible { clip-path: none; }
.btn--sm { font-size: 0.78rem; }
.btn-add, .btn-ask { font-family: var(--mono); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; }
.link-arrow { text-transform: uppercase; font-size: 0.84rem; letter-spacing: 0.05em; }

/* header */
.site-header { background: rgba(236, 238, 240, 0.95); }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(236, 238, 240, 0.86); } }
.nav-link { text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.06em; font-weight: 600; }
.nav-link[aria-current="page"]::after, .nav-link:hover::after { height: 3px; bottom: 2px; }
.quote-pill { font-family: var(--mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; }

/* frame lines: on wide screens the page reads as a drawing sheet */
@media (min-width: 1200px) {
  .section > .wrap, .numbers > .wrap, .hero > .wrap, .page-head, .cat-toolbar > .wrap { border-inline: 1px solid var(--line); }
  .section--dark > .wrap, .hero--dark > .wrap { border-inline-color: var(--line-dark); }
}

/* sections */
.section--alt { background: var(--paper-2); }
.section--dark { background-color: var(--black); background-image: var(--dots); background-size: 22px 22px; }
.section--dark .h2 .accent { color: var(--red-hot); }

/* dark hero */
.hero--dark { background-color: var(--black); background-image: var(--dots); background-size: 22px 22px; color: var(--on-dark); border-bottom: 1px solid var(--line-dark); }
.hero--dark .lead { color: var(--on-dark-2); }
.hero--dark h1 .accent { color: var(--red-hot); }
.hero--dark .btn:not(.btn--primary) { border-color: var(--on-dark-2); color: var(--on-dark); }
.hero--dark .btn:not(.btn--primary):hover { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }
.hero--dark .hero-facts { border-top-color: var(--on-dark-2); }
.hero--dark .hero-facts li + li { border-left-color: var(--line-dark); border-top-color: var(--line-dark); }
.hero--dark .hero-facts span { color: var(--on-dark-2); }
.hero--dark a:hover { color: #fff; }
.hero--dark .index { background: var(--panel); border-color: var(--line-dark); }
.hero--dark .index-head, .hero--dark .index-foot { border-color: var(--line-dark); }
.hero--dark .index-head .label { color: var(--on-dark-2); }
.hero--dark .index-list a { border-bottom-color: var(--line-dark); }
.hero--dark .index-list a:hover { background: #24272c; color: #fff; }
.hero--dark .index-code { border-color: #4a4e55; color: var(--on-dark); }
.hero--dark .index-name small, .hero--dark .index-count { color: var(--on-dark-2); }
.hero--dark .index-foot:hover { background: var(--red); color: #fff; }
.hero--dark .photo-band img { border: 1px solid var(--line-dark); }
.hero--dark .required { color: #ffd5c7; background: #2a1d19; }

/* by the numbers */
.numbers { background: var(--paper); border-bottom: 1px solid var(--line); }
.numbers-grid { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.numbers-grid li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.numbers-grid li:nth-child(2n) { border-right: 0; }
@media (min-width: 900px) {
  .numbers-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .numbers-grid li, .numbers-grid li:nth-child(2n) { border-bottom: 0; border-right: 1px solid var(--line); }
  .numbers-grid li:last-child { border-right: 0; }
}
.numbers-grid a { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: clamp(22px, 3vw, 40px) clamp(14px, 2vw, 28px); text-decoration: none; color: var(--ink); transition: background-color .15s var(--ease); }
.numbers-grid a:hover { background: var(--white); color: var(--ink); }
.numbers-grid strong { font-size: clamp(2.6rem, 5.6vw, 4.6rem); font-weight: 560; line-height: 0.9; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; font-variation-settings: "wdth" 88; }
.numbers-grid strong small { font-family: var(--mono); font-size: 0.8rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); vertical-align: top; }
.numbers-grid a:hover strong { color: var(--red); }
.numbers-label { font-size: 0.92rem; color: var(--ink-2); max-width: 26ch; line-height: 1.35; }

/* cards, rows, tables */
.pcard a:hover { transform: none; border-color: var(--ink); }
.index, .buy-box, .result-card, .build-figure { border-width: 1px; }
.ptable, .spec-table, .uses, .related, .facts, .channels, .qlist, .guide-list, .faq, .toc ol, .stage-products, .empty, .steps { border-top-width: 1px; }
.prow-name { font-weight: 620; }
.buy-price { font-weight: 640; letter-spacing: -0.03em; font-variation-settings: "wdth" 90; }
.gallery-main { background: #fff; }
.chip { font-family: var(--mono); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.03em; font-weight: 550; }
.search input, .field input, .field select, .field textarea, .brand-select select { border-width: 1px; }
.steps li::before { font-weight: 560; font-size: 2.8rem; letter-spacing: -0.04em; font-variation-settings: "wdth" 88; }
.numbered > li::before { font-family: var(--mono); font-weight: 500; }

/* tile wall and dark panels */
.tile-wall { gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.tile-wall span { font-weight: 500; }
.format-chart, .transcript { background-color: rgba(19, 20, 23, 0.6); }

/* footer: the emblem has black strokes, so it sits on a light plate there */
.site-footer { background-color: var(--black); background-image: var(--dots); background-size: 22px 22px; }
.site-footer .logo-img { background: var(--paper); padding: 5px; height: 50px; }
.site-footer .logo-word .t { color: var(--red-hot); }
