:root,
[data-theme='light'] {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2.25rem, 1.3rem + 3vw, 4.75rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  --color-bg: #f5f1e8;
  --color-surface: #fffaf0;
  --color-surface-2: #f0e7d8;
  --color-surface-offset: #e5dac8;
  --color-surface-dynamic: #d7c9b4;
  --color-divider: #d4c4ad;
  --color-border: #c4b39d;
  --color-text: #221f1b;
  --color-text-muted: #665d51;
  --color-text-faint: #9d907f;
  --color-text-inverse: #fff8ec;
  --color-primary: #8f221c;
  --color-primary-hover: #6f1915;
  --color-primary-active: #4a110e;
  --color-primary-highlight: #efd3c7;
  --color-industrial: #1f3039;
  --color-industrial-soft: #dbe3e4;
  --color-warning: #9b581d;
  --color-success: #3f6f38;
  --tile-bg: var(--color-surface);
  --tile-bg-strong: var(--color-surface);
  --tile-border: oklch(from var(--color-text) l c h / 0.1);
  --tile-border-strong: oklch(from var(--color-text) l c h / 0.16);
  --tile-hover: oklch(from var(--color-primary) l c h / 0.12);

  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 1px 2px oklch(0.22 0.03 65 / 0.08);
  --shadow-md: 0 8px 24px oklch(0.22 0.03 65 / 0.11);
  --shadow-lg: 0 24px 60px oklch(0.22 0.03 65 / 0.16);
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
  --font-display: 'Cabinet Grotesk', 'Arial Narrow', sans-serif;
  --font-body: 'Satoshi', 'Inter', sans-serif;
}

[data-theme='dark'] {
  --color-bg: #161514;
  --color-surface: #211f1d;
  --color-surface-2: #292724;
  --color-surface-offset: #302d29;
  --color-surface-dynamic: #3a352f;
  --color-divider: #39352f;
  --color-border: #514a42;
  --color-text: #f1e8d9;
  --color-text-muted: #b7aa97;
  --color-text-faint: #807565;
  --color-text-inverse: #1c1916;
  --color-primary: #ef776c;
  --color-primary-hover: #ff9b91;
  --color-primary-active: #f6b5ad;
  --color-primary-highlight: #4a2622;
  --color-industrial: #d9e8ec;
  --color-industrial-soft: #23333a;
  --color-warning: #e0a35f;
  --color-success: #91c785;
  --tile-bg: #24211e;
  --tile-bg-strong: #2d2925;
  --tile-border: rgb(255 248 236 / 0.16);
  --tile-border-strong: rgb(255 248 236 / 0.26);
  --tile-hover: rgb(239 119 108 / 0.18);
  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.24);
  --shadow-md: 0 8px 24px oklch(0 0 0 / 0.34);
  --shadow-lg: 0 24px 60px oklch(0 0 0 / 0.46);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #161514;
    --color-surface: #211f1d;
    --color-surface-2: #292724;
    --color-surface-offset: #302d29;
    --color-surface-dynamic: #3a352f;
    --color-divider: #39352f;
    --color-border: #514a42;
    --color-text: #f1e8d9;
    --color-text-muted: #b7aa97;
    --color-text-faint: #807565;
    --color-text-inverse: #1c1916;
    --color-primary: #ef776c;
    --color-primary-hover: #ff9b91;
    --color-primary-active: #f6b5ad;
    --color-primary-highlight: #4a2622;
    --color-industrial: #d9e8ec;
    --color-industrial-soft: #23333a;
    --color-warning: #e0a35f;
    --color-success: #91c785;
    --tile-bg: #24211e;
    --tile-bg-strong: #2d2925;
    --tile-border: rgb(255 248 236 / 0.16);
    --tile-border-strong: rgb(255 248 236 / 0.26);
    --tile-hover: rgb(239 119 108 / 0.18);
    --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.24);
    --shadow-md: 0 8px 24px oklch(0 0 0 / 0.34);
    --shadow-lg: 0 24px 60px oklch(0 0 0 / 0.46);
  }
}

body {
  background:
    linear-gradient(90deg, oklch(from var(--color-text) l c h / 0.035) 1px, transparent 1px) 0 0 / 80px 80px,
    linear-gradient(0deg, oklch(from var(--color-text) l c h / 0.025) 1px, transparent 1px) 0 0 / 80px 80px,
    var(--color-bg);
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--color-primary);
}

