@import url("/assets/site-frame.css?v=1");

/* ============================================================
   BERRNIK theme layer
   Loaded after site.css. Rebrands the Chemdo shell to BERRNIK.
   Tokens follow berrnik-brand/design.md §13.
   ============================================================ */

@font-face {
  font-family: "Inter Variable";
  src: url("/assets/fonts/inter-cyrillic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Inter Variable";
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  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;
}
@font-face {
  font-family: "JetBrains Mono Variable";
  src: url("/assets/fonts/jetbrains-mono-cyrillic.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "JetBrains Mono Variable";
  src: url("/assets/fonts/jetbrains-mono-latin.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
  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;
}

:root {
  --ink: #081727;
  --bone: #f4f1ea;
  --paper: #ffffff;
  --amber: #F47721;
  --amber-ink: #C2410C;
  --gray: #596570;
  --muted: var(--gray);
  --gray-dark-bg: #8c8880;
  --line-b: #e8e4d8;
  --line-strong-b: #d8d2c6;

  --font-sans: "Inter Variable", Inter, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-mono: "JetBrains Mono Variable", "JetBrains Mono", SFMono-Regular, Menlo,
    monospace;
}

/* ---- global ------------------------------------------------- */

html {
  background: var(--bone);
}

body,
button,
input,
select,
textarea {
  font-family: var(--font-sans) !important;
}

body {
  background: var(--bone) !important;
  color: var(--ink) !important;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--amber);
  color: var(--ink);
}

h1,
h2,
h3,
h4 {
  color: var(--heading-ink, var(--ink)) !important;
  letter-spacing: -0.025em;
}

h1 {
  font-weight: 700 !important;
}

p,
li,
dd,
dt,
label,
small {
  color: inherit;
}

a {
  color: var(--ink);
}

a:hover {
  color: var(--amber-ink);
}

code,
kbd,
samp,
.mono,
.product-code,
.grade-code,
.spec-code {
  font-family: var(--font-mono) !important;
  font-variant-numeric: tabular-nums;
}

/* Section numbers and eyebrows are the brand's amber accent. */
.eyebrow,
.section-number {
  color: var(--amber-ink) !important;
  letter-spacing: 0.14em !important;
}

/* ---- header ------------------------------------------------- */

.site-header {
  background: var(--bone) !important;
  border-bottom: 1px solid var(--ink) !important;
  box-shadow: none !important;
}

.brand img {
  width: 192px;
  height: auto;
}

.desktop-nav > a,
.desktop-nav > button,
.nav-trigger {
  color: var(--ink) !important;
}

/* Menu state belongs to the control's border, independently of prose links. */
.desktop-nav > a:not(.header-request-link):is(:hover,:focus-visible,[aria-current="page"]),
.nav-trigger:is(:hover,:focus-visible,[aria-current="page"]) {
  border-bottom-color: var(--amber) !important;
}

.desktop-nav .header-request-link {
  background: var(--ink) !important;
  border-color: var(--ink) !important;
  color: #fff !important;
}

.desktop-nav .header-request-link:hover,
.desktop-nav .header-request-link:focus-visible {
  background: var(--amber) !important;
  border-color: var(--amber) !important;
  color: var(--ink) !important;
  outline: 2px solid var(--amber) !important;
  outline-offset: 2px;
}

.nav-mega-menu {
  background: var(--paper) !important;
  border-bottom: 1px solid var(--ink) !important;
  box-shadow: none !important;
}

.menu-toggle {
  color: var(--ink) !important;
}

/* ---- hero --------------------------------------------------- */

.hero {
  background: var(--bone) !important;
  border-bottom: 1px solid var(--line-b) !important;
}

.hero-intro {
  color: var(--ink) !important;
}

.material-search {
  background: var(--paper) !important;
  border: 1px solid var(--ink) !important;
}

.material-search > svg {
  color: var(--ink) !important;
}

.material-search input {
  color: var(--ink) !important;
}

.material-search input::placeholder {
  color: var(--gray) !important;
}

/* The composite search owns the input's focus ring. Do not also outline
   the nested input; the submit button keeps its own keyboard indicator. */
.material-search:has(input:focus) {
  border-color: var(--amber) !important;
  box-shadow: none !important;
  outline: 2px solid var(--amber) !important;
  outline-offset: -2px;
}

.material-search input:focus-visible {
  outline: none !important;
}

.material-search button:focus-visible {
  outline: 2px solid var(--amber) !important;
  outline-offset: -4px;
}

.search-results {
  background: var(--paper) !important;
  border: 1px solid var(--ink) !important;
  box-shadow: none !important;
}

/* ---- buttons ------------------------------------------------ */

.material-search button,
.primary-button {
  background: var(--ink) !important;
  border: 1px solid var(--ink) !important;
  color: #fff !important;
  font-weight: 700 !important;
}

.material-search button:hover,
.primary-button:hover {
  background: var(--amber) !important;
  border-color: var(--amber) !important;
  color: var(--ink) !important;
}

.primary-button.light {
  background: transparent !important;
  border-color: var(--bone) !important;
  color: var(--bone) !important;
}

.primary-button.light:hover {
  background: var(--amber) !important;
  border-color: var(--amber) !important;
  color: var(--ink) !important;
}

.text-link {
  color: var(--ink);
}

.text-link:hover {
  color: var(--amber-ink) !important;
}

.product-pagination .page-button:disabled {
  opacity: 1;
  color: var(--gray);
  background: var(--paper);
  border-color: var(--line-b);
}

/* ---- cards and directory ------------------------------------ */

.home-entry-grid {
  border-color: var(--line-b) !important;
}

.home-entry-grid a {
  background: transparent !important;
  border-color: var(--line-b) !important;
  color: var(--ink) !important;
}

.home-entry-grid a > span,
.home-entry-grid b {
  color: var(--amber-ink) !important;
}

.home-entry-grid a:hover {
  background: var(--paper) !important;
}

.resource-links a,
.material-directory-grid a,
.application-grid a,
.path-list a {
  color: var(--ink) !important;
}

/* ---- dark blocks -------------------------------------------- */

/* Context owns heading contrast; dark surfaces must not inherit ink headings. */
:is(.supply-section, .commercial-section, .processing-section,
    .product-supply-section, .collection-supply-strip, .materials-supply-strip,
    .request-support-panel, .resources-bridge, .resource-article-related,
    .faq-bridge, .collection-detail-supply, .contact-panel-heading,
    .resource-type-visual, .final-cta, .site-footer) {
  --heading-ink: var(--bone);
}

:is(.supply-section, .commercial-section, .processing-section,
    .product-supply-section, .collection-supply-strip, .materials-supply-strip,
    .request-support-panel, .resources-bridge, .resource-article-related,
    .faq-bridge, .collection-detail-supply) :is(.eyebrow, .section-number) {
  color: var(--amber) !important;
}

:is(.product-supply-section, .collection-supply-strip, .materials-supply-strip,
    .resources-bridge, .faq-bridge, .collection-detail-supply) .primary-button:not(.light) {
  background: var(--bone) !important;
  border-color: var(--bone) !important;
  color: var(--ink) !important;
}

:is(.product-supply-section, .collection-supply-strip, .materials-supply-strip,
    .resources-bridge, .faq-bridge, .collection-detail-supply) .primary-button:not(.light):hover {
  background: var(--amber) !important;
  border-color: var(--amber) !important;
}

/* The replacement offer is the light variant of the product supply block. */
.product-alternative-section { --heading-ink: var(--ink); }
.product-alternative-section .section-number { color: var(--amber-ink) !important; }
.product-alternative-section .primary-button:not(.light) {
  background: var(--ink) !important;
  border-color: var(--ink) !important;
  color: var(--bone) !important;
}
.product-alternative-section .primary-button:not(.light):hover { color: var(--ink) !important; }

.product-supply-section:not(.product-alternative-section) .product-supply-actions > a:not(.primary-button),
.resources-bridge > .text-link {
  color: var(--bone);
}

.product-supply-section:not(.product-alternative-section) .product-supply-actions > a:not(.primary-button):hover,
.resources-bridge > .text-link:hover {
  color: var(--amber) !important;
}

.processing-data dt {
  color: var(--bone);
  font-size: 11px;
}

/* Keep values and their test conditions visible together on a phone. */
@media (max-width: 600px) {
  .technical-table { min-width: 0; table-layout: fixed; }
  .technical-table th, .technical-table td {
    padding: 12px 8px;
    vertical-align: top;
    overflow-wrap: anywhere;
  }
  .technical-table th:first-child { width: 34%; }
  .technical-table th { font-size: 10px; letter-spacing: .02em; }
  .technical-table th:nth-child(2) { width: 26%; }
  .technical-table td:last-child { font-weight: 400; }
}

.final-cta {
  background: var(--ink) !important;
  color: var(--bone) !important;
}

.final-cta .section-number {
  color: var(--amber) !important;
}

.final-cta h2 {
  color: var(--bone) !important;
}

.final-cta > p:not(.section-number) {
  color: var(--bone) !important;
}

.site-footer {
  background: var(--ink) !important;
  color: var(--bone) !important;
  border-top: 0 !important;
}

.site-footer img {
  height: 42px;
  width: auto;
}

.site-footer p,
.site-footer span,
.site-footer a {
  color: var(--bone) !important;
}

.site-footer a:hover {
  color: var(--amber) !important;
}

/* ---- contact dock ------------------------------------------- */

#contact-dock {
  color: var(--ink) !important;
}

.contact-actions a,
.contact-actions button {
  background: var(--paper) !important;
  border: 1px solid var(--line-strong-b) !important;
  color: var(--ink) !important;
  box-shadow: none !important;
}

.contact-actions .contact-whatsapp {
  background: var(--paper) !important;
  border-color: var(--line-strong-b) !important;
  color: var(--ink) !important;
}

.contact-actions .contact-toggle,
.contact-submit {
  background: var(--amber) !important;
  border-color: var(--amber) !important;
  color: var(--ink) !important;
}

.contact-actions a:hover,
.contact-actions button:hover {
  filter: none;
  background: var(--amber) !important;
  border-color: var(--amber) !important;
  color: var(--ink) !important;
}

.contact-panel {
  background: var(--paper) !important;
  border: 1px solid var(--line-strong-b) !important;
  box-shadow: none !important;
}

.contact-panel-heading {
  background: var(--ink) !important;
  color: #fff !important;
}

.contact-panel-heading p {
  color: var(--bone) !important;
}

.contact-form input,
.contact-form textarea {
  border: 1px solid var(--line-strong-b) !important;
  color: var(--ink) !important;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--amber) !important;
  outline: 2px solid var(--amber) !important;
  outline-offset: -2px;
}

