/* CHS Phase 1 static site revamp */
:root {
  --ink: #17212b;
  --muted: #65717e;
  --line: #d9e0e6;
  --paper: #f4f6f7;
  --light: #ffffff;
  --dark: #111a22;
  --dark-2: #1b2833;
  --steel: #315f6d;
  --accent: #b5562f;
  --accent-2: #dc7b38;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Cambria, Georgia, "Times New Roman", serif;
  line-height: 1.58;
}
a { color: inherit; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 9px clamp(18px, 4vw, 58px);
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 250px;
}
.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  background: transparent;
  border: 0;
  padding: 0;
}
.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand strong {
  display: block;
  font: 800 14px "Trebuchet MS", Verdana, sans-serif;
  text-transform: uppercase;
}
.brand small {
  display: block;
  color: var(--muted);
  font: 12px "Trebuchet MS", Verdana, sans-serif;
}
.primary-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font: 700 13px "Trebuchet MS", Verdana, sans-serif;
}
.primary-nav a { text-decoration: none; white-space: nowrap; }
.primary-nav a:hover { color: var(--accent); }
.lang-toggle {
  border: 1px solid var(--line);
  background: white;
  color: var(--muted);
  padding: 8px 10px;
  font: 800 12px "Trebuchet MS", Verdana, sans-serif;
  cursor: pointer;
}
.lang-toggle:hover,
.lang-toggle:focus-visible {
  color: var(--accent);
  border-color: rgba(181, 86, 47, .55);
}
.nav-rfq, .btn.primary {
  background: var(--accent);
  color: white !important;
  padding: 11px 18px;
  border: 1px solid var(--accent);
  text-decoration: none;
  font: 800 13px "Trebuchet MS", Verdana, sans-serif;
}
.hero-industrial {
  position: relative;
  min-height: 68vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(398px, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 54px);
  padding: clamp(28px, 4.8vw, 54px) clamp(18px, 5vw, 72px) clamp(18px, 3.2vw, 36px);
  background:
    linear-gradient(115deg, #05080b 0%, #091821 34%, #0d2529 68%, #0b2225 100%),
    radial-gradient(circle at 82% 34%, rgba(22,58,56,.18), transparent 36%);
  color: white;
  overflow: hidden;
}
.hero-copy {
  position: relative;
  z-index: 2;
}
.hero-visual {
  min-width: 0;
  align-self: center;
}
.hero-visual .hero-support {
  margin: 8px 0 0;
  max-width: 640px;
  color: #e8eef2;
  font-size: 15px;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-2);
  font: 800 12px "Trebuchet MS", Verdana, sans-serif;
  text-transform: uppercase;
}
h1, h2, h3 { line-height: 1.14; }
.hero-copy h1 {
  max-width: 780px;
  margin: 0 0 20px;
  font-size: clamp(37px, 4.75vw, 57px);
  line-height: 1.02;
  letter-spacing: 0;
}
.hero-subtitle {
  max-width: 760px;
  margin: 0 0 16px;
  color: #e8eef2;
  font-size: clamp(16px, 1.8vw, 21px);
}
.hero-support, .hero-note {
  max-width: 720px;
  color: #c7d2da;
}
.hero-support {
  font-size: 15px;
}
.hero-note { margin-top: 20px; font-size: 13px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 20px;
  text-decoration: none;
  font: 800 13px "Trebuchet MS", Verdana, sans-serif;
}
.btn.secondary {
  color: white;
  border: 1px solid rgba(255,255,255,.42);
  background: rgba(255,255,255,.08);
}
.btn.secondary.light { background: transparent; }
.hero-media {
  position: relative;
  align-self: center;
  aspect-ratio: 16 / 9;
  min-height: 0;
  max-height: 600px;
  width: 100%;
  min-width: 0;
  margin: 0;
  background: #0d1116;
  border-left: 0;
  padding: 0;
  overflow: hidden;
}
.hero-media::before {
  content: none;
}
.hero-media img, .category-visual img {
  width: 100%;
  max-height: 640px;
  object-fit: contain;
  display: block;
}
.hero-media img {
  position: absolute;
  top: 0;
  right: auto;
  bottom: 0;
  left: 0;
  z-index: 0;
  width: 122%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: 62% 45%;
  transform: translateX(-15%);
  filter: saturate(1.02) contrast(1.04);
}
.hero-note-media {
  margin: 14px 0 0;
  max-width: 640px;
  color: #c7d2da;
  font-size: 13px;
  line-height: 1.45;
}
section { padding: clamp(48px, 7vw, 78px) clamp(18px, 5vw, 72px); }
section[id] { scroll-margin-top: 84px; }
.section-light { background: white; }
.section-paper { background: var(--paper); }
.section-dark { background: var(--dark); color: white; }
.section-head { margin-bottom: 30px; max-width: 850px; }
.section-head h2, .cta-band h2, .page-hero h1, .category-banner h1 { margin: 0 0 12px; font-size: clamp(30px, 4vw, 46px); }
.section-head p, .page-hero p, .category-banner p { margin: 0; color: var(--muted); max-width: 820px; }
.section-dark .section-head p, .section-dark .section-note { color: #c7d2da; }
.category-grid, .type-grid, .capability-grid, .finish-grid, .guide-grid, .process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}
.category-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
#main-categories {
  padding-top: clamp(28px, 4.2vw, 48px);
  padding-bottom: clamp(28px, 4.2vw, 48px);
}
#main-categories .section-head {
  margin-bottom: 14px;
}
#main-categories .category-grid {
  gap: 12px;
}
#main-categories .category-card {
  padding: 12px;
  display: flex;
  flex-direction: column;
}
#main-categories .category-card .image-box {
  aspect-ratio: auto;
  height: 178px;
  margin-bottom: 10px;
  background: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