.skip-link {
  position: fixed;
  inset-inline-start: var(--space-4);
  top: var(--space-4);
  z-index: 100;
  transform: translateY(calc(-100% - var(--space-8)));
  background: var(--color-primary);
  color: var(--color-text-inverse);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(100% - var(--space-8), var(--content-wide));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: oklch(from var(--color-bg) l c h / 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid oklch(from var(--color-text) l c h / 0.1);
}

.utility-bar {
  background: var(--color-industrial);
  color: var(--color-text-inverse);
  font-size: var(--text-xs);
}

[data-theme='dark'] .utility-bar {
  color: #161514;
}

.utility-inner,
.header-main,
.category-inner,
.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.utility-inner {
  min-height: 36px;
}

.utility-links {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  white-space: nowrap;
}

.header-main {
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-text);
  min-height: 44px;
}

.brand-logo {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  background: #fff;
  border: 1px solid oklch(0 0 0 / 0.08);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

[data-theme='dark'] .brand-logo,
:root:not([data-theme]) .brand-logo {
  background: #fff;
}

.brand-logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  line-height: 1;
  letter-spacing: -0.03em;
}

.brand small {
  display: block;
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.primary-nav,
.category-inner,
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.primary-nav a,
.category-inner a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding-inline: var(--space-3);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  font-weight: 700;
}

.category-strip {
  border-top: 1px solid oklch(from var(--color-text) l c h / 0.08);
  background: oklch(from var(--color-surface) l c h / 0.68);
  overflow-x: auto;
}

.category-inner {
  justify-content: flex-start;
  min-height: 48px;
}

.category-inner a {
  white-space: nowrap;
}

.theme-toggle {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid oklch(from var(--color-text) l c h / 0.12);
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
}

.theme-toggle:hover {
  color: var(--color-primary);
  border-color: oklch(from var(--color-primary) l c h / 0.5);
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-md);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  font-size: var(--text-sm);
  font-weight: 900;
  box-shadow: var(--shadow-sm);
}

[data-theme='dark'] .button {
  color: #161514;
}

.button:hover {
  color: var(--color-text-inverse);
  background: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

[data-theme='dark'] .button:hover {
  color: #161514;
}

.button-small {
  min-height: 44px;
  padding: var(--space-2) var(--space-4);
}

.button-secondary {
  background: transparent;
  color: var(--color-text);
  border: 1px solid oklch(from var(--color-text) l c h / 0.14);
  box-shadow: none;
}

[data-theme='dark'] .button-secondary {
  background: var(--tile-bg-strong);
  color: var(--color-text);
  border-color: var(--tile-border-strong);
}

.button-secondary:hover {
  background: var(--color-surface);
  color: var(--color-primary);
  border-color: oklch(from var(--color-primary) l c h / 0.4);
}

[data-theme='dark'] .button-secondary:hover {
  background: var(--color-surface-2);
  color: var(--color-primary-hover);
  border-color: oklch(from var(--color-primary) l c h / 0.48);
}

.section {
  padding-block: clamp(var(--space-16), 9vw, var(--space-32));
}

.section-tight {
  padding-block: clamp(var(--space-10), 6vw, var(--space-20));
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: auto -12vw 0 auto;
  width: min(46vw, 620px);
  aspect-ratio: 1;
  background: color-mix(in oklab, var(--color-primary-highlight), transparent 8%);
  clip-path: polygon(50% 0, 100% 28%, 92% 78%, 42% 100%, 0 68%, 8% 18%);
  opacity: 0.7;
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.78fr);
  gap: clamp(var(--space-8), 7vw, var(--space-20));
  align-items: center;
}

.eyebrow {
  color: var(--color-primary);
  font-size: var(--text-xs);
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  letter-spacing: -0.035em;
}

h1 {
  font-size: var(--text-2xl);
  max-width: 11ch;
}

h2 {
  font-size: var(--text-xl);
}

h3 {
  font-size: var(--text-lg);
}

.hero-lede {
  margin-top: var(--space-6);
  color: var(--color-text-muted);
  font-size: var(--text-lg);
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-8);
}

.proof-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-10);
}