/* ---- brand discipline --------------------------------------- */

*,
*::before,
*::after {
  border-radius: 0 !important;
  box-shadow: none !important;
}

:focus-visible {
  outline: 3px solid var(--amber) !important;
  outline-offset: 3px;
}

/* Keep the amber block count low: one accent per view. */
.application-route::after {
  background: rgba(8, 23, 39, 0.55) !important;
}

.application-category-placeholder {
  background: var(--bone) !important;
}

/* ---- mobile type scale -------------------------------------- */
@media (max-width: 760px) {
  h1 {
    font-size: clamp(26px, 7.5vw, 32px) !important;
    line-height: 1.1 !important;
    letter-spacing: -0.02em !important;
  }
  h2 {
    font-size: clamp(22px, 6.5vw, 30px) !important;
    line-height: 1.15 !important;
    letter-spacing: -0.02em !important;
  }
  .hero-intro {
    font-size: 16px !important;
    line-height: 1.55 !important;
  }
  .site-header {
    padding-inline: 16px !important;
  }
  .brand img {
    width: 137px;
    height: auto;
  }
  .section-heading {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
}

@media (max-width: 480px) {
  .hero-copy,
  .home-hero-with-media .hero-copy {
    padding-inline: 18px !important;
  }
}

/* The legacy sheet leaves a 430px media column on mobile; collapse it. */
@media (max-width: 820px) {
  .home-hero-with-media,
  .materials-overview-hero {
    grid-template-columns: 1fr !important;
  }
}

/* Dark-section CTA: ink-on-ink was invisible. */
.supply-section .primary-button {
  background: var(--bone) !important;
  border-color: var(--bone) !important;
  color: var(--ink) !important;
}
.supply-section .primary-button:hover {
  background: var(--amber) !important;
  border-color: var(--amber) !important;
  color: var(--ink) !important;
}

/* Keep the fixed contact dock from covering the footer. */
.site-footer {
  padding-bottom: 84px !important;
}
@media (max-width: 760px) {
  .site-footer {
    padding-bottom: 104px !important;
  }
}

/* ---- home hero panel (V2.1) -------------------------------- */
.home-hero-panel {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
  padding: 38px 42px 30px;
  background: var(--ink);
  color: var(--bone);
}

.hero-panel-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(244, 241, 234, 0.2);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-panel-label { color: var(--amber); }
.hero-panel-index { color: var(--gray-dark-bg); font-family: var(--font-mono); }

.hero-panel-list { list-style: none; margin: 0; padding: 0; display: grid; }

.hero-panel-list li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  column-gap: 14px;
  padding: 14px 0 12px;
  border-top: 1px solid rgba(244, 241, 234, 0.14);
}
.hero-panel-list li:first-child { border-top: 0; padding-top: 0; }

