/* ==========================================================================
   YOKON Instruments — front-end stylesheet
   Palette taken from the YOKON logo: navy #0a2c4c, orange #e96712.
   No external fonts, no framework, no dependencies.
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --navy: #0a2c4c;
  --navy-2: #123f66;
  --navy-deep: #061d30;
  --ink: #14293b;
  --muted: #52697a;
  --line: #dae3e9;
  --line-strong: #c2d1db;
  --pale: #f3f7fa;
  --pale-2: #e8f0f6;
  --accent: #e96712;
  --accent-ink: #b84a06;
  --accent-soft: #fdf1e8;
  --white: #fff;
  --ok: #1c6b46;
  --err: #a12c19;
  --max: 1240px;
  --radius: 3px;
  --step: clamp(1.5rem, 2.4vw, 2.2rem);
  --shadow: 0 18px 50px rgba(10, 44, 76, .09);
}

/* 2. Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
figure { margin: 0; }
p { margin: 1rem 0 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.025em; font-weight: 650; }
h1 { font-size: clamp(2.35rem, 4.6vw, 4rem); }
h2 { font-size: clamp(1.7rem, 2.8vw, 2.5rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; }
em { font-style: normal; color: var(--navy-2); }
strong { font-weight: 650; color: var(--navy); }
small { font-size: .82rem; }

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

::selection { background: var(--accent); color: var(--white); }

.container {
  width: min(var(--max), calc(100% - 72px));
  margin-inline: auto;
}

.section { padding-block: clamp(56px, 7vw, 88px); }
.section--tight { padding-block: clamp(40px, 5vw, 60px); }
.section--tint { background: var(--pale); }
.section--line { border-top: 1px solid var(--line); }

.lead {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 68ch;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--accent-ink);
}

.item-number {
  margin: 16px 0 0;
  font-size: .66rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  top: -80px; left: 12px;
  z-index: 60;
  padding: 12px 16px;
  background: var(--navy);
  color: var(--white);
}
.skip-link:focus { top: 12px; }

/* 3. Buttons and links ---------------------------------------------------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid var(--navy);
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  font-size: .92rem;
  font-weight: 650;
  letter-spacing: .01em;
  text-decoration: none !important;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.button:hover { background: var(--navy-2); border-color: var(--navy-2); }
.button:disabled, .button[aria-busy="true"] { opacity: .6; cursor: wait; }

.button--outline { background: transparent; color: var(--navy); }
.button--outline:hover { background: var(--pale); border-color: var(--navy); }

.button--light { background: var(--white); border-color: var(--white); color: var(--navy); }
.button--light:hover { background: var(--pale-2); border-color: var(--pale-2); }

/* Accent fill is reserved for large or short labels: #e96712 with navy text
   reaches 4.4:1, so it is not used behind small white text. */
.button--accent { background: var(--accent); border-color: var(--accent); color: var(--navy-deep); }
.button--accent:hover { background: #f27c33; border-color: #f27c33; }

.button--sm { min-height: 40px; padding: 9px 16px; font-size: .85rem; }

.text-link {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: .45em;
  font-size: .9rem;
  font-weight: 650;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
}
.text-link:hover { text-decoration: none; color: var(--accent-ink); border-color: var(--accent); }

.button-row {
  display: flex;
  align-items: center;
  gap: 18px 24px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.chip {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--white);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--muted);
  white-space: nowrap;
}
a.chip:hover { border-color: var(--navy); color: var(--navy); text-decoration: none; }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 16px 0 0; padding: 0; }

.status-chip {
  display: inline-block;
  margin: 12px 0 0;
  padding: 3px 9px;
  border-radius: 2px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  font-size: .78rem;
  color: var(--muted);
}
.meta-list li { position: relative; }
.meta-list li + li::before {
  content: "";
  position: absolute;
  left: -10px; top: .55em;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--line-strong);
}

/* 4. Header --------------------------------------------------------------- */
.site-header { position: relative; z-index: 40; background: var(--white); }

.utility { background: var(--navy); color: #d7e5ee; font-size: 11px; }
.utility__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 34px;
}
.utility__note { margin-right: auto; letter-spacing: .02em; }
.utility__actions { display: flex; align-items: center; gap: 20px; }
.utility__links { position: relative; left: -10px; display: inline-flex; align-items: center; gap: 22px; margin-right: 2px; }
.utility__links a { color: inherit; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.utility__links a:hover { color: var(--white); text-decoration: none; }
.utility__actions a { display: inline-flex; align-items: center; gap: 6px; }
.utility__actions a:hover { color: var(--white); }
.utility__lang { color: #9fb8c8; }

.header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  min-height: 92px;
  background: var(--white);
}

.brand { display: inline-flex; flex-direction: column; gap: 5px; text-decoration: none !important; }
/* logo is wrapped in <picture> for the webp source; dissolve the wrapper so the
   <img> stays the direct flex item and header/footer alignment is unchanged */
.brand picture,
.picture--bare { display: contents; }
.brand__logo { width: auto; height: 44px; }
.site-footer .brand__logo { width: 260px; max-width: 100%; height: auto; }
.site-footer .brand__tagline { margin-top: 6px; font-size: .72rem; letter-spacing: .05em; color: #9fb8c8; }
.brand__tagline {
  font-size: .56rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--muted);
}
.brand__name {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
}

.site-nav { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.site-nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: .84rem;
  font-weight: 600;
}
.site-nav__list > li { position: relative; }
.site-nav__list > li > a {
  display: block;
  padding: 10px 12px;
  color: var(--ink);
  border-bottom: 2px solid transparent;
}
.site-nav__list > li > a:hover { color: var(--navy); text-decoration: none; border-bottom-color: var(--line-strong); }
.site-nav__list > li.current-menu-item > a,
.site-nav__list > li.current-menu-ancestor > a,
.site-nav__list > li.current_page_parent > a {
  color: var(--navy);
  border-bottom-color: var(--accent);
}

.site-nav .sub-menu {
  position: absolute;
  top: 100%; left: 0;
  z-index: 20;
  min-width: 250px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.site-nav li:hover > .sub-menu,
.site-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.site-nav .sub-menu { min-width: 300px; }
.site-nav .sub-menu a { display: block; padding: 9px 14px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.site-nav .sub-menu a:hover { background: var(--pale); color: var(--navy); text-decoration: none; }

.site-nav__cta { margin-left: 10px; }
.site-nav__cta > a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 18px !important;
  border: 1px solid var(--accent) !important;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--navy) !important;
  font-weight: 700;
}
.site-nav__cta > a:hover { background: #f27c33; border-color: #f27c33 !important; text-decoration: none; }

/* The quote link sits outside the menu list so it survives an empty menu. */
.site-nav__quote {
  display: inline-flex;
  align-items: center;
  flex: none;
  min-height: 42px;
  margin-left: 8px;
  padding: 10px 18px;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--navy-deep);
  font-size: .84rem;
  font-weight: 700;
  white-space: nowrap;
}
.site-nav__quote:hover { background: #f27c33; text-decoration: none; }

.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy);
  font-size: .82rem;
  font-weight: 650;
}
.menu-toggle__bars { position: relative; width: 18px; height: 12px; }
.menu-toggle__bars span,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  position: absolute;
  left: 0;
  width: 18px; height: 2px;
  background: currentColor;
  content: "";
  transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle__bars span { top: 5px; }
.menu-toggle__bars::before { top: 0; }
.menu-toggle__bars::after { top: 10px; }
.is-nav-open .menu-toggle__bars span { opacity: 0; }
.is-nav-open .menu-toggle__bars::before { transform: translateY(5px) rotate(45deg); }
.is-nav-open .menu-toggle__bars::after { transform: translateY(-5px) rotate(-45deg); }