#main-categories .category-card .image-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  position: static;
  transform: none;
  max-width: 100%;
  max-height: 100%;
}
#main-categories .category-card:hover .image-box img,
#main-categories .category-card:focus-within .image-box img {
  transform: none;
}
#main-categories .category-card h3,
#main-categories .category-card p,
#main-categories .category-card .text-link {
  position: static;
  z-index: auto;
}
#main-categories .category-card h3 {
  margin-bottom: 7px;
  font-size: 18px;
  line-height: 1.2;
}
#main-categories .category-card p {
  margin-bottom: 8px;
  font-size: 13px;
  line-height: 1.34;
}
#main-categories .category-card .text-link {
  font-size: 12px;
}
.category-card, .type-card, .capability-card, .finish-card, .guide-card, .process-card {
  background: white;
  border: 1px solid var(--line);
  padding: 20px;
  min-height: 100%;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.category-card {
  position: relative;
  overflow: hidden;
}
.category-card:hover,
.category-card:focus-within {
  transform: translateY(-5px);
  border-color: rgba(181, 86, 47, .58);
  box-shadow: 0 16px 34px rgba(17, 26, 34, .12);
}
.category-card h3, .type-card h3, .capability-card h3, .finish-card h3, .guide-card h3, .process-card h3 { margin: 0 0 10px; font-size: 20px; }
.category-card p, .type-card p, .capability-card p, .finish-card p, .guide-card p, .process-card p { margin: 0 0 14px; color: var(--muted); font-size: 14px; }
.image-box, .thumb {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  background: #f2f4f5;
  border: 1px solid var(--line);
  margin-bottom: 16px;
  overflow: hidden;
}
.image-box img, .thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 240ms ease;
}
.category-card:hover .image-box img,
.category-card:focus-within .image-box img {
  transform: scale(1.045);
}
.text-link {
  margin-top: auto;
  color: var(--accent);
  font: 800 13px "Trebuchet MS", Verdana, sans-serif;
  text-decoration: none;
  transition: color 200ms ease, transform 200ms ease;
}
.category-card:hover .text-link,
.category-card:focus-within .text-link {
  color: var(--steel);
  transform: translateX(2px);
}
.type-card .thumb { aspect-ratio: 5 / 3; }
.section-head.compact {
  margin-top: 40px;
  margin-bottom: 18px;
}
.section-head.compact h2 {
  font-size: clamp(24px, 3vw, 32px);
}
.product-preview-strip {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 4px;
}
.preview-rail {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, #f7f8f9);
}
.preview-rail::before,
.preview-rail::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 46px;
  pointer-events: none;
}
.preview-rail::before {
  left: 0;
  background: linear-gradient(90deg, #fff, rgba(255,255,255,0));
}
.preview-rail::after {
  right: 0;
  background: linear-gradient(270deg, #fff, rgba(255,255,255,0));
}
.preview-rail:focus {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.preview-track {
  display: flex;
  gap: 12px;
  width: max-content;
  padding: 12px;
  animation: chsPreviewMarquee 52s linear infinite;
}
.preview-rail:hover .preview-track,
.preview-rail:focus-within .preview-track {
  animation-play-state: paused;
}
.preview-track figure {
  flex: 0 0 158px;
  margin: 0;
  background: white;
  border: 1px solid var(--line);
  padding: 8px;
}
.preview-track img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #f2f4f5;
}
.preview-track figcaption {
  margin-top: 10px;
  color: var(--ink);
  font: 800 13px "Trebuchet MS", Verdana, sans-serif;
}
@keyframes chsPreviewMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 9px)); }
}
.finish-card {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.18);
}
.finish-card p { color: #c7d2da; }
.finish-card span {
  display: block;
  width: 42px;
  height: 6px;
  background: var(--accent-2);
  margin-bottom: 18px;
}
.process-card span {
  display: inline-block;
  color: var(--accent);
  font: 800 12px "Trebuchet MS", Verdana, sans-serif;
  margin-bottom: 10px;
}
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 980px;
}
details {
  background: white;
  border: 1px solid var(--line);
  padding: 16px 18px;
}
summary {
  cursor: pointer;
  font: 800 15px "Trebuchet MS", Verdana, sans-serif;
}
details p { margin: 12px 0 0; color: var(--muted); }
.cta-band {
  background: linear-gradient(120deg, var(--dark), var(--steel));
  color: white;
}
.cta-band p { max-width: 780px; color: #dbe4e9; }
.cta-band.compact { padding-top: 48px; padding-bottom: 48px; }
.site-footer {
  background: #0c141b;
  color: white;
  padding: 44px clamp(18px, 5vw, 72px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr .8fr .8fr;
  gap: 28px;
}
.site-footer p, .site-footer a, .site-footer li { color: #c8d2da; }
.site-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.footer-disclaimer {
  border-top: 1px solid rgba(255,255,255,.16);
  margin: 28px 0 0;
  padding-top: 18px;
  font-size: 13px;
}
.page-hero, .category-banner {
  background: linear-gradient(120deg, #f7f8f9, #e9eef1);
  padding: clamp(50px, 7vw, 84px) clamp(18px, 5vw, 72px);
}
.category-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 34px;
  align-items: center;
}
.category-visual {
  background: white;
  border: 1px solid var(--line);
  padding: 20px;
}
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.split-section ul, .check-list { margin: 0; padding-left: 22px; color: var(--muted); }
.check-list {
  columns: 2;
  max-width: 900px;
}
@media (max-width: 980px) {
  .hero-industrial, .category-banner, .split-section, .footer-grid { grid-template-columns: 1fr; }
  .primary-nav a:not(.nav-rfq), .lang-toggle { display: none; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #main-categories .category-card .image-box { height: 174px; }
  .hero-media {
    margin-left: 0;
    margin-right: 0;
    min-height: 340px;
    padding: 24px;
  }
  .hero-media img {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    object-fit: contain;
    transform: scale(1);
    max-height: 420px;
  }
  .hero-note-media {
    margin: 14px 0 0;
    max-width: none;
  }
}
@media (max-width: 620px) {
  .site-header { align-items: flex-start; }
  .brand { min-width: 0; }
  .brand small { display: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .check-list { columns: 1; }
  .category-grid, .type-grid, .capability-grid, .finish-grid, .guide-grid, .process-grid { grid-template-columns: 1fr; }
  #main-categories .category-card .image-box { height: 170px; }
  .preview-rail {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .preview-track {
    animation: none;
  }
  .preview-track figure {
    flex-basis: 148px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .preview-track {
    animation: none;
  }
  .category-card,
  .category-card .image-box img,
  .text-link {
    transition: none;
  }
  .category-card:hover,
  .category-card:focus-within {
    transform: none;
  }
  .category-card:hover .image-box img,
  .category-card:focus-within .image-box img {
    transform: none;
  }
}


.email-line,
.hero-email,
.cta-email {
  color: inherit;
  font: 800 13px "Trebuchet MS", Verdana, sans-serif;
}
.email-line a,
.hero-email a,
.cta-email a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hero-email {
  margin: 16px 0 0;
  color: #dbe4e9;
}
.cta-email {
  margin: 14px 0 0;
}
.footer-email {
  margin: 14px 0 0;
}
#why-work-with-us .capability-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}
#why-work-with-us .capability-card {
  padding: 16px;
}
#why-work-with-us .capability-card h3 {
  font-size: 16px;
  line-height: 1.18;
}
#why-work-with-us .capability-card p {
  font-size: 12px;
  line-height: 1.45;
}
@media (max-width: 1180px) {
  #why-work-with-us .capability-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 620px) {
  #why-work-with-us .capability-grid {
    grid-template-columns: 1fr;
  }
}

.rfq-process-compact {
  margin-top: 18px;
  border-top: 1px solid rgba(217, 224, 230, .42);
  padding-top: 16px;
}
.rfq-process-compact .section-head.compact {
  margin-top: 0;
  margin-bottom: 16px;
  max-width: 760px;
}
.rfq-process-compact .section-head.compact h2 {
  margin-bottom: 8px;
  font-size: clamp(28px, 2.5vw, 34px);
  line-height: 1.1;
  letter-spacing: 0;
}
.rfq-process-compact .section-head.compact p {
  font-size: 14px;
  line-height: 1.45;
}
.compact-process {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.compact-process .process-card {
  padding: 14px 16px;
}
.compact-process .process-card h3 {
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.18;
}
.compact-process .process-card p {
  font-size: 12px;
  line-height: 1.4;
  margin-bottom: 0;
}
.rfq-review-note {
  margin: 12px 0 0;
  max-width: 820px;
  color: #dbe4e9;
}
@media (max-width: 980px) {
  .compact-process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 620px) {
  .compact-process {
    grid-template-columns: 1fr;
  }
}


.buyer-resources .section-head {
  margin-bottom: 22px;
}
.buyer-resource-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 22px;
  align-items: stretch;
}
.resource-panel {
  background: white;
  border: 1px solid var(--line);
  padding: 20px;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
.resource-panel h3 {
  margin: 0 0 14px;
  font-size: 21px;
}
.resource-list {
  display: grid;
  gap: 10px;
  flex: 1;
}
.resource-list a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.resource-list strong {
  display: block;
  color: var(--ink);
  font: 800 14px "Trebuchet MS", Verdana, sans-serif;
}
.resource-list span,
.compact-faq p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.42;
}
.compact-faq {
  display: grid;
  gap: 8px;
  flex: 1;
}
.compact-faq details {
  padding: 12px 14px;
}
.compact-faq summary {
  font-size: 14px;
}
.resource-cta {
  display: inline-block;
  margin-top: auto;
  padding-top: 16px;
}
.faq-page-list {
  max-width: 1050px;
}
.faq-page-list details {
  padding: 14px 16px;
}
@media (max-width: 980px) {
  .buyer-resource-grid {
    grid-template-columns: 1fr;
  }
}


.guide-hero p {
  max-width: 860px;
}
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.knowledge-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
}
.knowledge-table th,
.knowledge-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 14px;
  line-height: 1.45;
}
.knowledge-table th {
  background: #f4f7f8;
  color: var(--ink);
  font: 800 13px "Trebuchet MS", Verdana, sans-serif;
}
.guide-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.guide-checklist li {
  padding-left: 18px;
  position: relative;
  color: var(--muted);
  line-height: 1.48;
}
.guide-checklist li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: 0;
  top: .62em;
}
.guide-links,
.guide-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.guide-links a,
.guide-mini-card {
  display: block;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  text-decoration: none;
}
.guide-mini-card strong,
.guide-links a {
  color: var(--ink);
  font: 800 15px "Trebuchet MS", Verdana, sans-serif;
}
.guide-mini-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.guide-cta {
  margin-top: 0;
}
@media (max-width: 720px) {
  .guide-checklist,
  .guide-links,
  .guide-category-grid {
    grid-template-columns: 1fr;
  }
  .knowledge-table th,
  .knowledge-table td {
    min-width: 170px;
  }
}


