/* CHEMEX: real engineering work, legible products, restrained brand blue. */
@font-face {
  font-family: "Barlow";
  src: url("/assets/fonts/barlow-regular-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("/assets/fonts/barlow-semibold-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("/assets/fonts/barlow-bold-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
:root {
  --text: #183647;
  --heading: #164a80;
  --muted: #546975;
  --blue: #17619a;
  --blue2: #164a80;
  --navy: #183647;
  --surface: #eef2f3;
  --line: #d2dde2;
  --max: 1280px;
}
body {
  font-family: "Barlow", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-size: 17px;
  line-height: 1.7;
}
.wrap { width: min(var(--max), calc(100% - 64px)); }
button, input, select, textarea { font-family: inherit; }
:is(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}
h1, h2, h3, .btn { font-weight: 600; }
.utility { background: #eef2f3; color: var(--muted); font-size: 12px; }
.utility .wrap { min-height: 30px; }
.topbar { background: #fff; box-shadow: none; }
.nav { min-height: 98px; gap: 20px; }
.brand-image-link { max-width: none; }
.brand-header-image { width: 258px; height: 86px; border-radius: 0; }
.navlinks { gap: 17px; font-size: 14px; }
.navlinks a, .nav-search, .translate-toggle { font-weight: 600; padding: 18px 0; }
.navlinks .lang { border-radius: 3px; padding: 7px 10px; }
.menu { min-height: 44px; border-radius: 3px; padding: 9px 12px; }
.menu svg { vertical-align: middle; margin-right: 7px; }
.btn { min-height: 46px; padding: 11px 19px; border-radius: 3px; font-size: 15px; }
.btn:hover { transform: none; }
.btn.secondary { background: transparent; border-color: #a8bdc9; color: var(--heading); }
.btn.secondary:hover { background: #e8eff3; }
.text-link { color: var(--blue); font-weight: 600; }
.text-link:hover, .home-video-link:hover, .home-collaboration figcaption a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.eyebrow {
  border: 0; background: none; padding: 0; color: var(--muted);
  font-size: 13px; font-weight: 400; letter-spacing: 0; text-transform: none;
}
.section { padding: 78px 0; }
.section.alt { background: var(--surface); border: 0; }
.section h2 { font-size: clamp(27px, 2.7vw, 36px); line-height: 1.25; letter-spacing: -.018em; }
.section-heading > span, .business-copy > span { display: none; }
.section-heading { max-width: 760px; }
.section-intro, .section-heading p { max-width: 65ch; }

/* The opening shows the actual people-to-product work behind the slogan. */
.home-hero { padding: 56px 0 46px; background: #eef2f3; border: 0; overflow: visible; }
.home-hero::after { display: none; }
.home-hero-layout {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 64px; align-items: center;
}
.home-hero-copy { min-width: 0; padding: 8px 0 14px; }
.home-origin { margin: 0 0 20px; color: var(--muted); font-size: 14px; }
.home-slogan {
  margin: 0 0 26px; color: var(--heading); font-size: clamp(54px, 5.6vw, 78px);
  line-height: .99; font-weight: 600; letter-spacing: -.045em;
}
.home-slogan span { display: block; }
.home-hero h1 {
  margin: 0 0 16px; font-size: clamp(26px, 2.3vw, 32px);
  line-height: 1.25; letter-spacing: -.015em; max-width: 26ch;
}
.home-hero .lead { margin: 0; font-size: 17px; line-height: 1.75; max-width: 57ch; }
.home-hero .actions { margin-top: 27px; gap: 12px; }
.home-video-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; color: var(--blue); font-size: 15px; }
.home-collaboration { margin: 0; min-width: 0; }
.home-collaboration-images { position: relative; padding: 0 0 40px; }
.home-review-photo { margin-left: 26px; overflow: hidden; border-radius: 5px; }
.home-review-photo picture, .home-review-photo img { display: block; width: 100%; }
.home-review-photo img { aspect-ratio: 4 / 3; height: auto; object-fit: cover; }
.home-concept-sketch {
  position: absolute; width: 37%; bottom: 0; left: 0; background: #fff;
  padding: 10px; border: 1px solid #d2dde2;
}
.home-concept-sketch picture, .home-concept-sketch img { display: block; width: 100%; height: auto; }
.home-collaboration figcaption { margin: 18px 0 0 26px; font-size: 14px; color: var(--muted); }
.home-collaboration figcaption p { margin: 0 0 5px; max-width: 58ch; }
.home-collaboration figcaption a { color: var(--blue); font-weight: 600; }
.home-news-note { background: #fff; border-bottom: 1px solid var(--line); }
.home-news-layout { display: grid; grid-template-columns: 140px minmax(0, 1fr) auto; align-items: center; gap: 26px; padding: 22px 0; }
.home-news-meta { display: flex; flex-direction: column; color: var(--muted); font-size: 13px; line-height: 1.6; }
.home-news-meta span { color: var(--heading); font-weight: 600; }
.home-news-copy { min-width: 0; }
.home-news-copy h2 { margin: 0; color: var(--heading); font-size: 20px; line-height: 1.5; letter-spacing: 0; }
.home-news-copy h2 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.home-news-copy p { margin: 4px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.home-news-layout > .text-link { font-size: 14px; white-space: nowrap; padding: 10px 0; }
.home-section-intro { display: flex; justify-content: space-between; gap: 36px; align-items: flex-end; margin-bottom: 34px; }
.home-section-intro > div { max-width: 740px; }
.home-section-intro h2 { margin-bottom: 13px; }
.home-section-intro p { color: var(--muted); margin: 0; }
.home-section-intro > a, .home-quality-note { flex-shrink: 0; }
.home-quality-note { font-size: 14px; color: var(--muted); }

/* The principal business gets space; secondary capabilities form a short list. */
.home-business .business-areas { grid-template-columns: minmax(0, 1.07fr) minmax(0, 1fr); gap: 22px 48px; }
.home-business .business-areas > a {
  border: 0; border-radius: 0; box-shadow: none; background: transparent;
  display: grid; grid-template-columns: 145px minmax(0, 1fr); align-items: center;
}
.home-business .business-areas > a:hover { transform: none; box-shadow: none; }
.home-business .business-areas > a:first-child { display: block; grid-row: 1 / span 3; }
.home-business .business-areas.three-up > a:first-child { grid-row: 1 / span 2; }
.home-business .business-media { height: 154px; border: 0; background: #f2f5f6; }
.home-business .business-media img { padding: 15px; }
.home-business .business-areas > a:first-child .business-media { height: 310px; }
.home-business .business-areas > a:first-child .business-media img { padding: 22px; }
.home-business .business-copy { padding: 15px 0 15px 23px; }
.home-business .business-areas > a:first-child .business-copy { padding: 20px 0 0; }
.home-business .business-copy h3 { font-size: 22px; margin: 0 0 7px; font-weight: 600; }
.home-business .business-copy p { font-size: 15px; margin: 0; }
.home-business .business-copy > b { margin-top: 12px; font-size: 14px; font-weight: 600; }
.home-business .business-areas > a:hover h3 { text-decoration: underline; text-underline-offset: 5px; }
.home-featured { padding-top: 0; }
.featured-products { gap: 24px; }
.featured-card { border: 0; border-radius: 0; box-shadow: none; background: transparent; }
.featured-card:hover { transform: none; box-shadow: none; }
.featured-media { height: 218px; background: #f2f5f6; border: 0; }
.featured-media img, .featured-media picture img { padding: 17px; }
.featured-card > div:last-child { padding: 17px 0 0; }
.featured-card b { font-size: 18px; font-weight: 600; }
.featured-card:hover b { text-decoration: underline; text-underline-offset: 5px; }

.company-video-home { background: #164a80; color: #fff; }
.company-video-preview { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 58px; }
.company-video-home h2, .company-video-home .eyebrow { color: #fff; }
.company-video-home .eyebrow { display: none; }
.company-video-home .company-video-preview p { color: #e1ebf1; }
.company-video-home .btn.primary { background: #fff; color: #164a80; border-color: #fff; }
.company-video-thumbnail, .company-video-player video { border-radius: 4px; box-shadow: none; }
.company-video-play { background: #164a80; }
.plant-home { background: #fff !important; padding-bottom: 50px; }
.plant-preview { gap: 58px; }
.plant-home .eyebrow { display: none; }
.plant-production { font-size: 20px; font-weight: 600; }
.quality-proof { background: #eef2f3; }
.quality-proof-grid { gap: 24px; }
.quality-proof-grid > a, .quality-proof-grid .dnb-trust-card {
  border: 0; border-radius: 0; padding: 0; background: transparent; box-shadow: none;
}
.quality-proof-grid > a:hover { transform: none; box-shadow: none; }
.quality-proof-thumb { background: #fff; border-radius: 2px; }
.quality-proof-grid b { font-size: 16px; }
.quality-proof-grid span { font-size: 14px; }
.quality-credential-row { display: none; }
.quality-proof .text-link { display: inline-block; margin-top: 30px; }
.dnb-trust-card .dnb-verified-badge { width: 185px; }
.rfq-band { background: #eef2f3; border: 0; border-radius: 4px; padding: 32px; }
.rfq-band span { display: none; }
.rfq-band p { font-size: 15px; max-width: 65ch; }
.project-steps > div { box-shadow: none; border-radius: 0; background: transparent; }
.project-steps > div > span { color: var(--blue); }

/* The same reading rhythm continues through product and company pages. */
.article { padding: 52px 0 76px; }
.article h1 { font-size: clamp(32px, 3.3vw, 48px); line-height: 1.18; letter-spacing: -.02em; }
.article .lead { font-size: 19px; max-width: 72ch; }
.prose { max-width: 75ch; }
.prose p, .prose li { line-height: 1.85; }
.crumbs, .spec-note, .news-meta, .support-copy small, .office-card dt { color: var(--muted); }
.crumbs a, .prose a, .privacy-section a, .news-body a {
  text-decoration: underline; text-underline-offset: 3px;
}
.rfq-guide > div:first-child > span, .rfq-guide-items > div > b { color: var(--blue); }
.card, .mini, .support-card, .news-card, .gallery-card, .related-grid > a,
.product-visual, .contact-card, .form-card, .side, .product-faq, .csr-group-card {
  border-radius: 4px; box-shadow: none; background-image: none;
}
.card:hover, .mini:hover, .support-card:hover, .related-grid > a:hover, .csr-group-card:hover {
  transform: none; box-shadow: none;
}
.card-media, .related-media { background: #f2f5f6; }
.news-card { padding: 24px; }
.news-source { color: var(--muted); font-size: 13px; word-break: normal; overflow-wrap: anywhere; }
.company-snapshot { border-radius: 3px; box-shadow: none; }
.brand-story-preview { gap: 48px; }
.footer { background: #eef2f3; padding: 52px 0 24px; }
.footer-grid { gap: 34px; grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)); }
.footer-grid > div > b { font-size: 16px; font-weight: 600; }
.footer-grid > div > a { font-size: 14px; color: var(--muted); }
.footer-grid > div > a:not(.footer-brand-image-link) { min-height: 28px; display: flex; align-items: center; }
.footer-company > a:not(.footer-brand-image-link) { display: inline-flex !important; min-height: 44px; }
.footer-grid .pill { width: fit-content; max-width: 100%; white-space: normal; }
.footer-company p { font-size: 14px; max-width: 39ch; color: var(--muted); }
.footer-brand-image { width: 270px; border-radius: 0; }
.footer-bottom { font-size: 13px; color: var(--muted); }
.analytics-choice {
  left: auto; right: 22px; bottom: 22px; max-width: 540px; margin: 0;
  padding: 20px; border-radius: 5px; flex-direction: column; align-items: stretch;
  gap: 14px; box-shadow: 0 5px 22px #1836471a;
}
.analytics-choice-actions { justify-content: flex-end; }

html[lang="zh-TW"] .home-hero h1 { line-height: 1.5; letter-spacing: .01em; font-size: 28px; text-wrap: balance; }
html[lang="zh-TW"] .section h2 { line-height: 1.45; letter-spacing: .005em; }
html[lang="zh-TW"] .article h1 { line-height: 1.45; letter-spacing: .005em; }

@media (max-width: 1100px) {
  .nav { min-height: 86px; }
  .brand-header-image { width: 234px; height: 78px; }
  .menu { display: block; }
  .navlinks {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 20px 32px;
    flex-direction: column; align-items: stretch; gap: 5px;
    max-height: calc(100dvh - 86px); overflow-y: auto; box-shadow: none;
  }
  .navlinks.open { display: flex; }
  .navlinks a, .nav-search, .translate-toggle { padding: 10px 0; text-align: left; border-bottom: 0; }
  .navlinks .lang { align-self: flex-start; padding: 8px 14px; }
  .translate-menu { display: block; }
  .translate-options { position: static; box-shadow: none; margin-top: 6px; }
  .home-hero-layout { gap: 38px; }
  .home-slogan { font-size: 62px; }
  .home-business .business-areas { gap: 20px 30px; }
  .home-business .business-areas > a { grid-template-columns: 115px minmax(0, 1fr); }
  .home-business .business-copy { padding-left: 17px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .utility { display: none; }
  .home-hero { padding: 30px 0 34px; }
  .home-hero-layout { grid-template-columns: 1fr; gap: 30px; }
  .home-hero-copy { padding: 0; }
  .home-origin { font-size: 13px; margin-bottom: 20px; }
  .home-slogan { font-size: clamp(51px, 9.6vw, 72px); margin-bottom: 24px; }
  .home-hero h1, html[lang="zh-TW"] .home-hero h1 { font-size: 25px; max-width: 25ch; }
  html[lang="zh-TW"] .home-hero h1 { font-size: 24px; max-width: none; }
  .home-hero .lead { font-size: 16px; }
  .home-review-photo { margin-left: 18px; }
  .home-collaboration-images { padding-bottom: 30px; }
  .home-concept-sketch { width: 38%; padding: 8px; }
  .home-collaboration figcaption { margin-left: 18px; font-size: 13px; }
  .home-news-layout { grid-template-columns: 1fr; gap: 8px; padding: 20px 0; }
  .home-news-meta { flex-direction: row; gap: 16px; flex-wrap: wrap; }
  .home-news-copy h2 { font-size: 18px; }
  .home-news-layout > .text-link { justify-self: start; }
  .home-section-intro { flex-direction: column; gap: 16px; align-items: flex-start; margin-bottom: 28px; }
  .home-business .business-areas, .home-business .business-areas.three-up { grid-template-columns: 1fr; gap: 25px; }
  .home-business .business-areas > a:first-child, .home-business .business-areas.three-up > a:first-child { grid-row: auto; }
  .home-business .business-areas > a:first-child .business-media { height: 270px; }
  .home-business .business-media { height: 130px; }
  .home-business .business-copy h3 { font-size: 20px; }
  .section { padding: 50px 0; }
  .home-featured { padding-top: 0; }
  .featured-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .featured-media { height: 165px; }
  .featured-card b { font-size: 16px; }
  .company-video-preview, .plant-preview { grid-template-columns: 1fr; gap: 28px; }
  .company-video-preview h2 { margin-top: 0; }
  .quality-proof-grid { grid-template-columns: 1fr; gap: 30px; }
  .quality-proof-grid > a { grid-template-columns: 88px minmax(0, 1fr); }
  .rfq-band { padding: 24px; }
  .article { padding: 35px 0 54px; }
  .article .lead { font-size: 17px; }
  .footer { padding-top: 40px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 24px; }
  .footer-company { grid-column: 1 / -1; }
  .analytics-choice { left: 12px; right: 12px; bottom: 12px; padding: 16px; max-width: none; }
  .analytics-choice-actions .btn { min-height: 44px; }
}
@media (max-width: 380px) {
  .wrap { width: calc(100% - 32px); }
  .brand-header-image { width: 207px; height: 69px; }
  .nav { min-height: 78px; gap: 12px; }
  .menu { padding: 8px 9px; font-size: 13px; }
  .menu svg { width: 15px; margin-right: 3px; }
  .home-slogan { font-size: 49px; }
  .home-hero .actions { gap: 8px; }
  .home-hero .btn { padding: 10px 14px; font-size: 14px; }
  .featured-media { height: 145px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