/* 5. Homepage hero -------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(44px, 5vw, 68px);
  background: linear-gradient(110deg, #f7fafc 60%, #e7eff5 60%);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}
.hero h1 { font-size: clamp(3rem, 5.4vw, 4.8rem); letter-spacing: -.035em; }
.hero h1 .is-accent { color: var(--accent); }
.hero .lead { margin-top: 22px; max-width: 52ch; }
.hero__note {
  margin-top: 34px;
  font-size: .7rem;
  letter-spacing: .04em;
  color: var(--muted);
}
.hero__visual {
  position: relative;
  background: var(--pale-2);
  border: 1px solid #d2e0e9;
  box-shadow: var(--shadow);
}
.visual-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px 0;
  font-size: .58rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__visual img { width: 100%; }
.hero__visual figcaption { padding: 4px 20px 18px; font-size: .78rem; color: var(--muted); }

/* 6. Route bar ------------------------------------------------------------ */
.route-bar { border-block: 1px solid var(--line); background: var(--white); }
.route-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.route-grid a {
  padding: 20px 26px;
  border-right: 1px solid var(--line);
  font-size: .9rem;
  font-weight: 650;
  color: var(--navy);
  transition: background-color .16s ease;
}
.route-grid a:first-child { padding-left: 0; }
.route-grid a:last-child { border-right: 0; }
.route-grid a:hover { background: var(--pale); text-decoration: none; }
.route-grid .route-meta { display: block; margin-top: 3px; font-size: .74rem; font-weight: 400; color: var(--muted); }

/* 7. Section heading ------------------------------------------------------ */
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}
.section-heading p { margin-top: 10px; max-width: 62ch; color: var(--muted); }
.section-heading__link { flex: none; margin-bottom: 4px; }

/* 8. Category grid -------------------------------------------------------- */
/* Six instrument families, laid out three per row (2 x 3). */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.category-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px 24px 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  transition: background-color .16s ease;
}
.category-card:hover { background: #f8fbfd; }
.category-card h3 { margin-top: 6px; font-size: 1.12rem; min-height: 2.4em; }
.category-card h3 a:hover { text-decoration: none; color: var(--navy-2); }
.category-card > p:not(.item-number) {
  margin: 8px 0 20px;
  font-size: .84rem;
  color: var(--muted);
}
.category-card .text-link { margin-top: auto; font-size: .78rem; }
.category-icon {
  height: 56px;
  color: var(--navy-2);
  margin-bottom: 4px;
  transition: color .16s ease;
}
.category-icon svg { height: 100%; width: auto; }
.category-card:hover .category-icon { color: var(--accent); }

/* 9. Product cards -------------------------------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.product-card {
  display: grid;
  grid-template-columns: 38% 62%;
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--white);
  transition: border-color .16s ease, box-shadow .16s ease;
}
.product-card:hover { border-color: var(--line-strong); box-shadow: 0 10px 30px rgba(10, 44, 76, .06); }
.product-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 22px;
  background: var(--pale);
}
.product-media__img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.product-media__glyph { display: flex; align-items: center; justify-content: center; width: 100%; color: var(--navy-2); }
.product-media__icon { width: 82%; max-width: 170px; height: auto; }
.product-card__body { padding: 24px 26px; min-width: 0; }
.product-card__body .eyebrow { margin-bottom: 8px; font-size: .66rem; }
.product-card h3 { font-size: 1.28rem; }
.product-card h3 a:hover { text-decoration: none; color: var(--navy-2); }
.product-card__excerpt { margin: 10px 0 0; font-size: .84rem; color: var(--muted); }

.mini-specs { margin: 18px 0 16px; font-size: .78rem; }
.mini-specs > div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 6px 0;
  border-top: 1px solid var(--line);
}
.mini-specs dt { color: var(--muted); }
.mini-specs dd { margin: 0; font-weight: 650; text-align: right; }

/* 10. Applications ------------------------------------------------------- */
.application-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.application-card {
  min-width: 0;
  padding: 26px 30px 26px 0;
  border-bottom: 1px solid var(--line);
}
.application-card:nth-child(3n + 2),
.application-card:nth-child(3n + 3) { padding-left: 30px; }
.application-card:nth-child(3n) { padding-right: 0; }
.application-card .eyebrow { color: var(--muted); font-size: .62rem; }
.application-card h3 { font-size: 1.15rem; }
.application-card p:not(.eyebrow) { margin: 8px 0 18px; font-size: .86rem; color: var(--muted); }
.application-card .text-link { font-size: .8rem; }

/* 11. Editorial / process ------------------------------------------------ */
.editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li {
  counter-increment: step;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps h3 { display: flex; gap: 14px; font-size: 1.05rem; }
.steps h3::before {
  content: counter(step, decimal-leading-zero);
  font-size: .7rem;
  letter-spacing: .1em;
  color: var(--accent-ink);
  padding-top: .25em;
}
.steps p { margin: 8px 0 0 34px; font-size: .88rem; color: var(--muted); }

/* 12. Resources ---------------------------------------------------------- */
.resource-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.resource-card {
  padding: 6px 24px 18px;
  border-left: 3px solid var(--accent);
  background: var(--white);
}
.resource-card .eyebrow { font-size: .62rem; }
.resource-card h3 { font-size: 1.1rem; }
.resource-card > p:not(.eyebrow):not(.resource-card__meta) { margin: 10px 0 16px; font-size: .88rem; color: var(--muted); }
.resource-card__meta { font-size: .74rem; color: var(--muted); margin: 0 0 14px; }
.resource-card .text-link { font-size: .8rem; }

.resource-list { border-top: 1px solid var(--line); }
.resource-row {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 140px;
  gap: 24px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.resource-row__main h3 { font-size: 1.08rem; }
.resource-row__main > p { margin: 8px 0 0; font-size: .86rem; color: var(--muted); }
.resource-row__action { text-align: right; }
.resource-row__action .button { width: 100%; }

/* 13. Support cards ------------------------------------------------------ */
.support-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.support-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--white);
}
.support-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  background: var(--pale);
  color: var(--navy-2);
}
.support-card h3 { font-size: 1.05rem; }
.support-card p { flex: 1 1 auto; margin: 10px 0 20px; font-size: .88rem; color: var(--muted); }
.support-card .text-link { margin-top: auto; font-size: .8rem; }

/* 14. CTA band ----------------------------------------------------------- */
/* The closing call to action is a card on white, not a full-bleed band:
   a navy band directly above the navy footer reads as one muddy block. */