.guide-hero {
  padding-top: clamp(34px, 5vw, 58px);
  padding-bottom: clamp(34px, 5vw, 58px);
}
main h2 {
  scroll-margin-top: 96px;
}

/* Conversion guide converter tool styles */
.converter-tool { background: #f7f9fc; border: 1px solid #d0d7de; border-radius: 8px; padding: 1.25rem; margin: 1rem 0; max-width: 360px; }
.converter-tool label { display: block; font-weight: 600; font-size: 0.875rem; margin-top: 0.75rem; margin-bottom: 0.25rem; }
.converter-tool label:first-child { margin-top: 0; }
.converter-tool input { width: 100%; padding: 0.5rem; border: 1px solid #bbb; border-radius: 4px; font-size: 1rem; box-sizing: border-box; margin-bottom: 0.25rem; }
.converter-tool input[readonly] { background: #eef0f3; color: #333; }
.converter-tool .btn.secondary { margin-top: 0.25rem; margin-bottom: 0.25rem; font-size: 0.8rem; padding: 0.25rem 0.75rem; }
.conv-formula { background: #f0f3f7; border-left: 4px solid #1a5632; padding: 0.75rem 1rem; margin: 0.75rem 0; font-family: 'Courier New', monospace; font-size: 1rem; border-radius: 0 4px 4px 0; }
.conv-note { font-size: 0.8rem; color: #666; margin-top: 0.5rem; margin-bottom: 0; font-style: italic; }

