/*
Theme Name: Industrial Theme
Description: Lightweight presentation layer for the Industrial Site project.
Version: 0.3.0
Requires at least: 7.0
Requires PHP: 8.3
Text Domain: industrial-theme
*/

:root {
  color-scheme: light;
  --ink-950: #142333;
  --ink-800: #263a4d;
  --ink-650: #4a5e70;
  --steel-500: #6f8292;
  --steel-300: #b5c0c9;
  --steel-200: #d6dee4;
  --steel-100: #e9eef2;
  --steel-050: #f5f7f8;
  --white: #fff;
  --accent-700: #0f5077;
  --accent-600: #17658f;
  --accent-100: #dcecf4;
  --signal: #c95b21;
  --focus: #815300;
  --shadow: 0 0.75rem 2.25rem rgb(20 35 51 / 9%);
  --radius-sm: 0.25rem;
  --container: 75rem;
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: var(--font-sans);
  font-size: 100%;
  line-height: 1.6;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink-950); background: var(--white); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent-700); text-underline-offset: 0.18em; }
a:hover { color: var(--signal); }
:where(a, button, input, select, textarea, [tabindex]):focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; box-shadow: 0 0 0 6px var(--white); }
button, input, select, textarea { color: inherit; font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ul, ol, dl { margin-top: 0; }
h1, h2, h3 { color: var(--ink-950); font-weight: 700; letter-spacing: -0.025em; line-height: 1.18; }
h1 { margin-bottom: 1.25rem; font-size: clamp(2rem, 4vw, 3.75rem); }
h2 { margin-bottom: 1rem; font-size: clamp(1.55rem, 2.6vw, 2.25rem); }
h3 { font-size: 1.2rem; }
.container, .site-shell { width: min(calc(100% - 2.5rem), var(--container)); margin-inline: auto; }
.site-main { min-height: 60vh; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { z-index: 100000; top: 0.75rem; left: 0.75rem; width: auto; height: auto; padding: 0.75rem 1rem; margin: 0; clip: auto; color: var(--white); background: var(--ink-950); white-space: normal; }
.eyebrow { margin-bottom: 0.65rem; color: var(--accent-600); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }
.button { display: inline-flex; min-height: 2.9rem; align-items: center; justify-content: center; padding: 0.7rem 1.1rem; border: 1px solid var(--accent-700); border-radius: var(--radius-sm); color: var(--white); background: var(--accent-700); font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none; }
.button:hover { border-color: var(--ink-950); color: var(--white); background: var(--ink-950); }
.button--secondary { color: var(--accent-700); background: var(--white); }
.button--light { border-color: var(--white); color: var(--ink-950); background: var(--white); }
.button--light:hover { border-color: var(--accent-100); color: var(--ink-950); background: var(--accent-100); }
.button-group { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.text-link { display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 750; }
.text-link::after { content: "→"; }

/* Header */
.site-header { position: relative; z-index: 20; border-bottom: 1px solid var(--steel-200); background: var(--white); }
.site-header__inner { display: flex; min-height: 5rem; align-items: center; justify-content: space-between; gap: 1.25rem; }
.site-title { display: inline-flex; align-items: center; gap: 0.7rem; color: var(--ink-950); font-size: 1.05rem; font-weight: 800; letter-spacing: -0.01em; text-decoration: none; }
.site-title__mark { display: grid; width: 2.3rem; aspect-ratio: 1; place-items: center; color: var(--white); background: var(--accent-700); font-size: 0.78rem; letter-spacing: 0.08em; }
.custom-logo { width: auto; max-height: 3rem; }
.site-nav__panel, .site-nav__list { display: flex; align-items: center; }
.site-nav__panel { gap: 1.5rem; }
.site-nav__list, .site-nav__list ul, .site-footer__links { padding: 0; margin: 0; list-style: none; }
.site-nav__list { gap: 0.15rem; }
.site-nav__list a { display: block; padding: 0.7rem 0.65rem; color: var(--ink-800); font-size: 0.94rem; font-weight: 700; text-decoration: none; }
.site-nav__list a:hover, .site-nav__list .current-menu-item > a, .site-nav__list .current_page_item > a { color: var(--accent-700); }
.site-nav__list .menu-item-has-children { position: relative; }
.site-nav__list ul { position: absolute; top: 100%; left: 0; display: none; min-width: 13rem; padding: 0.5rem; border: 1px solid var(--steel-200); background: var(--white); box-shadow: var(--shadow); }
.site-nav__list li:hover > ul, .site-nav__list li:focus-within > ul { display: block; }
.site-nav__toggle { display: none; width: 2.85rem; height: 2.85rem; border: 1px solid var(--steel-300); border-radius: var(--radius-sm); background: var(--white); }
.site-nav__toggle-lines, .site-nav__toggle-lines::before, .site-nav__toggle-lines::after { display: block; width: 1.25rem; height: 2px; margin-inline: auto; background: var(--ink-950); content: ""; }
.site-nav__toggle-lines::before { transform: translateY(-0.38rem); }
.site-nav__toggle-lines::after { transform: translateY(0.26rem); }

/* Footer */
.site-footer { margin-top: clamp(4rem, 8vw, 7rem); color: var(--steel-200); background: var(--ink-950); }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 3rem; padding-block: 4rem; }
.site-footer h2 { margin-bottom: 1rem; color: var(--white); font-size: 1rem; letter-spacing: 0; }
.site-footer p { max-width: 25rem; color: var(--steel-300); }
.site-footer__links li + li { margin-top: 0.55rem; }
.site-footer a { color: var(--steel-200); }
.site-footer a:hover { color: var(--white); }
.site-footer__bottom { padding-block: 1.25rem; border-top: 1px solid rgb(255 255 255 / 14%); font-size: 0.82rem; }
.site-footer__bottom p { margin: 0; }

/* Shared catalog components */
.breadcrumbs { padding-block: 1.25rem; font-size: 0.84rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0; margin: 0; list-style: none; }
.breadcrumbs li:not(:last-child)::after { margin-left: 0.4rem; color: var(--steel-500); content: "/"; }
.breadcrumbs a { color: var(--ink-650); }
.page-header { padding-block: clamp(2.5rem, 6vw, 5rem); }
.page-header--catalog { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr); align-items: end; gap: clamp(2rem, 6vw, 6rem); border-bottom: 1px solid var(--steel-200); }
.page-header__intro { max-width: 44rem; margin-bottom: 0; color: var(--ink-650); font-size: 1.08rem; }
.product-search { padding: 1.15rem; border: 1px solid var(--steel-200); background: var(--steel-050); }
.product-search label { display: block; margin-bottom: 0.45rem; font-size: 0.84rem; font-weight: 750; }
.product-search__controls { display: flex; }
.product-search input[type="search"] { min-width: 0; width: 100%; min-height: 2.9rem; padding: 0.65rem 0.8rem; border: 1px solid var(--steel-300); border-right: 0; border-radius: var(--radius-sm) 0 0 var(--radius-sm); background: var(--white); }
.product-search .button { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.catalog-section, .home-section, .product-section { padding-top: clamp(3.5rem, 7vw, 6rem); }
.section-heading { margin-bottom: 1.5rem; }
.section-heading--split { display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.section-heading--split > * { margin-bottom: 0; }
.category-navigation ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; padding: 0; margin: 0; list-style: none; }
.category-navigation a { display: flex; min-height: 4.4rem; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.15rem; border: 1px solid var(--steel-200); color: var(--ink-950); background: var(--white); font-weight: 750; text-decoration: none; }
.category-navigation a:hover { border-color: var(--accent-600); color: var(--accent-700); box-shadow: 0 0.35rem 1.5rem rgb(20 35 51 / 7%); }
.category-navigation__count { display: grid; flex: 0 0 auto; width: 2rem; height: 2rem; place-items: center; border-radius: 50%; color: var(--ink-650); background: var(--steel-100); font-size: 0.78rem; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.product-card { display: flex; min-width: 0; flex-direction: column; border: 1px solid var(--steel-200); background: var(--white); }
.product-card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 1px solid var(--steel-200); background: var(--steel-050); }
.product-card__image { width: 100%; height: 100%; object-fit: contain; }
.product-card__placeholder, .product-gallery__placeholder { display: grid; width: 100%; height: 100%; place-items: center; color: var(--steel-500); background: var(--steel-050); }
.product-card__placeholder > span { display: grid; width: 3.4rem; aspect-ratio: 1; place-items: center; border: 1px solid var(--steel-300); font-weight: 800; letter-spacing: 0.08em; }
.product-card__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 1.35rem; }
.product-card__category { margin-bottom: 0.55rem; color: var(--accent-600); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; }
.product-card__title { margin-bottom: 0.65rem; font-size: 1.2rem; }
.product-card__title a { color: var(--ink-950); text-decoration: none; }
.product-card__model, .product-card__excerpt { color: var(--ink-650); font-size: 0.9rem; }
.product-card__model { margin-bottom: 0.6rem; font-weight: 650; }
.product-card__excerpt { margin-bottom: 1.1rem; }
.product-card__link { margin-top: auto; }
.product-card__actions { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 0.75rem; margin-top: auto; }
.product-card__actions .button { min-height: 2.5rem; padding: 0.55rem 0.75rem; font-size: 0.84rem; }
.industrial-add-to-rfq.is-added, [data-industrial-rfq-add].is-added { border-color: var(--steel-300); color: var(--ink-650); background: var(--steel-100); }
.pagination { margin-top: 2.5rem; }
.pagination .page-numbers { display: flex; flex-wrap: wrap; gap: 0.35rem; padding: 0; list-style: none; }
.pagination a, .pagination .current { display: grid; min-width: 2.6rem; min-height: 2.6rem; place-items: center; padding: 0.4rem 0.7rem; border: 1px solid var(--steel-200); text-decoration: none; }
.pagination .current { border-color: var(--accent-700); color: var(--white); background: var(--accent-700); }
.empty-state { max-width: 42rem; padding: 2rem; border: 1px solid var(--steel-200); background: var(--steel-050); }

/* Home foundation */
.home-intro { border-bottom: 1px solid var(--steel-200); background: var(--steel-050); }
.home-intro__inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.75fr); align-items: center; gap: clamp(3rem, 8vw, 8rem); min-height: 35rem; padding-block: 5rem; }
.home-intro h1 { max-width: 50rem; }
.home-intro__inner > div > p:not(.eyebrow) { max-width: 43rem; color: var(--ink-650); font-size: 1.1rem; }
.home-section--muted { padding-bottom: clamp(3.5rem, 7vw, 6rem); background: var(--steel-050); }
.home-section--bordered { padding-bottom: clamp(3.5rem, 7vw, 6rem); border-block: 1px solid var(--steel-200); }
.home-section__intro { max-width: 46rem; color: var(--ink-650); }
.home-link-grid, .home-value-grid, .content-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.home-link-grid { padding: 0; list-style: none; }
.home-link-grid a, .home-value-grid article { display: block; height: 100%; padding: 1.35rem; border: 1px solid var(--steel-200); background: var(--white); }
.home-link-grid a { color: var(--ink-950); font-weight: 750; text-decoration: none; }
.home-value-grid article p { margin-bottom: 0; color: var(--ink-650); }
.home-supply { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.home-final-cta { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: clamp(2rem, 5vw, 4rem); margin-top: clamp(4rem, 8vw, 7rem); color: var(--steel-100); background: var(--accent-700); }
.home-final-cta h2, .home-final-cta .eyebrow { color: var(--white); }
.home-final-cta p:last-child { max-width: 45rem; margin-bottom: 0; }

/* Product detail */
.product-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.9fr); align-items: start; gap: clamp(2.5rem, 6vw, 6rem); padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.product-gallery__primary, .product-gallery__placeholder { aspect-ratio: 4 / 3; border: 1px solid var(--steel-200); background: var(--steel-050); }
.product-gallery__primary img { width: 100%; height: 100%; object-fit: contain; }
.product-gallery__placeholder span { padding: 0.75rem 1rem; border: 1px solid var(--steel-300); font-weight: 750; }
.product-gallery__thumbnails { display: flex; gap: 0.65rem; padding: 0; margin: 0.75rem 0 0; overflow-x: auto; list-style: none; }
.product-gallery__thumbnails a { display: block; width: 5rem; aspect-ratio: 1; padding: 0.2rem; border: 1px solid var(--steel-200); background: var(--white); }
.product-gallery__thumbnails img { width: 100%; height: 100%; object-fit: contain; }
.product-summary__categories { display: flex; flex-wrap: wrap; gap: 0.45rem; padding: 0; margin-bottom: 1rem; list-style: none; }
.product-summary__categories a { color: var(--accent-600); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.product-summary h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
.product-identity { display: flex; flex-wrap: wrap; gap: 0.7rem 1.5rem; padding-block: 1rem; margin-bottom: 1.25rem; border-block: 1px solid var(--steel-200); }
.product-identity div { display: flex; gap: 0.35rem; }
.product-identity dt { color: var(--ink-650); font-size: 0.86rem; font-weight: 700; }
.product-identity dd { margin: 0; font-size: 0.86rem; }
.product-summary__excerpt { color: var(--ink-650); font-size: 1.05rem; }
.feature-list { display: grid; gap: 0.65rem; padding: 0; margin-block: 1.5rem; list-style: none; }
.feature-list li { position: relative; padding-left: 1.4rem; }
.feature-list li::before { position: absolute; top: 0.58em; left: 0; width: 0.48rem; height: 0.48rem; background: var(--signal); content: ""; }
.product-summary__actions { padding: 1.25rem; margin-top: 1.75rem; border-left: 3px solid var(--signal); background: var(--steel-050); }
.product-summary__actions > .text-link { margin-left: 0.8rem; }
.product-summary__actions p { margin: 0.75rem 0 0; color: var(--ink-650); font-size: 0.84rem; }
.product-section { margin-top: clamp(3rem, 7vw, 6rem); padding-top: 0; border-top: 1px solid var(--steel-200); }
.product-section > .section-heading { padding-top: 2rem; }
.product-section--prose { display: grid; grid-template-columns: minmax(13rem, 0.34fr) minmax(0, 0.66fr); gap: clamp(2rem, 6vw, 6rem); }
.prose { padding-top: 2rem; color: var(--ink-800); }
.prose > *:last-child { margin-bottom: 0; }
.table-scroll { max-width: 100%; overflow-x: auto; border: 1px solid var(--steel-200); }
.specifications-table { width: 100%; min-width: 34rem; border-collapse: collapse; }
.specifications-table th, .specifications-table td { padding: 0.9rem 1rem; border-bottom: 1px solid var(--steel-200); text-align: left; vertical-align: top; }
.specifications-table thead th, .specifications-table__group th { color: var(--ink-950); background: var(--steel-100); font-size: 0.84rem; }
.specifications-table tbody tr:last-child > * { border-bottom: 0; }
.specifications-table tbody th { width: 42%; font-weight: 650; }
.application-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; padding: 0; list-style: none; }
.application-list li { padding: 1rem 1.15rem; border: 1px solid var(--steel-200); background: var(--steel-050); }
.supply-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--steel-200); border-left: 1px solid var(--steel-200); }
.supply-grid div { padding: 1.25rem; border-right: 1px solid var(--steel-200); border-bottom: 1px solid var(--steel-200); }
.supply-grid dt { margin-bottom: 0.35rem; color: var(--ink-650); font-size: 0.78rem; font-weight: 750; letter-spacing: 0.04em; text-transform: uppercase; }
.supply-grid dd { margin: 0; font-weight: 650; }
.resource-list { padding: 0; border-top: 1px solid var(--steel-200); list-style: none; }
.resource-list li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--steel-200); }
.resource-list a { font-weight: 750; }
.resource-list span { color: var(--ink-650); font-size: 0.82rem; text-align: right; }
.related-products .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-cta { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: clamp(2rem, 5vw, 4rem); margin-top: clamp(4rem, 8vw, 7rem); color: var(--steel-100); background: var(--accent-700); }
.product-cta h2, .product-cta .eyebrow { color: var(--white); }
.product-cta p:last-child { max-width: 46rem; margin-bottom: 0; }
.product-cta__actions { display: flex; flex: 0 0 auto; flex-direction: column; gap: 0.75rem; align-items: center; }
.product-cta__actions a { color: var(--white); font-weight: 700; }