.hero-panel-list span {
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 11px;
  padding-top: 5px;
}

.hero-panel-list strong {
  color: var(--bone);
  font-size: clamp(30px, 2.5vw, 42px);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.hero-panel-list small {
  grid-column: 2;
  color: var(--gray-dark-bg);
  font-size: 12px;
  line-height: 1.4;
  margin-top: 6px;
}

.hero-panel-bottom {
  display: flex;
  gap: 22px;
  padding-top: 14px;
  border-top: 1px solid rgba(244, 241, 234, 0.2);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gray-dark-bg);
}

@media (max-width: 820px) {
  .home-hero-panel { min-height: 430px; padding: 28px 24px 22px; }
  .hero-panel-list strong { font-size: 30px; }
}

/* ---- visual polish: legible small copy and neutral labels ---- */
.product-tags span {
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-b);
  font-size: 11px;
}

.material-directory-group span,
.product-summary small,
.document-actions small {
  font-size: 12px;
}

/* Important secondary copy on bone uses ink; white surfaces retain middle gray. */
.home-entry-routes .section-heading p,
.home-entry-grid small,
.product-positioning,
.hero-specs dt,
.technical-table th,
.table-note,
.typical-note {
  color: var(--ink);
}

.hero-specs dt,
.technical-table th {
  font-size: 11px;
}

.table-note,
.typical-note {
  font-size: 12px;
  line-height: 1.6;
}