.proof-row div {
  padding-top: var(--space-4);
  border-top: 1px solid oklch(from var(--color-text) l c h / 0.13);
}

.proof-row dt {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  line-height: 1;
  font-weight: 800;
}

.proof-row dd {
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  font-weight: 700;
  line-height: 1.35;
  margin-top: var(--space-2);
}

.hero-panel {
  background: var(--color-surface);
  border: 1px solid oklch(from var(--color-text) l c h / 0.12);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: var(--space-5);
  transform: rotate(1deg);
}

.panel-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid oklch(from var(--color-text) l c h / 0.1);
}

.panel-top span {
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.panel-top strong {
  max-width: 12ch;
  text-align: right;
  line-height: 1.1;
}

.bin-visual {
  display: grid;
  gap: var(--space-4);
  margin-block: var(--space-6);
}

.bin-row {
  display: grid;
  gap: var(--space-2);
  padding: var(--space-4);
  background: var(--color-surface-2);
  border-radius: var(--radius-md);
  border: 1px solid oklch(from var(--color-text) l c h / 0.08);
}

.bin-row span {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  font-weight: 700;
}

.bin-row b {
  height: 12px;
  overflow: hidden;
  border-radius: var(--radius-full);
  background: oklch(from var(--color-text) l c h / 0.08);
}

.bin-row b::before {
  content: '';
  display: block;
  width: var(--fill);
  height: 100%;
  background: var(--color-success);
  border-radius: inherit;
}

.bin-row.alert b::before {
  background: var(--color-warning);
}

.panel-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
}

.panel-footer p {
  min-height: 54px;
  display: grid;
  place-items: center;
  padding: var(--space-2);
  text-align: center;
  border: 1px dashed oklch(from var(--color-text) l c h / 0.18);
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  font-weight: 900;
  line-height: 1.2;
}

.intro {
  background: var(--color-industrial);
  color: var(--color-text-inverse);
}

[data-theme='dark'] .intro {
  color: #161514;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: var(--space-10);
  align-items: end;
}

.intro .eyebrow {
  color: inherit;
  opacity: 0.7;
}

.intro p:last-child {
  color: inherit;
  opacity: 0.84;
  font-size: var(--text-lg);
}

.section-heading {
  display: grid;
  gap: var(--space-2);
  max-width: 820px;
  margin-bottom: var(--space-10);
}

.section-heading.compact {
  margin-bottom: 0;
}

.section-heading p:not(.eyebrow),
.service-card p,
.service-stack p,
.vmi-cards p,
.process-list p,
.contact-grid p,
.product-feature p,
.product-list p,
.site-footer p {
  color: var(--color-text-muted);
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1fr);
  gap: var(--space-5);
}

.product-feature,
.service-card,
.contact-card,
.product-list article,
.service-stack article,
.vmi-cards article {
  background: var(--tile-bg);
  border: 1px solid var(--tile-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.product-feature {
  padding: var(--space-8);
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-8);
}

.product-feature h3 {
  font-size: var(--text-xl);
}

.product-feature a {
  color: var(--color-primary);
  font-size: var(--text-sm);
  font-weight: 900;
}

.text-link {
  display: inline-flex;
  width: fit-content;
  margin-top: var(--space-4);
  color: var(--color-primary);
  font-size: var(--text-sm);
  font-weight: 900;
}

.download-links,
.line-card-summary-actions,
.download-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}

.download-links {
  margin-top: var(--space-4);
}

.download-links .text-link,
.line-card-summary-actions .text-link {
  margin-top: 0;
}

.product-list {
  display: grid;
  gap: var(--space-4);
}

.product-list article {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--space-5);
  padding: var(--space-5);
}

.product-list span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--color-industrial-soft);
  color: var(--color-industrial);
  font-size: var(--text-xs);
  font-weight: 900;
}

.product-list h3,
.product-list p {
  grid-column: 2;
}

.product-list .text-link {
  grid-column: 2;
  margin-top: var(--space-1);
}

.order-rfq-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-6);
  align-items: center;
  margin-top: var(--space-8);
  padding: var(--space-6);
  background: color-mix(in oklab, var(--color-primary-highlight), var(--color-surface) 58%);
  border: 1px solid oklch(from var(--color-primary) l c h / 0.18);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.order-rfq-callout h3 {
  margin-bottom: var(--space-2);
  font-size: var(--text-xl);
}