/* RFQ workflow */
.site-header__rfq-count { display: grid; min-width: 1.55rem; height: 1.55rem; margin-left: 0.55rem; place-items: center; border-radius: 50%; color: var(--accent-700); background: var(--white); font-size: 0.75rem; }
.page-entry .entry-content > .industrial-rfq-page, .page-entry .entry-content > .industrial-rfq-success { max-width: none; }
.industrial-rfq-page { padding-top: clamp(2.5rem, 6vw, 5rem); }
.industrial-rfq-heading { max-width: 52rem; margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.industrial-rfq-heading > p:last-child { color: var(--ink-650); font-size: 1.08rem; }
.industrial-rfq-list-section { padding: 1.5rem; border: 1px solid var(--steel-200); background: var(--steel-050); }
.industrial-rfq-clear, .industrial-rfq-remove { padding: 0; border: 0; color: var(--accent-700); background: transparent; font-weight: 700; text-decoration: underline; text-underline-offset: 0.2em; }
.industrial-rfq-list { display: grid; gap: 0.75rem; }
.industrial-rfq-item { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding: 1rem; border: 1px solid var(--steel-200); background: var(--white); }
.industrial-rfq-item > img { width: 5.5rem; aspect-ratio: 1; object-fit: contain; background: var(--steel-050); }
.industrial-rfq-item h3, .industrial-rfq-item p { margin-bottom: 0.35rem; }
.industrial-rfq-item h3 { font-size: 1rem; }
.industrial-rfq-item p { color: var(--ink-650); font-size: 0.84rem; }
.industrial-rfq-item__controls { display: grid; grid-template-columns: 6.5rem auto; align-items: end; gap: 0.25rem 1rem; }
.industrial-rfq-item__controls label { grid-column: 1; font-size: 0.8rem; font-weight: 750; }
.industrial-rfq-item__controls input { grid-column: 1; width: 6.5rem; min-height: 2.7rem; padding: 0.5rem; border: 1px solid var(--steel-300); }
.industrial-rfq-item__controls button { grid-column: 2; grid-row: 2; }
.industrial-rfq-empty { padding: 2rem; text-align: center; }
.industrial-rfq-empty[hidden], .industrial-rfq-form[hidden] { display: none; }
.industrial-rfq-form { display: grid; gap: 1.5rem; max-width: 58rem; padding-top: clamp(3rem, 7vw, 6rem); margin-inline: auto; }
.industrial-rfq-form fieldset { padding: 1.5rem; border: 1px solid var(--steel-200); }
.industrial-rfq-form legend { padding-inline: 0.5rem; color: var(--ink-950); font-size: 1.25rem; font-weight: 750; }
.industrial-rfq-form label { display: block; margin-bottom: 0.35rem; font-weight: 700; }
.industrial-rfq-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.industrial-rfq-form input:not([type="hidden"]):not([type="file"]), .industrial-rfq-form textarea { width: 100%; padding: 0.7rem 0.8rem; border: 1px solid var(--steel-300); border-radius: var(--radius-sm); background: var(--white); }
.industrial-rfq-form input:not([type="hidden"]):not([type="file"]) { min-height: 2.9rem; }
.industrial-rfq-form textarea { resize: vertical; }
.industrial-rfq-form input[type="file"] { width: 100%; padding: 0.8rem; border: 1px dashed var(--steel-300); background: var(--steel-050); }
.form-help, .industrial-rfq-submit p { margin: 0.5rem 0 0; color: var(--ink-650); font-size: 0.84rem; }
.industrial-rfq-submit { display: flex; align-items: center; gap: 1rem; }
.industrial-rfq-submit p { margin: 0; }
.industrial-rfq-submit button:disabled { cursor: not-allowed; opacity: 0.55; }
.industrial-rfq-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.industrial-rfq-errors { max-width: 58rem; padding: 1.25rem; margin: 0 auto 2rem; border: 2px solid #a12828; background: #fff4f4; }
.industrial-rfq-errors h2 { font-size: 1.2rem; }
.industrial-rfq-success { max-width: 48rem; padding: clamp(3rem, 8vw, 6rem); margin: clamp(3rem, 8vw, 7rem) auto; border: 1px solid var(--steel-200); text-align: center; background: var(--steel-050); }
.industrial-rfq-client-error { padding: 1rem; border-left: 3px solid #a12828; background: #fff4f4; }

/* Generic WordPress content */
.content-list { display: grid; gap: 1.25rem; }
.content-card { padding: 1.5rem; border: 1px solid var(--steel-200); }
.content-card__image { display: block; margin: -1.5rem -1.5rem 1.25rem; aspect-ratio: 16 / 9; overflow: hidden; background: var(--steel-050); }
.content-card__image img { width: 100%; height: 100%; object-fit: cover; }
.content-card__meta { margin-bottom: 0.65rem; color: var(--ink-650); font-size: 0.82rem; }
.content-card h2, .content-card h3 { margin-bottom: 0.75rem; }
.content-card h2 a, .content-card h3 a { color: var(--ink-950); text-decoration: none; }
.page-layout, .content-layout, .article-layout { padding-bottom: clamp(2rem, 5vw, 4rem); }
.page-entry > .page-header, .article-entry__header { max-width: 52rem; }
.page-entry > .entry-content, .article-entry > .entry-content { color: var(--ink-800); }
.contact-foundation__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.contact-foundation__grid > section { padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid var(--steel-200); background: var(--steel-050); }
.article-entry { max-width: 52rem; margin-inline: auto; }
.article-entry__image { margin: 0 0 2rem; aspect-ratio: 16 / 9; overflow: hidden; background: var(--steel-050); }
.article-entry__image img { width: 100%; height: 100%; object-fit: cover; }
.article-entry__footer { padding-top: 1.5rem; margin-top: 2.5rem; border-top: 1px solid var(--steel-200); }
.system-page { max-width: 48rem; padding-block: clamp(4rem, 10vw, 9rem); }
.system-page > p:not(.eyebrow) { color: var(--ink-650); font-size: 1.08rem; }
.entry-content > * { max-width: 48rem; }

@media (max-width: 56.25rem) {
  .site-nav__toggle { display: grid; place-items: center; }
  .site-nav__panel { position: absolute; top: 100%; left: 0; display: none; width: 100%; align-items: stretch; padding: 1rem max(1.25rem, calc((100vw - var(--container)) / 2)); border-top: 1px solid var(--steel-200); border-bottom: 1px solid var(--steel-200); background: var(--white); box-shadow: var(--shadow); }
  .site-nav__panel.is-open { display: block; }
  .site-nav__list { display: block; }
  .site-nav__list a { padding: 0.8rem 0; border-bottom: 1px solid var(--steel-100); }
  .site-nav__list ul { position: static; display: block; padding: 0 0 0 1rem; border: 0; box-shadow: none; }
  .site-header__quote { width: 100%; margin-top: 1rem; }
  .page-header--catalog, .home-intro__inner, .product-hero { grid-template-columns: 1fr; }
  .home-intro__inner { min-height: 0; }
  .product-grid, .related-products .product-grid, .category-navigation ul, .home-link-grid, .home-value-grid, .content-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .supply-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .industrial-rfq-item { grid-template-columns: 4.5rem minmax(0, 1fr); }
  .industrial-rfq-item > img { width: 4.5rem; }
  .industrial-rfq-item__controls { grid-column: 1 / -1; grid-template-columns: 7rem auto; }
}

@media (max-width: 42rem) {
  .container, .site-shell { width: min(calc(100% - 2rem), var(--container)); }
  .site-header__inner { min-height: 4.35rem; }
  .product-search__controls { display: grid; gap: 0.5rem; }
  .product-search input[type="search"], .product-search .button { width: 100%; border: 1px solid var(--steel-300); border-radius: var(--radius-sm); }
  .product-search .button { border-color: var(--accent-700); }
  .product-grid, .related-products .product-grid, .category-navigation ul, .application-list, .supply-grid, .site-footer__grid, .product-section--prose, .home-link-grid, .home-value-grid, .content-grid, .home-supply, .contact-foundation__grid { grid-template-columns: 1fr; }
  .section-heading--split, .product-cta, .home-final-cta, .resource-list li { align-items: flex-start; flex-direction: column; }
  .product-cta .button { width: 100%; }
  .resource-list span { text-align: left; }
  .button-group { display: grid; }
  .product-card__actions, .industrial-rfq-submit, .product-summary__actions { align-items: stretch; flex-direction: column; }
  .product-summary__actions > .text-link { margin: 0.75rem 0 0; }
  .industrial-rfq-fields { grid-template-columns: 1fr; }
  .industrial-rfq-list-section, .industrial-rfq-form fieldset { padding: 1rem; }
  .industrial-rfq-item { grid-template-columns: 1fr; }
  .industrial-rfq-item > img { width: 100%; max-height: 10rem; }
  .industrial-rfq-item__controls { grid-column: auto; }
  .industrial-rfq-submit .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