.cta-band {
  background: var(--white);
  color: var(--white);
  padding-block: clamp(40px, 4.5vw, 64px);
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: clamp(34px, 4vw, 52px) clamp(28px, 4vw, 56px);
  background: var(--navy);
  border-radius: 14px;
}
.cta-inner h2 { max-width: 22ch; }
.cta-inner p { color: #bed2df; max-width: 52ch; }
.cta-inner .eyebrow { color: #ffb98c; }
.cta-inner .button { flex: none; }

/* 15. Footer ------------------------------------------------------------- */
.site-footer { background: var(--navy-deep); color: #c6d6e2; padding-top: 56px; font-size: .82rem; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr 1.2fr 1.15fr;
  gap: 40px;
}
.footer__brand p { margin: 14px 0 0; font-size: .76rem; color: #9db3c3; max-width: 34ch; }
.footer__col h2 {
  margin-bottom: 14px;
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--white);
}
.footer__col ul { list-style: none; margin: 0; padding: 0; }
.footer__col li { margin: 8px 0; }
.footer__col a { color: #c6d6e2; overflow-wrap: anywhere; }
.footer__col a:hover { color: var(--white); }
.footer__contact { display: flex; flex-direction: column; gap: 8px; }
.footer__contact a { display: inline-flex; align-items: center; gap: 8px; }
.footer__contact .icon { width: 15px; height: 15px; opacity: .7; flex: none; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 42px;
  padding: 18px 0 22px;
  border-top: 1px solid #1b3a51;
  font-size: .72rem;
  color: #8fa8b9;
}
.footer__bottom span { margin-right: auto; }
.footer__bottom a:hover { color: var(--white); }

/* 16. Page hero ---------------------------------------------------------- */
.page-hero {
  padding-block: clamp(26px, 3.4vw, 46px) clamp(34px, 4vw, 54px);
  background: var(--pale);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { max-width: 22ch; }
.page-hero .lead { margin-top: 20px; }
.page-hero--navy { background: var(--navy); border-bottom: 0; color: var(--white); }
.page-hero--navy .lead { color: #bed2df; }
.page-hero--navy .eyebrow { color: #ffb98c; }
.page-hero--navy .breadcrumb { color: #9db3c3; }
.page-hero--navy .breadcrumb a:hover { color: var(--white); }

.breadcrumb-wrap { margin-bottom: 22px; }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: .74rem;
  color: var(--muted);
}
.breadcrumb li + li::before { content: "/"; margin-right: 10px; color: #9db0be; }
.breadcrumb a:hover { color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--accent); }

/* 17. Archive toolbar ---------------------------------------------------- */
.archive-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  justify-content: space-between;
  margin-bottom: 26px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chips a {
  padding: 7px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--muted);
}
.filter-chips a:hover { border-color: var(--navy); color: var(--navy); text-decoration: none; }
.filter-chips a[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: var(--white); }

.archive-search { display: flex; gap: 8px; }
.archive-search input {
  width: 220px;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}
.archive-search button {
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid var(--navy);
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  font-size: .82rem;
  font-weight: 650;
}

.results-count { margin: 0 0 18px; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }

.pagination { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 40px; }
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-size: .82rem;
  color: var(--muted);
}
.pagination .page-numbers:hover { border-color: var(--navy); color: var(--navy); text-decoration: none; }
.pagination .current { background: var(--navy); border-color: var(--navy); color: var(--white); }

.empty-state {
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--pale);
}
.empty-state p { margin: 0 0 16px; color: var(--muted); }

/* 18. Product detail ----------------------------------------------------- */
.product-layout {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.product-layout > * { min-width: 0; }
.section--matrix .table-wrap { max-width: 100%; }
.product-summary .table-wrap { max-width: 100%; }
.product-gallery { position: sticky; top: 112px; }
.product-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 320px;
  padding: 32px;
  background: var(--pale);
  border: 1px solid var(--line);
}
.product-figure img {
  max-width: 100%;
  max-height: 560px;
  width: auto;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.product-figure .product-media__icon { width: 74%; max-width: 300px; }
.product-figure figcaption { margin-top: 14px; font-size: .72rem; color: var(--muted); text-align: center; }
.gallery-panel {
  margin-top: 16px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  background: var(--white);
}
.gallery-panel p:not(.eyebrow) { margin: 0 0 12px; font-size: .86rem; color: var(--muted); }
.product-gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; }
.product-gallery__thumbs img {
  width: 72px; height: 72px;
  object-fit: cover;
  border: 1px solid var(--line);
  cursor: pointer;
}

.product-summary h1 { margin-bottom: 12px; }
.product-summary .lead { font-size: 1.02rem; }
.product-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 16px; font-size: .78rem; color: var(--muted); }
.product-meta strong { color: var(--ink); font-weight: 650; }

.highlights { margin: 22px 0 0; padding: 0; list-style: none; }
.highlights li { position: relative; padding: 7px 0 7px 26px; font-size: .9rem; }
.highlights li::before {
  content: "";
  position: absolute;
  left: 2px; top: 15px;
  width: 10px; height: 6px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.table-wrap { overflow-x: auto; border: 1px solid var(--line); margin-top: 20px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.spec-table caption {
  padding: 14px 18px;
  background: var(--navy);
  color: var(--white);
  font-weight: 650;
  text-align: left;
  font-size: .8rem;
  letter-spacing: .04em;
}
.spec-table th, .spec-table td { padding: 13px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.spec-table th { width: 46%; background: var(--pale); font-weight: 600; color: var(--navy); }
.spec-table tr:last-child > * { border-bottom: 0; }
.spec-table--compare { min-width: 560px; }

/* Model comparison table: first column and header stay put while scrolling. */
.table-wrap--matrix {
  -webkit-overflow-scrolling: touch;
  background:
    linear-gradient(to right, #fff 30%, rgba(255, 255, 255, 0)) left center,
    linear-gradient(to left, #fff 30%, rgba(255, 255, 255, 0)) right center,
    radial-gradient(farthest-side at 0 50%, rgba(10, 44, 76, .22), rgba(10, 44, 76, 0)) left center,
    radial-gradient(farthest-side at 100% 50%, rgba(10, 44, 76, .22), rgba(10, 44, 76, 0)) right center;
  background-repeat: no-repeat;
  background-size: 40px 100%, 40px 100%, 16px 100%, 16px 100%;
  background-attachment: local, local, scroll, scroll;
}
.spec-table--matrix { min-width: 640px; font-size: .8rem; }
.spec-table--matrix th,
.spec-table--matrix td { padding: 11px 14px; width: auto; min-width: 104px; }
.spec-table--matrix thead th {
  position: sticky;
  top: 0;
  z-index: 3;
  background: var(--navy);
  color: var(--white);
  font-size: .72rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.spec-table--matrix thead th:first-child { left: 0; z-index: 4; }
.spec-table--matrix tbody th[scope="row"] {
  position: sticky;
  left: 0;
  z-index: 1;
  min-width: 132px;
  background: var(--pale);
  font-weight: 600;
  color: var(--navy);
  white-space: normal;
}
.spec-table--matrix tbody tr:nth-child(even) td { background: #fbfbfa; }
.spec-table--matrix .is-na { color: #b9c7d1; }

/*
 * Seven or more models: fix the layout to the container so the whole series is
 * visible at once instead of hiding two columns behind a horizontal scroll.
 */
.spec-table--matrix--dense {
  table-layout: fixed;
  width: 100%;
  min-width: 0;
  font-size: .74rem;
}
.spec-table--matrix--dense th,
.spec-table--matrix--dense td {
  padding: 9px 10px;
  min-width: 0;
  overflow-wrap: break-word;
}
.spec-table--matrix--dense thead th { white-space: normal; line-height: 1.35; }
.spec-table--matrix--dense tbody th[scope="row"] { width: 118px; min-width: 0; }

/* Rows that differ across the series carry the buying decision. */
.spec-table--matrix tbody tr[data-diff] th[scope="row"] {
  background: var(--accent-soft);
  box-shadow: inset 3px 0 0 var(--accent);
}
.spec-table--matrix thead th[data-diff] {
  background: var(--navy-2);
  box-shadow: inset 0 -3px 0 var(--accent);
}
.spec-table--matrix thead th a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.spec-table--matrix thead th a:hover,
.spec-table--matrix thead th a:focus-visible { text-decoration-thickness: 2px; }
.spec-table--matrix tbody th[scope="row"] a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.spec-note--legend { display: flex; align-items: center; gap: 8px; }
.spec-note--legend::before {
  content: "";
  width: 12px; height: 12px;
  flex: 0 0 12px;
  background: var(--accent-soft);
  box-shadow: inset 3px 0 0 var(--accent);
}

.matrix-picker {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--pale);
  border-bottom: 1px solid var(--line);
  font-size: .8rem;
}
.matrix-picker label { font-weight: 600; color: var(--navy); letter-spacing: .04em; text-transform: uppercase; font-size: .7rem; }
.matrix-picker select {
  flex: 1;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  font: inherit;
}
@media (min-width: 761px) { .matrix-picker { display: none; } }

@media (max-width: 760px) {
  /* One model column at a time: the table must fit the screen, not scroll. */
  .spec-table--matrix[data-axis="cols"] { min-width: 0; }
  .spec-table--matrix[data-axis="cols"] td { min-width: 0; }
  .spec-table--matrix[data-axis="cols"] tbody th[scope="row"] { min-width: 0; width: 42%; }

  /*
   * Transposed table (many models, few parameters): stack one model per block
   * so a 30-model balance series stays readable on a phone.
   */
  .table-wrap--matrix:has(.spec-table--matrix[data-axis="rows"]) { overflow-x: visible; background: none; }
  .spec-table--matrix[data-axis="rows"] { min-width: 0; display: block; }
  .spec-table--matrix[data-axis="rows"] caption { display: block; width: 100%; }
  .spec-table--matrix[data-axis="rows"] thead { display: none; }
  .spec-table--matrix[data-axis="rows"] tbody { display: block; }
  .spec-table--matrix[data-axis="rows"] tbody tr {
    display: block;
    margin-bottom: 14px;
    border: 1px solid var(--line);
  }
  .spec-table--matrix[data-axis="rows"] tbody tr:last-child { margin-bottom: 0; }
  .spec-table--matrix[data-axis="rows"] tbody th[scope="row"] {
    position: static;
    display: block;
    padding: 10px 14px;
    background: var(--navy);
    color: var(--white);
    font-size: .82rem;
    letter-spacing: .04em;
  }
  .spec-table--matrix[data-axis="rows"] tbody th[scope="row"] a { color: var(--white); }
  .spec-table--matrix[data-axis="rows"] tbody td {
    display: flex;
    gap: 14px;
    justify-content: space-between;
    min-width: 0;
    padding: 9px 14px;
    border-bottom: 1px solid var(--line);
    font-size: .82rem;
  }
  .spec-table--matrix[data-axis="rows"] tbody td:last-child { border-bottom: 0; }
  .spec-table--matrix[data-axis="rows"] tbody td::before {
    content: attr(data-label);
    flex: 0 0 40%;
    color: var(--muted);
    font-size: .68rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    line-height: 1.5;
  }
  .spec-table--matrix[data-axis="rows"] tbody td[data-label=""]::before { content: none; }
  .spec-table--matrix[data-axis="rows"] tbody tr:nth-child(even) td { background: transparent; }
}

.spec-note { font-size: .76rem; color: var(--muted); margin-top: 10px; }

.config-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 40px; }
.config-block h3 { font-size: .95rem; margin-bottom: 10px; }
.config-block ul, .content-narrow ul, .content-narrow ol { margin: 0; padding-left: 20px; }
.config-block li, .content-narrow li { margin: 7px 0; font-size: .9rem; }

.detail-nav { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; font-size: .82rem; font-weight: 650; }
.detail-nav a { padding-bottom: 3px; border-bottom: 2px solid transparent; }
.detail-nav a:hover { border-bottom-color: var(--accent); text-decoration: none; }

.quote-aside {
  margin-top: 24px;
  padding: 22px;
  background: var(--navy);
  color: var(--white);
}
.quote-aside p { margin: 0 0 16px; font-size: .84rem; color: #bed2df; }
.quote-aside .button { width: 100%; }
.quote-aside__meta { margin-top: 14px; font-size: .72rem; color: #9db3c3; }

.doc-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.doc-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: .9rem;
}
.doc-list .chip { flex: none; }
.doc-list .doc-list__action { margin-left: auto; font-size: .8rem; font-weight: 650; }

details.faq {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
details.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-weight: 650;
  font-size: .95rem;
  list-style: none;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; color: var(--accent-ink); font-size: 1.1rem; line-height: 1; }
details.faq[open] summary::after { content: "–"; }
details.faq p { margin: 10px 0 0; font-size: .88rem; color: var(--muted); max-width: 72ch; }

/* 19. Application detail ------------------------------------------------- */
.brief-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px 40px; }
.brief-grid dt {
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 5px;
}
.brief-grid dd { margin: 0 0 22px; font-size: .95rem; }
.brief-grid dd ul { margin: 0; padding-left: 20px; }
.brief-grid dd li { margin: 5px 0; }

.note {
  padding: 18px 22px;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  font-size: .88rem;
  color: #4a3527;
}
.note strong { color: #5a3a22; }

/* 20. Resource detail ---------------------------------------------------- */
.doc-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 32px;
  padding: 26px;
  border: 1px solid var(--line);
  background: var(--pale);
}
.doc-panel__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; margin: 0; }
.doc-panel__facts div { min-width: 0; }
.doc-panel__facts dt { font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.doc-panel__facts dd { margin: 3px 0 0; font-size: .9rem; font-weight: 600; }
.doc-panel__action { display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.doc-panel__action .button { width: 100%; }
.doc-panel__action small { color: var(--muted); font-size: .72rem; }

/* 21. Contact and inquiry ------------------------------------------------ */
.contact-layout {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.contact-aside { padding: 26px; background: var(--pale); border: 1px solid var(--line); }
.contact-aside h2 { font-size: 1.05rem; margin-bottom: 16px; }
.contact-item { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.contact-item:first-of-type { border-top: 0; }
.contact-item .icon { width: 18px; height: 18px; margin-top: 3px; flex: none; color: var(--navy-2); }
.contact-item dt { font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-item dd { margin: 2px 0 0; font-size: .88rem; }
.contact-item dd a { overflow-wrap: anywhere; }

.inquiry-form { margin-top: 24px; }
.inquiry-form .form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 22px; }
.field { display: block; margin: 0 0 16px; }
.field--full { grid-column: 1 / -1; }
.field__label { display: block; margin-bottom: 7px; font-size: .8rem; font-weight: 650; color: var(--navy); }
.req { color: var(--accent-ink); }

input[type="text"], input[type="email"], input[type="tel"], input[type="search"],
input[type="url"], input[type="date"], select, textarea {
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-size: .92rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
textarea { min-height: 130px; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: #9db0be; }
input:focus, select:focus, textarea:focus { border-color: var(--navy-2); box-shadow: 0 0 0 3px rgba(18, 63, 102, .12); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--err); }

.checkbox { display: flex; gap: 10px; align-items: flex-start; margin: 6px 0 20px; font-size: .82rem; color: var(--muted); }
.checkbox input { width: 18px; height: 18px; min-height: 0; margin: 3px 0 0; flex: none; accent-color: var(--navy); }
.checkbox a { color: var(--navy); text-decoration: underline; }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form-help { margin: 0; font-size: .76rem; color: var(--muted); max-width: 46ch; }

.form-status { margin: 16px 0 0; font-size: .86rem; }
.form-status.is-success {
  padding: 16px 18px;
  border-left: 3px solid var(--ok);
  background: #eef8f2;
  color: #175c3c;
}
.form-status.is-error {
  padding: 16px 18px;
  border-left: 3px solid var(--err);
  background: #fdf0ee;
  color: var(--err);
}
.form-status a { text-decoration: underline; }

.honeypot {
  position: absolute !important;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* 22. Generic content ---------------------------------------------------- */
.content-narrow { max-width: 76ch; }
/* A container that also carries .content-narrow must stay on the normal grid,
   with the reading measure applied to its children instead of to the box. */
.container.content-narrow {
  max-width: none;
  margin-inline: auto;
}
.container.content-narrow > * { max-width: 76ch; }
.container.content-narrow > table,
.container.content-narrow > figure,
.container.content-narrow > img,
.container.content-narrow > .table-wrap { max-width: 100%; }
.content-narrow h2 { margin: 34px 0 12px; font-size: 1.55rem; }
.content-narrow h3 { margin: 26px 0 10px; font-size: 1.15rem; }
.content-narrow p { margin: 12px 0 0; }
.content-narrow a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--accent); }
.content-narrow blockquote {
  margin: 24px 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--accent);
  color: var(--muted);
}
.content-narrow table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: .9rem; }
.content-narrow th, .content-narrow td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; }
.content-narrow th { background: var(--pale); }

.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 48px; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.stats div { padding: 22px; background: var(--white); }
.stats dt { font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.stats dd { margin: 6px 0 0; font-size: 1.5rem; font-weight: 700; color: var(--navy); letter-spacing: -.02em; }

.criteria { margin: 0; padding: 0; list-style: none; counter-reset: crit; }
.criteria li {
  counter-increment: crit;
  position: relative;
  padding: 14px 0 14px 42px;
  border-top: 1px solid var(--line);
}
.criteria li::before {
  content: counter(crit, decimal-leading-zero);
  position: absolute;
  left: 0; top: 16px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--accent-ink);
}
.criteria h3 { font-size: .98rem; }
.criteria p { margin: 6px 0 0; font-size: .86rem; color: var(--muted); }

/* 23. 404 and search ----------------------------------------------------- */
.error-page { padding-block: clamp(60px, 10vw, 120px); text-align: left; }
.error-page .error-code { font-size: clamp(4rem, 12vw, 9rem); line-height: 1; font-weight: 800; color: var(--pale-2); letter-spacing: -.05em; }
.error-page h1 { margin-top: -18px; }

.search-form { display: flex; gap: 8px; max-width: 520px; }
.search-form input { flex: 1; }
.search-form .button { flex: none; }

/* 23b. Layout helpers for specific templates ------------------------------ */
.category-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}
.category-aside { position: sticky; top: 112px; }
.category-layout .product-grid { grid-template-columns: 1fr; }
.category-layout .product-card { grid-template-columns: 30% 70%; }
.aside-panel {
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--pale);
}
.aside-panel h2 { font-size: 1rem; margin-bottom: 12px; }
.aside-panel .button { width: 100%; margin-top: 4px; }
.aside-list { margin: 0 0 18px; padding-left: 18px; font-size: .86rem; color: var(--muted); }
.aside-list li { margin: 8px 0; }

.checklist { margin: 18px 0 0; padding: 0; list-style: none; }
.checklist li {
  position: relative;
  padding: 9px 0 9px 26px;
  border-top: 1px solid var(--line);
  font-size: .9rem;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 2px; top: 15px;
  width: 10px; height: 6px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.post-list { border-top: 1px solid var(--line); }
.post-row { max-width: 78ch; padding: 26px 0; border-bottom: 1px solid var(--line); }
.post-row h2 { font-size: 1.4rem; margin: 2px 0 10px; }
.post-row p:not(.eyebrow) { color: var(--muted); font-size: .92rem; }

.footer__legal { display: flex; flex-wrap: wrap; gap: 18px; margin: 0; padding: 0; list-style: none; }
.footer__legal li { margin: 0; }

/* Sticky bar on desktop only: on phones the menu needs the vertical space. */
@media (min-width: 961px) {
  .header__bar {
    position: sticky;
    top: 0;
    z-index: 45;
    transition: box-shadow .18s ease;
  }
  .header__bar.is-stuck { box-shadow: 0 10px 28px rgba(10, 44, 76, .08); }
  html { scroll-padding-top: 108px; }
}

@media (min-width: 1025px) {
  .contact-aside { position: sticky; top: 112px; }
}

/* 24. WordPress core alignment classes ----------------------------------- */
.alignwide { width: min(1240px, calc(100vw - 40px)); margin-inline: auto; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }
.aligncenter { margin-inline: auto; }
.alignleft { float: left; margin: 6px 24px 16px 0; }
.alignright { float: right; margin: 6px 0 16px 24px; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: .76rem; color: var(--muted); margin-top: 6px; }
.sticky, .bypostauthor { position: static; }

/* 25. Responsive --------------------------------------------------------- */
@media (max-width: 1180px) {
  .site-nav__list { font-size: .8rem; gap: 0; }
  .site-nav__list > li > a { padding: 10px 9px; }
  .site-nav__cta > a { padding: 10px 14px !important; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1.1fr 1fr; gap: 28px; }
}

@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 620px; }
  .product-layout { grid-template-columns: 1fr; }
  .product-gallery { position: static; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-aside { order: 2; }
  .doc-panel { grid-template-columns: 1fr; }
  .resource-row { grid-template-columns: 150px minmax(0, 1fr) 130px; }
}

@media (max-width: 600px) {
  .site-footer .brand__logo { width: 200px; }
  .cta-inner { border-radius: 12px; }
}

@media (max-width: 960px) {
  :root { --max: 100%; }
  .container { width: calc(100% - 44px); }
  html { scroll-padding-top: 24px; }

  .header__bar { min-height: 74px; padding-block: 12px; flex-wrap: wrap; }
  .brand__logo { height: 34px; }
  .menu-toggle { display: inline-flex; }
  .site-nav__quote { width: 100%; justify-content: center; margin: 14px 0 0; }
  .category-layout { grid-template-columns: 1fr; gap: 32px; }
  .category-aside { position: static; }
  .post-row h2 { font-size: 1.25rem; }

  .no-js .site-nav,
  .no-js .site-nav__list { display: block; }
  .js .site-nav {
    display: none;
    width: 100%;
    margin: 0;
    padding: 4px 0 16px;
    border-top: 1px solid var(--line);
  }
  .js .site-nav.is-open { display: block; }
  .site-nav__list { display: block; font-size: .95rem; }
  .site-nav__list > li > a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-nav__list > li > a:hover { border-bottom-color: var(--line); }
  .site-nav__list > li.current-menu-item > a { border-bottom-color: var(--accent); }
  .site-nav .sub-menu {
    position: static;
    display: block;
    min-width: 0;
    padding: 2px 0 10px 14px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .site-nav .sub-menu a { padding: 8px 0; font-size: .88rem; }
  .site-nav__cta { margin: 14px 0 0; }
  .site-nav__cta > a { display: flex; justify-content: center; padding: 12px 18px !important; }

  .utility__note { font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .utility__actions { gap: 14px; }

  .hero { background: var(--pale); }
  .hero__visual { margin-top: 6px; }
  .route-grid a { padding: 16px 18px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .application-grid { grid-template-columns: repeat(2, 1fr); }
  .application-card:nth-child(3n + 2), .application-card:nth-child(3n + 3) { padding-left: 0; }
  .application-card:nth-child(even) { padding-left: 26px; }
  .support-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .doc-panel__facts { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .page-hero h1 { font-size: clamp(2rem, 8vw, 2.6rem); }
  .hero h1 { font-size: clamp(2.6rem, 11vw, 3.4rem); }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 10px; }
  .product-grid { grid-template-columns: 1fr; }
  .resource-grid { grid-template-columns: 1fr; }
  .resource-row { grid-template-columns: 1fr; gap: 12px; }
  .resource-row__action { text-align: left; }
  .resource-row__action .button { width: auto; }
  .config-grid { grid-template-columns: 1fr; }
  .editorial-grid { grid-template-columns: 1fr; gap: 32px; }
  .brief-grid { grid-template-columns: 1fr; gap: 0; }
  .brief-grid dt { padding-top: 18px; }
  .brief-grid dd { margin-bottom: 4px; }
  .inquiry-form .form-grid { grid-template-columns: 1fr; }
  .archive-toolbar { flex-direction: column; align-items: stretch; }
  .archive-search input { width: 100%; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .quote-aside { position: static; }
}

@media (max-width: 600px) {
  .container { width: calc(100% - 36px); }
  .utility__actions > a { display: none; }
  .utility__lang { margin-left: auto; }
  .hero { padding-block: 34px 40px; }
  .hero .button-row { gap: 14px; }
  .hero__note { margin-top: 24px; }
  .route-grid { grid-template-columns: 1fr; }
  .route-grid a { padding: 14px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .route-grid a:last-child { border-bottom: 0; }
  .category-grid, .application-grid { grid-template-columns: 1fr; }
  .category-card { padding: 22px; }
  .category-card h3 { min-height: 0; }
  .category-icon { height: 46px; }
  .application-card, .application-card:nth-child(even) { padding: 22px 0; }
  .product-card { grid-template-columns: 1fr; }
  .product-card__media { padding: 20px; }
  .product-card__media .product-media__icon { max-width: 110px; }
  .product-figure { min-height: 220px; padding: 22px; }
  .product-gallery__thumbs img { width: 58px; height: 58px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 26px 20px; }
  .footer__bottom { flex-direction: column; gap: 8px; }
  .footer__bottom span { margin-right: 0; }
  .spec-table th { width: 42%; }
  .spec-table th, .spec-table td { padding: 11px 13px; }
  .doc-panel { padding: 18px; }
  .doc-panel__facts { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .form-actions { align-items: stretch; }
  .form-actions .button { width: 100%; }
}

/* Hero decision rail and separated trust layer. */
.hero { padding-bottom: 0; }
.hero-route-bar {
  margin-top: clamp(30px, 4vw, 52px);
  border: 0;
  background: var(--navy);
}
.hero-route-bar .route-grid { width: min(var(--max), calc(100% - 64px)); }
.hero-route-bar .route-grid a,
.hero-route-bar .route-grid a:first-child {
  min-height: 78px;
  padding: 20px 28px;
  border-right: 1px solid rgba(255,255,255,.16);
  color: #fff;
  background: transparent;
}
.hero-route-bar .route-grid a:first-child { padding-left: 0; }
.hero-route-bar .route-grid a:last-child { border-right: 0; }
.hero-route-bar .route-grid a:hover { background: rgba(255,255,255,.08); color: #fff; }
.hero-route-bar .route-grid a > span:not(.route-meta) { color: #ffb07e; }
.hero-route-bar .route-meta { color: #b8cbd7; }

.trust-strip {
  padding-block: 52px 58px;
  border-bottom: 1px solid var(--line);
  background: #eef4f8;
}
.trust-strip .container { display: block; }
.trust-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
}
.trust-intro .eyebrow { margin-bottom: 8px; }
.trust-intro h2 { max-width: none; font-size: clamp(1.7rem, 3vw, 2.35rem); }
.trust-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.trust-card,
.trust-card:first-child,
.trust-card:nth-child(3) {
  display: block;
  min-height: 154px;
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  background: var(--white);
  box-shadow: 0 8px 22px rgba(10,44,76,.05);
}
.trust-card__number { display: block; margin-bottom: 14px; }
.trust-card h3 { font-size: 1rem; }
.trust-card p { max-width: 28ch; font-size: .76rem; }

@media (max-width: 1024px) {
  .trust-intro { display: block; }
  .trust-intro h2 { margin-top: 6px; }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .hero-route-bar .route-grid { width: calc(100% - 36px); }
  .hero-route-bar .route-grid a,
  .hero-route-bar .route-grid a:first-child { min-height: 0; padding: 15px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
  .hero-route-bar .route-grid a:last-child { border-bottom: 0; }
  .trust-strip { padding-block: 38px 42px; }
  .trust-grid { grid-template-columns: 1fr; gap: 12px; }
  .trust-card, .trust-card:first-child, .trust-card:nth-child(3) { min-height: 0; padding: 18px; }
  .trust-card__number { margin-bottom: 8px; }
}

/* Wide-screen homepage refinement and product-led hero. */
:root { --max: 1440px; }
.container { width: min(var(--max), calc(100% - 64px)); }
.hero-visual-stage {
  position: relative;
  min-height: 360px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 14px 22px 6px;
  background-color: #eef4f8;
  background-image:
    linear-gradient(to right, rgba(10, 44, 76, .07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10, 44, 76, .07) 1px, transparent 1px);
  background-size: 46px 46px;
  background-position: center;
}
/* <picture> is only a format switch here: display:contents keeps the <img>
   itself the grid item so the percentage width below still resolves. */
.hero-visual-stage picture { display: contents; }
.hero-visual-stage .hero-instrument {
  position: relative;
  z-index: 1;
  width: min(92%, 560px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 18px rgba(10,44,76,.16));
}
.hero-instrument-label {
  position: absolute;
  right: 18px;
  bottom: 14px;
  z-index: 2;
  padding: 5px 9px;
  border: 1px solid rgba(10,44,76,.16);
  background: rgba(255,255,255,.84);
  color: var(--navy);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.trust-strip { padding-block: 34px; border-bottom: 1px solid var(--line); background: var(--white); }
.trust-strip .container { display: grid; grid-template-columns: minmax(220px, .72fr) 1.28fr; gap: 42px; align-items: center; }
.trust-intro h2 { max-width: 260px; font-size: clamp(1.55rem, 2.2vw, 2rem); color: var(--navy); }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.trust-card { display: grid; grid-template-columns: auto 1fr; gap: 12px; min-width: 0; padding: 0 18px; border-left: 1px solid var(--line); }
.trust-card:first-child { padding-left: 0; border-left: 0; }
.trust-card__number { color: var(--accent); font-size: .68rem; font-weight: 800; letter-spacing: .12em; }
.trust-card h3 { margin: 0; color: var(--navy); font-size: .92rem; line-height: 1.25; }
.trust-card p { margin: 7px 0 0; color: var(--muted); font-size: .73rem; line-height: 1.5; }
@media (max-width: 1024px) {
  .trust-strip .container { grid-template-columns: 1fr; gap: 24px; }
  .trust-intro h2 { max-width: none; }
}
@media (max-width: 720px) {
  .container { width: calc(100% - 44px); }
  .hero-visual-stage { min-height: 300px; }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 0; }
  .trust-card:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 600px) {
  .trust-grid { grid-template-columns: 1fr; gap: 18px; }
  .trust-card, .trust-card:nth-child(3) { padding: 0; border-left: 0; }
  .hero-visual-stage { min-height: 250px; padding-inline: 10px; }
  .hero-instrument-label { right: 10px; bottom: 9px; font-size: .56rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

@media print {
  .site-header, .site-footer, .cta-band, .skip-link, .menu-toggle,
  .archive-toolbar, .quote-aside, .detail-nav { display: none !important; }
  .container { width: 100%; }
  .section, .page-hero { padding: 14px 0; background: none; }
  .product-layout, .hero__grid, .two-col, .editorial-grid { display: block; }
  .product-gallery { position: static; }
  body { font-size: 11pt; color: #000; }
  .button { border: 1px solid #555; background: none; color: #000; }
  .spec-table th { background: #eee !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 8pt; color: #555; }
}

/* Product centre landing page -------------------------------------------- */
.products-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(54px, 7vw, 96px);
  background: linear-gradient(115deg, #f4f8fb 0%, #f4f8fb 56%, #e5eef5 56%, #e5eef5 100%);
  border-bottom: 1px solid var(--line);
}
.products-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: center;
  min-height: min(680px, calc(100vh - 92px));
}
.products-hero__copy { min-width: 0; }
.products-hero h1 { max-width: 11ch; font-size: clamp(2.8rem, 5vw, 5rem); letter-spacing: -.04em; color: var(--navy); }
.products-hero__lead { max-width: 52ch; margin-top: 22px; font-size: 1.06rem; color: var(--muted); }
.products-hero__product { max-width: 46ch; margin-top: clamp(30px, 5vw, 56px); padding-top: 24px; border-top: 1px solid var(--line-strong); }
.products-hero__product .eyebrow { margin-bottom: 9px; }
.products-hero__product h2 { font-size: clamp(1.5rem, 2.8vw, 2.25rem); }
.products-hero__product h2 a:hover { color: var(--navy-2); text-decoration: none; }
.products-hero__product > p:not(.eyebrow) { margin: 12px 0 0; color: var(--muted); }
.products-hero__product .button-row { margin-top: 24px; }
.products-hero__visual { position: relative; min-width: 0; padding: clamp(18px, 3vw, 36px); background: var(--white); border: 1px solid #d2e0e9; box-shadow: var(--shadow); }
.products-hero__visual::before { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(10,44,76,.1); pointer-events: none; }
.products-hero__media { position: relative; z-index: 1; min-height: clamp(300px, 36vw, 520px); padding: clamp(28px, 5vw, 66px); background: linear-gradient(135deg, #eef4f8 0%, #f9fbfc 100%); }
.products-hero__media .product-media__img { max-height: 460px; }
.products-hero__media .product-media__icon { max-width: 260px; }
.products-hero__visual-meta { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 14px 4px 0; color: var(--muted); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.products-hero__visual-meta strong { color: var(--navy); font-size: .78rem; letter-spacing: .08em; }
.products-featured { background: var(--white); }
.products-featured__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.products-featured__grid .product-card { display: flex; flex-direction: column; height: 100%; }
.products-featured__grid .product-card__media { height: clamp(190px, 18vw, 250px); min-height: 0; padding: 26px; overflow: hidden; }
.products-featured__grid .product-card__body { display: flex; flex: 1; flex-direction: column; padding: 22px 24px 24px; }
.products-featured__grid .product-card__excerpt { max-width: 34ch; }
.products-featured__grid .mini-specs { margin-top: auto; padding-top: 16px; }
.products-featured__grid .text-link { margin-top: 10px; }
.products-applications .section-action { margin: 28px 0 0; }

@media (max-width: 1024px) {
  .products-hero__grid { grid-template-columns: 1fr 1fr; gap: 36px; min-height: 0; }
  .products-hero h1 { font-size: clamp(2.6rem, 5vw, 4rem); }
  .products-featured__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .products-hero { background: var(--pale); }
  .products-hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .products-hero h1 { max-width: 14ch; }
  .products-hero__visual { order: -1; }
  .products-hero__media { min-height: 270px; }
  .products-featured__grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .products-hero { padding-block: 38px 48px; }
  .products-hero__visual { padding: 12px; }
  .products-hero__visual::before { inset: 12px; }
  .products-hero__media { min-height: 220px; padding: 26px; }
  .products-hero__visual-meta { padding-inline: 2px; font-size: .58rem; }
  .products-hero__visual-meta strong { font-size: .68rem; }
}

/* Product category archives ---------------------------------------------- */
.category-overview { margin-bottom: 30px; padding: 28px 30px 30px; border: 1px solid var(--line); background: var(--pale); }
.category-overview h2 { max-width: 22ch; font-size: clamp(1.45rem, 2.5vw, 2.1rem); }
.category-overview > p:not(.eyebrow) { max-width: 70ch; margin: 12px 0 0; color: var(--muted); }
.category-overview__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 24px; background: var(--line); border: 1px solid var(--line); }
.category-overview__facts > div { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; background: var(--white); }
.category-overview__facts strong { font-size: 1.55rem; line-height: 1; color: var(--navy); }
.category-overview__facts span { font-size: .72rem; color: var(--muted); }
.category-models-head { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin: 30px 0 20px; padding-top: 28px; border-top: 1px solid var(--line); }
.category-models-head .eyebrow { margin-bottom: 8px; }
.category-models-head h2 { font-size: clamp(1.4rem, 2.3vw, 2rem); }
.category-models-head > p { max-width: 42ch; margin: 0; font-size: .84rem; color: var(--muted); }
.category-layout .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.category-layout .product-card { display: flex; flex-direction: column; height: 100%; }
.category-layout .product-card__media { height: clamp(190px, 18vw, 240px); min-height: 0; padding: 22px; overflow: hidden; }
.category-layout .product-card__body { display: flex; flex: 1; flex-direction: column; padding: 20px 21px 22px; }
.category-layout .product-card__excerpt { max-width: 32ch; }
.category-layout .mini-specs { margin-top: auto; padding-top: 14px; }
.category-layout .text-link { margin-top: 10px; }

@media (max-width: 1100px) {
  .category-layout .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .category-overview { padding: 22px; }
  .category-overview__facts { grid-template-columns: 1fr; }
  .category-models-head { display: block; }
  .category-models-head > p { margin-top: 12px; }
  .category-layout .product-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .products-featured__grid .product-card__media,
  .category-layout .product-card__media { height: 220px; }
}

/* International header refinement: a compact, search-friendly navigation
   that combines the YOKON utility strip with the established instrument-site
   pattern. The logo remains transparent and the quote action stays navy until
   interaction, when it uses the YOKON orange accent. */
.utility__note { display: inline-flex; align-items: center; gap: 0; }
.utility__tagline {
  margin-left: 14px;
  padding-left: 14px;
  border-left: 1px solid rgba(255,255,255,.28);
  color: #ffb07e;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.header__bar { min-height: 78px; gap: 22px; }
.header__bar .brand { flex: none; }
.header__bar .brand__logo { width: 230px; height: 58px; object-fit: contain; background: transparent; }
.header__bar .brand__tagline { display: none; }
.site-nav { gap: 10px; }
.site-nav__list { gap: 0; }
.site-nav__list > li > a { padding: 10px 11px; font-size: .82rem; font-weight: 700; }
.header-search {
  display: flex;
  align-items: center;
  flex: 0 1 190px;
  min-width: 150px;
  height: 36px;
  margin-left: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.header-search input[type="search"] {
  min-width: 0;
  flex: 1;
  height: 34px;
  padding: 0 9px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: .72rem;
}
/* The global input:focus ring is drawn around the input itself, which sits
   inside the bordered wrapper and leaks outside it. Suppress it here and let
   the wrapper carry the focus state instead. */
.header-search input[type="search"]:focus,
.header-search input[type="search"]:focus-visible { box-shadow: none; outline: 0; }
.header-search:focus-within { border-color: var(--navy-2); }
.header-search input::placeholder { color: #9aaab5; }
.header-search button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--navy);
}
.header-search svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.site-nav__quote {
  min-height: 42px;
  margin-left: 4px;
  padding: 10px 18px;
  border: 1px solid var(--navy);
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white) !important;
  font-weight: 700;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.site-nav__quote:hover,
.site-nav__quote:focus-visible,
.site-nav__quote:active { background: var(--accent); border-color: var(--accent); color: var(--white) !important; text-decoration: none; }

@media (max-width: 1180px) {
  .header-search { flex-basis: 150px; min-width: 130px; }
  .site-nav__list > li > a { padding-inline: 8px; }
}
@media (max-width: 960px) {
  .header__bar { min-height: 72px; padding-block: 8px; }
  .header__bar .brand__logo { width: 208px; height: 52px; }
  .header-search { display: none; }
}
@media (max-width: 600px) {
  /* At 390px the note clips mid-word ("Laboratory analytical instrume"), so the
     strip keeps only the links that do something: News, FAQ and the language. */
  .utility__note { display: none; }
  .utility__inner { justify-content: space-between; }
  .utility__lang { white-space: nowrap; }
  .utility__tagline { display: none; }
  .header__bar .brand__logo { width: 184px; height: 48px; }
}

/* Final trust-layer override: keep the decision rail attached to the hero and
   give the proof points their own pale section with card surfaces. */
.trust-strip { padding-block: 52px 58px; border-bottom: 1px solid var(--line); background: #eef4f8; }
.trust-strip .container { display: block; }
.trust-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 24px; }
.trust-intro .eyebrow { margin-bottom: 8px; }
.trust-intro h2 { max-width: none; margin: 0; font-size: clamp(1.7rem, 3vw, 2.35rem); }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.trust-card, .trust-card:first-child, .trust-card:nth-child(3) {
  display: block;
  min-height: 154px;
  min-width: 0;
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  background: var(--white);
  box-shadow: 0 8px 22px rgba(10,44,76,.05);
}
.trust-card__number { display: block; margin-bottom: 14px; color: var(--accent); font-size: .68rem; font-weight: 800; letter-spacing: .12em; }
.trust-card h3 { margin: 0; color: var(--navy); font-size: 1rem; line-height: 1.25; }
.trust-card p { max-width: 28ch; margin: 7px 0 0; color: var(--muted); font-size: .76rem; line-height: 1.5; }
@media (max-width: 1024px) {
  .trust-intro { display: block; }
  .trust-intro h2 { margin-top: 6px; }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .trust-strip { padding-block: 38px 42px; }
  .trust-grid { grid-template-columns: 1fr; gap: 12px; }
  .trust-card, .trust-card:first-child, .trust-card:nth-child(3) { min-height: 0; padding: 18px; }
  .trust-card__number { margin-bottom: 8px; }
}

/* Final visual tuning: soften the decision rail and give the brand mark more
   presence on wide screens without letting the header become oversized. */
.hero-route-bar {
  border-block: 1px solid #d8e3ea;
  background: rgba(255,255,255,.98);
  box-shadow: 0 9px 24px rgba(10,44,76,.07);
}
.hero-route-bar .route-grid a,
.hero-route-bar .route-grid a:first-child {
  color: var(--navy);
  background: transparent;
  border-right-color: #d8e3ea;
}
.hero-route-bar .route-grid a:hover { background: #f5f9fc; color: var(--navy); }
.hero-route-bar .route-meta { color: var(--muted); }
.header__bar { min-height: 90px; }
/* Logo sits at 92% of its previous size so the vertical breathing room inside
   the 90px bar goes from 7px to 10px per side. Header height is untouched. */
.header__bar .brand__logo { width: 276px; height: 70px; }
@media (max-width: 1180px) {
  .header__bar .brand__logo { width: 230px; height: 61px; }
}
@media (max-width: 960px) {
  .header__bar { min-height: 78px; }
  .header__bar .brand__logo { width: 212px; height: 53px; }
}
@media (max-width: 600px) {
  .header__bar .brand__logo { width: 188px; height: 48px; }
  .hero-route-bar .route-grid a,
  .hero-route-bar .route-grid a:first-child { border-bottom-color: #d8e3ea; }
}

/* Hierarchical product categories: sub-category chips inside cards and at the
   top of a category archive. */
.chip-list--card { margin: 0 0 14px; gap: 6px; }
.chip-list--card .chip { padding: 3px 8px; font-size: .68rem; font-weight: 500; }
.chip-list--nav { margin: 0 0 18px; }
.chip--up { border-style: dashed; color: var(--navy); }
.chip__count { margin-left: 6px; color: var(--muted); font-weight: 500; font-variant-numeric: tabular-nums; }

/* Application pages: quick answer, facts, task table, picks and notes ------ */
.quick-answer {
  max-width: 78ch;
  margin: 0 0 30px;
  padding: 2px 0 2px 22px;
  border-left: 3px solid var(--accent);
}
.quick-answer .eyebrow { margin: 0 0 8px; }
.quick-answer p { margin: 0 0 10px; font-size: 1.02rem; color: var(--ink); }
.quick-answer p:last-child { margin-bottom: 0; }

.app-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  margin: 0;
  background: var(--line);
  border: 1px solid var(--line);
}
.app-facts > div { background: var(--white); padding: 18px 20px; }
.app-facts dd {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 650;
  letter-spacing: -.03em;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.app-facts dt { margin-top: 4px; font-size: .78rem; color: var(--muted); }

.app-card__facts {
  margin: 0 0 16px;
  font-size: .74rem;
  letter-spacing: .02em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.spec-table--tasks th { width: auto; }
.spec-table--tasks tbody th[scope="row"] { font-weight: 600; color: var(--navy); min-width: 180px; }
.spec-table--tasks td { color: var(--muted); }

.pick-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.pick-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 26px 26px 22px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy-2);
  background: var(--white);
}
.pick-card--primary { border-top-color: var(--accent); }
.pick-card--alternative { border-top-color: var(--line-strong); }
.pick-card__role {
  margin: 0 0 10px;
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.pick-card h3 { font-size: 1.1rem; }
.pick-card__model { margin: 6px 0 0; font-size: .78rem; color: var(--muted); letter-spacing: .06em; }
.pick-card__reason { margin: 12px 0 0; font-size: .9rem; }
.pick-card__note {
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: .8rem;
  color: var(--muted);
}
.pick-card__note::before { content: "Not suitable for: "; font-weight: 600; color: var(--navy-2); }
.pick-card__actions { display: flex; flex-wrap: wrap; gap: 18px; margin-top: auto; padding-top: 20px; }
.pick-card__actions .text-link { font-size: .78rem; }

.pick-list { margin-top: 34px; border-top: 1px solid var(--line); }
.pick-row {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) auto;
  gap: 8px 26px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.pick-row__role {
  margin: 0;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.pick-row__main { min-width: 0; }
.pick-row__main h3 { display: flex; flex-wrap: wrap; gap: 10px; align-items: baseline; font-size: 1rem; }
.pick-row__main h3 span { font-size: .76rem; font-weight: 500; letter-spacing: .06em; color: var(--muted); }
.pick-row__main p { margin: 6px 0 0; font-size: .87rem; color: var(--muted); }
.pick-row__note::before { content: "Not suitable for: "; font-weight: 600; color: var(--navy-2); }
.pick-row > .text-link { font-size: .78rem; white-space: nowrap; }

.note-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.note-grid--list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.note-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--white);
  transition: border-color .15s ease;
}
.note-card:hover { border-color: var(--line-strong); }
.note-card__media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--pale-2);
}
.note-card__img { width: 100%; height: 100%; object-fit: cover; }
.note-card__glyph {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 1.6rem;
  font-weight: 650;
  letter-spacing: .1em;
  color: var(--navy-2);
}
.note-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.note-card__body .eyebrow { margin: 0 0 8px; font-size: .64rem; color: var(--accent-ink); }
.note-card h3 { font-size: 1.02rem; }
.note-card h3 a:hover { color: var(--navy-2); }
.note-card__excerpt { margin: 10px 0 0; font-size: .84rem; color: var(--muted); }
.note-card__meta {
  margin: auto 0 0;
  padding-top: 16px;
  font-size: .72rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.note-meta {
  margin: 0 0 26px;
  font-size: .78rem;
  letter-spacing: .04em;
  color: var(--muted);
}
.tldr {
  max-width: 78ch;
  margin: 0 0 34px;
  padding: 24px 28px;
  background: var(--pale);
  border-left: 3px solid var(--accent);
}
.tldr .eyebrow { margin: 0 0 10px; }
.tldr p { margin: 0 0 10px; font-size: .96rem; }
.tldr p:last-child { margin-bottom: 0; }
.tldr ul { margin: 0; padding-left: 20px; }
.tldr li { margin: 6px 0; font-size: .94rem; }

.brief-block { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.brief-block > summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  font-size: .95rem;
  font-weight: 600;
  color: var(--navy);
}
.brief-block > summary::-webkit-details-marker { display: none; }
.brief-block > summary::after { content: "+"; color: var(--accent-ink); }
.brief-block[open] > summary::after { content: "–"; }
.brief-block[open] > summary { border-bottom: 1px solid var(--line); }
.brief-block .brief-grid { padding: 28px 0 6px; }

.faq-list { margin-top: 26px; }

html body .entry-body h2 { scroll-margin-top: 100px; }
.entry-body table { width: 100%; border-collapse: collapse; margin: 18px 0 8px; font-size: .88rem; }
.entry-body th, .entry-body td { padding: 10px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.entry-body thead th { background: var(--pale); font-weight: 600; color: var(--navy); }
.entry-body ul, .entry-body ol { margin: 12px 0 0; padding-left: 22px; }
.entry-body li { margin: 6px 0; }

@media (max-width: 1024px) {
  .note-grid, .note-grid--list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .note-grid, .note-grid--list { grid-template-columns: minmax(0, 1fr); }
  .pick-row { grid-template-columns: minmax(0, 1fr); }
  .pick-row > .text-link { margin-top: 4px; }
  .spec-table--tasks { min-width: 700px; }
  .tldr { padding: 20px 22px; }
  .app-facts dd { font-size: 1.5rem; }
}

/* News and FAQ pages ----------------------------------------------------- */
.news-list { max-width: 1120px; margin-inline: auto; }
.news-row {
  display: grid;
  grid-template-columns: minmax(130px, .22fr) minmax(0, 1fr) auto;
  gap: 34px;
  max-width: none;
  align-items: start;
  padding: 24px 0;
}
.news-row__meta { padding-top: 3px; }
.news-row__meta .eyebrow { margin: 0; white-space: nowrap; }
.news-row__type {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.news-row__body { min-width: 0; }
.news-row__body h2 { max-width: 32ch; margin: 0 0 8px; font-size: clamp(1.25rem, 2vw, 1.65rem); }
.news-row__body h2 a { text-decoration: none; }
.news-row__body h2 a:hover { color: var(--accent); }
.news-row__body p:not(.eyebrow) { max-width: 68ch; margin: 0; }
.news-row__action { align-self: end; margin-bottom: 2px; white-space: nowrap; }
.faq-page__aside { align-self: start; }
.faq-page__links-label { margin-top: 34px; }
.faq-page__links { margin-top: 12px; }
.faq-page__links a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--accent); }
@media (max-width: 760px) {
  .news-row { grid-template-columns: 1fr; gap: 8px; padding: 20px 0; }
  .news-row__meta { display: flex; align-items: baseline; gap: 12px; padding-top: 0; }
  .news-row__type { margin: 0; }
  .news-row__action { align-self: start; margin-top: 4px; }
}

/* 31. Resource actions and mobile direct contact --------------------------- */
.doc-panel__actions { display: flex; flex-direction: column; gap: 10px; }
.doc-panel__actions .button { width: 100%; }
.doc-panel__actions small { color: var(--muted); font-size: .72rem; }
.site-nav__contact { display: none; }

@media (max-width: 960px) {
  .js .site-nav .site-nav__contact {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
  }
  .site-nav__contact a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--navy);
    font-size: .84rem;
    font-weight: 650;
  }
  .site-nav__contact a:hover { color: var(--accent-ink); text-decoration: none; }
}


/* 32. Product centre search --------------------------------------------- */
.product-centre-search { background: var(--pale); border-bottom: 1px solid var(--line); }
.product-centre-search__form { max-width: 760px; align-items: center; }
.product-centre-search__form input { flex: 1; min-width: 220px; }
.product-centre-search__intro { margin: 30px 0 18px; }
.product-centre-search__intro h2 { margin: 6px 0 0; }
.product-centre-search__hint { margin: 12px 0 0; color: var(--muted); font-size: .82rem; }
.category-search { max-width: 760px; margin-bottom: 24px; }
.category-search input { flex: 1; min-width: 220px; }
@media (max-width: 620px) {
  .product-centre-search__form,
  .category-search { width: 100%; }
  .product-centre-search__form input,
  .category-search input { min-width: 0; width: auto; }
}