.order-rfq-callout p:not(.eyebrow) {
  color: var(--color-text-muted);
}

.taxonomy-callout {
  margin-top: var(--space-6);
  padding: var(--space-6);
  background: color-mix(in oklab, var(--color-industrial-soft), transparent 22%);
  border: 1px solid oklch(from var(--color-text) l c h / 0.1);
  border-radius: var(--radius-lg);
}

.taxonomy-callout .eyebrow {
  margin-bottom: var(--space-2);
}

.taxonomy-callout p:not(.eyebrow) {
  color: var(--color-text-muted);
  max-width: 96ch;
}

.taxonomy-callout strong {
  color: var(--color-text);
  font-size: var(--text-sm);
  font-weight: 900;
  white-space: nowrap;
}

.manufacturer-snapshot {
  margin-top: var(--space-5);
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1fr);
  gap: var(--space-5);
  align-items: stretch;
}

.snapshot-copy,
.logo-tile {
  background: var(--tile-bg);
  border: 1px solid var(--tile-border);
  box-shadow: var(--shadow-sm);
}

.snapshot-copy {
  padding: var(--space-6);
  border-radius: var(--radius-lg);
}

.snapshot-copy .eyebrow {
  margin-bottom: var(--space-2);
}

.snapshot-copy h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}

.snapshot-copy p:not(.eyebrow) {
  color: var(--color-text-muted);
}

.logo-wall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--space-3);
}

.logo-tile {
  min-height: 108px;
  padding: var(--space-4);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.logo-tile img {
  width: min(100%, 160px);
  max-height: 54px;
  object-fit: contain;
  display: block;
  filter: saturate(0.95) contrast(1.02);
}

.logo-tile-featured img {
  width: min(100%, 178px);
  max-height: 62px;
}

.logo-tile-fill img {
  width: min(100%, 188px);
  max-height: 70px;
}

.logo-tile::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid oklch(from var(--color-text) l c h / 0.08);
  border-radius: calc(var(--radius-md) - 6px);
  pointer-events: none;
}

.logo-tile span {
  color: var(--color-text);
  font-size: clamp(0.95rem, 1.35vw, 1.35rem);
  font-weight: 950;
  letter-spacing: -0.035em;
  line-height: 1.05;
  text-wrap: balance;
}

.logo-tile span:only-child {
  display: none;
}

.logo-tile small {
  color: var(--color-industrial);
  font-size: var(--text-xs);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.logo-tile-featured {
  background:
    linear-gradient(135deg, var(--tile-hover), transparent 64%),
    var(--tile-bg-strong);
  border-color: oklch(from var(--color-primary) l c h / 0.3);
}

.logo-tile:nth-child(3) span {
  letter-spacing: -0.08em;
}

.line-card-hero {
  background:
    linear-gradient(90deg, oklch(from var(--color-bg) l c h / 0.96), oklch(from var(--color-surface-2) l c h / 0.74)),
    repeating-linear-gradient(90deg, transparent 0 71px, oklch(from var(--color-text) l c h / 0.05) 72px 73px);
}

.line-card-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.55fr);
  gap: var(--space-12);
  align-items: center;
}

.line-card-hero h1 {
  max-width: 13ch;
  margin-block: var(--space-4);
}

