:root {
  --carbon: #111113;
  --steel: #3a3a3d;
  --paper: #fff;
  --white: #fff;
  --oxide: #1d1d1f;
  --oxide-dark: #000;
  --muted: #86868b;
  --rule: #e5e5e7;
  --soft: #f5f5f7;
  --display: system-ui, -apple-system, "Segoe UI", Inter, "Helvetica Neue", Arial, sans-serif;
  --sans: system-ui, -apple-system, "Segoe UI", Inter, "Helvetica Neue", Arial, sans-serif;
  --mono: system-ui, -apple-system, "Segoe UI", Inter, "Helvetica Neue", Arial, sans-serif;
  --header-height: 106px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --surface: #f5f5f7;
  --surface-cool: #f0f0f2;
  --ink-soft: #515154;
  --rule-strong: #d8d8dc;
  --oxide-soft: rgba(255, 255, 255, .58);
  --shadow-technical: 0 1px 3px rgba(0, 0, 0, .05);
  --on-dark: #f5f5f7;
  --on-dark-soft: rgba(245, 245, 247, .62);
  --on-dark-rule: rgba(245, 245, 247, .16);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--carbon);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { color: inherit; font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--carbon); color: var(--paper); }
:focus-visible { outline: 2px solid var(--oxide); outline-offset: 3px; }

.skip-link {
  position: fixed;
  z-index: 999;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  background: var(--paper);
  color: var(--carbon);
  transform: translateY(-150%);
  transition: transform .2s;
}
.skip-link:focus { transform: translateY(0); }
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.container { width: min(100% - 48px, 1344px); margin-inline: auto; }
.section { padding-block: clamp(76px, 9vw, 136px); border-bottom: 1px solid var(--rule); }
.surface-carbon { background: var(--carbon); color: var(--paper); }
.surface-soft { background: color-mix(in srgb, var(--soft) 58%, transparent); }
.rule-top { border-top: 1px solid var(--rule); }
.text-oxide { color: var(--oxide); }
.serif { font-family: var(--display); }
.mono-label, .eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.3;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.mono-label { color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.surface-carbon .eyebrow { color: rgba(242,240,235,.58); }
.display-xl {
  max-width: 1040px;
  font-family: var(--display);
  font-size: clamp(4rem, 9.2vw, 9rem);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .86;
}
.display-lg {
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 5.7rem);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .95;
}
.section-copy { max-width: 700px; color: #383b3e; font-size: 17px; line-height: 1.8; }

/* Header */
.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  border-bottom: 1px solid transparent;
  transition: color .3s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease);
}
.page-inner .site-header,
.site-header.is-scrolled {
  border-color: rgba(214,209,199,.9);
  background: rgba(242,240,235,.94);
  color: var(--carbon);
  backdrop-filter: blur(14px);
}
.home-page .site-header:not(.is-scrolled) { color: var(--paper); }
.utility-strip { height: 28px; border-bottom: 1px solid currentColor; border-color: rgba(128,128,128,.25); }
.utility-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  color: inherit;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .17em;
  text-transform: uppercase;
  opacity: .7;
}
.header-main { display: flex; height: 68px; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; min-width: 220px; align-items: center; gap: 12px; }
.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border: 1px solid currentColor;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}
.brand-name { font-family: var(--display); font-size: 18px; line-height: 1; }
.brand-sub { display: block; margin-top: 5px; font-family: var(--mono); font-size: 8px; letter-spacing: .22em; opacity: .62; }
.desktop-nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); margin-left: auto; }
.nav-link { display: flex; align-items: center; gap: 8px; padding-block: 10px; font-size: 13px; opacity: .82; }
.nav-link span { color: var(--oxide); font-family: var(--mono); font-size: 8px; }
.nav-link::after { content: ""; position: absolute; }
.nav-link:hover, .nav-link.is-active { opacity: 1; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.pdf-link { font-family: var(--mono); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; opacity: .7; }
.pdf-link:hover { opacity: 1; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; }
.menu-toggle span { display: block; width: 24px; height: 1px; margin: 6px auto; background: currentColor; transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { position: fixed; inset: 68px 0 0; overflow-y: auto; background: var(--paper); color: var(--carbon); }
.mobile-nav[hidden] { display: none; }
.mobile-nav-inner { display: flex; flex-direction: column; padding-block: 28px; }
.mobile-nav a { display: grid; grid-template-columns: 38px 1fr; align-items: center; padding: 17px 0; border-bottom: 1px solid var(--rule); font-family: var(--display); font-size: 28px; }
.mobile-nav a span { font-family: var(--mono); font-size: 9px; color: var(--oxide); }

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid currentColor;
  padding: 12px 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1;
  text-transform: uppercase;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s;
}
.button:hover { transform: translateY(-2px); }
.button-primary { border-color: var(--oxide); background: var(--oxide); color: white; }
.button-primary:hover { border-color: var(--oxide-dark); background: var(--oxide-dark); }
.button-dark { border-color: var(--carbon); background: var(--carbon); color: var(--paper); }
.button-outline-light { border-color: rgba(242,240,235,.55); color: var(--paper); }
.button-outline-light:hover { background: var(--paper); color: var(--carbon); }
.header-actions .button { min-height: 38px; padding: 10px 16px; }

/* Home hero */
.home-hero {
  position: relative;
  display: flex;
  min-height: max(760px, 100svh);
  align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid #25282b;
  background: var(--carbon);
  color: var(--paper);
}
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6,7,8,.94) 0%, rgba(6,7,8,.73) 42%, rgba(6,7,8,.2) 78%, rgba(6,7,8,.34) 100%), url("../images/hero-flange.jpg") center/cover no-repeat;
  transform: scale(1.015);
}
.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .16;
  background-image: linear-gradient(to right, rgba(255,255,255,.2) 1px, transparent 1px);
  background-size: calc(100% / 12) 100%;
}
.hero-watermark {
  position: absolute;
  z-index: 1;
  top: 24%;
  left: -2vw;
  color: transparent;
  font-family: var(--display);
  font-size: clamp(6rem, 17vw, 18rem);
  letter-spacing: -.06em;
  line-height: .7;
  text-transform: uppercase;
  -webkit-text-stroke: 1px rgba(255,255,255,.13);
  white-space: nowrap;
  user-select: none;
}
.hero-inner { position: relative; z-index: 2; padding-top: 150px; padding-bottom: 54px; }
.hero-filing { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 16px; border-bottom: 1px solid rgba(242,240,235,.25); color: rgba(242,240,235,.64); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(300px, 4fr); gap: clamp(44px, 7vw, 100px); align-items: end; padding-top: clamp(70px, 11vh, 130px); }
.home-hero .eyebrow { margin-bottom: 26px; color: #d36b58; }
.home-hero h1 { max-width: 900px; font-family: var(--display); font-size: clamp(4.3rem, 9vw, 9rem); font-weight: 400; letter-spacing: -.06em; line-height: .82; }
.home-hero h1 em { color: #d75b42; font-style: normal; }
.hero-intro { max-width: 620px; margin-top: 34px; color: rgba(242,240,235,.78); font-size: 17px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.hero-spec-panel { border: 1px solid rgba(242,240,235,.25); background: rgba(10,12,14,.58); backdrop-filter: blur(9px); }
.hero-spec-top { display: flex; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid rgba(242,240,235,.2); color: rgba(242,240,235,.65); }
.hero-spec-title { padding: 26px 18px; font-family: var(--display); font-size: 30px; line-height: 1.05; }
.hero-specs { display: grid; grid-template-columns: 1fr 1fr; }
.hero-specs div { padding: 14px 16px; border-top: 1px solid rgba(242,240,235,.18); border-right: 1px solid rgba(242,240,235,.18); }
.hero-specs dt { color: rgba(242,240,235,.5); font-family: var(--mono); font-size: 8px; letter-spacing: .18em; text-transform: uppercase; }
.hero-specs dd { margin-top: 6px; font-family: var(--mono); font-size: 12px; }

.stats-strip { border-bottom: 1px solid var(--rule); background: #ebe7df; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { min-height: 150px; padding: 30px clamp(18px, 3vw, 42px); border-right: 1px solid var(--rule); }
.stat:first-child { border-left: 1px solid var(--rule); }
.stat small { display: block; color: var(--muted); font-family: var(--mono); font-size: 9px; letter-spacing: .18em; }
.stat strong { display: block; margin-top: 12px; font-family: var(--display); font-size: 42px; font-weight: 400; line-height: 1; }
.stat span { display: block; margin-top: 8px; color: var(--muted); font-size: 10px; letter-spacing: .15em; text-transform: uppercase; }

.editorial-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; }
.editorial-aside { grid-column: span 4; }
.editorial-main { grid-column: span 8; }
.fact-list { margin-top: 34px; color: var(--muted); font-family: var(--mono); font-size: 10px; line-height: 2.1; letter-spacing: .15em; text-transform: uppercase; }
.editorial-main .section-copy { margin-top: 36px; }
.text-link { display: inline-flex; align-items: center; gap: 14px; margin-top: 34px; padding-bottom: 3px; border-bottom: 1px solid currentColor; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.text-link:hover { color: var(--oxide); }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 54px; padding-bottom: 24px; border-bottom: 1px solid var(--rule); }
.section-heading .eyebrow { margin-bottom: 22px; }
.featured-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border: 1px solid var(--rule); background: var(--rule); }
.featured-product { min-width: 0; padding: 22px; background: var(--paper); transition: background .25s; }
.featured-product:hover { background: var(--soft); }
.product-index { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-family: var(--mono); font-size: 9px; letter-spacing: .17em; text-transform: uppercase; }
.featured-image { aspect-ratio: 1; margin-block: 22px; overflow: hidden; background: var(--carbon); }
.featured-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s var(--ease); }
.featured-product:hover img { transform: scale(1.035); }
.featured-product h3 { margin-top: 8px; font-family: var(--display); font-size: 27px; font-weight: 400; line-height: 1.1; }
.featured-foot { display: flex; justify-content: space-between; margin-top: 24px; padding-top: 15px; border-top: 1px solid var(--rule); color: var(--muted); font-family: var(--mono); font-size: 10px; }
.featured-foot b { color: var(--oxide); font-weight: 400; transition: transform .2s; }
.featured-product:hover .featured-foot b { transform: translateX(4px); }

.logistics { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--rule); }
.logistics-image { min-height: 660px; background: url("../images/warehouse.jpg") center/cover no-repeat; }
.logistics-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(54px, 8vw, 120px); }
.logistics-copy .display-lg { margin-top: 28px; }
.logistics-copy p { max-width: 600px; margin-top: 30px; color: rgba(242,240,235,.76); font-size: 16px; line-height: 1.8; }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 530px; margin-top: 46px; }
.mini-stat { padding-top: 12px; border-top: 1px solid rgba(242,240,235,.2); }
.mini-stat strong { display: block; font-family: var(--display); font-size: 28px; font-weight: 400; }
.mini-stat span { color: rgba(242,240,235,.55); font-family: var(--mono); font-size: 8px; letter-spacing: .17em; text-transform: uppercase; }
.cta-section .section-copy { margin-top: 30px; }
.cta-section .button { margin-top: 36px; }

