:root {
  color-scheme: light;
  --ink: #182536;
  --muted: #5b6877;
  --brand: #8b171d;
  --brand-dark: #681016;
  --accent: #d9a441;
  --paper: #ffffff;
  --canvas: #f3f5f7;
  --line: #dce2e8;
  --radius: 14px;
  --shadow: 0 12px 34px rgba(20, 36, 52, .08);
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; color: var(--ink); background: var(--canvas); line-height: 1.65; }
a { color: var(--brand); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-dark); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #dfaa38; outline-offset: 3px; }
.skip-link { position: absolute; left: 1rem; top: -5rem; z-index: 1000; background: #fff; color: var(--ink); padding: .7rem 1rem; border-radius: 8px; box-shadow: var(--shadow); }
.skip-link:focus { top: 1rem; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; box-shadow: 0 3px 16px rgba(20,36,52,.04); }
.header-inner { max-width: 1240px; margin: auto; padding: .75rem 1.5rem; display: flex; align-items: center; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .85rem; color: var(--ink); text-decoration: none; min-width: 0; }
.brand-home { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 74px; height: auto; max-height: 66px; object-fit: contain; }
.brand-copy { display: grid; line-height: 1.25; min-width: 0; }
.brand-title-row { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; }
.header-facebook { display: inline-flex; align-items: center; justify-content: center; color: #4267B2; opacity: .82; line-height: 1; }
.header-facebook:hover { color: #254b91; opacity: 1; }
.brand-copy strong { font-size: 1.02rem; letter-spacing: .015em; }
.brand-copy > span:not(.brand-title-row) { color: var(--muted); font-size: .75rem; margin-top: .28rem; text-transform: uppercase; letter-spacing: .09em; }
.nav-toggle { display: none; margin-left: auto; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 9px; padding: .6rem .8rem; font: inherit; font-weight: 650; cursor: pointer; }
.primary-nav { margin-left: auto; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .15rem; }
.primary-nav li { position: relative; }
.primary-nav a { display: block; padding: .7rem .72rem; border-radius: 8px; text-decoration: none; color: #283648; font-size: .9rem; font-weight: 600; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--brand); background: #f8eeee; }
.primary-nav .subnav { display: none; position: absolute; top: 100%; left: 0; min-width: 220px; padding: .45rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.primary-nav li:hover > .subnav, .primary-nav li:focus-within > .subnav { display: block; }
.primary-nav .subnav:not(:has(li)) { display: none !important; }
.primary-nav .subnav a { white-space: nowrap; }
main { max-width: 1160px; min-height: 56vh; margin: 2rem auto 3.5rem; padding: clamp(1.15rem, 3vw, 2.6rem); background: var(--paper); border: 1px solid #e8ecf0; border-radius: var(--radius); box-shadow: var(--shadow); }
.page-intro { padding-bottom: 1.3rem; margin-bottom: 1.6rem; border-bottom: 1px solid var(--line); }
.eyebrow { margin: 0 0 .35rem; color: var(--brand); text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 750; }
h1 { margin: 0; color: #162438; font-size: clamp(1.85rem, 4vw, 2.65rem); line-height: 1.15; letter-spacing: -.035em; }
h2, h3, h4 { color: #1b2c40; line-height: 1.25; }
h2 { margin-top: 2rem; font-size: clamp(1.35rem, 2.6vw, 1.8rem); }
h3 { margin-top: 1.5rem; font-size: 1.2rem; }
p { margin: .7rem 0 1rem; }
main img { max-width: 100%; height: auto; }
main img[width], main img[height] { height: auto; }
main a img { transition: transform .18s ease, box-shadow .18s ease; }
main a:hover img { transform: translateY(-2px); }
main table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; }
main th, main td { border: 1px solid var(--line); padding: .65rem .75rem; text-align: left; vertical-align: top; }
main th { background: #f3f5f7; color: #26364a; }
main ul, main ol { padding-left: 1.5rem; }
main li { margin: .25rem 0; }
main iframe, main video { max-width: 100%; }
.content > div { min-width: 0; }
.content > div:has(img) { margin-block: .5rem; }
.content > div > p:first-child { max-width: 85ch; }
.site-footer { background: #152336; color: #e8edf3; padding: 2rem 1.5rem; }
.footer-inner { max-width: 1160px; margin: auto; display: flex; justify-content: space-between; align-items: start; gap: 2rem; }
.footer-inner p { margin: .25rem 0; }
.footer-inner a { color: #fff; }
.footer-name { font-weight: 750; font-size: 1.05rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .35rem 1rem; }
.footer-links a { font-size: .9rem; }
.back-to-top { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 40; border: 0; border-radius: 999px; width: 46px; height: 46px; background: var(--brand); color: #fff; box-shadow: var(--shadow); font-size: 1.25rem; cursor: pointer; opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.back-to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
@media (max-width: 980px) {
  .header-inner { flex-wrap: wrap; gap: .5rem 1rem; }
  .nav-toggle { display: inline-flex; align-items: center; gap: .5rem; }
  .primary-nav { display: none; width: 100%; margin: 0; max-height: calc(100vh - 96px); max-height: calc(100dvh - 96px); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { display: flex; align-items: stretch; flex-direction: column; gap: .15rem; padding: .5rem 0 .25rem; }
  .primary-nav li { width: 100%; }
  .primary-nav a { padding: .75rem .8rem; }
  .primary-nav .subnav { display: block; position: static; border: 0; border-radius: 0; box-shadow: none; padding: 0 0 .4rem 1rem; }
  .primary-nav .subnav a { white-space: normal; font-weight: 500; }
  main { margin: 1rem .75rem 2rem; }
}
@media (max-width: 640px) {
  .header-inner { padding: .65rem .9rem; }
  .brand img { width: 56px; max-height: 52px; }
  .brand-copy strong { font-size: .88rem; }
  .brand-copy > span:not(.brand-title-row) { font-size: .65rem; letter-spacing: .055em; }
  main { padding: 1.15rem; border-radius: 10px; }
  .footer-inner { flex-direction: column; gap: 1rem; }
  main table { display: block; overflow-x: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

.home-hero { position: relative; overflow: hidden; border-radius: 12px; background: #172638; margin: 0 0 2rem; min-height: 250px; }
.home-hero img { width: 100%; max-height: 470px; object-fit: cover; opacity: .83; }
.home-hero-copy { padding: 1.35rem 1.5rem 1.5rem; background: #172638; color: #fff; }
.home-hero-copy h2 { color: #fff; margin: 0 0 .5rem; font-size: clamp(1.5rem, 3.3vw, 2.25rem); }
.home-hero-copy p { margin: 0; max-width: 70ch; color: #e8edf3; }
.home-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.1rem; }
.home-actions a { display: inline-flex; align-items: center; justify-content: center; padding: .7rem 1rem; border-radius: 8px; background: #fff; color: var(--brand-dark); font-weight: 700; text-decoration: none; }
.home-actions a.primary { background: var(--accent); color: #1d2938; }
.home-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.home-card { padding: 1.15rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.home-card h3 { margin: 0 0 .4rem; }
.home-card p { color: var(--muted); margin: 0 0 .8rem; }
.home-card a { font-weight: 700; }
@media (max-width: 760px) { .home-grid { grid-template-columns: 1fr; } .home-hero img { max-height: 300px; } }

main .content { width: 100%; max-width: 1000px; margin-inline: auto; min-width: 0; }
main .content > div, main .content > section, main .content > article { max-width: 100%; margin-inline: auto; }
main .content p:empty, main .content div:empty, main .content span:empty { display: none !important; }
main .content p { margin-block: .35rem .85rem; }
main .content img { display: inline-block; vertical-align: middle; }
main .content > p, main .content > h2, main .content > h3 { max-width: 82ch; margin-inline: auto; }
main .content > a:has(img) { display: inline-block; }
main .content .content-image-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem; }
main .content table { margin-inline: auto; }

main .content.media-page { text-align: center; }
main .content.media-page > div { text-align: center; }
main .content.media-page img { max-width: 100%; height: auto; }

.candidate-form { display: grid; gap: 1.35rem; max-width: 900px; }
.candidate-form fieldset { border: 1px solid var(--line); border-radius: 12px; padding: 1.1rem; min-width: 0; }
.candidate-form legend { padding: 0 .45rem; font-weight: 750; color: var(--ink); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.form-grid > label, .form-grid > .field-group, .candidate-form > label:not(.consent-line) { display: grid; gap: .35rem; font-weight: 650; min-width: 0; }
.field-label { display: block; }
.candidate-form input:not([type=checkbox]), .candidate-form select, .candidate-form textarea { width: 100%; max-width: 100%; padding: .7rem .75rem; border: 1px solid #b9c3ce; border-radius: 8px; background: #fff; color: var(--ink); font: inherit; font-weight: 400; }
.candidate-form input:focus, .candidate-form select:focus, .candidate-form textarea:focus { outline: 3px solid #dfaa3855; border-color: var(--brand); }
.candidate-form.was-validated input:invalid, .candidate-form.was-validated select:invalid, .candidate-form.was-validated textarea:invalid { border: 2px solid #c62828; box-shadow: 0 0 0 2px #c6282822; }
.candidate-form.was-validated input[type=checkbox]:invalid { outline: 2px solid #c62828; outline-offset: 2px; }
.field-note, .form-footnote { color: var(--muted); font-size: .88rem; font-weight: 400; }
.check-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem .8rem; font-weight: 400; }
.check-list label, .consent-line { display: flex; align-items: flex-start; gap: .55rem; font-weight: 400; }
.check-list input, .consent-line input { margin-top: .35rem; flex: 0 0 auto; }
.form-submit { justify-self: start; border: 0; border-radius: 8px; padding: .8rem 1.15rem; background: var(--brand); color: #fff; font: inherit; font-weight: 750; cursor: pointer; }
.form-submit:hover { background: var(--brand-dark); }
.form-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 640px) { .form-grid, .check-list { grid-template-columns: 1fr; } .candidate-form fieldset { padding: .8rem; } }

.sales-directory { max-width: 1080px !important; }
.sales-overview { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(240px, .8fr); align-items: center; gap: 1.5rem; padding: 1rem; border: 1px solid var(--line); border-radius: 14px; background: #f8fafb; }
.sales-overview img { width: 100%; border-radius: 10px; }
.sales-cta, .sales-card-link { display: inline-block; font-weight: 750; }
.sales-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
.sales-card { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.sales-card > img { display: block; width: 100%; height: 190px; object-fit: contain; padding: .7rem; background: #f4f6f8; border-bottom: 1px solid var(--line); }
.sales-card > div { padding: 1rem 1.1rem 1.15rem; }
.sales-card h3 { margin: 0 0 .45rem; }
.sales-card p { color: var(--muted); }
.sales-card ul { margin: .3rem 0 .8rem; }
.sales-note { margin-top: 1.5rem !important; color: var(--muted); font-size: .92rem; }
@media (max-width: 700px) { .sales-overview, .sales-grid { grid-template-columns: 1fr; } .sales-card > img { height: 160px; } }

.process-pdf-card { display: flex; margin: 2rem 0 0; padding: 1.25rem 1.4rem; border: 1px solid var(--line); border-left: 5px solid var(--brand); border-radius: 12px; background: #f8fafb; }
.process-pdf-card h2 { margin-top: 0; }
.process-pdf-card a { font-weight: 750; }
.distributor-profile { max-width: 900px !important; }
.distributor-profile img { max-width: 100%; }

main .product-description { max-width: 1040px; margin-inline: auto; text-align: center; }
.product-description > div { text-align: center; }
.product-feature-image { display: flex; justify-content: center; align-items: center; margin: 0 auto 1.5rem; padding: .75rem; }
.product-feature-image img { display: block; width: auto; max-width: min(100%, 520px); max-height: 360px; object-fit: contain; margin-inline: auto; }
.related-applications { margin: 1.5rem auto 2rem; padding: 1.15rem; border: 1px solid var(--line); border-radius: 14px; background: #f8fafb; }
.related-applications h2 { text-align: center; margin: 0 0 1rem; font-size: 1.25rem; }
.related-application-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(135px, 1fr)); gap: .85rem; align-items: stretch; }
.related-application-card { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: .7rem; min-width: 0; padding: .85rem .7rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); text-align: center; text-decoration: none; font-weight: 750; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.related-application-card:hover { border-color: var(--brand); box-shadow: 0 6px 18px rgba(20,36,52,.08); transform: translateY(-2px); color: var(--brand-dark); }
.related-application-image { display: flex; align-items: center; justify-content: center; width: 100%; height: 105px; padding: .45rem; border-radius: 8px; background: #f3f5f7; }
.related-application-image img { display: block; width: 100%; height: 100% !important; max-width: 100%; object-fit: contain; }
.related-application-placeholder { color: var(--brand); font-size: 2rem; }
.related-application-label { display: block; margin-top: auto; line-height: 1.3; }
.product-description > div { min-width: 0; }
.product-description > div:has(table) { overflow-x: auto; }
.hiring-banner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .5rem 1rem; margin: 0 0 1.5rem; padding: .85rem 1rem; border-radius: 10px; background: #fff3d5; border: 1px solid #e7c26c; color: #33270e; text-align: center; }
.hiring-banner[data-hiring-banner="false"] { display: none; }
.hiring-banner-label { display: inline-block; padding: .18rem .55rem; border-radius: 5px; background: var(--brand); color: #fff; font-size: .8rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.hiring-banner a { font-weight: 800; color: var(--brand-dark); white-space: nowrap; }
@media (max-width: 640px) { .related-applications { padding: .8rem; } .related-application-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; } .related-application-image { height: 90px; } .hiring-banner { align-items: stretch; flex-direction: column; } }

.product-family-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; align-items: stretch; max-width: 1120px; margin: 0 auto 2rem; }
.product-family-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.product-family-heading { padding: 1.35rem 1.4rem .75rem; text-align: center; }
.product-family-kicker { display: inline-block; margin-bottom: .35rem; color: var(--muted); font-size: .75rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.product-family-heading h2 { margin: 0; color: var(--brand-dark); font-size: clamp(1.35rem, 2vw, 1.8rem); line-height: 1.25; }
.product-family-subtitle { margin: .4rem 0 0; color: var(--muted); }
.product-family-image { display: flex; align-items: center; justify-content: center; min-height: 160px; margin: .25rem 1.25rem 0; padding: 1rem; border-radius: 10px; background: #f4f6f8; }
.product-family-image img { display: block; width: 100%; max-width: 300px; height: 150px; object-fit: contain; }
.product-family-body { flex: 1; padding: 1rem 1.5rem .5rem; }
.product-family-body p { margin-top: 0; }
.product-family-body ul { padding-left: 1.25rem; }
.product-family-body li { margin: .35rem 0; }
.product-family-actions { display: flex; flex-direction: column; align-items: stretch; gap: .65rem; padding: 1rem 1.5rem 1.5rem; }
.product-family-actions a { display: block; text-align: center; padding: .65rem .8rem; border: 1px solid var(--line); border-radius: 8px; font-weight: 650; text-decoration: none; }
.product-family-actions a.product-action-primary { color: #fff; background: var(--brand); border-color: var(--brand); }
.product-family-actions a.product-action-primary:hover { background: var(--brand-dark); }
.primary-nav .subnav .nav-group-label { padding: .55rem .65rem .25rem; border-bottom: 1px solid var(--line); }
.primary-nav .subnav .nav-group-label span { display: block; color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .08em; }
.primary-nav .market-subnav { min-width: 270px; max-height: min(75vh, 620px); overflow-y: auto; }
@media (max-width: 760px) { .product-family-grid { grid-template-columns: minmax(0, 1fr); } .product-family-image img { height: 135px; } }

.product-options-overview { max-width: 1120px; margin: 2.5rem auto; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: #f8fafb; }
.product-options-overview h2, .family-applications h2 { margin-top: 0; color: var(--brand-dark); }
.product-options-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.25rem; }
.product-options-link-card { border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 1rem 1.15rem; }
.product-options-link-card h3 { margin: 0 0 .45rem; font-size: 1.1rem; }
.product-options-link-card p { margin: 0; }
.family-overview-grid { max-width: 900px; }
.family-applications { max-width: 1120px; margin: 2rem auto; }
.family-application-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .75rem; }
.family-application-links a { display: block; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 9px; background: #fff; text-align: center; font-weight: 700; text-decoration: none; }
.family-application-links a:hover { border-color: var(--brand); color: var(--brand-dark); }
.product-contact-note { max-width: 1120px; margin: 1.5rem auto; }
.grade-table-section { margin: 1.5rem auto; text-align: left; }
.grade-table-section h2 { text-align: left; color: var(--brand-dark); }
.responsive-table-wrap { width: 100%; overflow-x: auto; margin: 1rem 0; border: 1px solid var(--line); border-radius: 10px; }
.product-grade-table { width: 100%; border-collapse: collapse; min-width: 620px; background: #fff; }
.product-grade-table th, .product-grade-table td { padding: .85rem 1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.product-grade-table thead th { background: #f1f4f6; color: var(--brand-dark); font-weight: 800; }
.product-grade-table tbody th { background: #fafbfc; font-weight: 700; }
.product-grade-table tr:last-child th, .product-grade-table tr:last-child td { border-bottom: 0; }
.technical-note { color: var(--muted); font-size: .95rem; }
.coming-soon-label { display: inline-block; padding: .35rem .65rem; border-radius: 6px; background: #f1f4f6; font-weight: 800; }
@media (max-width: 640px) { .product-options-links { grid-template-columns: 1fr; } .product-options-overview { padding: 1rem; } .product-grade-table { min-width: 560px; } }

.family-overview-grid { max-width: 1120px; }
.family-overview-grid:has(> .product-family-card:only-child) { grid-template-columns: minmax(0, 560px); justify-content: center; }
.family-overview-grid .application-family-card { min-width: 0; }
.family-application-card-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: .75rem; padding: 1.25rem 1.4rem 1.5rem; }
.family-application-card-links a { display: flex; align-items: center; justify-content: center; min-height: 54px; padding: .8rem .75rem; }
.grade-table-section { max-width: 1120px; }
.grade-table-section .product-feature-image { float: right; max-width: min(34%, 300px); margin: 0 0 1rem 1.25rem; }
.grade-table-section .product-feature-image img { display: block; max-width: 100%; height: auto; border-radius: 8px; }
.product-grade-table { min-width: 650px; }
.candidate-form select { min-height: 48px; height: 48px; box-sizing: border-box; }
.candidate-form input:not([type=checkbox]) { min-height: 48px; box-sizing: border-box; }
.candidate-form textarea { min-height: 96px; resize: vertical; box-sizing: border-box; }
.candidate-form input[type=email] { width: 100%; }
.candidate-form input[type=tel] { max-width: 100%; }
.candidate-form .form-grid > label { align-content: start; }
@media (max-width: 760px) {
  .family-overview-grid:has(> .product-family-card:only-child) { grid-template-columns: minmax(0, 1fr); }
  .family-application-card-links { grid-template-columns: 1fr; }
  .grade-table-section .product-feature-image { float: none; max-width: 100%; margin: 0 auto 1rem; text-align: center; }
  .grade-table-section .product-feature-image img { max-height: 220px; margin: auto; object-fit: contain; }
}

.candidate-form input[name="phone"] { max-width: 18rem; }
.candidate-form input[name="location"] { max-width: 28rem; }
.candidate-form input[name="study_field"] { max-width: 28rem; }
.candidate-form textarea[name="skills"] { min-height: 7rem; }
.candidate-form textarea[name="additional_info"] { min-height: 9rem; }

.product-feature-image { float: none !important; display: flex; align-items: center; justify-content: center; width: 100%; max-width: 100% !important; min-height: 190px; margin: 1.25rem auto 1.5rem !important; padding: 1rem; box-sizing: border-box; text-align: center; }
.product-feature-image img { display: block; max-width: 100%; max-height: 280px; width: auto; height: auto; margin: 0 auto; object-fit: contain; }
.product-feature-image-placeholder { min-height: 220px; border: 1px dashed #aeb8c2; border-radius: 10px; background: #f8fafb; color: #6b7280; }
.product-feature-image-placeholder span { display: inline-block; padding: .75rem 1rem; border: 1px solid #d6dce2; border-radius: 6px; background: #fff; font-size: .95rem; }
.quality-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }
.quality-card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 2px 10px rgba(20, 30, 40, .04); }
.quality-card-heading { padding: 1.25rem 1.35rem .5rem; }
.quality-card-heading h2 { margin: 0 0 .6rem; color: var(--brand-dark); }
.quality-card-heading p { margin: 0; color: var(--muted); }
.quality-card-link { display: flex; flex: 1; flex-direction: column; text-decoration: none; color: inherit; }
.compliance-logo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; align-items: center; justify-items: center; padding: 1.25rem 1.35rem; }
.compliance-logo-grid img { max-width: 100%; max-height: 95px; width: auto; height: auto; object-fit: contain; }
.quality-card-cta { display: block; margin-top: auto; padding: 1rem 1.35rem; background: #f1f4f6; color: var(--brand-dark); font-weight: 800; }
.quality-card-link:hover .quality-card-cta { background: #e7ecef; text-decoration: underline; }
.iso-image-wrap, .health-canada-image, .fda-image-wrap { display: flex; align-items: center; justify-content: center; min-height: 160px; padding: 1rem 1.35rem; }
.iso-image-wrap img { max-width: 100%; max-height: 180px; width: auto; height: auto; object-fit: contain; }
.health-canada-image img { max-width: 100%; max-height: 150px; width: auto; height: auto; object-fit: contain; }
.fda-image-wrap img { max-width: 100%; max-height: 145px; width: auto; height: auto; object-fit: contain; }
.quality-contact-note { margin-top: 1.5rem; }
@media (max-width: 760px) { .quality-card-grid { grid-template-columns: 1fr; } .compliance-logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .product-feature-image { min-height: 150px; } }

.field-title { display: inline; }
.field-title .field-note { display: inline; margin-left: .2rem; white-space: nowrap; }
.management-directory { max-width: 1120px !important; }
.management-lead-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-bottom: 1.25rem; }
.management-team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }
.management-card { min-width: 0; padding: 1.25rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
.management-card h2 { margin: .2rem 0 1rem; font-size: 1.25rem; }
.management-role { margin: 0; color: var(--brand); font-size: .78rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.management-card dl { display: grid; grid-template-columns: minmax(5.3rem, .55fr) minmax(0, 1fr); gap: .65rem .8rem; margin: 0; }
.management-card dt { color: var(--muted); font-size: .9rem; font-weight: 700; }
.management-card dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 820px) { .management-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .management-lead-grid, .management-team-grid { grid-template-columns: 1fr; } .management-card { padding: 1rem; } }

.management-card { min-width: 0; padding: 1.25rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
.management-card-header { display: grid; grid-template-columns: minmax(0, 1fr) 92px; gap: 1rem; align-items: start; margin-bottom: 1rem; }
.management-card-title { min-width: 0; }
.management-card-title h2 { margin: .2rem 0 0; font-size: 1.25rem; overflow-wrap: anywhere; }
.management-card-title .management-role { margin: 0; }
.management-photo-placeholder { width: 92px; height: 92px; aspect-ratio: 1 / 1; flex: none; display: flex; align-items: center; justify-content: center; overflow: hidden; border: 1px dashed #aab4c0; border-radius: 10px; background: linear-gradient(135deg, #f4f6f8, #e8edf2); color: #5b6877; font-size: .78rem; font-weight: 700; }
.management-photo-placeholder img { display: block; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; object-position: center; }
.management-card dl { display: grid; grid-template-columns: minmax(5.3rem, .55fr) minmax(0, 1fr); gap: .65rem .8rem; margin: 0; }
.management-card dt { color: var(--muted); font-size: .9rem; font-weight: 700; }
.management-card dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 560px) { .management-card-header { grid-template-columns: minmax(0, 1fr) 76px; gap: .75rem; } .management-photo-placeholder { width: 76px; height: 76px; } }

.content-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 2px 10px rgba(20, 30, 40, .04); }
.legacy-page-card { width: 100% !important; max-width: 100% !important; padding: clamp(1rem, 2.5vw, 1.6rem); }
.legacy-page-card > div { max-width: 100% !important; }
.legacy-page-card img { max-width: 100%; height: auto; }
.legacy-page-card p:last-child { margin-bottom: 0; }
.employee-self-service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; align-items: stretch; max-width: 100% !important; }
.employee-self-service-grid > .content-card { display: flex; flex-direction: column; width: 100%; max-width: 100%; }
.employee-self-service-grid > .content-card:only-child { grid-column: 1 / -1; }
.content-card-media { display: flex; justify-content: center; align-items: center; min-height: 175px; padding: 1rem; background: #f4f6f8; border-bottom: 1px solid var(--line); }
.content-card-media img { display: block; max-width: 100%; width: auto; max-height: 190px; object-fit: contain; }
.content-card-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 1.2rem 1.3rem 1.35rem; }
.content-card-body .eyebrow { margin-bottom: .35rem; }
.content-card-body h2 { margin: 0 0 .6rem; font-size: 1.25rem; }
.content-card-body p { color: var(--muted); }
.content-card-cta { display: inline-flex; align-items: center; margin-top: auto; padding-top: .5rem; font-weight: 750; }
@media (max-width: 760px) { .employee-self-service-grid { grid-template-columns: 1fr; } }

.quality-card-grid:has(> .quality-card:only-child), .sales-grid:has(> .sales-card:only-child), .home-grid:has(> .home-card:only-child), .related-application-grid:has(> .related-application-card:only-child) { grid-template-columns: minmax(0, 1fr); }
.employee-self-service-grid > .content-card:last-child:nth-child(odd) { grid-column: 1 / -1; }

.history-card { display: flex; flex-direction: column; gap: 1.25rem; }
.history-copy { max-width: 100%; }
.history-photo-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
.history-photo-row figure { display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 150px; margin: 0; padding: .75rem; border: 1px solid var(--line); border-radius: 10px; background: #f4f6f8; }
.history-photo-row img { display: block; width: 100%; height: 170px; max-width: 100%; object-fit: contain; }
.legacy-split-layout { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(0, 1.5fr); gap: clamp(1.25rem, 3vw, 2.25rem); align-items: start; }
.legacy-split-media { display: flex; align-items: flex-start; justify-content: center; margin: 0; min-width: 0; }
.legacy-split-media img { display: block; width: 100%; height: auto; max-width: 100%; object-fit: contain; }
.legacy-split-content { min-width: 0; }
.legacy-split-content p:first-child { margin-top: 0; }
.legacy-split-content p:last-child { margin-bottom: 0; }
@media (max-width: 760px) { .history-photo-row { grid-template-columns: 1fr; } .history-photo-row img { height: auto; max-height: 230px; } .legacy-split-layout { grid-template-columns: minmax(0, 1fr); } .legacy-split-media img { max-width: min(100%, 360px); max-height: 300px; } }

.footer-facebook { opacity: .9; }
.footer-facebook:hover { opacity: 1; }

.facility-section { margin-top: 2rem; }
.facility-section-heading { margin-bottom: 1rem; }
.facility-section-heading h2 { margin: 0 0 .4rem; }
.facility-section-heading p:last-child { color: var(--muted); }
.facility-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.facility-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 2px 10px rgba(20,30,40,.04); }
.facility-card-media { display: flex; align-items: center; justify-content: center; min-height: 130px; padding: 1rem; border-bottom: 1px solid var(--line); background: #f4f6f8; }
.facility-card-media img { display: block; width: auto; max-width: 100%; max-height: 105px; object-fit: contain; }
.facility-card-media-placeholder { color: var(--muted); font-size: .9rem; font-weight: 650; letter-spacing: .04em; }
.facility-card-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 1.1rem 1.2rem 1.2rem; }
.facility-card-body h3 { margin: 0 0 .5rem; font-size: 1.12rem; }
.facility-card-body p { margin: 0 0 .65rem; color: var(--muted); }
.facility-card-body a { margin-top: auto; font-weight: 700; text-decoration: none; }
@media (max-width: 640px) { .facility-grid { grid-template-columns: 1fr; } .brand-title-row { gap: .4rem; } }

.facility-intro-card { text-align: center; padding: 1.5rem; }
.facility-intro-logo { display: flex; justify-content: center; align-items: center; width: 100%; margin: 0; padding: 0; }
.facility-intro-logo img { display: block; width: min(100%, 503px); height: auto; margin: 0 auto; }
.facility-card-media a { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; }
.facility-card-media img { max-width: 100%; }
.management-section-divider { display: block; height: 6px; min-height: 6px; border: 0; border-radius: 3px; background: #9ca3af; margin: 2rem 0; width: 100%; flex: 0 0 6px; }
.distributor-profile > a img, .content > div > a img { cursor: pointer; }

.management-team-grid-separated { border-top: 2px solid #aeb7c2; padding-top: 1.5rem; margin-top: 1.5rem; position: relative; }
.distributor-click-instruction { margin: 1rem auto 0; color: var(--muted); font-size: .95rem; }
.home-hero-image { display: block; opacity: 1; transition: opacity 100ms ease-in-out; }
.home-hero-image.is-changing { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .home-hero-image { transition: none !important; }
}

/* Employment form language selector and conditional detail fields */
.form-language-switch { display: flex; justify-content: flex-end; align-items: center; gap: .45rem; max-width: 900px; margin: 0 auto .75rem; font-size: .95rem; }
.language-choice { border: 0; background: transparent; color: var(--brand); padding: .25rem .15rem; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }
.language-choice.is-active { color: var(--ink); font-weight: 800; text-decoration: none; }
.language-choice:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 3px; }
.is-hidden { display: none !important; }
.candidate-form .other-detail { margin-top: .65rem; }

/* Keep image-placeholder markup in place for future assets, but do not display empty placeholders. */
.product-feature-image-placeholder,
.related-application-placeholder,
.facility-card-media-placeholder,
.management-photo-placeholder:not(:has(img)) {
    display: none !important;
}