.line-card-summary {
  padding: var(--space-8);
  background: var(--color-surface);
  border: 1px solid oklch(from var(--color-text) l c h / 0.1);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.line-card-summary img {
  width: 96px;
  height: 91px;
  object-fit: contain;
  margin-bottom: var(--space-5);
  padding: var(--space-2);
  background: #fff;
  border: 1px solid oklch(0 0 0 / 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.line-card-summary > p {
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: var(--space-6);
}

.line-card-summary dl {
  display: grid;
  gap: var(--space-4);
}

.line-card-summary-actions {
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid oklch(from var(--color-text) l c h / 0.1);
}

.line-card-summary dl div {
  padding-top: var(--space-4);
  border-top: 1px solid oklch(from var(--color-text) l c h / 0.1);
}

.line-card-summary dt {
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.line-card-summary dd {
  margin-top: var(--space-1);
  color: var(--color-text);
  font-weight: 900;
}

.line-card-grid,
.line-logo-grid,
.line-service-grid {
  display: grid;
  gap: var(--space-4);
}

.line-card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.line-card-grid article {
  min-height: 280px;
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  background: var(--color-surface);
  border: 1px solid oklch(from var(--color-text) l c h / 0.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.line-card-grid span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--color-industrial-soft);
  color: var(--color-industrial);
  font-size: var(--text-xs);
  font-weight: 900;
}

.line-card-grid h3 {
  font-size: var(--text-xl);
}

.line-card-grid p,
.line-manufacturers .section-heading p:not(.eyebrow) {
  color: var(--color-text-muted);
}

.line-manufacturers {
  background: color-mix(in oklab, var(--color-surface-2), transparent 40%);
}

.line-card-downloads {
  background: var(--color-industrial);
  color: var(--color-text-inverse);
}

[data-theme='dark'] .line-card-downloads {
  color: #161514;
}

.download-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-8);
  align-items: center;
}

.download-panel .eyebrow,
.download-panel h2 {
  color: inherit;
}

.download-panel p:not(.eyebrow) {
  color: inherit;
  opacity: 0.78;
}

.download-panel .button-secondary {
  color: inherit;
  border-color: currentColor;
}

.line-logo-grid {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.line-service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.line-service-grid .service-card {
  min-height: 320px;
  padding: clamp(var(--space-6), 2.3vw, var(--space-8));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
}

.line-service-grid .service-card .eyebrow {
  margin-bottom: 0;
}

.line-service-grid .service-card h2 {
  max-width: 18ch;
  font-size: clamp(1.65rem, 2.25vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.line-service-grid .service-card p:not(.eyebrow) {
  max-width: 34ch;
  margin-top: auto;
  font-size: var(--text-base);
  line-height: 1.65;
}

.rfq-hero {
  background:
    linear-gradient(90deg, oklch(from var(--color-bg) l c h / 0.96), oklch(from var(--color-surface-2) l c h / 0.74)),
    repeating-linear-gradient(90deg, transparent 0 71px, oklch(from var(--color-text) l c h / 0.05) 72px 73px);
}

.rfq-hero-grid,
.rfq-layout {
  display: grid;
  gap: var(--space-8);
}

.rfq-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.48fr);
  align-items: center;
}

.rfq-hero h1 {
  max-width: 12ch;
}

.rfq-hero-card,
.catalog-panel,
.ticket-panel {
  background: var(--color-surface);
  border: 1px solid oklch(from var(--color-text) l c h / 0.1);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.rfq-hero-card {
  display: grid;
  gap: var(--space-4);
  padding: var(--space-8);
}

.rfq-hero-card img {
  width: 104px;
  height: 98px;
  object-fit: contain;
  padding: var(--space-2);
  background: #fff;
  border: 1px solid oklch(0 0 0 / 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.rfq-hero-card h2 {
  font-size: var(--text-xl);
}

.rfq-hero-card p,
.rfq-hero-card li {
  color: var(--color-text-muted);
}

.rfq-hero-card ul {
  display: grid;
  gap: var(--space-2);
  padding-left: var(--space-5);
}

.rfq-builder {
  background: color-mix(in oklab, var(--color-surface-2), transparent 44%);
}

.rfq-layout {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.46fr);
  align-items: start;
}

.catalog-panel,
.ticket-panel {
  padding: clamp(var(--space-5), 2.4vw, var(--space-8));
}

.ticket-panel {
  position: sticky;
  top: 170px;
}

.rfq-search-form,
.buyer-form {
  display: grid;
  gap: var(--space-4);
}

.rfq-search-form {
  margin-top: var(--space-8);
}

.category-index {
  margin-top: var(--space-8);
  padding: var(--space-5);
  background: var(--tile-bg);
  border: 1px solid var(--tile-border);
  border-radius: var(--radius-lg);
}

.category-index-loading {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  font-weight: 700;
}

.category-index-head {
  display: flex;
  justify-content: space-between;
  gap: var(--space-5);
  align-items: end;
  margin-bottom: var(--space-5);
}

.category-index-head h3 {
  margin-top: var(--space-1);
  font-size: var(--text-lg);
}

.category-clear {
  white-space: nowrap;
}

.category-drilldown-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.75fr);
  gap: var(--space-5);
  align-items: start;
}

.category-panel-title {
  margin-bottom: var(--space-3);
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.category-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(156px, 1fr));
  gap: var(--space-3);
}

.category-group-grid {
  grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
}

.category-subcategory-panel {
  min-height: 100%;
  padding: var(--space-4);
  background: var(--tile-bg-strong);
  border: 1px solid var(--tile-border);
  border-radius: var(--radius-md);
}

.category-subcategory-head {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  align-items: center;
  margin-bottom: var(--space-3);
}

.category-subcategory-head .category-panel-title {
  margin-bottom: 0;
}

.category-drilldown-empty {
  min-height: 180px;
  display: grid;
  place-items: center;
  padding: var(--space-5);
  color: var(--color-text-muted);
  text-align: center;
  background: var(--tile-bg);
  border: 1px dashed var(--tile-border-strong);
  border-radius: var(--radius-md);
}

.category-card {
  min-height: 126px;
  padding: var(--space-4);
  text-align: left;
  background: var(--tile-bg-strong);
  border: 1px solid var(--tile-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.category-group-card {
  min-height: 112px;
}

.category-card:hover,
.category-card.is-active {
  color: var(--color-primary);
  background: color-mix(in oklab, var(--tile-bg-strong), var(--color-primary) 10%);
  border-color: oklch(from var(--color-primary) l c h / 0.5);
  box-shadow: 0 0 0 3px var(--tile-hover);
  transform: translateY(-1px);
}

.category-card span,
.category-card small {
  display: block;
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.category-card:hover span,
.category-card:hover small,
.category-card.is-active span,
.category-card.is-active small {
  color: inherit;
}

.category-card strong {
  display: block;
  margin-block: var(--space-3) var(--space-1);
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  line-height: 1;
}

.category-card:hover strong,
.category-card.is-active strong {
  color: inherit;
}

.rfq-search-form label,
.buyer-form label,
.result-actions label,
.ticket-line label {
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rfq-search-row,
.rfq-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}

.rfq-search-row input,
.rfq-search-row select,
.buyer-form input,
.buyer-form textarea,
.result-actions input,
.ticket-line input {
  width: 100%;
  min-height: 48px;
  padding: var(--space-3) var(--space-4);
  background: var(--color-bg);
  color: var(--color-text);
  border: 1px solid oklch(from var(--color-text) l c h / 0.14);
  border-radius: var(--radius-md);
  font: inherit;
}

.rfq-search-row input {
  flex: 1 1 320px;
}

.rfq-search-row select {
  flex: 0 1 280px;
}

.checkbox-label {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.checkbox-label input {
  width: 18px;
  height: 18px;
  accent-color: var(--color-primary);
}

.rfq-status,
.ticket-note {
  margin-top: var(--space-5);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  font-weight: 700;
}

.product-results,
.ticket-lines {
  display: grid;
  gap: var(--space-3);
}

.product-results {
  margin-top: var(--space-5);
}

.result-group,
.ticket-group {
  overflow: hidden;
  scroll-margin-top: 180px;
  background: var(--tile-bg);
  border: 1px solid var(--tile-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.result-group-header,
.ticket-group-header {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  align-items: center;
  padding: var(--space-3) var(--space-4);
  background: var(--tile-hover);
  border-bottom: 1px solid var(--tile-border);
}

.result-group-header span,
.ticket-group-header span {
  color: var(--color-primary);
  font-size: var(--text-xs);
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.result-group-header small,
.ticket-group-header small {
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  font-weight: 900;
  white-space: nowrap;
}

.result-group-items,
.ticket-group-items {
  display: grid;
}

.result-card,
.ticket-line,
.no-results {
  background: var(--tile-bg);
}

.result-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-5);
  align-items: center;
  padding: var(--space-4);
}

.result-card + .result-card,
.ticket-line + .ticket-line {
  border-top: 1px solid var(--tile-border);
}

.no-results {
  border: 1px solid var(--tile-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-5);
}

.result-card h3,
.ticket-line h3 {
  font-size: var(--text-lg);
  letter-spacing: -0.02em;
}

.result-card p,
.ticket-line p,
.no-results p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.result-actions {
  display: grid;
  grid-template-columns: 84px auto;
  gap: var(--space-3);
  align-items: end;
}

.ticket-header {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  align-items: start;
  padding-bottom: var(--space-5);
  border-bottom: 1px solid oklch(from var(--color-text) l c h / 0.1);
}

.ticket-header .eyebrow {
  margin-bottom: var(--space-2);
}

.ticket-header span {
  padding: var(--space-2) var(--space-3);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 900;
}

.ticket-empty {
  margin-top: var(--space-5);
  padding: var(--space-5);
  color: var(--color-text-muted);
  background: var(--color-bg);
  border: 1px dashed oklch(from var(--color-text) l c h / 0.2);
  border-radius: var(--radius-md);
}

.ticket-lines {
  margin-top: var(--space-5);
}

.ticket-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 78px;
  gap: var(--space-3);
  padding: var(--space-4);
  border-radius: 0;
  box-shadow: none;
}

.ticket-line .line-note {
  grid-column: 1 / -1;
}

.ticket-line button {
  justify-self: start;
  grid-column: 1 / -1;
  color: var(--color-primary);
  font-size: var(--text-sm);
  font-weight: 900;
}

.buyer-form {
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid oklch(from var(--color-text) l c h / 0.1);
}

.buyer-form label {
  display: grid;
  gap: var(--space-2);
}

.buyer-form textarea {
  resize: vertical;
}

.ticket-actions {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.no-results {
  padding: var(--space-8);
}

.no-results h3 {
  margin-bottom: var(--space-2);
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-8);
  align-items: center;
  padding: var(--space-8);
  background: var(--color-industrial);
  color: var(--color-text-inverse);
  border-radius: var(--radius-xl);
}

[data-theme='dark'] .cta-panel {
  color: #161514;
}

.cta-panel .eyebrow,
.cta-panel h2 {
  color: inherit;
}

.cta-panel .button-secondary {
  color: inherit;
  border-color: currentColor;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

@media print {
  .site-header,
  .site-footer,
  .hero-actions,
  .cta-actions,
  .theme-toggle {
    display: none !important;
  }

  body {
    background: white;
    color: #111;
  }

  .section,
  .line-card-hero {
    padding-block: 24px;
  }

  .line-card-grid,
  .line-logo-grid,
  .line-service-grid,
  .line-card-hero-grid,
  .cta-panel {
    grid-template-columns: 1fr 1fr;
  }
}

.split-section {
  background: color-mix(in oklab, var(--color-surface-2), transparent 30%);
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: var(--space-5);
}

.service-card-large {
  padding: clamp(var(--space-8), 6vw, var(--space-16));
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(135deg, transparent 0 54%, oklch(from var(--color-primary) l c h / 0.14) 54% 100%),
    var(--color-surface);
}

.service-card-large h2 {
  max-width: 13ch;
}

.service-card-large p:not(.eyebrow) {
  margin-top: var(--space-5);
  font-size: var(--text-lg);
}

.service-stack {
  display: grid;
  gap: var(--space-4);
}

.service-stack article {
  padding: var(--space-6);
}

.vmi-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) minmax(0, 1fr);
  gap: var(--space-8);
  align-items: start;
}

.vmi-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.vmi-cards article {
  min-height: 280px;
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.vmi-cards span {
  align-self: start;
  border-bottom: 2px solid var(--color-primary);
  color: var(--color-primary);
  font-size: var(--text-xs);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.process {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: var(--space-10);
}

.process-list {
  display: grid;
  gap: var(--space-3);
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: var(--space-4);
  padding: var(--space-5);
  background: color-mix(in oklab, var(--color-surface), transparent 12%);
  border: 1px solid oklch(from var(--color-text) l c h / 0.1);
  border-radius: var(--radius-lg);
}

.process-list span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  font-weight: 900;
}

[data-theme='dark'] .process-list span {
  color: #161514;
}

.contact-section {
  background: var(--color-industrial);
  color: var(--color-text-inverse);
}

.faq-section {
  background: color-mix(in oklab, var(--color-surface-2), transparent 42%);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.62fr) minmax(0, 1fr);
  gap: var(--space-10);
  align-items: start;
}

.faq-list {
  display: grid;
  gap: var(--space-3);
}

.faq-list details {
  background: var(--color-surface);
  border: 1px solid oklch(from var(--color-text) l c h / 0.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-list summary {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 800;
  letter-spacing: -0.025em;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: '+';
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--color-primary);
  border: 1px solid oklch(from var(--color-primary) l c h / 0.32);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 900;
}

.faq-list details[open] summary::after {
  content: '–';
}

.faq-list details p {
  padding: 0 var(--space-5) var(--space-5);
  color: var(--color-text-muted);
}

[data-theme='dark'] .contact-section {
  color: #161514;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 440px);
  gap: var(--space-10);
  align-items: center;
}

.contact-section .eyebrow,
.contact-section p {
  color: inherit;
  opacity: 0.78;
}

.contact-card {
  display: grid;
  gap: var(--space-4);
  padding: var(--space-8);
  color: var(--color-text);
}

.contact-logo {
  width: 140px;
  height: auto;
  padding: var(--space-3);
  background: #fff;
  border: 1px solid oklch(0 0 0 / 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.contact-card address {
  color: var(--color-text-muted);
  font-style: normal;
}

.contact-card > a:not(.button) {
  color: var(--color-primary);
  font-weight: 900;
}

.map-wrap {
  display: grid;
  grid-template-columns: minmax(280px, 0.48fr) minmax(0, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-12);
}

.map-copy,
.map-frame {
  background: var(--color-surface);
  color: var(--color-text);
  border: 1px solid oklch(from var(--color-text) l c h / 0.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.map-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: var(--space-4);
  padding: var(--space-8);
}

.map-copy .eyebrow {
  margin-bottom: 0;
}

.map-copy p:not(.eyebrow) {
  color: var(--color-text-muted);
}

.map-button {
  margin-top: var(--space-2);
}

.map-frame {
  min-height: 360px;
  overflow: hidden;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

.site-footer {
  padding-block: var(--space-10);
  background: var(--color-surface);
}

.footer-grid {
  align-items: flex-start;
}

.footer-grid > div {
  display: grid;
  gap: var(--space-4);
}

.footer-brand .brand-logo {
  width: 48px;
  height: 48px;
}

.footer-brand .brand-logo img {
  width: 42px;
  height: 42px;
}

.site-footer nav {
  display: grid;
  gap: var(--space-2);
}

.site-footer nav a,
.copyright {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  font-weight: 700;
}

@media (max-width: 980px) {
  .primary-nav {
    display: none;
  }

  .hero-grid,
  .intro-grid,
  .product-layout,
  .order-rfq-callout,
  .line-card-hero-grid,
  .rfq-hero-grid,
  .rfq-layout,
  .download-panel,
  .line-card-grid,
  .line-logo-grid,
  .line-service-grid,
  .cta-panel,
  .split-grid,
  .vmi-grid,
  .process,
  .faq-grid,
  .contact-grid,
  .map-wrap {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    transform: none;
  }

  .vmi-cards {
    grid-template-columns: 1fr;
  }

  .vmi-cards article {
    min-height: 220px;
  }

  .ticket-panel {
    position: static;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - var(--space-5), var(--content-wide));
  }

  .utility-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-1);
    min-height: 64px;
    padding-block: var(--space-2);
  }

  .header-main {
    min-height: 74px;
  }

  .header-actions .button {
    display: none;
  }

  .brand strong {
    font-size: var(--text-base);
  }

  .brand-logo {
    width: 46px;
    height: 46px;
  }

  .brand-logo img {
    width: 40px;
    height: 40px;
  }

  h1 {
    max-width: 10.5ch;
  }

  .proof-row,
  .panel-footer,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .proof-row {
    display: grid;
  }

  .hero-actions {
    display: grid;
  }

  .manufacturer-snapshot,
  .logo-wall {
    grid-template-columns: 1fr;
  }

  .product-list article,
  .process-list li {
    grid-template-columns: 1fr;
  }

  .product-list h3,
  .product-list p,
  .product-list .text-link {
    grid-column: auto;
  }

  .category-index-head,
  .order-rfq-callout {
    align-items: flex-start;
  }

  .category-index-head {
    flex-direction: column;
  }

  .category-drilldown-layout {
    grid-template-columns: 1fr;
  }

  .service-card-large {
    min-height: 360px;
  }

  .result-card,
  .result-actions,
  .ticket-line {
    grid-template-columns: 1fr;
  }

  .rfq-search-row input,
  .rfq-search-row select {
    flex-basis: 100%;
  }
}