/* ---- supply directions and solution landing pages (2026-11-17) ---- */
.supply-hub-page,
.solution-landing-page { background: var(--paper); }
.supply-entry-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.supply-entry-grid a { min-width: 0; }
.supply-entry-grid strong { line-height: 1.3; }
.supply-entry-grid a[aria-current="page"] { background: var(--paper) !important; border-top-color: var(--amber) !important; }
.supply-entry-footer { display: flex; flex-wrap: wrap; gap: 18px 32px; padding-top: 24px; }
.hero-panel-list strong a { color: var(--bone); font-size: clamp(25px, 2.4vw, 38px); }
.hero-panel-list strong a:hover { color: var(--amber); }
.material-hub-hero { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); background: var(--bone); border-bottom: 1px solid var(--line-b); }
.material-hub-hero-copy { padding: 48px max(4vw, 28px) 52px; }
.material-hub-hero-copy h1 { max-width: 760px; font-size: clamp(40px, 3.8vw, 56px); line-height: 1.08; margin: 0 0 24px; }
.supply-hero-intro { max-width: 720px; font-size: 17px; line-height: 1.6; margin: 0 0 30px; }
.supply-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 26px; }
.supply-actions .primary-button { min-height: 52px; height: auto; padding: 16px 24px; line-height: 1.4; }
.supply-actions .text-link { font-size: 14px; }
.supply-hero-panel { padding: 44px 40px 32px; background: var(--ink); color: var(--bone); --heading-ink: var(--bone); display: flex; flex-direction: column; justify-content: center; }
.supply-hero-panel .section-number { color: var(--amber) !important; font-size: 11px; }
.supply-hero-panel dl { margin: 8px 0 24px; }
.supply-hero-panel dl > div { padding: 19px 0; border-top: 1px solid rgba(244,241,234,.2); }
.supply-hero-panel dt { font-size: 12px; color: var(--gray-dark-bg); margin-bottom: 9px; }
.supply-hero-panel dd { margin: 0; font-size: clamp(18px, 1.65vw, 25px); line-height: 1.4; font-weight: 600; }
.supply-panel-note { margin: 0; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--gray-dark-bg); }
.supply-hero-image { margin: 0; position: relative; min-height: 360px; overflow: hidden; }
.supply-hero-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.supply-local-nav { display: flex; flex-wrap: wrap; gap: 0 32px; padding: 0 max(4vw, 28px); border-bottom: 1px solid var(--line-b); background: var(--paper); }
.supply-local-nav a { display: flex; align-items: center; min-height: 60px; padding: 16px 0; border-bottom: 2px solid transparent; font-size: 13px; font-weight: 600; }
.supply-local-nav a:is(:hover,[aria-current="page"]) { color: var(--ink); border-bottom-color: var(--amber); }
.supply-section-wrap { padding: 60px max(4vw, 28px); border-bottom: 1px solid var(--line-b); }
.supply-section-bone { background: var(--bone); }
.supply-section-wrap .section-heading { margin-bottom: 30px; }
.supply-section-wrap .section-heading > p { color: var(--ink); max-width: 470px; }
.supply-detail-list { border-top: 1px solid var(--line-strong-b); }
.supply-detail-list article { display: grid; grid-template-columns: 28px minmax(0, 1fr) minmax(180px, .32fr); gap: 24px; align-items: center; padding: 25px 0; border-bottom: 1px solid var(--line-b); }
.supply-row-index { align-self: start; padding-top: 4px; font: 12px var(--font-mono); color: var(--amber-ink); }
.supply-detail-list h3 { margin: 0 0 9px; font-size: 22px; line-height: 1.25; }
.supply-detail-list p { max-width: 740px; margin: 0; font-size: 14px; line-height: 1.6; color: var(--gray); }
.supply-detail-list .text-link { justify-self: start; font-size: 14px; line-height: 1.5; }
.supply-check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; margin: 0; }
.supply-check-grid > div { padding: 22px 0; border-top: 1px solid var(--line-strong-b); }
.supply-check-grid dt { margin-bottom: 10px; font-size: 18px; line-height: 1.3; font-weight: 700; }
.supply-check-grid dd { max-width: 630px; margin: 0; font-size: 14px; line-height: 1.7; }
.supply-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; padding: 0; margin: 0; }
.supply-steps li { padding: 0 30px; border-left: 1px solid var(--line-strong-b); }
.supply-steps li:first-child { padding-left: 0; border-left: 0; }
.supply-steps li:last-child { padding-right: 0; }
.supply-steps li > span { display: block; margin-bottom: 18px; color: var(--amber-ink); font: 12px var(--font-mono); }
.supply-steps h3 { font-size: 21px; line-height: 1.25; margin: 0 0 12px; }
.supply-steps p { margin: 0; color: var(--gray); font-size: 14px; line-height: 1.65; }
.supply-reading-link { display: flex; flex-wrap: wrap; gap: 18px 36px; border-top: 1px solid var(--line-b); margin-top: 28px; padding-top: 24px; font-size: 14px; }
.supply-final { text-align: left; }
.supply-final h2 { margin-inline: 0; }
.supply-final > p:not(.section-number) { margin-inline: 0; max-width: 700px; }
.supply-related-links { display: flex; flex-wrap: wrap; gap: 24px 40px; }
.supply-comparison-scroll { max-width: 100%; overflow-x: auto; border: 1px solid var(--line-strong-b); }
.supply-comparison-table { width: 100%; min-width: 780px; border-collapse: collapse; text-align: left; font-size: 14px; line-height: 1.5; }
.supply-comparison-table th,
.supply-comparison-table td { padding: 20px; border-bottom: 1px solid var(--line-b); vertical-align: top; }
.supply-comparison-table thead { background: var(--bone); font-size: 12px; }
.supply-comparison-table tbody th { font-weight: 600; white-space: nowrap; }
.supply-comparison-table tbody tr:last-child > * { border-bottom: 0; }
.supply-data-note { margin: 18px 0 0; max-width: 1000px; }
.solution-landing-page .collection-catalog { border-block: 1px solid var(--line-b); }
.solution-landing-page .collection-catalog-heading h2 { font-size: clamp(28px, 3vw, 43px); }
.solution-faq .section-heading { max-width: 800px; }
.supply-faq-list { border-top: 1px solid var(--line-strong-b); }
.supply-faq-list details { border-bottom: 1px solid var(--line-b); }
.supply-faq-list summary { padding: 22px 28px 22px 0; cursor: pointer; font-size: 17px; font-weight: 600; line-height: 1.4; }
.supply-faq-list details p { max-width: 900px; margin: 0; padding: 0 28px 24px 0; font-size: 14px; line-height: 1.7; }
:is(.supply-hub-page,.solution-landing-page) [id] { scroll-margin-top: 92px; }
@media (max-width: 1100px) {
  .supply-entry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .supply-hero-panel { padding: 34px 28px; }
  .supply-detail-list article { grid-template-columns: 24px minmax(0, 1fr) minmax(160px, .4fr); }
}
@media (max-width: 820px) {
  .material-hub-hero { grid-template-columns: minmax(0, 1fr); }
  .material-hub-hero-copy { padding: 36px 20px 40px; }
  .supply-hero-panel { padding: 30px 24px; }
  .supply-hero-panel dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 14px; }
  .supply-hero-panel dd { font-size: 17px; }
  .supply-hero-image { min-height: 0; height: clamp(220px, 48vw, 340px); }
  .supply-section-wrap { padding: 42px 20px; }
  .supply-local-nav { gap: 0 24px; padding-inline: 20px; }
  .supply-local-nav a { min-height: 52px; font-size: 12px; }
  .supply-detail-list article { grid-template-columns: 24px minmax(0, 1fr); gap: 14px; padding-block: 22px; }
  .supply-detail-list article > .text-link { grid-column: 2; }
  .supply-check-grid { column-gap: 26px; }
  .supply-steps li { padding-inline: 20px; }
}
@media (max-width: 560px) {
  .supply-entry-grid { grid-template-columns: minmax(0, 1fr); }
  .supply-entry-grid a { min-height: 140px; }
  .supply-hero-intro { font-size: 16px; }
  .supply-actions { align-items: stretch; flex-direction: column; gap: 20px; }
  .supply-actions .primary-button { justify-content: space-between; width: 100%; text-align: left; }
  .supply-hero-panel dl { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .supply-hero-panel dl > div { display: grid; grid-template-columns: 94px minmax(0, 1fr); gap: 12px; padding-block: 15px; }
  .supply-hero-panel dt { margin: 3px 0 0; }
  .supply-hero-panel dd { font-size: 16px; }
  .supply-check-grid { grid-template-columns: minmax(0, 1fr); }
  .supply-steps { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .supply-steps li,
  .supply-steps li:first-child { padding: 20px 0 0; border-left: 0; border-top: 1px solid var(--line-b); }
  .supply-steps li > span { margin-bottom: 12px; }
  .supply-detail-list h3 { font-size: 20px; }
  .supply-local-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
  .supply-related-links { display: grid; gap: 20px; }
}
/* Grade-specific selection notes: the source table remains the authority for values. */
.product-selection-notes { margin:28px 0; }
.product-selection-notes h3,.product-selection-context h3 { font-size:20px; line-height:1.3; margin:0 0 18px; }
.product-selection-notes dl { margin:0; }
.product-selection-notes dl > div { padding:16px 0; border-top:1px solid var(--line-strong-b); }
.product-selection-notes dt { font-size:15px; font-weight:650; margin-bottom:7px; }
.product-selection-notes dd { margin:0; font-size:14px; line-height:1.65; }
.product-test-condition { display:block; margin-top:6px; color:var(--gray); font-size:12px; }
.product-selection-context { margin:24px 0 0; border-top:1px solid var(--line-strong-b); padding-top:24px; }
.product-selection-context p { font-size:15px; line-height:1.65; }

/* The renderer marks text links embedded in a paragraph. */
main p a.prose-link {
  text-decoration: underline 2px var(--amber);
  text-underline-offset: .19em;
  text-decoration-skip-ink: auto;
}
.resource-blog-page { background: var(--paper); }
body :is(main,.site-header,.site-footer) a:focus-visible { outline: 2px solid var(--amber-ink); outline-offset: 4px; }
body main :is(p,td,th) a[href]:not(.primary-button):not(.secondary-button) { font-weight: 600; }
body main table thead :is(th,td) { background-color: var(--ink) !important; color: #fff !important; border-color: #354456; }
body main table thead :is(a,span,strong) { color: #fff !important; }
main .compact-grade-lead:not(:has(figure)) { display: block; }
main .compact-grade-image:has(img[src="/assets/images/resin-pellets-thumb.png"]) { display: none; }
main .compact-grade-lead:has(.compact-grade-image img[src="/assets/images/resin-pellets-thumb.png"]) { display: block; }
main .product-hero:not(:has(.product-hero-image)) { display: block; min-height: auto; }
main .product-hero:not(:has(.product-hero-image)) .product-hero-copy { max-width: 1000px; padding: clamp(36px,5vw,80px) max(4vw,20px); }
main .product-hero:not(:has(.product-hero-image)) .product-positioning { max-width: 65ch; }
main .product-tags .product-kicker { color: var(--amber-ink); font-weight: 700; }
main .editorial-related .related-title { margin: 0 0 18px; font-size: clamp(24px,2.4vw,36px); }
main .supply-principles .supply-principles-heading { grid-column: 1/-1; padding: 0; }
main .supply-principles .supply-principles-heading h2 { margin: 0; }
main .home-hero-with-media .hero-copy > .section-number { margin-bottom: 16px; }
main .supply-comparison-scroll { overscroll-behavior-inline: contain; }
main .supply-comparison-table tbody th { white-space: normal; }
@media (max-width: 760px) {
  main .supply-comparison-table:has(thead th:nth-child(2):last-child) { min-width: 0; table-layout: fixed; }
  main .supply-comparison-table:has(thead th:nth-child(2):last-child) :is(th,td) { overflow-wrap: anywhere; padding: 14px 10px; }
}

.topic-contents { align-self: center; margin: 30px max(4vw,28px) 30px 0; padding: 25px 0 0; border-top: 2px solid var(--ink); }
.solution-story-page .topic-contents { margin-right: 0; }
.topic-contents > .section-number { margin: 0 0 12px; }
body .topic-contents > a { display: block; padding: 15px 0; border-bottom: 1px solid var(--line-strong-b); font-size: clamp(18px,1.5vw,23px); line-height: 1.4; font-weight: 600; }
@media (max-width:820px) {
  .material-hub-hero:has(.topic-contents) { display: block; }
  .topic-contents { margin: 0 20px 30px; padding-top: 18px; }
  .solution-story-page .topic-contents { margin: 26px 0 0; }
  .topic-contents > a { padding-block: 11px; }
}

/* Captions and cut faces both stay in the frame, including on tall heroes. */
main .solution-hero > .supply-hero-image:has(figcaption) { display: block; align-self: center; height: auto; min-height: 0; margin: 28px max(4vw,24px) 28px 0; overflow: visible; }
main .solution-hero > .supply-hero-image:has(figcaption) img { position: static; display: block; width: 100%; height: auto; object-fit: contain; }
main .solution-hero > .supply-hero-image figcaption { margin: 10px 0 0; max-width: 65ch; font-size: 13px; line-height: 1.5; color: var(--gray); }
main.solution-story-page .solution-hero > .supply-hero-image:has(figcaption) { margin: 0; }
main :is(section[id],article[id],h2[id],table) { scroll-margin-top: 92px; }
@media (max-width:820px) {
  main .solution-hero > .supply-hero-image:has(figcaption) { margin: 0 20px 26px; }
  main :is(section[id],article[id],h2[id],table) { scroll-margin-top: 76px; }
}

/* Product catalog. Keep the grade and its comparison fields legible together. */
.collection-catalog .compact-grade-card {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
}

.collection-catalog .compact-grade-properties {
  column-gap: clamp(8px, 1.2vw, 18px);
}

.collection-catalog .compact-grade-properties > div {
  padding-inline: 0;
}

.collection-catalog .compact-grade-properties dt {
  font-size: 10px;
  overflow-wrap: anywhere;
}

.collection-catalog .compact-grade-main h3 {
  overflow-wrap: anywhere;
}

.collection-catalog .compact-grade-main > span {
  font-size: 13px;
}

.collection-catalog .compact-grade-properties dd {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.collection-catalog .compact-grade-properties:has(> div:nth-child(4):last-child) {
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.45fr);
}

.collection-catalog .compact-grade-card:focus-visible {
  outline-offset: -3px;
}

/* Search, reset and expanded filters keep visible keyboard focus and readable labels. */
.catalog-search-box:focus-within {
  position: relative;
  z-index: 1;
  outline: 2px solid var(--amber-ink);
  outline-offset: -2px;
}

.catalog-search-box input:focus-visible {
  outline: 0;
}

.catalog-search-row .filter-reset {
  grid-column: auto;
  min-height: 44px;
}

.filter-multiselect summary {
  font-size: 13px;
}

.filter-multiselect-menu {
  max-height: min(370px, 45dvh);
}

.filter-multiselect-menu label {
  min-height: 40px;
  align-items: center;
  font-size: 13px;
}

.filter-multiselect-menu label span {
  overflow-wrap: anywhere;
}

.filter-multiselect-menu label[hidden] {
  display: none;
}

.active-filters {
  flex-wrap: wrap;
  overflow: visible;
}

.filter-chip {
  min-height: 32px;
  height: auto;
  max-width: 100%;
  padding-block: 4px;
  font-size: 12px;
  text-align: left;
  overflow-wrap: anywhere;
}

.catalog-result-status {
  font-size: 12px;
}

.collection-catalog .empty-products {
  margin-top: 20px;
  padding: clamp(28px, 4vw, 56px) 16px;
}

.collection-catalog .empty-products h3 {
  margin-top: 12px;
}

/* Product parameters stay in a real three-column table at every width. */
.product-page .technical-table {
  min-width: 0;
  max-width: 1120px;
  table-layout: fixed;
  font-variant-numeric: tabular-nums;
}

.product-page .technical-table-wrap {
  border-top: 0;
}

.product-page .technical-table :is(th, td) {
  padding: 12px clamp(6px, 1.2vw, 16px);
  vertical-align: top;
  overflow-wrap: anywhere;
  line-height: 1.45;
}

.product-page .technical-table th {
  font-size: 12px;
  text-transform: none;
  letter-spacing: 0;
}

.product-page .technical-table th:first-child {
  width: 42%;
}

.product-page .technical-table th:nth-child(2) {
  width: 20%;
}

.product-page .technical-table td {
  font-size: 13px;
}

.product-page .technical-table td:nth-child(2) {
  font-weight: 700;
}

.product-page .technical-table td:last-child {
  font-weight: 400;
}

.product-page .technical-section:not(:has(.technical-table)) {
  padding-block: clamp(28px, 4vw, 48px);
  border-block: 1px solid var(--line-b);
}

.product-page .technical-section:not(:has(.technical-table)) .section-heading {
  margin-bottom: 14px;
}

.product-page .technical-section > .product-positioning:last-child {
  margin-bottom: 0;
}

@media (max-width: 1150px) {
  .collection-catalog .compact-grade-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding-right: 20px;
  }

  .collection-catalog .compact-grade-lead {
    padding-right: 0;
  }

  .collection-catalog .compact-grade-main > :is(p, h3) {
    padding-inline-end: 36px;
  }

  .collection-catalog .compact-grade-properties {
    padding-top: 12px;
    border-top: 1px solid var(--line-b);
  }

  .collection-catalog .compact-grade-properties > div {
    padding: 0;
    border-top: 0;
  }
}

@media (min-width: 521px) and (max-width: 820px) {
  .collection-catalog .compact-grade-properties {
    grid-template-columns: repeat(var(--collection-property-columns), minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .filter-multiselect summary,
  .filter-multiselect-menu label {
    min-height: 44px;
  }

  .filter-multiselect-menu {
    max-height: min(264px, 42dvh);
  }

  .catalog-search-row .filter-reset:disabled {
    display: none;
  }

  .catalog-search-row .filter-reset {
    grid-column: 1 / -1;
    margin-inline: auto;
  }

  .filter-chip {
    min-height: 44px;
  }

  .collection-catalog .product-pagination .page-button {
    min-height: 44px;
  }
}

@media (max-width: 520px) {
  .collection-catalog .compact-grade-card {
    padding: 16px;
  }

  .collection-catalog .compact-grade-properties,
  .collection-catalog .compact-grade-properties:has(> div:nth-child(4):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .collection-catalog .compact-grade-card-arrow {
    top: 18px;
    right: 14px;
  }

  .collection-catalog .empty-products-actions > * {
    width: min(100%, 280px);
  }

  .product-page .technical-table th:first-child {
    width: 41%;
  }

  .product-page .technical-table th:nth-child(2) {
    width: 26%;
  }

  .prototype-product-page .technical-table th:first-child {
    width: 35%;
  }

  .prototype-product-page .technical-table th:nth-child(2) {
    width: 30%;
  }

  .product-page .technical-table td {
    font-size: 12px;
  }
}

.supply-faq-bridge {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px max(4vw, 32px);
  padding-block: 38px;
  border-top: 1px solid var(--line-b);
}

.supply-faq-bridge h2,
.about-buying-links h2 {
  margin: 0;
}

.supply-faq-bridge .text-link {
  margin-bottom: 3px;
}

.about-buying-links {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 25px max(4vw, 32px);
  border-top: 1px solid var(--line-b);
}

.about-buying-links .supply-related-links {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-b);
}

.about-buying-links .text-link {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-b);
}

@media (max-width: 760px) {
  .supply-faq-bridge {
    flex-direction: column;
    align-items: flex-start;
    padding-block: 32px;
  }

  .about-buying-links {
    grid-template-columns: 1fr;
  }
}

/* Supplier navigation, direct contact and quotation form */
.site-header {
  background: var(--paper) !important;
  border-bottom-color: var(--line-strong-b) !important;
}
.site-header .brand img { width: 155px; height: auto; }
.site-header .desktop-nav { gap: clamp(14px, 1.8vw, 34px); }
.site-header .desktop-nav > a, .site-header .nav-trigger { font-size: 13px; font-weight: 580; }
.site-header .desktop-nav .header-request-link,
.site-header .header-request-mobile { padding-inline: 17px; font-weight: 650; }
.header-request-mobile { display: none; }
.site-header .menu-toggle { width: 44px; height: 44px; justify-content: center; align-items: center; }
@media (min-width: 1001px) and (max-width: 1190px) {
  .site-header { padding-inline: 24px; }
  .site-header .brand img { width: 138px; }
  .site-header .desktop-nav { gap: 14px; }
}
@media (max-width: 1000px) {
  .site-header { gap: 12px; }
  .site-header .brand { margin-right: auto; }
  .site-header .brand img { width: 136px; }
  .site-header .header-request-mobile {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    background: var(--ink);
    color: white;
    font-size: 13px;
    text-decoration: none;
  }
  .mobile-nav-open .header-request-mobile { visibility: hidden; }
  .site-header .mobile-nav a, .site-header .mobile-nav button { font-size: 15px; }
}
@media (max-width: 410px) {
  .site-header { gap: 6px; }
  .site-header .brand img { width: 118px; }
  .site-header .header-request-mobile { padding-inline: 10px; font-size: 12px; }
}

/* Search stays in the first header controls at every breakpoint. */
@media (min-width: 1001px) and (max-width: 1040px) {
  .site-header .desktop-nav { gap: 10px; }
}
.site-header .header-grade-search {
  width: 40px;
  min-height: 44px;
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.site-header .header-grade-search .icon { width: 20px; height: 20px; }
.site-header .header-grade-search:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.site-header .header-search-mobile { display: none; }
#material-query { scroll-margin-top: 110px; }
@media (max-width: 1000px) {
  .site-header .header-search-mobile { display: inline-flex; }
  .mobile-nav-open .site-header .header-search-mobile { visibility: hidden; }
}
@media (max-width: 360px) {
  .site-header .brand img { width: 86px; }
  .site-header { gap: 4px; }
}

.site-footer.supplier-footer { display: block; padding: 45px max(4vw, 24px) 68px !important; }
.footer-main { display: grid; grid-template-columns: minmax(220px,1.3fr) minmax(160px,1fr) minmax(200px,.8fr); gap: 32px; align-items: start; }
.footer-brand { display: inline-block; }
.site-footer.supplier-footer .brand-logo { height: 44px; width: auto; }
.site-footer .footer-identity p { max-width: 260px; margin: 12px 0 0; font-size: 14px; line-height: 1.55; }
.footer-nav { display: grid; gap: 9px; justify-items: start; }
.footer-nav a { font-size: 14px; }
.footer-contact { display: grid; gap: 10px; justify-items: start; }
.footer-contact > span, .footer-legal span { color: #c3cbd0 !important; }
.footer-contact a { font-size: clamp(18px,1.6vw,24px); letter-spacing: -.025em; font-weight: 550; }
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 29px; border-top: 1px solid #42505d; padding-top: 17px; font-size: 12px; }
.footer-legal span { margin-right: auto; }
@media (max-width: 760px) {
  .site-footer.supplier-footer { padding: 32px 20px calc(72px + env(safe-area-inset-bottom)) !important; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 26px 12px; }
  .footer-contact { grid-column: 1/-1; }
  .footer-legal { gap: 12px; align-items: flex-start; }
  .footer-legal span { width: 100%; }
}

#contact-dock { pointer-events: none; width: min(380px,calc(100vw - 32px)); bottom: 18px; right: 18px; }
.contact-panel, .contact-actions .contact-toggle { pointer-events: auto; }
.contact-actions { padding: 0; border: 0; background: none; }
.contact-actions .contact-toggle {
  flex: 0 0 auto; min-height: 44px; padding: 0 13px;
  border: 1px solid var(--line-strong-b) !important;
  background: var(--paper) !important;
  color: var(--ink) !important;
  gap: 7px; font-weight: 650; font-size: 13px;
}
.contact-actions .contact-toggle:is(:hover,[aria-expanded="true"]) { background: var(--bone) !important; }
.contact-channels { display: flex; gap: 10px; margin-bottom: 16px; }
.contact-channels a {
  display: inline-flex; flex: 1; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; border: 1px solid var(--line-strong-b);
  color: var(--ink); font-size: 13px; font-weight: 650; text-decoration: none;
}
.contact-channels a:hover { background: var(--bone); }
.contact-channels svg, .contact-actions svg { width: 17px; height: 17px; }
.contact-panel-heading { padding: 18px 20px; }
.contact-panel-heading h2 { color: var(--paper) !important; }
.contact-panel-body { padding: 18px 20px; }
.contact-submit { background: var(--ink) !important; color: white !important; border-color: var(--ink) !important; }
.contact-submit:hover { background: #23354a !important; }
.contact-extra summary { font-weight: 530; }
.contact-full-form { font-weight: 650; }
@media (max-width: 760px) {
  body.has-contact-dock { padding-bottom: 0; }
  #contact-dock { right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); width: min(380px,calc(100vw - 24px)); }
  .contact-actions .contact-toggle { width: 44px; height: 44px; padding: 0; }
  .contact-actions .contact-toggle span { display: none; }
  .contact-actions .contact-toggle svg { width: 20px; height: 20px; }
  .contact-panel { width: 100%; margin: 0 0 8px; }
}

.rfq-page-layout {
  display: grid;
  grid-template-columns: minmax(0,.88fr) minmax(0,1.12fr);
  max-width: 1600px;
  margin: 0 auto;
  padding: clamp(44px,5.2vw,90px) max(4vw,28px);
  gap: clamp(40px,9vw,145px);
}
.request-page { background: var(--bone); }
.rfq-breadcrumb { margin: 0 0 26px; color: var(--gray); font-size: 13px; }
.rfq-breadcrumb a { color: inherit; }
.rfq-intro h1 { max-width: 10em; margin: 0 0 18px; font-size: clamp(44px,4.1vw,62px) !important; line-height: 1.04 !important; font-weight: 620; }
.rfq-intro > p { max-width: 36em; margin: 0; font-size: clamp(16px,1.3vw,20px); color: #485560; line-height: 1.58; }
.rfq-direct { display: grid; justify-items: start; gap: 7px; margin-top: 36px; border-top: 1px solid var(--line-strong-b); padding-top: 18px; }
.rfq-direct p { margin: 0 0 4px; color: var(--gray); font-size: 13px; }
.rfq-direct strong { font-size: 17px; font-weight: 600; }
.rfq-direct a { color: var(--ink); font-size: 15px; text-decoration: none; }
.rfq-direct a:hover { color: var(--amber-ink); }
.rfq-form-section { min-width: 0; padding: clamp(22px,2.8vw,44px); background: var(--paper); border: 1px solid var(--line-strong-b); }
.rfq-form-section .request-form-heading { margin-bottom: 22px; }
.rfq-form-section .request-form-heading h2 { margin: 0; font-size: clamp(23px,1.8vw,30px); font-weight: 630; }
.rfq-form-section .standalone-request-form { gap: 22px; }
.rfq-form-section .request-required-fields, .rfq-form-section .request-group-grid { gap: 15px; }
.rfq-form-section .request-field, .rfq-form-section .request-file-field { font-size: 14px; font-weight: 600; }
.rfq-form-section .request-field :is(input,textarea,select) { font: inherit; font-size: 15px; font-weight: 420; line-height: 1.4; }
.rfq-form-section .request-field small { font-size: 13px; }
.rfq-form-section .request-field textarea { min-height: 95px; }
.rfq-form-section .request-group { padding: 0; }
.rfq-form-section .request-group legend { font-size: 17px; font-weight: 620; }
.rfq-form-section .request-group-grid { padding-top: 12px; }
.rfq-form-section :is(input,select,textarea):focus-visible { outline: 2px solid var(--amber-ink); outline-offset: 2px; }
.rfq-form-section .standalone-request-context span { font-size: 11px; }
.rfq-form-section .standalone-request-context strong { font-size: 14px; }
@media (max-width: 820px) {
  .rfq-page-layout { display: flex; flex-direction: column; gap: 26px; padding: 30px 20px 40px; }
  .rfq-intro { display: contents; }
  .rfq-breadcrumb { margin: 0; }
  .rfq-intro h1 { margin: -10px 0 -16px; font-size: clamp(34px,7vw,44px) !important; }
  .rfq-direct { order: 2; margin: 0; }
  .rfq-form-section { padding: 22px 18px; }
}

.rfq-upload {
  position: relative; display: flex; align-items: center; min-height: 46px;
  padding: 10px 14px; border: 1px dashed var(--line-strong-b);
  color: var(--ink); background: var(--bone); cursor: pointer;
}
.rfq-upload::before { content: "+"; margin-right: 9px; font-size: 19px; font-weight: 450; }
.rfq-upload input[type="file"] { position: absolute; inset: 0; height: 100%; min-height: 0; padding: 0; opacity: 0; cursor: pointer; }
.rfq-upload:focus-within { outline: 2px solid var(--amber-ink); outline-offset: 2px; }
#request-form-title { scroll-margin-top: 96px; }

.mail-draft-hint { display: block; margin: 6px 0; }
button.mail-draft-action {
  min-height: 44px; padding: 8px 14px; border: 1px solid var(--ink);
  background: var(--paper); color: var(--ink); font: inherit; font-weight: 600; cursor: pointer;
}
button.mail-draft-action:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