/* Page headers */
.page-hero { position: relative; overflow: hidden; padding: calc(var(--header-height) + 76px) 0 72px; border-bottom: 1px solid var(--rule); }
.page-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .035; background-image: linear-gradient(to right, var(--carbon) 1px, transparent 1px); background-size: calc(100% / 12) 100%; }
.doc-line { position: relative; display: flex; justify-content: space-between; gap: 20px; margin-bottom: 54px; padding-bottom: 15px; border-bottom: 1px solid var(--rule); }
.page-title-grid { position: relative; display: grid; grid-template-columns: 2fr 1fr; align-items: end; gap: 60px; }
.page-title-grid .eyebrow { margin-bottom: 24px; }
.page-title-grid > p,
.page-title-grid > div > p { max-width: 440px; color: #44474a; font-size: 15px; line-height: 1.8; }

/* Company */
.story-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(50px, 8vw, 118px); align-items: start; }
.story-figure img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border: 1px solid var(--rule); }
.figure-caption { display: flex; justify-content: space-between; gap: 18px; margin-top: 12px; color: var(--muted); font-family: var(--mono); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }
.story-copy .eyebrow { margin-bottom: 32px; }
.story-copy p { margin-bottom: 25px; color: #3d4043; font-size: 17px; line-height: 1.85; }
.story-copy strong { color: var(--carbon); font-weight: 650; }
.story-copy code { font-family: var(--mono); font-size: 13px; }
.timeline { margin-top: 44px; border-top: 1px solid var(--rule); }
.timeline-row { display: grid; grid-template-columns: 2fr 3fr 7fr; gap: 30px; padding: 30px 0; border-bottom: 1px solid var(--rule); }
.timeline-year { font-family: var(--display); font-size: 40px; line-height: 1; }
.timeline-title { padding-top: 10px; color: var(--muted); font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.timeline-row p { color: #3d4043; line-height: 1.75; }
.cert-list { margin-top: 44px; border-top: 1px solid var(--rule); }
.cert-item { display: grid; grid-template-columns: 1fr 3fr 5fr 3fr; gap: 28px; padding: 36px 0; border-bottom: 1px solid var(--rule); }
.cert-code { color: var(--muted); font-family: var(--mono); font-size: 10px; letter-spacing: .18em; }
.cert-ref { color: var(--oxide); font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.cert-item h3 { margin-top: 8px; font-family: var(--display); font-size: 29px; font-weight: 400; line-height: 1.1; }
.cert-item > p { color: #3d4043; line-height: 1.75; }
.cert-meta { color: var(--muted); font-family: var(--mono); font-size: 10px; line-height: 2; letter-spacing: .08em; text-transform: uppercase; }
.traceability { padding-block: 88px; }
.trace-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.trace-grid .display-lg { margin-top: 25px; }
.trace-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #2b2e31; }
.trace-stat { padding: 27px; background: var(--carbon); }
.trace-stat strong { font-family: var(--display); font-size: 36px; font-weight: 400; }
.trace-stat span { display: block; margin-top: 7px; color: rgba(242,240,235,.55); font-family: var(--mono); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }

/* Catalogue */
.catalog-toolbar { position: sticky; z-index: 60; top: var(--header-height); border-bottom: 1px solid var(--rule); background: rgba(242,240,235,.96); backdrop-filter: blur(12px); }
.toolbar-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 15px 0 11px; }
.search-field { position: relative; flex: 1 1 300px; }
.search-field::before { content: "⌕"; position: absolute; top: 50%; left: 13px; color: var(--muted); font-family: var(--mono); transform: translateY(-52%); }
.search-field input { width: 100%; height: 43px; border: 1px solid var(--rule); border-radius: 0; padding: 0 15px 0 36px; background: white; font-family: var(--mono); font-size: 11px; outline: 0; }
.search-field input:focus { border-color: var(--oxide); }
.filter-group { display: flex; flex-wrap: wrap; gap: 5px; }
.filter-button, .view-button {
  height: 38px;
  border: 1px solid var(--rule);
  padding: 0 12px;
  background: transparent;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.filter-button:hover, .view-button:hover { border-color: var(--carbon); color: var(--carbon); }
.filter-button.is-active, .view-button.is-active { border-color: var(--carbon); background: var(--carbon); color: var(--paper); }
.norm-select { height: 38px; min-width: 190px; border: 1px solid var(--rule); border-radius: 0; padding: 0 33px 0 12px; background-color: white; font-family: var(--mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; outline: 0; }
.view-switch { display: flex; }
.view-switch .view-button + .view-button { margin-left: -1px; }
.result-line { display: flex; min-height: 34px; align-items: center; justify-content: space-between; padding-bottom: 10px; color: var(--muted); font-family: var(--mono); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }
.reset-filters { border: 0; padding: 4px; background: transparent; color: var(--oxide); font-family: inherit; font-size: inherit; letter-spacing: inherit; text-transform: inherit; }
.reset-filters[hidden] { display: none; }
.catalog-section { min-height: 600px; padding-block: 42px 90px; }
.product-results { border: 1px solid var(--rule); background: white; }
.empty-results { padding: 110px 20px; color: var(--muted); font-family: var(--mono); font-size: 10px; letter-spacing: .15em; text-align: center; text-transform: uppercase; }
.product-item { scroll-margin-top: calc(var(--header-height) + 118px); border-bottom: 1px solid var(--rule); background: white; }
.product-item:last-child { border-bottom: 0; }
.product-item.is-open { box-shadow: inset 3px 0 var(--oxide); }
.product-summary { display: grid; grid-template-columns: 56px 64px minmax(220px, 2fr) minmax(145px, 1.05fr) minmax(125px, .85fr) minmax(125px, .85fr) 84px; gap: 16px; align-items: center; min-height: 96px; padding: 14px 18px; transition: background .2s; }
.product-summary:hover { background: #eeebe4; }
.product-summary .product-index { display: block; font-size: 8px; }
.product-thumb { width: 58px; height: 58px; object-fit: cover; background: var(--carbon); }
.product-name small { color: var(--muted); font-family: var(--mono); font-size: 8px; letter-spacing: .14em; text-transform: uppercase; }
.product-name h2 { margin-top: 3px; font-family: var(--display); font-size: 22px; font-weight: 400; line-height: 1.1; }
.product-name p { display: none; }
.product-norms { display: flex; flex-wrap: wrap; gap: 4px; }
.tech-tag { display: inline-flex; align-items: center; min-height: 22px; border: 1px solid currentColor; border-radius: 2px; padding: 2px 7px; color: #484b4e; font-family: var(--mono); font-size: 8px; letter-spacing: .07em; line-height: 1; text-transform: uppercase; }
.product-meta { font-family: var(--mono); font-size: 10px; line-height: 1.45; }
.product-meta span { display: block; margin-bottom: 4px; color: var(--muted); font-size: 8px; letter-spacing: .12em; text-transform: uppercase; }
.product-toggle { display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 0; padding: 12px 0; background: transparent; color: var(--oxide); font-family: var(--mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.product-toggle b { display: grid; width: 26px; height: 26px; place-items: center; border: 1px solid var(--oxide); font-size: 18px; font-weight: 400; transition: transform .25s; }
.product-toggle[aria-expanded="true"] b { transform: rotate(45deg); }
.product-details { border-top: 1px solid var(--rule); background: var(--paper); }
.product-details[hidden] { display: none; }
.product-detail-stage { display: grid; grid-template-columns: 5fr 7fr; border-bottom: 1px solid var(--rule); }
.product-detail-image { position: relative; min-height: 560px; overflow: hidden; background: var(--carbon); }
.product-detail-image img { width: 100%; height: 100%; object-fit: cover; }
.product-detail-image::after { content: "Foto prodotto da sostituire"; position: absolute; bottom: 18px; left: 18px; color: rgba(255,255,255,.58); font-family: var(--mono); font-size: 8px; letter-spacing: .14em; text-transform: uppercase; }
.product-detail-image figcaption { position: absolute; top: 16px; right: 16px; left: 16px; display: flex; justify-content: space-between; color: rgba(255,255,255,.78); font-family: var(--mono); font-size: 9px; letter-spacing: .14em; }
.product-detail-copy { padding: clamp(42px, 6vw, 82px); }
.product-detail-copy h3 { margin-top: 24px; font-family: var(--display); font-size: clamp(44px, 5vw, 72px); font-weight: 400; letter-spacing: -.04em; line-height: .95; }
.product-detail-copy > p { max-width: 600px; margin-top: 26px; color: #3d4043; line-height: 1.75; }
.badge-row { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 24px; }
.key-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 34px; border: 1px solid var(--rule); background: var(--rule); }
.key-specs div { padding: 15px; background: var(--paper); }
.key-specs dt { color: var(--muted); font-family: var(--mono); font-size: 8px; letter-spacing: .15em; text-transform: uppercase; }
.key-specs dd { margin-top: 7px; font-family: var(--mono); font-size: 11px; }
.product-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.product-actions .button { margin: 0; }
.product-detail-bottom { display: grid; grid-template-columns: 4fr 8fr; gap: 70px; padding: 60px; border-bottom: 1px solid var(--rule); }
.product-detail-bottom > div { min-width: 0; }
.highlight-list { margin-top: 24px; border-top: 1px solid var(--rule); }
.highlight-list li { display: grid; grid-template-columns: 40px 1fr; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--rule); font-size: 14px; }
.highlight-list li span { color: var(--muted); font-family: var(--mono); font-size: 9px; }
.table-wrap { max-width: 100%; margin-top: 24px; overflow-x: auto; border: 1px solid var(--rule); background: white; }
.spec-table { width: 100%; min-width: 500px; border-collapse: collapse; font-family: var(--mono); font-size: 10px; }
.spec-table th { padding: 11px 14px; border-bottom: 1px solid var(--rule); background: var(--soft); color: var(--muted); font-size: 8px; font-weight: 400; letter-spacing: .13em; text-align: left; text-transform: uppercase; }
.spec-table td { padding: 12px 14px; border-bottom: 1px solid var(--rule); }
.spec-table tr:last-child td { border-bottom: 0; }
.table-note { margin-top: 12px; color: var(--muted); font-family: var(--mono); font-size: 8px; letter-spacing: .11em; text-transform: uppercase; }
.product-docs { padding: 46px 60px 60px; }
.document-row { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 17px 0; border-bottom: 1px solid var(--rule); font-size: 15px; }
.document-row:first-of-type { margin-top: 20px; border-top: 1px solid var(--rule); }
.document-row small { display: block; margin-top: 3px; color: var(--muted); font-family: var(--mono); font-size: 8px; letter-spacing: .12em; text-transform: uppercase; }
.document-row button { border: 0; background: transparent; font-family: var(--mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.document-row button:hover { color: var(--oxide); }
.product-quote { display: flex; align-items: center; justify-content: space-between; gap: 50px; margin: 0 60px 60px; padding: 38px 42px; }
.product-quote h4 { margin-top: 13px; font-family: var(--display); font-size: clamp(30px, 3vw, 44px); font-weight: 400; line-height: 1.05; }
.product-quote h4 span { color: #d75b42; }

/* Grid catalogue view */
.product-results.view-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border: 1px solid var(--rule); background: var(--rule); }
.view-grid .product-item { min-width: 0; border: 0; }
.view-grid .product-item.is-open { grid-column: 1 / -1; }
.view-grid .product-summary { display: flex; min-height: 100%; flex-direction: column; align-items: stretch; padding: 22px; }
.view-grid .product-summary .product-index { order: 0; display: flex; }
.view-grid .product-thumb { order: 1; width: 100%; height: auto; margin-top: 17px; aspect-ratio: 4/3; }
.view-grid .product-name { order: 2; margin-top: 18px; }
.view-grid .product-name h2 { font-size: 28px; }
.view-grid .product-name p { display: block; min-height: 66px; margin-top: 10px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.view-grid .product-norms { order: 3; margin-top: 16px; }
.view-grid .product-meta { order: 4; display: inline-block; margin-top: 16px; }
.view-grid .product-toggle { order: 5; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--rule); }
.view-grid .product-details { grid-column: 1 / -1; }
.view-grid .product-item.is-open .product-summary { display: none; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(50px, 8vw, 110px); align-items: start; }
.contact-list { display: grid; gap: 35px; }
.contact-item small { display: block; margin-bottom: 7px; color: var(--muted); font-family: var(--mono); font-size: 9px; letter-spacing: .17em; text-transform: uppercase; }
.contact-item p, .contact-item a { font-family: var(--display); font-size: 23px; line-height: 1.35; }
.contact-item a:hover { color: var(--oxide); }
.quote-form { border: 1px solid var(--rule); padding: clamp(26px, 4vw, 46px); background: white; }
.form-head { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 25px; padding-bottom: 16px; border-bottom: 1px solid var(--rule); color: var(--muted); font-family: var(--mono); font-size: 8px; letter-spacing: .16em; text-transform: uppercase; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: block; margin-bottom: 18px; }
.field span { display: block; margin-bottom: 7px; color: var(--muted); font-family: var(--mono); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }
.field input, .field textarea { width: 100%; border: 1px solid var(--rule); border-radius: 0; padding: 13px 14px; background: var(--paper); outline: 0; }
.field textarea { min-height: 164px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--oxide); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; padding-top: 5px; }
.form-required { color: var(--muted); font-family: var(--mono); font-size: 8px; letter-spacing: .16em; text-transform: uppercase; }
.form-status { flex-basis: 100%; margin: 0; padding: 12px; border-left: 3px solid var(--oxide); background: var(--paper); font-size: 13px; }

/* Footer */
.site-footer { border-top: 1px solid #292c2f; background: var(--carbon); color: var(--paper); }
.footer-tech { border-bottom: 1px solid #292c2f; }
.footer-tech .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 52px; color: rgba(242,240,235,.55); font-family: var(--mono); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }
.footer-grid { display: grid; grid-template-columns: 5fr 3fr 4fr; gap: 60px; padding-block: 76px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand .brand-mark { width: 42px; height: 42px; flex-basis: 42px; }
.footer-brand .brand-name { font-size: 24px; }
.footer-copy { max-width: 520px; margin-top: 28px; color: rgba(242,240,235,.72); font-size: 14px; line-height: 1.8; }
.footer-copy code { font-family: var(--mono); font-size: 11px; }
.footer-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 520px; margin-top: 30px; }
.footer-heading { margin-bottom: 25px; color: rgba(242,240,235,.48); font-family: var(--mono); font-size: 9px; letter-spacing: .17em; text-transform: uppercase; }
.footer-nav li { margin-bottom: 8px; }
.footer-nav a { font-family: var(--display); font-size: 28px; }
.footer-nav a:hover { color: #d75b42; }
.footer-contact { display: grid; gap: 21px; font-size: 14px; }
.footer-contact small { display: block; margin-bottom: 4px; color: rgba(242,240,235,.48); font-family: var(--mono); font-size: 8px; letter-spacing: .15em; text-transform: uppercase; }
.footer-contact a:hover { color: #d75b42; }
.footer-bottom { border-top: 1px solid #292c2f; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 18px; padding-block: 23px; color: rgba(242,240,235,.48); font-family: var(--mono); font-size: 8px; letter-spacing: .14em; text-transform: uppercase; }

@media (max-width: 1100px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: block; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; }
  .featured-products { grid-template-columns: repeat(2, 1fr); }
  .product-summary { grid-template-columns: 48px 56px minmax(200px, 2fr) minmax(125px, 1fr) minmax(110px, .8fr) 80px; }
  .product-summary > .product-meta:nth-of-type(2) { display: none; }
  .product-results.view-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  :root { --header-height: 68px; }
  .container { width: min(100% - 32px, 1344px); }
  .utility-strip { display: none; }
  .header-main { height: 68px; }
  .header-actions .pdf-link, .header-actions .button { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-spec-panel { max-width: 420px; }
  .home-hero::before { background: linear-gradient(90deg, rgba(6,7,8,.9), rgba(6,7,8,.45)), url("../images/hero-flange.jpg") 62% center/cover no-repeat; }
  .home-hero h1 { font-size: clamp(4rem, 14vw, 7rem); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(odd) { border-left: 1px solid var(--rule); }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .editorial-aside, .editorial-main { grid-column: 1 / -1; }
  .logistics { grid-template-columns: 1fr; }
  .logistics-image { min-height: 480px; }
  .page-hero { padding-top: calc(var(--header-height) + 58px); }
  .page-title-grid { grid-template-columns: 1fr; gap: 34px; }
  .story-grid, .trace-grid, .contact-grid { grid-template-columns: 1fr; }
  .story-figure { max-width: 620px; }
  .cert-item { grid-template-columns: 50px 1fr; }
  .cert-item > p, .cert-meta { grid-column: 2; }
  .catalog-toolbar { top: var(--header-height); }
  .product-summary { grid-template-columns: 52px minmax(180px, 1fr) 74px; gap: 14px; }
  .product-summary .product-index, .product-summary .product-norms, .product-summary .product-meta { display: none; }
  .product-detail-stage, .product-detail-bottom { grid-template-columns: 1fr; }
  .product-detail-image { min-height: 440px; }
  .product-detail-bottom { gap: 46px; padding: 44px 30px; }
  .product-docs { padding: 40px 30px; }
  .product-quote { margin: 0 30px 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 580px) {
  .section { padding-block: 72px; }
  .brand { min-width: 0; }
  .brand-name { font-size: 16px; }
  .brand-sub { font-size: 7px; }
  .home-hero { min-height: 820px; }
  .hero-inner { padding-top: 110px; padding-bottom: 38px; }
  .hero-filing > :last-child { display: none; }
  .hero-grid { gap: 48px; padding-top: 66px; }
  .home-hero h1 { font-size: clamp(3.8rem, 18vw, 5.8rem); }
  .hero-watermark { top: 21%; }
  .hero-intro { font-size: 15px; }
  .hero-actions .button { width: 100%; }
  .hero-spec-panel { display: none; }
  .stat { min-height: 128px; padding: 23px 16px; }
  .stat strong { font-size: 32px; }
  .display-xl { font-size: clamp(3.4rem, 17vw, 5.4rem); }
  .display-lg { font-size: clamp(2.8rem, 13vw, 4.4rem); }
  .section-heading { display: block; }
  .section-heading .button { margin-top: 25px; }
  .featured-products { grid-template-columns: 1fr; }
  .logistics-image { min-height: 360px; }
  .logistics-copy { padding: 58px 24px; }
  .mini-stats { gap: 12px; }
  .doc-line > :last-child { display: none; }
  .timeline-row { grid-template-columns: 1fr 1fr; }
  .timeline-row p { grid-column: 1 / -1; }
  .cert-item { grid-template-columns: 36px 1fr; gap: 18px; }
  .trace-stats { grid-template-columns: 1fr; }
  .toolbar-row { align-items: stretch; }
  .search-field, .filter-group, .norm-select { flex-basis: 100%; }
  .norm-select { width: 100%; }
  .view-switch { margin-left: auto; }
  .catalog-section { padding-top: 24px; }
  .product-summary { grid-template-columns: 52px minmax(0, 1fr) 32px; padding: 13px 12px; }
  .product-name h2 { font-size: 20px; }
  .product-toggle span { display: none; }
  .product-toggle b { width: 30px; height: 30px; }
  .product-results.view-grid { grid-template-columns: 1fr; }
  .product-detail-image { min-height: 340px; }
  .product-detail-copy { padding: 40px 24px; }
  .key-specs { grid-template-columns: 1fr; }
  .product-detail-bottom, .product-docs { padding-inline: 24px; }
  .product-quote { align-items: stretch; flex-direction: column; margin: 0 24px 34px; padding: 30px 24px; }
  .document-row { align-items: flex-end; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .form-head { display: block; }
  .form-head span:last-child { display: block; margin-top: 6px; }
  .form-foot .button { width: 100%; }
  .footer-tech .container, .footer-bottom .container { align-items: flex-start; flex-direction: column; padding-block: 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 44px; padding-block: 58px; }
  .footer-grid > :first-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ================================================================
   PREMIUM INDUSTRIAL ENGINEERING : VISUAL DIRECTION 2026
   Pure presentation layer: no structural or behavioural changes.
   ================================================================ */

body {
  background:
    linear-gradient(90deg, rgba(16, 18, 20, .018) 1px, transparent 1px) 0 0 / calc(100% / 12) 100%,
    var(--paper);
  color: var(--carbon);
  font-size: 15px;
  letter-spacing: -.008em;
  animation: rf-page-in .5s var(--ease) both;
}

h1, h2, h3, h4,
.display-xl, .display-lg,
.brand-name, .timeline-year,
.footer-nav a, .contact-item p, .contact-item a {
  font-family: var(--display);
  font-stretch: condensed;
  font-variation-settings: "wdth" 78;
}

.container { width: min(100% - 64px, 1480px); }
.section { padding-block: clamp(96px, 9.5vw, 156px); }
.surface-soft { background: rgba(231, 227, 218, .72); }
.section-copy { color: var(--ink-soft); font-size: clamp(16px, 1.2vw, 18px); line-height: 1.78; }

.display-xl {
  font-size: clamp(4.8rem, 9.4vw, 9.6rem);
  font-weight: 520;
  letter-spacing: -.055em;
  line-height: .8;
}

.display-lg {
  font-size: clamp(3.5rem, 6vw, 6.3rem);
  font-weight: 520;
  letter-spacing: -.045em;
  line-height: .87;
}

.mono-label, .eyebrow {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .23em;
}

.eyebrow::before { width: 34px; background: var(--oxide); }
.text-link { position: relative; border: 0; padding: 0 0 7px; }
.text-link::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 1px; background: currentColor; transform-origin: left; transition: transform .25s var(--ease); }
.text-link:hover::after { transform: scaleX(.42); }

/* Global header, instrument-like, precise and unobtrusive */
.site-header {
  border-bottom-color: rgba(242, 240, 235, .14);
  background: linear-gradient(180deg, rgba(10, 12, 14, .5), transparent);
}

.page-inner .site-header,
.site-header.is-scrolled {
  border-color: rgba(185, 180, 170, .78);
  background: rgba(242, 240, 235, .965);
  box-shadow: 0 8px 30px rgba(16, 18, 20, .035);
}

.utility-strip { height: 30px; }
.utility-inner { font-size: 8px; letter-spacing: .22em; }
.header-main { height: 76px; }
.brand { min-width: 238px; gap: 14px; }
.brand-mark { width: 38px; height: 38px; flex-basis: 38px; border-color: currentColor; font-size: 14px; }
.brand-name { font-size: 21px; font-weight: 590; letter-spacing: -.025em; text-transform: uppercase; }
.brand-sub { margin-top: 6px; font-size: 7px; letter-spacing: .27em; }
.desktop-nav { gap: clamp(22px, 2.5vw, 42px); }
.nav-link { position: relative; gap: 9px; font-size: 12px; font-weight: 540; letter-spacing: .01em; }
.nav-link span { font-size: 7px; }
.nav-link::after { content: ""; position: absolute; right: 0; bottom: 2px; left: 17px; height: 1px; background: var(--oxide); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.header-actions { gap: 18px; }
.header-actions .button { min-height: 42px; padding-inline: 20px; }

.button {
  position: relative;
  min-height: 48px;
  overflow: hidden;
  border-radius: 1px;
  padding: 13px 22px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .18em;
}
.button::before { content: ""; position: absolute; inset: 0; background: currentColor; opacity: .08; transform: translateX(-102%); transition: transform .32s var(--ease); }
.button:hover::before { transform: translateX(0); }
.button:hover { transform: translateY(-1px); }
.button-primary { box-shadow: 0 8px 24px rgba(182, 58, 43, .2); }

/* Hero, object-first composition inspired by premium industrial renders */
.home-hero {
  min-height: max(820px, 100svh);
  isolation: isolate;
  background: #080a0c;
}

.home-hero::before {
  background:
    linear-gradient(90deg, rgba(5, 7, 8, .94) 0%, rgba(5, 7, 8, .76) 35%, rgba(5, 7, 8, .18) 67%, rgba(5, 7, 8, .5) 100%),
    linear-gradient(180deg, rgba(5, 7, 8, .04) 55%, rgba(5, 7, 8, .82) 100%),
    url("../images/hero-flange.jpg") 67% 50% / cover no-repeat;
  filter: contrast(1.08) saturate(.72);
}

.home-hero::after {
  opacity: .22;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .19) 1px, transparent 1px),
    linear-gradient(to bottom, transparent calc(100% - 1px), rgba(255, 255, 255, .13) 1px);
  background-size: calc(100% / 12) 100%, 100% 25%;
  mix-blend-mode: soft-light;
}

.hero-watermark {
  top: 25%;
  left: -.5vw;
  font-family: var(--display);
  font-size: clamp(8rem, 18vw, 20rem);
  font-weight: 560;
  letter-spacing: -.065em;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .115);
}

.hero-inner { padding-top: 164px; padding-bottom: 48px; }
.hero-filing { border-color: rgba(242, 240, 235, .22); }
.hero-grid { grid-template-columns: minmax(0, 9fr) minmax(280px, 3fr); gap: clamp(48px, 7vw, 110px); padding-top: clamp(76px, 12vh, 142px); }
.home-hero .eyebrow { margin-bottom: 24px; color: var(--oxide-soft); }
.home-hero h1 {
  max-width: 940px;
  font-size: clamp(5rem, 9.6vw, 10rem);
  font-weight: 520;
  letter-spacing: -.058em;
  line-height: .77;
  text-wrap: balance;
}
.home-hero h1 em { color: var(--oxide-soft); }
.hero-intro { max-width: 650px; margin-top: 38px; color: rgba(242, 240, 235, .72); font-size: 16px; line-height: 1.75; }
.hero-actions { margin-top: 40px; }
.hero-spec-panel {
  align-self: end;
  border-color: rgba(242, 240, 235, .28);
  background: rgba(10, 12, 14, .76);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .26);
}
.hero-spec-top { padding: 14px 17px; }
.hero-spec-title { padding: 27px 18px 31px; font-size: 35px; font-weight: 520; letter-spacing: -.025em; text-transform: uppercase; }
.hero-specs div { min-height: 64px; }

/* Data strip */
.stats-strip { background: rgba(242, 240, 235, .96); }
.stat { min-height: 162px; padding-block: 32px; transition: background-color .25s var(--ease); }
.stat:hover { background: white; }
.stat strong { font-size: 50px; font-weight: 550; letter-spacing: -.04em; }
.stat span { max-width: 145px; line-height: 1.45; }

/* Editorial sections */
.editorial-aside { grid-column: span 3; }
.editorial-main { grid-column: span 9; }
.editorial-main .display-lg { max-width: 1120px; }
.fact-list { padding-left: 18px; border-left: 1px solid var(--rule-strong); }
.section-heading { margin-bottom: 46px; padding-bottom: 28px; }
.section-heading .display-lg { margin-top: 2px; }

/* Products as technical plates, not marketing cards */
.featured-products {
  border-color: var(--rule-strong);
  background: var(--rule-strong);
  box-shadow: var(--shadow-technical);
}
.featured-product { padding: 0; background: #f7f6f2; }
.featured-product > .product-index { min-height: 49px; padding: 16px 18px 13px; border-bottom: 1px solid var(--rule); }
.featured-image { margin: 0; aspect-ratio: 4 / 4.6; background: #0b0d0f; }
.featured-image img { filter: saturate(.74) contrast(1.06); }
.featured-product > .mono-label,
.featured-product > h3,
.featured-product > .featured-foot { margin-right: 18px; margin-left: 18px; }
.featured-product > .mono-label { display: block; margin-top: 20px; }
.featured-product h3 { font-size: 28px; font-weight: 540; letter-spacing: -.025em; text-transform: uppercase; }
.featured-foot { margin-top: 19px; padding: 15px 0 18px; }
.featured-product:hover { background: white; }
.featured-product:hover img { transform: scale(1.025); filter: saturate(1) contrast(1.02); }

.logistics { min-height: 760px; }
.logistics-image { min-height: 760px; filter: saturate(.68) contrast(1.08); }
.logistics-copy { position: relative; overflow: hidden; padding: clamp(68px, 8vw, 136px); }
.logistics-copy::after { content: "RF / LOGISTICS"; position: absolute; right: -18px; bottom: -15px; color: transparent; font-family: var(--display); font-size: clamp(4rem, 8vw, 9rem); font-weight: 600; letter-spacing: -.05em; -webkit-text-stroke: 1px rgba(242, 240, 235, .08); white-space: nowrap; }
.logistics-copy > * { position: relative; z-index: 1; }
.mini-stat strong { font-size: 31px; font-weight: 550; }

/* Inner page heroes */
.page-hero {
  display: flex;
  min-height: clamp(620px, 72vh, 780px);
  align-items: flex-end;
  padding: calc(var(--header-height) + 86px) 0 86px;
  background:
    radial-gradient(circle at 82% 46%, rgba(52, 56, 60, .09), transparent 31%),
    linear-gradient(180deg, #f7f5f0, var(--paper));
}
.page-hero::before { opacity: .065; background-size: calc(100% / 12) 100%; }
.doc-line { margin-bottom: clamp(58px, 8vh, 92px); border-color: var(--rule-strong); }
.page-title-grid { grid-template-columns: minmax(0, 8fr) minmax(280px, 4fr); gap: clamp(50px, 8vw, 126px); }
.page-title-grid .display-xl { max-width: 1080px; text-transform: uppercase; }
.page-title-grid > p, .page-title-grid > div > p { padding-top: 20px; border-top: 1px solid var(--rule-strong); color: var(--ink-soft); line-height: 1.75; }

/* Company and certification */
.story-grid { grid-template-columns: 5.2fr 6.8fr; }
.story-figure img { filter: saturate(.6) contrast(1.08); box-shadow: var(--shadow-technical); }
.story-copy { padding-top: 18px; }
.story-copy p { max-width: 760px; color: var(--ink-soft); }
.timeline { border-color: var(--rule-strong); }
.timeline-row { min-height: 132px; align-items: start; padding: 36px 0; transition: background-color .25s var(--ease), padding .25s var(--ease); }
.timeline-row:hover { padding-right: 18px; padding-left: 18px; background: rgba(255, 255, 255, .58); }
.timeline-year { font-size: 52px; font-weight: 550; letter-spacing: -.035em; }
.cert-list { border-color: var(--rule-strong); }
.cert-item { padding: 42px 0; transition: background-color .25s var(--ease), padding .25s var(--ease); }
.cert-item:hover { padding-right: 16px; padding-left: 16px; background: rgba(255, 255, 255, .64); }
.cert-item h3 { font-size: 31px; font-weight: 540; letter-spacing: -.02em; text-transform: uppercase; }
.traceability { position: relative; overflow: hidden; padding-block: 110px; }
.traceability::before { content: "QUALITY / 3.1"; position: absolute; right: -20px; bottom: -42px; color: transparent; font-family: var(--display); font-size: clamp(6rem, 13vw, 13rem); font-weight: 600; -webkit-text-stroke: 1px rgba(242, 240, 235, .07); white-space: nowrap; }
.trace-grid { position: relative; z-index: 1; }
.trace-stat { min-height: 126px; padding: 30px; }
.trace-stat strong { font-size: 44px; font-weight: 550; }

/* Catalogue toolbar and technical product records */
.catalog-toolbar { border-color: var(--rule-strong); background: rgba(242, 240, 235, .975); box-shadow: 0 12px 34px rgba(16, 18, 20, .045); }
.toolbar-row { gap: 8px; padding-top: 14px; }
.search-field input, .norm-select { background: rgba(255, 255, 255, .9); }
.search-field input { height: 46px; padding-left: 40px; font-family: var(--sans); font-size: 12px; }
.filter-button, .view-button, .norm-select { height: 42px; font-size: 8px; letter-spacing: .16em; }
.filter-button.is-active, .view-button.is-active { border-color: var(--oxide); background: var(--oxide); color: white; }
.result-line { min-height: 38px; }
.catalog-section { padding-block: 48px 116px; }
.product-results { border-color: var(--rule-strong); box-shadow: 0 24px 70px rgba(16, 18, 20, .07); }
.product-item { border-color: var(--rule-strong); }
.product-item.is-open { box-shadow: inset 4px 0 var(--oxide); }
.product-summary { grid-template-columns: 58px 76px minmax(220px, 2fr) minmax(145px, 1.05fr) minmax(125px, .85fr) minmax(125px, .85fr) 88px; min-height: 112px; padding: 17px 20px; }
.product-summary:hover { background: #edeae3; }
.product-thumb { width: 70px; height: 70px; filter: saturate(.7) contrast(1.08); }
.product-name h2 { font-size: 24px; font-weight: 560; letter-spacing: -.02em; text-transform: uppercase; }
.tech-tag { min-height: 24px; border-color: var(--rule-strong); background: rgba(242, 240, 235, .55); font-size: 8px; }
.product-toggle b { width: 29px; height: 29px; background: transparent; }
.product-toggle:hover b { background: var(--oxide); color: white; }
.product-details { background: #eeece6; }
.product-detail-stage { grid-template-columns: minmax(400px, 5.3fr) minmax(0, 6.7fr); }
.product-detail-image { min-height: 650px; background: radial-gradient(circle at 50% 46%, #292d30 0, #0c0e10 53%, #050607 100%); }
.product-detail-image img { object-fit: contain; filter: saturate(.72) contrast(1.08); }
.product-detail-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(54px, 7vw, 108px); }
.product-detail-copy h3 { font-size: clamp(54px, 5.8vw, 86px); font-weight: 560; letter-spacing: -.045em; text-transform: uppercase; }
.key-specs { border-color: var(--rule-strong); background: var(--rule-strong); }
.key-specs div { min-height: 74px; background: #eeece6; }
.product-detail-bottom { padding: 72px; }
.highlight-list { border-color: var(--rule-strong); }
.highlight-list li { padding: 19px 0; }
.table-wrap { border-color: var(--rule-strong); }
.spec-table { font-size: 11px; font-variant-numeric: tabular-nums; }
.spec-table th { height: 44px; border-color: #424649; background: var(--steel); color: var(--paper); letter-spacing: .16em; }
.spec-table td { height: 46px; border-color: var(--rule); }
.spec-table tbody tr { transition: background-color .18s var(--ease); }
.spec-table tbody tr:hover { background: #ebe7de; }
.product-docs { padding: 54px 72px 68px; }
.document-row { min-height: 68px; }
.product-quote { margin: 0 72px 72px; padding: 44px 48px; }
.product-quote h4 { font-size: clamp(34px, 3.5vw, 50px); font-weight: 540; letter-spacing: -.025em; text-transform: uppercase; }

.product-results.view-grid { border-color: var(--rule-strong); background: var(--rule-strong); }
.view-grid .product-summary { padding: 0; }
.view-grid .product-summary .product-index { min-height: 46px; padding: 15px 18px; }
.view-grid .product-thumb { margin: 0; aspect-ratio: 4 / 3.8; filter: saturate(.72) contrast(1.06); }
.view-grid .product-name, .view-grid .product-norms, .view-grid .product-meta, .view-grid .product-toggle { margin-right: 20px; margin-left: 20px; }
.view-grid .product-name { margin-top: 22px; }
.view-grid .product-name h2 { font-size: 29px; }
.view-grid .product-name p { color: var(--ink-soft); }
.view-grid .product-toggle { margin-bottom: 18px; }

/* Contact, procurement form as a formal technical document */
.contact-list { padding-top: 12px; }
.contact-item { padding-bottom: 28px; border-bottom: 1px solid var(--rule); }
.contact-item p, .contact-item a { font-size: 27px; font-weight: 520; letter-spacing: -.02em; text-transform: uppercase; }
.quote-form { position: relative; border-color: var(--rule-strong); padding: clamp(32px, 4.5vw, 58px); box-shadow: var(--shadow-technical); }
.quote-form::before { content: ""; position: absolute; top: -1px; left: -1px; width: 96px; height: 3px; background: var(--oxide); }
.form-head { margin-bottom: 34px; padding-bottom: 19px; border-color: var(--rule-strong); }
.field { margin-bottom: 22px; }
.field input, .field textarea { border-color: var(--rule-strong); background: #f4f2ed; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.field input { min-height: 49px; }
.field input:focus, .field textarea:focus { border-color: var(--oxide); background: white; box-shadow: inset 3px 0 var(--oxide); }

/* Footer, dark technical end plate */
.site-footer { position: relative; overflow: hidden; background: linear-gradient(135deg, #0b0d0f, var(--carbon) 54%, #171a1c); }
.site-footer::after { content: "ROMFLANGE"; position: absolute; right: -25px; bottom: 20px; color: transparent; font-family: var(--display); font-size: clamp(6rem, 14vw, 14rem); font-weight: 600; letter-spacing: -.05em; -webkit-text-stroke: 1px rgba(242, 240, 235, .045); pointer-events: none; }
.site-footer > * { position: relative; z-index: 1; }
.footer-tech .container { min-height: 58px; }
.footer-grid { grid-template-columns: 6fr 2.5fr 3.5fr; padding-block: 94px; }
.footer-brand .brand-name { font-size: 27px; }
.footer-copy { max-width: 580px; font-size: 14px; }
.footer-nav a { font-size: 29px; font-weight: 520; letter-spacing: -.015em; text-transform: uppercase; }
.footer-bottom .container { padding-block: 26px; }

/* Precision micro-interactions */
.featured-product, .timeline-row, .cert-item, .product-summary, .document-row,
.footer-nav a, .contact-item a, .nav-link, .text-link { transition-timing-function: var(--ease); }

@keyframes rf-page-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Requested responsive checkpoints */
@media (max-width: 1280px) {
  .container { width: min(100% - 48px, 1480px); }
  .home-hero h1 { font-size: clamp(4.8rem, 9.2vw, 8.2rem); }
  .hero-grid { grid-template-columns: minmax(0, 8.5fr) minmax(270px, 3.5fr); }
  .product-summary { grid-template-columns: 50px 68px minmax(200px, 2fr) minmax(130px, 1fr) minmax(115px, .8fr) 82px; }
  .product-summary > .product-meta:nth-of-type(2) { display: none; }
  .footer-grid { gap: 46px; }
}

@media (max-width: 900px) {
  :root { --header-height: 70px; }
  .utility-strip { display: none; }
  .header-main { height: 70px; }
  .menu-toggle { display: block; }
  .desktop-nav { display: none; }
  .header-actions .pdf-link, .header-actions .button { display: none; }
  .mobile-nav { inset: 70px 0 0; }
  .home-hero { min-height: max(790px, 100svh); }
  .hero-inner { padding-top: 116px; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 68px; }
  .hero-spec-panel { max-width: 440px; }
  .page-hero { min-height: 620px; padding-top: calc(var(--header-height) + 62px); }
  .editorial-aside, .editorial-main { grid-column: 1 / -1; }
  .product-detail-stage { grid-template-columns: 1fr; }
  .product-detail-image { min-height: 520px; }
  .product-detail-bottom { padding: 54px 38px; }
  .product-docs { padding: 46px 38px 56px; }
  .product-quote { margin: 0 38px 54px; }
}

@media (max-width: 768px) {
  .container { width: min(100% - 32px, 1480px); }
  .section { padding-block: 88px; }
  .display-xl { font-size: clamp(4rem, 15vw, 6.8rem); }
  .display-lg { font-size: clamp(3.2rem, 11vw, 5.2rem); }
  .home-hero h1 { font-size: clamp(4.3rem, 14vw, 7rem); }
  .hero-watermark { top: 23%; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { min-height: 142px; }
  .featured-products { grid-template-columns: repeat(2, 1fr); }
  .logistics { grid-template-columns: 1fr; min-height: 0; }
  .logistics-image { min-height: 500px; }
  .page-title-grid { grid-template-columns: 1fr; gap: 38px; }
  .story-grid, .trace-grid, .contact-grid { grid-template-columns: 1fr; }
  .timeline-row { grid-template-columns: 2fr 3fr 7fr; }
  .cert-item { grid-template-columns: 48px 1fr; }
  .product-summary { grid-template-columns: 64px minmax(0, 1fr) 78px; }
  .product-summary .product-index, .product-summary .product-norms, .product-summary .product-meta { display: none; }
  .product-detail-image { min-height: 460px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 430px) {
  .container { width: min(100% - 28px, 1480px); }
  .brand { gap: 10px; }
  .brand-mark { width: 35px; height: 35px; flex-basis: 35px; }
  .brand-name { font-size: 18px; }
  .home-hero { min-height: 790px; }
  .home-hero::before { background-position: 61% center; }
  .hero-inner { padding-top: 104px; padding-bottom: 34px; }
  .hero-grid { padding-top: 62px; }
  .home-hero h1 { font-size: clamp(4rem, 17.2vw, 5.4rem); line-height: .78; }
  .hero-intro { margin-top: 30px; font-size: 14px; }
  .hero-actions { margin-top: 32px; }
  .hero-spec-panel { display: none; }
  .page-hero { min-height: 580px; padding-bottom: 62px; }
  .doc-line { margin-bottom: 54px; }
  .display-xl { font-size: clamp(3.7rem, 16vw, 5rem); }
  .display-lg { font-size: clamp(3rem, 13vw, 4.2rem); }
  .featured-products { grid-template-columns: 1fr; }
  .featured-image { aspect-ratio: 4 / 3.5; }
  .logistics-image { min-height: 390px; }
  .logistics-copy { padding: 62px 24px; }
  .timeline-row { grid-template-columns: 1fr 1fr; }
  .timeline-row p { grid-column: 1 / -1; }
  .trace-stats { grid-template-columns: 1fr 1fr; }
  .toolbar-row { align-items: stretch; }
  .search-field, .filter-group, .norm-select { flex-basis: 100%; }
  .product-detail-image { min-height: 350px; }
  .product-detail-copy { padding: 44px 24px; }
  .product-detail-copy h3 { font-size: clamp(3.2rem, 14vw, 4.6rem); }
  .product-detail-bottom, .product-docs { padding-inline: 24px; }
  .product-quote { margin: 0 24px 38px; padding: 32px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 48px; padding-block: 70px; }
  .footer-grid > :first-child { grid-column: auto; }
}

@media (max-width: 390px) {
  .container { width: min(100% - 24px, 1480px); }
  .brand-sub { letter-spacing: .2em; }
  .home-hero h1 { font-size: clamp(3.75rem, 16.8vw, 4.85rem); }
  .stat { min-height: 130px; padding-inline: 14px; }
  .stat strong { font-size: 38px; }
  .filter-button { padding-inline: 10px; }
  .product-summary { grid-template-columns: 54px minmax(0, 1fr) 34px; padding-inline: 12px; }
  .product-thumb { width: 54px; height: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  body { animation: none !important; }
  .button::before, .nav-link::after, .text-link::after { transition: none !important; }
}

/* ================================================================
   SOBER PREMIUM VISUAL THEME
   Presentation layer only: no structural, content or behavioural
   changes. Neutral cool palette, single neutral sans, no ornament.
   ================================================================ */

/* --- Foundations ------------------------------------------------ */
body {
  background: var(--paper);
  color: var(--carbon);
  font-size: 16px;
  letter-spacing: -.01em;
  animation: none;
}

h1, h2, h3, h4,
.display-xl, .display-lg,
.brand-name, .brand-mark, .timeline-year,
.footer-nav a, .contact-item p, .contact-item a,
.hero-spec-title, .product-name h2, .product-detail-copy h3,
.product-quote h4, .cert-item h3, .featured-product h3,
.stat strong, .mini-stat strong, .trace-stat strong,
.mobile-nav a {
  font-family: var(--sans);
  font-stretch: normal;
  font-variation-settings: normal;
  text-transform: none;
}

::selection { background: rgba(17, 17, 19, .1); color: var(--carbon); }
:focus-visible { outline: 2px solid var(--carbon); outline-offset: 3px; }

/* --- Type scale (non-condensed needs calmer sizes) -------------- */
.display-xl {
  max-width: 20ch;
  font-size: clamp(2.9rem, 5vw, 4.6rem);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.04;
}
.display-lg {
  font-size: clamp(2.2rem, 3.4vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.1;
}
.section-copy { color: var(--ink-soft); font-size: 17px; line-height: 1.65; }

.mono-label, .eyebrow {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .06em;
}
/* Section kickers removed: the heading below already says it.
   Kept where they are genuine block headings (product sheets) and
   in the hero, where the line carries information of its own. */
.eyebrow { display: none; }
.product-details .eyebrow { display: inline-flex; }
.eyebrow::before { width: 22px; background: var(--rule-strong); }
.surface-carbon .eyebrow { color: var(--on-dark-soft); }
.surface-carbon .eyebrow::before { background: var(--on-dark-rule); }

/* No highlighted word inside headings */
.text-oxide,
.surface-carbon .text-oxide,
.home-hero h1 em,
.product-quote h4 span { color: inherit; }

.text-link { font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.text-link:hover { color: var(--muted); }
.text-link::after { background: var(--rule-strong); }

/* --- Header ----------------------------------------------------- */
:root { --header-height: 76px; }
.utility-strip { display: none; }
.site-header { background: transparent; border-bottom-color: transparent; }
.page-inner .site-header,
.site-header.is-scrolled {
  border-color: var(--rule);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: none;
}
.utility-inner { font-size: 10px; font-family: var(--sans); letter-spacing: .04em; opacity: .6; }
.brand-mark { border-color: currentColor; border-radius: 3px; font-size: 13px; font-weight: 600; opacity: .9; }
.brand-name { font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.brand-sub { font-family: var(--sans); font-size: 9px; letter-spacing: .1em; opacity: .55; }
.nav-link { font-size: 13px; font-weight: 400; letter-spacing: 0; opacity: .78; }
.nav-link span { display: none; }
.nav-link::after { left: 0; background: currentColor; }
.pdf-link { font-family: var(--sans); font-size: 12px; letter-spacing: .01em; text-transform: none; }

/* Sélecteur de langue */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; }
.lang-option {
  border: 0;
  padding: 6px 8px;
  background: transparent;
  color: inherit;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  opacity: .5;
  transition: opacity .2s var(--ease);
}
.lang-option:hover { opacity: .85; }
.lang-option.is-active { font-weight: 500; opacity: 1; }
.lang-switch::after {
  order: -1;
  width: 1px;
  height: 13px;
  background: currentColor;
  content: "";
  opacity: .25;
}
.lang-option[data-lang="it"] { order: -2; }
.mobile-nav { background: var(--paper); }
.mobile-nav a { font-size: 24px; font-weight: 500; letter-spacing: -.02em; }
.mobile-nav a span { display: none; }

/* --- Buttons ---------------------------------------------------- */
.button {
  min-height: 44px;
  border-radius: 4px;
  padding: 12px 22px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), opacity .25s var(--ease);
}
.button::before { content: none; }
.button:hover { transform: none; }
.button-primary,
.button-dark { border-color: var(--carbon); background: var(--carbon); color: #fff; box-shadow: none; }
.button-primary:hover,
.button-dark:hover { border-color: #000; background: #000; }
.button-outline-light { border-color: var(--on-dark-rule); color: var(--on-dark); }
.button-outline-light:hover { border-color: var(--on-dark); background: transparent; color: var(--on-dark); }
/* On dark surfaces the solid button inverts */
.home-hero .button-primary,
.home-page .site-header:not(.is-scrolled) .button-primary,
.surface-carbon .button-primary {
  border-color: #fff;
  background: #fff;
  color: var(--carbon);
}
.home-hero .button-primary:hover,
.home-page .site-header:not(.is-scrolled) .button-primary:hover,
.surface-carbon .button-primary:hover { opacity: .86; background: #fff; border-color: #fff; }

/* --- Hero ------------------------------------------------------- */
.home-hero { border-bottom-color: var(--carbon); background: var(--carbon); }
.home-hero::before {
  background:
    linear-gradient(90deg, rgba(10, 10, 12, .88) 0%, rgba(10, 10, 12, .62) 40%, rgba(10, 10, 12, .18) 72%, rgba(10, 10, 12, .42) 100%),
    linear-gradient(180deg, transparent 55%, rgba(10, 10, 12, .55) 100%),
    url("../images/hero-flange.jpg") 67% 50% / cover no-repeat;
  filter: none;
  transform: none;
}
.home-hero::after { content: none; }
.hero-watermark { display: none; }
.hero-filing { display: none; }
.home-hero .eyebrow { color: var(--on-dark-soft); }
.home-hero h1 {
  max-width: 18ch;
  font-size: clamp(2.9rem, 5.4vw, 5rem);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.05;
}
.hero-intro { color: var(--on-dark-soft); font-size: 17px; line-height: 1.6; }
.hero-spec-panel {
  border-color: var(--on-dark-rule);
  border-radius: 6px;
  background: rgba(255, 255, 255, .05);
  box-shadow: none;
}
.hero-spec-top { border-color: var(--on-dark-rule); color: var(--on-dark-soft); }
.hero-spec-top span:last-child { display: none; } /* "SCALE 1:2", fake draughtsman note */
.hero-spec-title { font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
.hero-specs div { border-color: var(--on-dark-rule); }
.hero-specs dt { color: var(--on-dark-soft); font-family: var(--sans); font-size: 10px; letter-spacing: .05em; }
.hero-specs dd { font-family: var(--sans); font-size: 13px; }

/* --- Data strip & editorial ------------------------------------- */
.stats-strip { border-color: var(--rule); background: var(--soft); }
.stat, .stat:first-child { border-color: var(--rule); }
.stat:hover { background: transparent; }
.stat small { color: var(--muted); font-family: var(--sans); font-size: 11px; letter-spacing: .05em; }
.stat strong { font-size: 42px; font-weight: 600; letter-spacing: -.03em; }
.stat span { color: var(--muted); font-size: 12px; letter-spacing: 0; text-transform: none; }
.surface-soft { background: var(--soft); }
.section { border-color: var(--rule); }
.section-heading { border-color: var(--rule); }
.fact-list {
  border-color: var(--rule);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 2;
  letter-spacing: 0;
  text-transform: none;
}

/* --- Product plates --------------------------------------------- */
.featured-products {
  border-color: var(--rule);
  background: var(--rule);
  box-shadow: none;
}
.featured-product { background: #fff; }
.featured-product > .product-index { border-color: var(--rule); }
.featured-image { background: var(--soft); }
.featured-image img,
.product-thumb,
.view-grid .product-thumb,
.product-detail-image img,
.story-figure img,
.logistics-image { filter: none; }
.featured-product h3 { font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.featured-product:hover { background: var(--soft); }
.featured-product:hover img { transform: scale(1.02); filter: none; }
.featured-foot { border-color: var(--rule); color: var(--muted); font-family: var(--sans); font-size: 12px; }
.featured-foot b { color: var(--carbon); }
.product-index { color: var(--muted); font-family: var(--sans); font-size: 11px; letter-spacing: .04em; }

/* --- Logistics & inner heroes ----------------------------------- */
.logistics { border-color: var(--rule); }
.logistics-copy::after { content: none; }
.logistics-copy p { color: var(--on-dark-soft); font-size: 17px; }
.mini-stat { border-color: var(--on-dark-rule); }
.mini-stat strong { font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
.mini-stat span { color: var(--on-dark-soft); font-family: var(--sans); font-size: 11px; letter-spacing: .04em; }
.page-hero {
  min-height: clamp(360px, 44vh, 440px);
  padding: calc(var(--header-height) + 64px) 0 76px;
  border-color: var(--rule);
  background: var(--paper);
}
.page-hero::before { content: none; }
.doc-line { display: none; }
.page-title-grid .display-xl { text-transform: none; }
.page-title-grid > p,
.page-title-grid > div > p { border-color: var(--rule); color: var(--ink-soft); font-size: 16px; line-height: 1.65; }

/* --- Company, timeline, certifications -------------------------- */
/* The markup carries width/height attributes; without height:auto the
   attribute wins and the photo renders at 1200px tall. */
.story-figure img { height: auto; aspect-ratio: 4 / 3; border-color: var(--rule); box-shadow: none; }
.figure-caption { display: none; }
.story-copy p { color: var(--ink-soft); font-size: 17px; line-height: 1.7; }
.story-copy code { font-family: var(--sans); }
.timeline, .timeline-row { border-color: var(--rule); }
.timeline-row:hover { padding-inline: 0; background: transparent; }
.timeline-year { font-size: 34px; font-weight: 600; letter-spacing: -.03em; }
.timeline-title { color: var(--muted); font-family: var(--sans); font-size: 12px; letter-spacing: .04em; }
.timeline-row p { color: var(--ink-soft); }
.cert-list, .cert-item { border-color: var(--rule); }
.cert-item { grid-template-columns: 3fr 5fr 3fr; }
.cert-item:hover { padding-inline: 0; background: transparent; }
.cert-item h3 { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.cert-code, .cert-meta { color: var(--muted); font-family: var(--sans); font-size: 12px; letter-spacing: .03em; }
.catalog-downloads { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

/* Page Dimensioni */
.dimension-table { margin-bottom: 64px; }
.dimension-table:last-child { margin-bottom: 0; }
.dimension-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.dimension-head h2 { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.dimension-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.table-notes { max-width: 92ch; margin-bottom: 16px; }
.table-notes li { position: relative; padding-left: 14px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.table-notes li::before { content: "·"; position: absolute; left: 2px; }
.dimension-table .spec-table th { vertical-align: bottom; padding-block: 10px; text-transform: none; letter-spacing: 0; }
.dimension-table .spec-table th b { display: block; color: var(--carbon); font-size: 13px; font-weight: 600; }
.dimension-table .spec-table th span { display: block; max-width: 14ch; margin-top: 3px; color: var(--muted); font-size: 10px; font-weight: 400; line-height: 1.35; }
.dimension-table .spec-table th:first-child,
.dimension-table .spec-table td:first-child { font-weight: 600; }
.dimension-table .spec-table td { height: 38px; white-space: nowrap; }
.cert-download {
  display: inline-block;
  margin-top: 14px;
  border-bottom: 1px solid var(--rule-strong);
  padding-bottom: 2px;
  color: var(--carbon);
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.cert-download:hover { border-color: var(--carbon); color: var(--carbon); }
.cert-ref { color: var(--muted); font-family: var(--sans); font-size: 12px; letter-spacing: .03em; }
.cert-item > p { color: var(--ink-soft); }
.traceability::before { content: none; }
.trace-stats { background: var(--on-dark-rule); }
.trace-stat { background: var(--carbon); }
.trace-stat strong { font-size: 36px; font-weight: 600; letter-spacing: -.03em; }
.trace-stat span { color: var(--on-dark-soft); font-family: var(--sans); font-size: 11px; letter-spacing: .04em; }

/* --- Catalogue -------------------------------------------------- */
.catalog-toolbar {
  border-color: var(--rule);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: none;
}
.search-field input {
  border-color: var(--rule-strong);
  border-radius: 4px;
  background: var(--soft);
  font-family: var(--sans);
  font-size: 14px;
}
.search-field input:focus { border-color: var(--carbon); background: #fff; }
.search-field::before { color: var(--muted); font-family: var(--sans); }
.filter-button, .view-button, .norm-select {
  border-color: var(--rule-strong);
  border-radius: 4px;
  background-color: transparent;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
}
.norm-select { background-color: var(--soft); }
.filter-button.is-active, .view-button.is-active { border-color: var(--carbon); background: var(--carbon); color: #fff; }
.view-switch .view-button + .view-button { margin-left: -1px; }
.result-line, .reset-filters { color: var(--muted); font-family: var(--sans); font-size: 12px; letter-spacing: .02em; text-transform: none; }
.reset-filters { color: var(--carbon); text-decoration: underline; }
.product-results { border-color: var(--rule); background: #fff; box-shadow: none; }
.product-item { border-color: var(--rule); }
.product-item.is-open { box-shadow: inset 2px 0 var(--carbon); }
.product-summary { grid-template-columns: 76px minmax(220px, 2fr) minmax(145px, 1.05fr) minmax(125px, .85fr) minmax(125px, .85fr) 88px; cursor: pointer; }
.product-summary:hover { background: var(--soft); }
.product-thumb { border-radius: 4px; background: var(--soft); }
.product-name small { color: var(--muted); font-family: var(--sans); font-size: 11px; letter-spacing: .04em; }
.product-name h2 { font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.tech-tag {
  border-color: var(--rule-strong);
  border-radius: 4px;
  background: var(--soft);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
}
.product-meta { font-family: var(--sans); font-size: 13px; }
.product-meta span { color: var(--muted); font-size: 11px; letter-spacing: .04em; }
.product-toggle { color: var(--carbon); font-family: var(--sans); font-size: 12px; letter-spacing: 0; text-transform: none; }
.product-toggle b { border-color: var(--rule-strong); border-radius: 50%; color: var(--carbon); }
.product-toggle:hover b { border-color: var(--carbon); background: var(--carbon); color: #fff; }
.product-details { border-color: var(--rule); background: var(--soft); }
.product-detail-stage { border-color: var(--rule); }
.product-detail-image { background: var(--soft); }
.product-detail-image::after { content: none; }
.product-detail-image figcaption { display: none; }
.product-detail-copy h3 { font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 600; letter-spacing: -.03em; }
.product-detail-copy > p { color: var(--ink-soft); font-size: 17px; line-height: 1.65; }
.key-specs { border-color: var(--rule); background: var(--rule); }
.key-specs div { background: #fff; }
.key-specs dt { color: var(--muted); font-family: var(--sans); font-size: 11px; letter-spacing: .04em; }
.key-specs dd { font-family: var(--sans); font-size: 14px; }
.product-detail-bottom { border-color: var(--rule); }
.highlight-list, .highlight-list li { border-color: var(--rule); }
.highlight-list li { grid-template-columns: 1fr; }
.table-wrap { border-color: var(--rule); border-radius: 4px; }
.spec-table { font-family: var(--sans); font-size: 13px; }
.spec-table th {
  border-color: var(--rule);
  background: var(--soft);
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .04em;
}
.spec-table td { border-color: var(--rule); }
.spec-table tbody tr:hover { background: var(--soft); }
.table-note { color: var(--muted); font-family: var(--sans); font-size: 12px; letter-spacing: 0; text-transform: none; }
.document-row { border-color: var(--rule); }
.document-row small { color: var(--muted); font-family: var(--sans); font-size: 12px; letter-spacing: .02em; text-transform: none; }
.document-row button, .document-row a { color: var(--carbon); font-family: var(--sans); font-size: 13px; letter-spacing: 0; text-transform: none; text-decoration: underline; white-space: nowrap; }
.document-row button:hover, .document-row a:hover { color: var(--muted); }
.product-quote h4 { font-size: clamp(1.7rem, 2.4vw, 2.3rem); font-weight: 600; letter-spacing: -.025em; }
.product-quote h4 span { color: inherit; }
.product-results.view-grid { border-color: var(--rule); background: var(--rule); }
.view-grid .product-name h2 { font-size: 21px; }
.view-grid .product-name p { color: var(--ink-soft); font-size: 14px; line-height: 1.5; }
.view-grid .product-toggle { border-color: var(--rule); }

/* --- Contact ---------------------------------------------------- */
.contact-item { border-color: var(--rule); }
.contact-item small { color: var(--muted); font-family: var(--sans); font-size: 12px; letter-spacing: .04em; }
.contact-item p, .contact-item a { font-size: 20px; font-weight: 500; letter-spacing: -.015em; }
.contact-item a:hover { color: var(--muted); }
.quote-form { border-color: var(--rule); border-radius: 6px; background: #fff; box-shadow: none; }
.quote-form::before { content: none; }
.form-head { border-color: var(--rule); color: var(--muted); font-family: var(--sans); font-size: 12px; letter-spacing: .03em; text-transform: none; }
.field span { color: var(--ink-soft); font-family: var(--sans); font-size: 13px; letter-spacing: 0; text-transform: none; }
.field input, .field textarea { border-color: var(--rule-strong); border-radius: 4px; background: var(--soft); }
.field input:focus, .field textarea:focus { border-color: var(--carbon); background: #fff; box-shadow: none; }
.form-required { color: var(--muted); font-family: var(--sans); font-size: 12px; letter-spacing: 0; text-transform: none; }
.form-status { border-left-color: var(--carbon); background: var(--soft); font-size: 14px; }

/* --- Footer ----------------------------------------------------- */
.site-footer { border-top: 0; background: var(--carbon); }
.site-footer::after { content: none; }
.footer-tech { display: none; }
.footer-bottom { border-color: var(--on-dark-rule); }
.footer-tech .container,
.footer-bottom .container { color: var(--on-dark-soft); font-family: var(--sans); font-size: 11px; letter-spacing: .04em; }
.footer-brand .brand-name { font-size: 21px; }
.footer-copy { color: var(--on-dark-soft); font-size: 15px; line-height: 1.65; }
.footer-copy code { font-family: var(--sans); }
.footer-heading { color: var(--on-dark-soft); font-family: var(--sans); font-size: 12px; letter-spacing: .04em; }
.footer-nav li { margin-bottom: 12px; }
.footer-nav a { font-size: 17px; font-weight: 400; letter-spacing: -.01em; }
.footer-nav a:hover { color: var(--on-dark-soft); }
.footer-contact { font-size: 15px; }
.footer-contact small { color: var(--on-dark-soft); font-family: var(--sans); font-size: 11px; letter-spacing: .04em; }
.footer-contact a:hover { color: var(--on-dark-soft); }
.mini-stats .mini-stat,
.footer-stats .mini-stat { border-color: var(--on-dark-rule); }

/* --- Responsive type corrections -------------------------------- */
@media (max-width: 1280px) {
  .product-summary { grid-template-columns: 68px minmax(200px, 2fr) minmax(130px, 1fr) minmax(115px, .8fr) 82px; }
}

@media (max-width: 900px) {
  :root { --header-height: 70px; }
  /* Le sélecteur de langue reste visible : on rend la place ailleurs. */
  .brand { min-width: 0; }
  .header-actions { gap: 10px; }
  .lang-option { padding: 6px 5px; }
}

@media (max-width: 768px) {
  .home-hero::before {
    background:
      linear-gradient(180deg, rgba(10, 10, 12, .72) 0%, rgba(10, 10, 12, .55) 45%, rgba(10, 10, 12, .82) 100%),
      url("../images/hero-flange.jpg") 62% 50% / cover no-repeat;
  }
  .page-hero { min-height: 300px; padding: calc(var(--header-height) + 52px) 0 60px; }
  .product-summary { grid-template-columns: 64px minmax(0, 1fr) 78px; }
  .cert-item { grid-template-columns: 1fr; gap: 16px; }
  .cert-item > p, .cert-meta { grid-column: auto; }
  .display-xl { font-size: clamp(2.4rem, 8vw, 3.4rem); }
  .display-lg { font-size: clamp(2rem, 6.5vw, 2.8rem); }
  .home-hero h1 { font-size: clamp(2.4rem, 8.5vw, 3.6rem); }
}

@media (max-width: 430px) {
  .display-xl { font-size: clamp(2.1rem, 9vw, 2.8rem); }
  .display-lg { font-size: clamp(1.9rem, 8vw, 2.5rem); }
  .home-hero h1 { font-size: clamp(2.2rem, 9.2vw, 3rem); line-height: 1.08; }
  .product-summary { grid-template-columns: 54px minmax(0, 1fr) 34px; }
  .stat strong { font-size: 32px; }
  .product-detail-copy h3 { font-size: clamp(1.8rem, 8vw, 2.4rem); }
}

/* Official RF Romflange Italia logos */
.brand-logo {
  display: block;
  width: 205px;
  height: auto;
}
.brand-logo-light { display: none; }
.home-page .site-header:not(.is-scrolled) .brand-logo-dark { display: none; }
.home-page .site-header:not(.is-scrolled) .brand-logo-light { display: block; }
.footer-logo {
  display: block;
  width: min(100%, 260px);
  height: auto;
}

@media (max-width: 430px) {
  .brand-logo { width: 176px; }
  .footer-logo { width: min(100%, 230px); }
}

/* Stable button micro-interaction: lift, shade and directional arrow */
.button,
.button-primary,
.button-dark,
.button-outline-light,
.home-hero .button-primary,
.surface-carbon .button-primary {
  border-color: var(--carbon);
  background-color: var(--carbon);
  background-image: none;
  color: #fff;
  opacity: 1;
  transform: translateY(0);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition:
    transform .28s cubic-bezier(.22, 1, .36, 1),
    background-color .28s cubic-bezier(.22, 1, .36, 1),
    border-color .28s cubic-bezier(.22, 1, .36, 1),
    box-shadow .28s cubic-bezier(.22, 1, .36, 1);
}

.button:hover,
.button-primary:hover,
.button-dark:hover,
.button-outline-light:hover,
.home-hero .button-primary:hover,
.surface-carbon .button-primary:hover {
  border-color: var(--carbon);
  background-color: var(--steel);
  color: #fff;
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .16);
}

.button:active,
.button-primary:active,
.button-dark:active,
.button-outline-light:active,
.home-hero .button-primary:active,
.surface-carbon .button-primary:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(0, 0, 0, .12);
  transition-duration: .08s;
}

.button > span {
  display: inline-block;
  transition: transform .4s cubic-bezier(.22, 1, .36, 1);
}

.button:hover > span { transform: translateX(5px); }
.button[href$=".pdf"]:hover > span { transform: translateY(4px); }

/* The home-header CTA stays white before scrolling */
.home-page .site-header:not(.is-scrolled) .button-primary {
  border-color: #fff;
  background-color: #fff;
  background-image: none;
  color: var(--carbon);
}

.home-page .site-header:not(.is-scrolled) .button-primary:hover {
  border-color: #fff;
  background-color: var(--rule);
  color: var(--carbon);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .2);
}

.home-page .site-header:not(.is-scrolled) .button-primary:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(0, 0, 0, .16);
}
