:root {
  color-scheme: light;
  --header-height: 64px;
  --rail-width: max(56px, 2.2vw);
  --mega-content-gap: clamp(28px, 4vw, 72px);
  --products-menu-left: 230px; /* = the header's logo column, so the menu (and its red top line) starts where the nav does instead of running under the logo. Was 4.3%. */
  --products-menu-width: clamp(600px, 42vw, 760px); /* min 600: below it, names broke mid-word */
  --ink: #191d22;
  --strong: #1d2227;
  --muted: #777d86;
  --line: #e6e9ee;
  --line-strong: #cfd4dc;
  --rail-bg: #eceff3; /* The site's light gray. Page token blocks' --mist uses the same value — not the bluer #F2F5F8 some had. */
  --dot-fade: #ffffff;
  --page: #ffffff;
  /* Oxid brand colours (from the logo and oxid_product_arm_v2_5_10.html).
     --oxid-blue is every former Laser Mech red: fills with white text,
     links, lines, focus rings. Dark mode swaps in a lighter blue that
     still carries white text (4.6:1) and reads on black (4.6:1). */
  --oxid-blue: #004C8C;
  --oxid-blue-dark: #003A6B;
  --oxid-blue-deeper: #00264A;
  --oxid-teal: #39C0C8;
  /* The one blue every hero photo's tint layer uses (#004C8C as r, g, b,
     for rgba()). Deliberately not --oxid-blue, which lightens in dark
     mode — the photo tint stays the same in both. See "Hero Blue Tint"
     at the end of this file and inc/hero-tint.php. */
  --hero-tint-rgb: 0, 76, 140;
  --accent: var(--oxid-blue);
  --header-bg: #ffffff;
  --control-bg: rgba(255, 255, 255, 0.86);
  --button-bg: rgba(255, 255, 255, 0.78);
  --control-text: #1f2329;
  --desktop-page-scale: 0.9;
  --wp-admin-bar-offset: 0px;
}

html.dark-mode {
  color-scheme: dark;
  --oxid-blue: #1F78C8;
  --oxid-blue-dark: #155E9E;
  --oxid-blue-deeper: #0F4A7E;
  --ink: #ffffff;
  --strong: #ffffff;
  --page: #000000;
  /* Neutral gray, not blue-leaning slate — matches the palette rolled out
     across every page's own dark-mode token block (.oxid-dir/-prod/-video/
     -lit, .contact-page). */
  --rail-bg: #2E2E30;
  --dot-fade: #000000;
  --header-bg: #000000;
  --control-bg: rgba(0, 0, 0, 0.86);
  --button-bg: rgba(0, 0, 0, 0.78);
  --control-text: #ffffff;
}

* {
  box-sizing: border-box;
}

/* ── Image hover zoom ── */
img {
  transition: transform 2000ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
img:hover {
  transform: scale(1.06);
}

/* ── Registered trademark superscript ── */
sup.lm-reg {
  font-size: 0.5em;
  line-height: 0;
  vertical-align: super;
  font-weight: inherit;
  letter-spacing: 0;
}

/* ── µ in product names: stays lowercase inside uppercase headings ── */
.lm-micro {
  text-transform: none;
}

html {
  min-height: 100%;
  background: var(--page);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  background: var(--page);
  font-family: "Neue Haas Grotesk Display", "Helvetica Neue", Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

body::after {
  position: fixed;
  inset: var(--header-height) 0 0;
  z-index: 9;
  background: rgba(0, 0, 0, 0.32);
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

body:has(.nav-item:hover .mega-menu)::after,
body:has(.nav-item:focus-within .mega-menu)::after {
  opacity: 1;
}

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  display: grid;
  width: 100%;
  height: var(--header-height);
  grid-template-columns: 230px 1fr 250px;
  align-items: center;
  border-bottom: 1px solid #aeb3bb;
  background: var(--header-bg);
}

.brand {
  display: flex;
  width: 92px;
  height: 48px;
  align-items: center;
  /* Was a flat 2.2vw, which was meant to sit the logo on the 2.2% left grid
     rail but rendered short of it: the header renders at 0.9 (the theme's
     body zoom, and on home a counter-scale back to the same 0.9), while vw
     resolves against the real viewport and does not take part in that. So
     2.2vw rendered as 1.98% of the screen — 30.4px against the rail's 33.5px
     — and the logo overlapped the rail by ~3px. Dividing by 0.9 converts the
     rail's width into the header's own units; the +14px is the gap the user
     asked for on top of it. */
  margin-left: calc(2.2vw / 0.9 + 14px);
  overflow: hidden;
}

.brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: translateY(2px);
  /* One-time fade-in on load, on the same timing as the nav links'
     navTextFadeIn. Replaced logoFocusPulse, a 20s infinite loop that
     blurred and dimmed the logo every cycle. */
  animation: logoFadeIn 780ms ease-out 180ms backwards;
}

@keyframes logoFadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.brand .logo-dark {
  display: none;
}

html.dark-mode .brand .logo-light {
  display: none;
}

html.dark-mode .brand .logo-dark {
  display: block;
  /* logo-dark.png is the same blue logo until a white one exists; this
     renders it white. Drop the filter once a real dark logo is swapped in. */
  filter: brightness(0) invert(1);
}

html.dark-mode.missing-dark-logo .brand .logo-light {
  display: block;
}

html.dark-mode.missing-dark-logo .brand .logo-dark {
  display: none;
}

.nav-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  height: 100%;
  font-size: 15px;
  font-weight: 700;
}

.nav-links > a,
.nav-item > a {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
  animation: navTextFadeIn 780ms ease-out 180ms backwards;
  transition: color 160ms ease;
}

.nav-links > a:hover,
.nav-links > a:focus-visible {
  color: var(--accent);
  outline: none;
}

.nav-item {
  height: 100%;
}

.nav-item:hover > a,
.nav-item:focus-within > a {
  box-shadow: inset 0 -2px 0 var(--accent);
}

.nav-item-products:hover > a,
.nav-item-products:focus-within > a {
  box-shadow: none;
}

@keyframes navTextFadeIn {
  0% {
    color: #ffffff;
  }

  100% {
    color: var(--ink);
  }
}

.nav-item-products::after {
  position: fixed;
  top: calc(var(--header-height) - 2px);
  left: var(--products-menu-left);
  z-index: 9;
  width: var(--products-menu-width);
  height: 2px;
  background: var(--accent);
  content: "";
  opacity: 0;
  pointer-events: none;
}

.nav-item-products:hover::after,
.nav-item-products:focus-within::after {
  opacity: 1;
}

@media (max-width: 767px) {
  .nav-item-products::after {
    display: none;
  }
}

/* Hidden on desktop: #site-nav (the .nav-links element) is the normal,
   visible desktop mega-menu nav outside the mobile media query below, so
   without this the empty utility slot would render as a 4th grid item in
   the desktop nav. No pre-existing rule covers this new class (unlike
   .mobile-nav-toggle, which already had a dormant leftover hiding it). */
.mobile-nav-utility {
  display: none;
}

/* ============================================================
   SHARED HEADER — mobile navigation
   Applies to EVERY page (this is shared chrome, not page-specific).
   Breakpoint matches main.js's mobileNavQuery (window.matchMedia
   "(max-width: 900px)"), so the JS that drives .mobile-nav-toggle /
   #site-nav / body.mobile-nav-open already lines up with this CSS.
   Desktop (>900px) is completely untouched below.

   Scope decision: a full mega-menu-in-drawer mobile pattern already
   exists in the approved previews (mobile-subnav accordions, a login
   account panel, a drag-handle drawer mode) with matching JS in
   main.js, built for the old (deleted) homepage template and scoped
   there via body.home. That pattern is entangled with homepage-only
   concerns (hero visibility, footer-collapsed state, a login overlay
   that no longer exists in the current footer.php) that don't apply
   to interior pages. Rather than generalize all of that, this block
   is a simpler, purpose-built mobile nav for the shared header: the
   hamburger opens a flat list of the 3 top-level items as direct
   links. The desktop hover mega-menus (mostly #temp-* placeholder
   sub-links today) are hidden on mobile rather than reproduced as an
   accordion; Products / Beam Diagnostics remain reachable via their
   own real hrefs.
   ============================================================ */
@media (max-width: 900px) {
  /* Every padding-top:var(--header-height) / inset:var(--header-height)…
     rule across the whole stylesheet (product/series/directory pages,
     hover-dim overlays, etc.) automatically recalculates from this —
     no need to touch each page's CSS individually. */
  /* 62px (was 56px, user's call): the 49px logo had ~2px under it, so
     it read as sitting on the header's bottom line. */
  :root {
    --header-height: 62px;
  }

  /* ...and up 1.5px: centred in the bar (~6.5px above and below) and
     level with the menu and search icons, instead of 2px low. */
  body:not(.home) .site-header .brand {
    position: relative;
    top: -1.5px;
  }

  /* Root cause of the reported overlap: the desktop grid's outer columns
     (230px + 250px = 480px minimum) can't shrink below their fixed width,
     and .site-header's height is a rigid 64px (not min-height) — so at
     narrow widths the nav had nowhere to go but overflow the box,
     spilling over page content below. Fixed here with a 3-column grid
     that actually fits a phone screen, and no oversized fixed columns.

     `body ` prefix is load-bearing, not cosmetic. Two leftover UNSCOPED
     homepage-era rules sit LATER in this file with equal specificity and
     were silently winning the cascade, measured live in the browser:
       @media (max-width:900px) .site-header{ grid-template-columns:160px 1fr;
                                              height:auto; min-height:58px }
       @media (max-width:560px) .site-header{ grid-template-columns:1fr;
                                              padding:10px 0 12px }
     Their combined effect at 390px was a 2-column grid, no left padding
     (hamburger flush to x=0) and a real height of 79px while
     --header-height stayed 56px — so every page's 56px content offset was
     23px short (content still hidden behind the header) and the nav panel,
     which opens at top:--header-height, covered the header's bottom 23px.
     min-height is pinned here too, or their min-height:58px still wins. */
  /* Single column now (was a 3-column grid): the toggle floats via
     position:absolute (it's anchored against .site-header's own
     position:fixed, which already establishes a containing block — no
     extra position:relative needed) and .header-actions is hidden entirely
     on mobile (its controls are relocated into the nav panel by JS, or
     hidden — see below). With both out of grid flow, .brand is the ONLY
     in-flow child, so centering it centers it in the FULL bar width,
     independent of the toggle's width — not just within a leftover track. */
  body .site-header {
    grid-template-columns: 1fr;
    height: var(--header-height);
    min-height: var(--header-height);
    padding: 0 14px;
    border-bottom: 1px solid #aeb3bb;
    /* Pushes the header below the WP admin toolbar when logged in (also
       position:fixed at the true viewport top, so without this our header
       renders overlapping/behind it instead of below it). Resolves to 0px
       when logged out — see header.php for where this variable is set. */
    top: var(--wp-admin-bar-offset);
  }

  /* Specificity-bumped (.site-header .mobile-nav-toggle, not bare
     .mobile-nav-toggle): there's a pre-existing, unconditional, unscoped
     `.mobile-nav-toggle{ display:none; }` rule elsewhere in this file (a
     leftover default-hide from the old homepage's dormant mobile-nav
     classes). It has equal specificity to a bare selector here and sits
     LATER in the file, so it was silently winning the cascade and keeping
     the button hidden at every width. This selector deliberately outranks
     it so showing the toggle doesn't depend on fragile source-order. */
  .site-header .mobile-nav-toggle {
    display: inline-flex;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--strong);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    /* Floats top-left, out of grid flow entirely, so it never competes with
       .brand for column space. Keeps the button above the open nav panel so
       the second tap always lands on the button (the close control) and
       never on the menu. */
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
  }

  .site-header .mobile-nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    /* No transition: hamburger and X swap instantly (user's call). */
  }

  /* Just the three lines — no box. The box was the browser focus ring,
     drawn when main.js hands focus back to the toggle as the menu closes.
     Keyboard focus is still shown: the lines turn the brand colour. */
  .site-header .mobile-nav-toggle:focus,
  .site-header .mobile-nav-toggle:focus-visible {
    outline: none;
    box-shadow: none;
  }

  .site-header .mobile-nav-toggle:focus-visible {
    color: var(--accent);
  }

  /* Hamburger → X while open. Specificity raised via .site-header (and kept
     ahead of the inert body.home variants) so the open-state icon can't be
     lost to the same source-order ties that hid the button itself. */
  body.mobile-nav-open .site-header .mobile-nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.mobile-nav-open .site-header .mobile-nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.mobile-nav-open .site-header .mobile-nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* `body ` prefix is REQUIRED, not decoration: a second, previously
     unnoticed unscoped leftover — `@media (max-width:900px) .brand{
     width:112px; margin-left:16px }` — sits later in this file with equal
     specificity to a bare selector and was silently overriding this rule's
     width/margin. Bumping specificity here the same way as .site-header
     above, rather than relying on source order. */
  body .brand {
    grid-column: 1;
    justify-self: center;
    margin: 0;
    width: 92px;
  }

  /* Hidden entirely on mobile now: the Dark toggle and language selector are
     relocated into the nav panel by main.js's placeUtilityControls()
     (real DOM move, not a copy — same nodes, so their existing listeners
     keep firing from the new location), and the login/account button is cut
     on mobile per design. With both gone, .header-actions has nothing left
     to show. `body ` prefix: same leftover-rule risk as .site-header/.brand
     above — outranks any bare `.header-actions{...}` regardless of source
     order. */
  body .header-actions {
    display: none;
  }

  /* Presentation for the Dark toggle + language selector once JS has moved
     them here (see main.js placeUtilityControls). Hidden by default (base
     rule elsewhere) since #site-nav is the normal, visible desktop mega-menu
     nav outside this media query — only shown as part of the open mobile
     panel. */
  .mobile-nav-utility {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin-top: 10px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
  }

  /* Closed by default; opened as a full-viewport-below-header dropdown via
     body.mobile-nav-open (toggled by main.js). Desktop's hover mega-menus
     are hidden entirely rather than reproduced as an accordion (see scope
     note above) — the top-level links themselves remain real, tappable
     <a href> destinations. */
  .nav-links {
    display: none;
  }

  body.mobile-nav-open .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    /* Must clear the header's own top offset too now, not just its height —
       see .site-header's top:var(--wp-admin-bar-offset) above. */
    top: calc(var(--wp-admin-bar-offset) + var(--header-height));
    left: 0;
    right: 0;
    bottom: 0;
    /* height:auto is REQUIRED. The base `.nav-links{ height:100% }` resolves
       against the viewport for a fixed element (measured: 844px), which
       over-constrains top/bottom and wins over `bottom:0` — the panel then
       ran 56px past the viewport bottom and its last items were unreachable.
       With height:auto, top+bottom govern the box. */
    height: auto;
    /* Below the toggle (z-index:2) so the button stays tappable, above page
       content. Same stacking context: both are .site-header children. */
    z-index: 1;
    overflow-x: hidden;
    overflow-y: auto;
    background: #ffffff;
    padding: 14px 18px 28px;
  }

  html.dark-mode body.mobile-nav-open .nav-links {
    background: #1c1c1c;
  }

  .nav-item {
    width: 100%;
    height: auto;
  }

  .mega-menu {
    display: none !important;
  }

  .nav-links > .nav-item > a,
  .nav-links > a {
    display: block;
    width: 100%;
    height: auto;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--strong);
    animation: none;
  }
}

.mega-menu {
  position: fixed;
  top: var(--header-height);
  left: 34.3%;
  z-index: 8;
  width: 32%;
  min-height: 250px;
  padding: 26px 28px 52px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--page);
  color: var(--muted);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  visibility: hidden;
}

.nav-item-products .mega-menu {
  left: var(--products-menu-left);
  width: var(--products-menu-width);
  display: grid;
  grid-template-columns: 155px minmax(0, 1fr);
  column-gap: 20px;
  align-items: start;
  padding-right: 22px;
  padding-left: 22px;
}

.nav-item:hover .mega-menu,
.nav-item:focus-within .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.mega-tabs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: stretch;
  min-height: 172px;
  margin: -26px 0 -52px -22px;
  padding: 26px 18px;
  background: rgba(238, 240, 243, 0.72);
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  text-transform: none;
}

html.dark-mode .mega-tabs {
  background: rgba(21, 21, 21, 0.82);
}

.mega-tab {
  position: relative;
  display: flex;
  width: fit-content;
  padding: 0 0 8px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
}

.mega-tab:is(span) {
  cursor: default;
}

.mega-tab.is-active::after {
  position: absolute;
  right: auto;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  content: "";
}

.mega-panel {
  display: none;
}

.mega-panel.is-active {
  display: block;
  grid-column: 2;
  grid-row: 1;
}

.mega-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 42px;
  row-gap: 9px;
  max-width: 540px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.25;
  text-transform: none;
}

.mega-content a {
  display: inline-flex;
  width: fit-content;
  color: var(--muted);
  text-decoration: none;
  overflow-wrap: normal; /* was "anywhere": chopped names mid-word ("FiberCU / T") */
}

.mega-content a:hover,
.mega-content a:focus-visible {
  color: var(--ink);
  outline: none;
  text-decoration: underline;
}

/* --muted stays the same mid-gray in both modes (never redefined under
   html.dark-mode), which reads fine on the light menu background but far
   too dim against the mega-menu's near-black dark-mode background. Pinned
   brighter here rather than changing --muted itself, since that token is
   also used elsewhere sitewide where the dim value is still correct. */
html.dark-mode .mega-content a {
  color: #d7dbe0;
}

html.dark-mode .mega-content a:hover,
html.dark-mode .mega-content a:focus-visible {
  color: var(--ink);
}

.mega-utility-links {
  position: absolute;
  bottom: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
  align-items: center;
  column-gap: calc(var(--mega-content-gap) / 2);
  font-size: 16px;
  font-weight: 500;
  text-transform: none;
}

/* Products menu footer: now a single "All products" link (Product
   Directory). In normal flow under the active panel rather than absolutely
   pinned to the bottom — pinned, it overlapped the links whenever they
   wrapped. The rail (.mega-tabs) spans both rows so its grey band still
   runs the full height. */
.nav-item-products .mega-menu {
  padding-bottom: 22px;
}
.nav-item-products .mega-tabs {
  grid-row: 1 / span 2;
  margin-bottom: -22px;
}
/* Same height for every tab's panel (tallest today: Power Rating, ~146px)
   so "All products" doesn't jump up and down while hovering the tabs. */
.nav-item-products .mega-panel.is-active {
  min-height: 146px;
}
.nav-item-products .mega-utility-links {
  position: static;
  grid-column: 2;
  grid-row: 2;
  display: block;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.mega-utility-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}
.mega-utility-links a:hover,
.mega-utility-links a:focus-visible {
  color: var(--accent);
  outline: none;
}

html.dark-mode .mega-utility-links a {
  color: #ffffff;
}

/* Application / Power Rating views' right-hand column: the products for the
   term being hovered (main.js swaps `hidden`), or the Application view's
   funnel by default. Explicit because .mega-group's display:flex outranks
   the UA's [hidden] { display:none }. */
.mega-detail > [hidden] {
  display: none;
}

/* The hovered term's products sit on a grey panel, so they read as a level
   below the menu rather than another column of it. Same grey as the active
   rail tab. Each negative margin is cancelled by matching padding, so the
   text stays where it would be and only the grey grows.
   - Right: flush with the menu edge (its 22px padding).
   - Bottom: flush with the menu's bottom edge — 1000px of extra padding,
     cancelled by an equal negative margin so the menu's height is
     unchanged, then clipped by the menu (overflow: hidden, below).
   - Top/left here are the STACKED (narrow menu) case, where the panel sits
     under the term list: 16px above the label, leaving 8px of the 24px row
     gap as white so it doesn't touch the last term. The two-column case
     (flush top, own gutter) is in the @container (min-width: 531px) block. */
.mega-detail > [data-menu-group] {
  margin: -16px -22px -1016px -18px;
  padding: 16px 22px 1016px 18px;
  background: #f1f3f5;
}
.nav-item-products .mega-menu {
  overflow: hidden; /* clips the product panel's grey at the bottom edge */
}
/* The three grouped views (Products, Application, Power Rating) fill the
   panel, so the grey reaches the menu's right edge. The base .mega-content
   caps content at 540px (the Application view had its own 980px), which
   left a 43px white strip on the right of a 583px panel. */
.nav-item-products .mega-content--grouped {
  max-width: none;
}
html.dark-mode .mega-detail > [data-menu-group] {
  background: #1e1e20;
}
/* More air between the panel's items: 18px, up from the shared .mega-group
   12px (14px when the group happened to be a first child, via the
   .mega-group:first-child rule later in the file, which the extra
   .mega-group here outranks so every list gets the same spacing). */
.mega-detail > .mega-group[data-menu-group] {
  gap: 18px;
}

/* Power Rating's left column holds two groups (Standard, Specialty) as one
   grid cell, so the right column is free for the hovered band's products.
   Same gap as between stacked groups elsewhere (.mega-content--grouped). */
.mega-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
html.dark-mode .mega-utility-links a:hover,
html.dark-mode .mega-utility-links a:focus-visible {
  color: var(--accent);
}

.header-actions {
  display: flex;
  justify-self: end;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  width: max-content;
  min-width: 226px;
  max-width: calc(100vw - 24px);
  margin-right: 22px;
}

@media (prefers-reduced-motion: reduce) {
  .brand img {
    animation: none;
    filter: none;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Shared site footer ──────────────────────────────────────────────────────
   Four sitewide links rendered from the 'footer' nav menu location. The
   preview's expandable sub-link columns and retractable overlay are NOT
   reproduced. Interior pages show a static, always-visible footer; the collapse
   chevron is homepage-only. */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  /* Row gap 10px: the only second row on interior pages is a sub-link
     row (.footer-sub), which should sit just under the links. */
  gap: 10px 48px;
  padding: 0;
  color: #000000;
  font-size: 18px;
  font-weight: 600;
}

.site-footer .footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 48px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  display: inline-flex;
  width: fit-content;
  padding: 5px 10px;
  margin-left: -10px;
  border: 1px solid transparent;
  color: inherit;
  text-decoration: none;
  transition: color 180ms ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--oxid-blue);
  outline: none;
}

/* Static footer at the end of the page flow, always visible, no collapse
   chevron — the same treatment on every page including the home page (the
   home page originally had its own fixed/collapsible floating footer, like
   the design mockup; dropped in favor of this simpler, consistent
   treatment after it caused the footer to overlap hero content on shorter
   laptop screens with no way to reach it). */
.site-footer {
  position: static;
  inset: auto;
  margin: 0 auto;
  max-width: 1400px;
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
}

/* INTERIOR PAGES above 900px: the centered 1400px box filled the screen
   below ~1260px, so on tablets the links sat on the screen edge. Same box,
   but its side margins never drop under 40px (36px on screen at the 0.9
   page zoom), the gutter of the product, series, directory and contact
   pages. Wide screens get exactly their old auto margins: (100% - 1400px)
   / 2 is what margin:auto computed there. */
@media (min-width: 901px) {
  body:not(.home) .site-footer {
    max-width: none;
    margin-inline: max(40px, calc((100% - 1400px) / 2));
  }
}

/* Series and Modular CO2 pages always end on the full-width contact band,
   whose own edge already separates it from the footer. The footer's rule
   showed as a stray light line along the band's bottom, most visibly in
   dark mode. */
body.page-template-page-product-series .site-footer {
  border-top: 0;
}

/* Mobile: fixed 2x2 grid — Company/Connect top row, Regulatory/Resources
   bottom row. Menu source order is Company, Regulatory, Resources, Connect,
   which doesn't match this arrangement under normal row- or column-flow, so
   each item is placed explicitly by nth-child rather than relying on
   auto-flow. Also tightens the footer's own bottom padding to match the
   grid's shorter height. */
@media (max-width: 900px) {
  .site-footer {
    padding: 24px 0 28px;
  }

  .site-footer .footer-menu {
    display: grid;
    grid-template-columns: repeat(2, auto);
    grid-template-rows: repeat(2, auto);
    column-gap: 40px;
    row-gap: 16px;
    /* width:100% is required: as a flex item of .site-footer, .footer-menu
       otherwise sizes to fit its own content, leaving no extra space for
       justify-content to center within. */
    width: 100%;
    justify-content: center;
  }

  .site-footer .footer-menu li:nth-child(1) { grid-column: 1; grid-row: 1; } /* Company */
  .site-footer .footer-menu li:nth-child(2) { grid-column: 1; grid-row: 2; } /* Regulatory */
  .site-footer .footer-menu li:nth-child(3) { grid-column: 2; grid-row: 2; } /* Resources */
  .site-footer .footer-menu li:nth-child(4) { grid-column: 2; grid-row: 1; } /* Connect */
}

/* Footer sub-link rows (Company, Resources). Those menu items are buttons
   (lm_proto_footer_sub_toggle() in functions.php) that open their
   .footer-sub row (#footer-company / #footer-resources): a quieter row of
   links on its own line under the main links — no overlay, nothing else
   moves; one open at a time. Toggles look exactly like the neighbouring
   links (no chevron, by request); the open one stays red. */
.footer-sub-toggle {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  margin-left: -10px;
  border: 1px solid transparent;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition: color 180ms ease;
}

.footer-sub-toggle:hover,
.footer-sub-toggle:focus-visible,
.footer-sub-toggle[aria-expanded="true"] {
  color: var(--oxid-blue);
  outline: none;
}

.site-footer .footer-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 36px;
  width: 100%;
  /* Pulled up into the row gap so it reads as part of the links above. */
  margin: -8px 0 0;
  padding: 0;
  list-style: none;
  /* Between the black main links and --muted gray: a step quieter than the
     row above but not faint. Mixed from --ink/--page so dark mode follows. */
  color: color-mix(in srgb, var(--ink) 72%, var(--page));
  font-weight: 600;
}

/* On the links, not the list: the list keeps the footer's own font size so
   an em-based column width (desktop columns below) comes out identical on
   .footer-menu and .footer-sub. 13px floor: the footer drops to 14px at
   <=560px, and 0.85em of that was under 12px. */
.site-footer .footer-sub a {
  font-size: max(0.85em, 13px);
}

.site-footer .footer-sub[hidden] {
  display: none;
}

/* DESKTOP: the menu and every sub-link row share one column template —
   four equal 10.5em columns, no gap — so each sub-link starts exactly
   under a main link (About Us under Company, Locations under Regulatory,
   ...). Sized by content, the two rows never lined up. 10.5em fits the
   widest sub-link ("Application Directory", ~8.6em) with room to spare.
   NOT the home page: there the main links keep their original, tighter
   content-sized spacing (by request — the equal columns spread them out),
   so its sub-link rows aren't column-aligned. Mobile has its own shared
   2-column template further down. :not([hidden]) is required: body:not(.home)
   lifts this above the .footer-sub[hidden] rule, which then lost and
   showed closed rows. */
@media (min-width: 901px) {
  body:not(.home) .site-footer .footer-menu,
  body:not(.home) .site-footer .footer-sub:not([hidden]) {
    display: grid;
    grid-template-columns: repeat(4, 10.5em);
    column-gap: 0;
  }
}

/* No box of its own: the menu and the Resources row stay direct flex
   items of .site-footer, exactly as before the wrapper existed. */
.footer-nav {
  display: contents;
}

/* INTERIOR PAGES, DESKTOP: Resources opens on hover here (main.js FOOTER
   RESOURCES), so the row hangs in the footer's 44px bottom padding the same
   way rather than growing the page under the pointer — scrolled to the
   bottom, an in-flow row would open below the fold. +10px with the shared
   -8px margin keeps the 2px offset it had in flow (10px row gap - 8px). */
@media (min-width: 901px) {
  body:not(.home) .footer-nav {
    display: block;
    position: relative;
  }

  body:not(.home) .site-footer .footer-sub {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: max-content;
  }
}

/* Mobile: its own 2x2 grid under the menu's 2x2 grid — one long wrapped
   row ran edge to edge. Clearance from the back-to-top button: see the
   560px block below.
   Both grids share one column template (two equal columns, centered) with
   every item centered in its column, so each resource link sits squarely
   under the menu item above it. With "auto" columns each grid sized its
   columns to its own text and the two never lined up. The links' -10px
   left margin and 10px side padding (desktop hover box) would push
   centered text off-center and widen the columns, so they go here.
   Column width = the widest resource link ("Application Directory": 131px
   of text at 13px, ~154px at 15.3px, plus the links' 2px of transparent
   border) and little more: wider columns pushed "Resources" under the
   fixed back-to-top button (left edge at viewport - 72px). */
@media (max-width: 900px) {
  .site-footer .footer-menu,
  .site-footer .footer-sub {
    grid-template-columns: repeat(2, 164px);
    justify-content: center;
    justify-items: center;
    column-gap: 24px;
    text-align: center;
  }

  .site-footer .footer-sub {
    display: grid;
    row-gap: 2px;
  }

  .site-footer a,
  .footer-sub-toggle {
    margin-left: 0;
    padding-left: 0;
    padding-right: 0;
  }
}

/* Phones: even at the tightest columns the right column reaches the fixed
   back-to-top button's left edge on a 360px screen, and the button shows
   exactly when the footer is on screen (scrolled to the bottom). 84px of
   bottom padding (button top = 76px off the bottom, +8px) lifts the
   footer's last row above it at any width. Above 560px the columns end
   well left of the button and the base padding stays. */
@media (max-width: 560px) {
  .site-footer .footer-menu,
  .site-footer .footer-sub {
    grid-template-columns: repeat(2, 136px);
    column-gap: 12px;
  }

  .site-footer {
    padding-bottom: 84px;
  }
}

.footer-trigger {
  display: none !important;
}

/* ============================================================
   BACK TO TOP BUTTON (site-wide)
   Same red square arrow-button treatment as the Product Directory page's
   .pcard-next-fab/.pcard-prev-fab (fixed, 52px, var(--accent), no
   border-radius — this site deliberately keeps corners square, see
   .pill-button/.language-picker), minus the drop shadow. Fades in/out
   (opacity+visibility, same technique as .mega-menu) rather than a hard
   show/hide — main.js toggles the .is-visible class once the page has
   been scrolled to the very bottom, and only on pages tall enough to
   need it. Right-positioned so it never collides with the homepage's
   left-positioned .footer-trigger chevron. */
.back-to-top-fab {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 40;
  width: 52px;
  height: 52px;
  border: 0;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.back-to-top-fab.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.back-to-top-fab:hover,
.back-to-top-fab:focus-visible {
  opacity: 0.88;
}

.back-to-top-fab svg {
  width: 22px;
  height: 22px;
}

html.dark-mode .site-footer {
  color: #ffffff;
}

.footer-trigger {
  position: fixed;
  left: calc(1.1vw - 23px);
  bottom: 39px;
  z-index: 11;
  display: inline-flex;
  height: 46px;
  width: 46px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  color: #1f2329;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  transition: bottom 420ms ease, border-color 180ms ease;
}

.footer-trigger::after {
  position: absolute;
  top: 0;
  left: 100%;
  width: 34px;
  height: 100%;
  content: "";
}

.footer-trigger svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
  transform: rotate(-90deg);
  transition: transform 220ms ease;
}

.footer-trigger:hover,
.footer-trigger:focus-visible {
  outline: none;
}

body.footer-collapsed .footer-trigger svg {
  transform: rotate(90deg);
}

html.dark-mode .footer-trigger {
  background: #ffffff;
  color: #1f2329;
}

@media (max-width: 900px) {
  html {
    overflow-x: hidden;
  }

  body {
    min-height: 100svh;
    overflow-x: hidden;
    overflow-y: auto;
  }

  body::after {
    inset: 58px 0 0;
  }

  .site-header {
    grid-template-columns: 160px 1fr;
    height: auto;
    min-height: 58px;
  }

  .brand {
    width: 112px;
    margin-left: 16px;
  }

  .nav-links {
    grid-template-columns: repeat(3, auto);
    justify-content: end;
    gap: 18px;
    max-width: 100vw;
    overflow-x: auto;
    padding-right: 16px;
    font-size: 12px;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .header-actions {
    display: none;
  }

  .mega-menu,
  .nav-item-products .mega-menu {
    left: 16px;
    right: 16px;
    width: auto;
    max-height: calc(100svh - 72px);
    grid-template-columns: 1fr;
    overflow-y: auto;
  }

  .mega-tabs {
    flex-direction: row;
    flex-wrap: wrap;
    min-height: 0;
    margin: -8px 0 18px;
    padding: 14px;
  }

  .mega-panel.is-active {
    grid-column: 1;
    grid-row: auto;
  }

  .mega-content {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .mega-utility-links,
  .nav-item-products .mega-utility-links {
    position: static;
    grid-column: 1;
    margin-top: 18px;
    text-align: left;
    white-space: normal;
  }

  .mega-utility-links {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .mega-utility-links span {
    display: none;
  }
}

@media (max-width: 560px) {
  body::after {
    inset: 96px 0 0;
  }

  .site-header {
    grid-template-columns: 1fr;
    padding: 10px 0 12px;
  }

  .brand {
    margin: 0 auto 8px;
  }

  .nav-links {
    justify-content: center;
    gap: 14px;
    padding: 0 12px;
  }

  .site-footer {
    flex-wrap: wrap;
    gap: 14px 22px;
    font-size: 14px;
  }

  .footer-trigger {
    left: 10px;
    bottom: 32px;
    height: 38px;
    width: 38px;
  }

  .footer-trigger svg {
    width: 16px;
    height: 16px;
  }
}

@media (min-width: 901px) {
  body {
    zoom: var(--desktop-page-scale);
  }
}

body.single-product {
  overflow-x: hidden;
  overflow-y: auto;
}

.auto-symbol-sup {
  position: relative;
  top: -0.25em;
  font-size: 0.55em;
  line-height: 0;
  vertical-align: super;
}

.mobile-nav-toggle {
  display: none;
}

.mobile-subnav-toggle,
.mobile-subnav,
.mobile-subnav-section-toggle,
.mobile-menu-handle {
  display: none;
}

.download-tracker {
  --download-panel-width: 260px;
  position: fixed;
  z-index: 11;
  right: 18px;
  bottom: 18px;
  display: flex;
  flex-direction: column-reverse;
  width: var(--download-panel-width);
  pointer-events: none;
}

.download-tracker h2 {
  margin: 0;
  color: var(--strong);
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.download-tracker-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 18px;
  height: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.download-tracker-close::before,
.download-tracker-close::after {
  position: absolute;
  top: 8px;
  left: 1px;
  width: 16px;
  height: 2px;
  background: var(--accent);
  content: "";
}

.download-tracker-close::before {
  transform: rotate(45deg);
}

.download-tracker-close::after {
  transform: rotate(-45deg);
}

.download-tracker-item-main {
  display: grid;
  grid-template-columns: 13px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.download-summary-toggle {
  width: 13px;
  height: 13px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.download-summary-toggle::before {
  display: block;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid var(--accent);
  content: "";
  transition: transform 160ms ease;
}

.download-summary {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0 0 0 23px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.28;
  list-style: none;
}

.download-summary[hidden] {
  display: none;
}

.download-summary li {
  display: block;
  padding: 0;
  border: 0;
}

.download-summary strong {
  color: var(--strong);
  font-weight: 900;
}

@media (max-width: 900px) {
  .download-tracker {
    right: 16px;
    bottom: 16px;
    width: min(320px, calc(100vw - 32px));
  }
}
body.admin-bar {
  --wp-admin-bar-offset: 32px;
}

body.admin-bar .site-header {
  top: var(--wp-admin-bar-offset);
}

body.admin-bar .mega-menu {
  top: calc(var(--wp-admin-bar-offset) + var(--header-height));
}

body.admin-bar .nav-item-products::after {
  top: calc(var(--wp-admin-bar-offset) + var(--header-height) - 2px);
}

body.admin-bar::after {
  inset: calc(var(--wp-admin-bar-offset) + var(--header-height)) 0 0;
}

@media (max-width: 782px) {
  body.admin-bar {
    --wp-admin-bar-offset: 46px;
  }
}

/* ============================================================
   PRODUCT DIRECTORY PAGE — V2
   Scoped to: .oxid-dir (a page-scoped token host, same convention as
   .oxid-prod/.series-page/.cbd-page elsewhere in this theme)

   A straight rebuild pulled directly from the design mockup
   (product-directory-oxid-hybrid_fridayfinal.html) rather than a
   re-skin of the old V1 dir-* system — the V1 table/filter/sort/phone
   apparatus and this mockup's simpler chip-filtered table were two
   fundamentally different structures, and patching one to visually
   resemble the other was producing a tangle of overrides fighting
   each other. This is the mockup's own markup/CSS, verbatim, plus:
     - real ACF data (hero image/focal/dim, product + application rows)
       instead of the mockup's hardcoded content
     - html.dark-mode support (the mockup itself had none)
     - a couple of small, noted bugfixes (hover contrast, double
       borders) rather than literal bug-for-bug copying

   Interactive functionality beyond what the mockup's own demo script
   did (chip filter by application, Products/Applications toggle) —
   live search, per-column sort/filter, phone-number lookup,
   results-count messaging — is intentionally deferred to a follow-up
   pass, not carried over from the old V1 build. See main.js.
   ============================================================ */

/* Allow page to scroll (overrides global overflow:hidden) */
body.page-template-page-product-directory {
  overflow-x: hidden;
  overflow-y: auto;
}

/* Same per-template ticker-clearance rule every other interior page has
   (news ticker sits in normal flow, not fixed — see CLAUDE handoff notes) */
@media (min-width: 901px) {
  body.has-news-ticker .oxid-dir {
    padding-top: 0;
  }
}

.oxid-dir {
  --ink: #0B1118;
  --navy: var(--oxid-blue);
  --accent: var(--oxid-blue);
  --paper: #EFF3F6;
  --card: #FFFFFF;
  --mist: #DDE4EA;
  --txt: #2B3640;
  --txt-dim: #5A6675;
  --line: #C4CED7;
  padding-top: calc(var(--wp-admin-bar-offset, 0px) + var(--header-height));
}

html.dark-mode .oxid-dir {
  /* --navy is not redefined here — like --accent, it's a constant brand
     colour in both modes (the mockup uses navy/accent interchangeably, both
     Oxid blue). Flipping it to near-white made every brand-coloured surface
     that uses it (.chip.on, .btn-search, .p-go on hover) render as
     near-white text on a near-white background. */
  /* Neutral gray (not blue-leaning slate) — same palette as every other
     page's dark-mode block, see .oxid-lit's for the original tuning. */
  --ink: #FAFAF9;
  --txt: #DEDEDC;
  --txt-dim: #B8B8BC;
  --line: #4A4A4D;
  --mist: #242426;
  --card: #3A3A3C;
  --paper: #000000;
}

.oxid-dir,
.oxid-dir * {
  box-sizing: border-box;
}

/* Application-row deep links (from the header mega menu's Application tab,
   #app-<slug>) need room for the sticky header when the browser jumps to
   them. */
.oxid-dir [data-dir-panel="applications"] tr[id^="app-"] {
  scroll-margin-top: calc(var(--wp-admin-bar-offset, 0px) + var(--header-height) + 24px);
}

.oxid-dir {
  font-family: 'Spline Sans', 'Helvetica Neue', Arial, sans-serif;
  color: var(--txt);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

.oxid-dir a {
  color: inherit;
  text-decoration: none;
}

.oxid-dir .wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ---------- Hero ---------- */

.oxid-dir .dhero {
  position: relative;
  overflow: hidden;
  background: #0B1118;
  color: #fff;
}

.oxid-dir .dhero-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-repeat: no-repeat;
  /* Focal point comes from inline --dhero-focal-x/y custom properties
     (ACF directory_hero_focal_x/y), same technique as every other hero
     on the site — just background-position instead of an <img>'s
     object-position, matching the mockup's own div-background hero. */
  background-position: var(--dhero-focal-x, 50%) var(--dhero-focal-y, 50%);
  filter: contrast(1.03) saturate(.99) brightness(1.0);
}
/* ACF "Hero Image in Grayscale" switch (directory_hero_grayscale, default off). */
.oxid-dir .dhero-img--gray {
  filter: contrast(1.03) grayscale(1);
}

.oxid-dir .dhero-grade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11,17,24,.69) 0%, rgba(11,17,24,.44) 42%, rgba(11,17,24,.10) 100%);
}

/* Second, optional scrim (ACF Hero Dimmer) layered on top of the gradient
   above. --dhero-dim/--dhero-dim-mobile come from the element's own inline
   style (see page-product-directory.php); the mobile media query further
   down swaps in the mobile value on narrow screens. */
.oxid-dir .dhero-grade--dim {
  background: rgba(0, 0, 0, var(--dhero-dim, 0));
}

.oxid-dir .dhero-inner {
  position: relative;
  z-index: 3;
  max-width: 1240px;
  margin: 0 auto;
  padding: 84px 40px 76px;
}

.oxid-dir .dhero h1 {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}

.oxid-dir .dhero p {
  font-size: 18px;
  line-height: 1.6;
  max-width: 54ch;
  color: rgba(255,255,255,.84);
  margin: 0 0 30px;
}

/* Teal with dark ink, as in the demo — anything on teal takes #0B1118 */
.oxid-dir .dhero .cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--oxid-teal);
  color: #0B1118;
  font-family: 'Archivo', sans-serif;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 16px 28px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
}

.oxid-dir .dhero .cta:hover {
  background: #fff;
  color: #0B1118;
}

/* Logged-in drag-to-reposition hint, same convention as every other hero */
body.logged-in .oxid-dir .dhero-img {
  cursor: grab;
  touch-action: none;
}

body.logged-in .oxid-dir .dhero-img.is-dragging {
  cursor: grabbing;
}

/* ---------- Directory controls ---------- */

.oxid-dir .dir {
  padding: 46px 0 90px;
}

.oxid-dir .dir-label {
  color: var(--navy);
  font-family: 'Archivo', sans-serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 18px;
}

/* Phones (user's call, Nov 16 2026): no "Products & Application Directory"
   label, and the Products / Applications tabs start 20px under the hero
   photo (was 46px + the label). Desktop keeps both. */
@media (max-width: 900px) {
  .oxid-dir .dir { padding-top: 20px; }
  .oxid-dir .dir-label { display: none; }
}

.oxid-dir .controls {
  display: flex;
  gap: 14px;
  align-items: stretch;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.oxid-dir .toggle {
  display: flex;
  border: 1px solid var(--line);
  background: var(--card);
  flex: none;
}

.oxid-dir .toggle button {
  border: 0;
  background: transparent;
  padding: 0 22px;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--txt-dim);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.oxid-dir .toggle button.on {
  background: var(--ink);
  color: var(--paper);
}

.oxid-dir .searchbox {
  flex: 1;
  min-width: 240px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  background: var(--card);
  padding: 0 16px;
}

.oxid-dir .searchbox input {
  border: 0;
  outline: 0;
  flex: 1;
  font-family: 'Spline Sans', sans-serif;
  font-size: 15px;
  color: var(--ink);
  background: transparent;
  padding: 14px 0;
}

.oxid-dir .searchbox input::placeholder {
  color: var(--txt-dim);
}

.oxid-dir .searchbox svg {
  width: 18px;
  height: 18px;
  color: var(--txt-dim);
  flex: none;
}

.oxid-dir .btn-search {
  background: var(--navy);
  color: #fff;
  border: 1px solid var(--navy);
  padding: 0 26px;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}

/* The mockup's own hover (same navy/accent value, text flips to --ink)
   reads as dark-red-on-red — near-invisible. Clean invert instead. */
.oxid-dir .btn-search:hover {
  background: #fff;
  color: var(--navy);
}

/* ---------- Phone / Call ---------- */
/* Not in the mockup — brought back from the V1 build since it's real,
   working functionality (a real phone number + copy-to-clipboard), not
   a visual element the "straight pull" needed to match. */

.oxid-dir .phone-wrap {
  position: relative;
  flex: none;
}

.oxid-dir .btn-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
  padding: 0 18px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--txt);
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

/* Belt-and-suspenders desktop-hidden — these are fixed-position elements with no layout rules at all
   outside the mobile media query, so if JS ever cleared [hidden] on
   desktop they'd render as bare unstyled buttons rather than the fixed
   FABs they're meant to be. This rule makes that impossible regardless. */
.oxid-dir .pcard-next-fab,
.oxid-dir .pcard-prev-fab {
  display: none;
}

.oxid-dir .btn-phone svg {
  width: 16px;
  height: 16px;
}

.oxid-dir .btn-phone:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.oxid-dir .phone-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: 0 12px 32px rgba(11, 17, 24, 0.14);
  white-space: nowrap;
}

/* [hidden] beats display:flex above on specificity via the attribute
   selector — same fix as the V1 build needed for the same reason. */
.oxid-dir .phone-dropdown[hidden] {
  display: none;
}

.oxid-dir .phone-number {
  margin: 0;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}

.oxid-dir .phone-copy {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--txt);
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.oxid-dir .phone-copy svg {
  width: 13px;
  height: 13px;
}

.oxid-dir .phone-copy:hover {
  border-color: var(--navy);
  color: var(--navy);
}

/* ---------- Filter chips ---------- */

/* Always visible on desktop (default here). Hidden-unless-.is-open only
   kicks in under @media(max-width:980px) below, where the Filter button
   controls it. */
.oxid-dir .filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-start; /* LM spread its 8 chips edge to edge; Oxid's few sit left, as in the demo */
  margin-bottom: 26px;
}

.oxid-dir .chip {
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--txt);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  font-family: 'Spline Sans', sans-serif;
}

.oxid-dir .chip:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.oxid-dir .chip.on {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

/* × on the active chip only — says "click again to clear". Inline-flex so
   the label and × centre on one line; the gap only exists while it shows. */
.oxid-dir .chip {
  display: inline-flex;
  align-items: center;
}

.oxid-dir .chip__x {
  display: none;
  width: 13px;
  height: 13px;
  margin-left: 8px;
  flex: none;
}

.oxid-dir .chip.on .chip__x {
  display: block;
}

/* ---------- Table (desktop) ---------- */

.oxid-dir .ptable {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border: 1px solid var(--line);
}

.oxid-dir .ptable thead th {
  text-align: left;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--txt-dim);
  padding: 16px 18px;
  border-bottom: 2px solid var(--ink);
  white-space: nowrap;
}

.oxid-dir .ptable tbody tr {
  border-bottom: 1px solid var(--line);
  transition: background 0.18s ease;
  cursor: pointer;
}

/* Mockup doubled up its own outer border + last row's border-bottom;
   dropped here for a clean single edge. */
.oxid-dir .ptable tbody tr:last-child {
  border-bottom: 0;
}

.oxid-dir .ptable tbody tr:hover {
  background: var(--mist);
}

/* Hovered row: the product name goes the brand colour with the arrow box. */
.oxid-dir .ptable .p-name {
  transition: color 0.18s ease;
}

.oxid-dir .ptable tbody tr:hover .p-name {
  color: var(--accent);
}

.oxid-dir .ptable td {
  padding: 20px 18px;
  vertical-align: top;
  font-size: 15px;
}

/* Center the Applications/Power Range/Laser Type/System Type/action
   columns' own content — the Product column (1st) stays left-aligned. */
.oxid-dir .ptable td:not(:first-child) {
  text-align: center;
  /* Centered within the row's full height, not just its own column width —
     the Product column's wrapping title+description is what makes a row
     tall in the first place, and short single-line content in the other
     columns should sit centered against that height, not pinned to the
     top the whole table's base vertical-align:top rule leaves it at. */
  vertical-align: middle;
}

/* Headers follow their column's centered content — left-aligned, a short
   header sat visibly off the tags below it (Applications → "Products"). */
.oxid-dir .ptable thead th:not(:first-child) {
  text-align: center;
}

.oxid-dir .p-name {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 5px;
}

.oxid-dir .p-desc {
  font-size: 13.5px;
  color: var(--txt-dim);
  line-height: 1.5;
  max-width: 46ch;
}

.oxid-dir .tag {
  display: inline-block;
  border: 1px solid var(--line);
  font-size: 12px;
  padding: 4px 9px;
  margin: 0 5px 5px 0;
  color: var(--txt);
  white-space: nowrap;
}

/* Table tags are filter buttons (toggle the matching chip): same look as
   a plain tag, button chrome reset; hover and "filter on" borrow the
   chips' own hover/active colours. */
.oxid-dir button.tag--filter {
  background: transparent;
  font-family: inherit;
  line-height: inherit;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.oxid-dir button.tag--filter:hover,
.oxid-dir button.tag--filter:focus-visible {
  border-color: var(--navy);
  color: var(--navy);
}

.oxid-dir button.tag--filter.is-on {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.oxid-dir .p-val {
  font-weight: 500;
  color: var(--ink);
}

/* Search-match highlight — a fixed brand-colour/white pair (like --accent),
   not tied to --ink/--txt, so it reads the same in light and dark mode. */
.oxid-dir mark.dir-hl {
  background: var(--accent);
  color: #fff;
  border-radius: 0;
  padding: 0 2px;
}

.oxid-dir .p-go {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  margin: 0 auto;
}

.oxid-dir .p-go svg {
  width: 16px;
  height: 16px;
}

.oxid-dir tr:hover .p-go {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

/* Dark mode: every row was the same #3A3A3C with only a #4A4A4D hairline
   between them — alternate rows step down a shade so each reads as its own
   row (hover's --mist #242426 stays darker than both). The arrow box's 1px
   --line border all but vanished on the card grey: 2px and lighter. */
html.dark-mode .oxid-dir .ptable tbody tr:nth-child(even) {
  background: #323234;
}

html.dark-mode .oxid-dir .ptable tbody tr:hover {
  background: var(--mist);
}

html.dark-mode .oxid-dir .p-go {
  border: 2px solid #8a8a8e;
}

html.dark-mode .oxid-dir tr:hover .p-go {
  border-color: var(--navy);
}

/* Dark mode: the controls strip (mode toggle, search, Call, chips) was a
   mix of #B8B8BC / #DEDEDC greys — all white now. The active toggle keeps
   its dark-on-white; :not(:hover) leaves each control's hover colour be. */
html.dark-mode .oxid-dir [data-dir-mode]:not(.on):not(:hover),
html.dark-mode .oxid-dir .btn-phone:not(:hover),
html.dark-mode .oxid-dir .chip:not(:hover),
html.dark-mode .oxid-dir .searchbox svg {
  color: #fff;
}

html.dark-mode .oxid-dir .searchbox input::placeholder {
  color: #fff;
  opacity: 1;
}

/* ---------- Cards (mobile / hybrid) ---------- */

.oxid-dir .pcards {
  display: none;
  flex-direction: column;
  gap: 14px;
}

.oxid-dir .pcard {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid transparent;
  padding: 22px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.oxid-dir .pcard:hover {
  border-top-color: var(--accent);
  box-shadow: 0 14px 40px -28px rgba(0, 76, 140,.5);
}

.oxid-dir .pcard .p-name {
  font-size: 19px;
}

.oxid-dir .pcard .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}

.oxid-dir .pcard .row:last-of-type {
  border-bottom: 0;
}

/* Whole card is the link: "Tap to view" footer is a stretched link whose
   ::after covers the card (the card is its positioning box). Footer is a
   solid brand-colour (--accent) bar under the spec rows — white label left,
   arrow right. White on --oxid-blue holds at least 4.6:1 in both modes. */
.oxid-dir .pcard {
  position: relative;
}
.oxid-dir .pcard-go {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 13px 16px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.2s ease;
}
.oxid-dir .pcard:hover .pcard-go,
.oxid-dir .pcard:active .pcard-go {
  background: var(--oxid-blue-dark);
}
.oxid-dir .pcard-go::after {
  content: "";
  position: absolute;
  inset: 0;
}
.oxid-dir .pcard-go svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.oxid-dir .pcard:hover .pcard-go span {
  text-decoration: underline;
}
.oxid-dir .pcard-go:focus-visible {
  outline: none;
}
.oxid-dir .pcard:has(.pcard-go:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
/* Dark mode keeps the same brand-colour bar (user's call over the lighter
   #ff8090, which read as pink). */
html.dark-mode .oxid-dir .pcard-go {
  color: #fff;
}

.oxid-dir .pcard .row .k {
  color: var(--txt-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
  font-weight: 600;
}

.oxid-dir .pcard .tags {
  margin: 12px 0;
}

@media (max-width: 980px) {
  .oxid-dir .wrap {
    padding: 0 20px;
  }

  /* Full width of its own row, so the three icon buttons (search, filter,
     call) wrap together onto the next row as one group instead of the
     search icon splitting off to join the toggle (only ~90px is left
     after it — enough for one icon, not three). Styled to match the
     Contact page's toggle as it was before its 2026-10-14 underline-tab
     restyle (left as-is here by request) — bordered frame, each half sharing the
     width equally, bold uppercase labels, solid accent fill when active —
     instead of the compact content-sized version desktop keeps. */
  .oxid-dir .toggle {
    flex: 1 1 100%;
    gap: 0;
    border: 2px solid var(--line);
    background: transparent;
    padding: 5px;
  }

  /* Match the space below the icon row to the space above it (.controls'
     own gap:14px, between the toggle and the icon row) — this 30px only
     applies on desktop, where .controls is a single row with no such
     "toggle row" vs. "icon row" split to match against. */
  .oxid-dir .controls {
    margin-bottom: 14px;
  }

  .oxid-dir .toggle button {
    flex: 1 1 0;
    padding: 14px 16px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-align: center;
  }

  .oxid-dir .toggle button.on {
    background: var(--accent);
    color: #fff;
  }

  /* Call: a fixed-size square beside the search bar, instead of sizing to
     its own content/padding. Visual order only (DOM order is unchanged) —
     Call first, then search. */
  .oxid-dir .btn-phone {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    padding: 0;
    justify-content: center;
  }

  .oxid-dir .phone-wrap {
    order: 2;
  }

  .oxid-dir .searchbox {
    order: 3;
  }

  /* Search stays open (matching desktop) and takes the lead role in this
     row — Filter/Call are trailing accessories, not equal-weight siblings,
     so search gets the remaining space rather than its own fixed size.
     flex-basis:0 (not auto) matters here: with auto, the wrap algorithm
     sizes the line using search's own content width before it knows about
     Filter *and* Call, closes the line after only 2 of the 3 items fit,
     and strands Call on its own row. Basis 0 makes its hypothetical size
     ~0 so line-breaking fits all three, then grow expands it into
     whatever's actually left over. */
  .oxid-dir .searchbox {
    flex: 1 1 0;
    min-width: 0;
  }

  .oxid-dir .ptable {
    display: none;
  }

  .oxid-dir .pcards {
    display: flex;
  }

  /* Red line atop each card by default (not just on hover, since hover
     doesn't really apply on touch) — mobile-only accent, desktop's
     .ptable rows don't need it. */
  .oxid-dir .pcard {
    border-top-color: var(--accent);
    /* Lands the next card below the fixed header instead of right under
       its top edge, when the floating next-card button scrolls to it. */
    scroll-margin-top: calc(var(--header-height) + 20px);
  }

  /* Floating "next"/"previous" card buttons, fixed to the viewport rather
     than built into each card — main.js shows/hides each (hidden
     attribute) based on whether there's another card below/above the
     current scroll position. Stacked vertically, previous above next. */
  .oxid-dir .pcard-next-fab,
  .oxid-dir .pcard-prev-fab {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    right: 20px;
    z-index: 40;
    width: 52px;
    height: 52px;
    border: 0;
    background: var(--accent);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(11, 17, 24, 0.28);
    transition: opacity 0.2s ease;
  }

  .oxid-dir .pcard-next-fab {
    bottom: 24px;
  }

  .oxid-dir .pcard-prev-fab {
    bottom: 84px;
  }

  .oxid-dir .pcard-next-fab:hover,
  .oxid-dir .pcard-prev-fab:hover {
    opacity: 0.88;
  }

  .oxid-dir .pcard-next-fab[hidden],
  .oxid-dir .pcard-prev-fab[hidden] {
    display: none;
  }

  .oxid-dir .pcard-next-fab svg,
  .oxid-dir .pcard-prev-fab svg {
    width: 22px;
    height: 22px;
  }

  .oxid-dir .dhero-inner {
    padding: 60px 20px 54px;
  }

  /* Mobile-only Hero Dimmer override (ACF: Hero Dimmer — Mobile) — falls
     back to the desktop --dhero-dim value if the mobile field was left
     blank (see the PHP: an explicit 0 stays 0, only "never touched" falls
     back). */
  .oxid-dir .dhero-grade--dim {
    background: rgba(0, 0, 0, var(--dhero-dim-mobile, var(--dhero-dim, 0)));
  }

  /* Icon-only Call button at narrow widths */
  .oxid-dir .btn-phone span {
    display: none;
  }

  /* The red submit button is redundant here — search already filters live
     as you type. */
  .oxid-dir .btn-search {
    display: none;
  }
}

/* ============================================================
   Directory — mobile application menu (≤980px)
   The Beam Diagnostics category menu's pattern, on the Products tab: a
   bordered "Application" bar showing the current pick and its count; its
   list opens as a layer over a dimmed page; a pick filters the products in
   place. Replaces the Filter button + swipeable chip row at this width —
   desktop keeps the chip row, and never shows any of this. Both drive the
   same filter (main.js, in the directory block). Sticky under the header.
   ============================================================ */
.oxid-dir .dir-cat { display: none; }

@media (max-width: 980px) {
  /* The menu replaces the chip row at this width (desktop keeps it). */
  .oxid-dir .dir-filter-scroll-wrap { display: none; }

  /* Sticky needs the page itself to scroll: body { overflow-x: hidden }
     makes BODY a scroll container that a sticky element pins to (and which
     never scrolls). overflow-x: clip clips the same without creating one —
     the Beam Diagnostics / Custom Beam Delivery fix. */
  body.page-template-page-product-directory {
    overflow-x: clip;
    overflow-y: visible;
  }

  /* The strip: on the page background, the cards' column, 14px above and
     below the bar (the controls row gives up its 14px bottom margin to it).
     Stuck under the header, the 14px sits between header and bar. Just
     below the header in the stacking order, so the scrim leaves it clear. */
  .oxid-dir .controls { margin-bottom: 0; }
  .oxid-dir .dir-cat {
    display: block;
    position: sticky;
    top: var(--header-height);
    z-index: 9;
    padding: 14px 0;
    background: var(--paper);
  }
  .oxid-dir .dir-cat[hidden] { display: none; } /* Applications tab */
  .oxid-dir .dir-cat__menu { position: relative; }

  /* Scrim behind the open list; a tap on it closes (main.js). Only once
     the script has run (.is-enhanced). The floating next/previous card
     buttons step aside while it's open. */
  .oxid-dir .dir-cat__menu.is-enhanced[open]::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    background: rgba(0, 0, 0, 0.62);
  }
  .oxid-dir:has(.dir-cat__menu[open]) .pcard-next-fab,
  .oxid-dir:has(.dir-cat__menu[open]) .pcard-prev-fab { display: none; }

  /* The bar: "APPLICATION" · current pick · count · chevron, on one text
     baseline; border brightens while open. */
  .oxid-dir .dir-cat__summary {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: baseline;
    align-content: center;
    gap: 12px;
    box-sizing: border-box;
    height: 52px;
    margin: 0;
    padding: 0 14px;
    border: 1px solid var(--line);
    background: var(--card);
    color: var(--ink);
    list-style: none;
    cursor: pointer;
  }
  .oxid-dir .dir-cat__menu[open] > .dir-cat__summary { border-color: var(--ink); }
  .oxid-dir .dir-cat__summary::-webkit-details-marker { display: none; }
  .oxid-dir .dir-cat__summary::marker { content: ""; }
  .oxid-dir .dir-cat__summary:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
  }
  .oxid-dir .dir-cat__label {
    margin: 0 -4px 0 0; /* 12px gap less 4 = 8px to the pick */
    font-family: 'Spline Sans', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--txt-dim);
  }
  .oxid-dir .dir-cat__current {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: 'Spline Sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
  }
  .oxid-dir .dir-cat__chev {
    grid-column: 4; /* holds its place when the count is hidden */
    align-self: center;
    transition: transform 120ms ease;
  }
  .oxid-dir .dir-cat__menu[open] .dir-cat__chev { transform: rotate(180deg); }
  /* "All products" shows no count. */
  .oxid-dir .dir-cat__menu.is-all .dir-cat__summary .dir-cat__count { display: none; }

  /* Counts: bold ink numbers in regular grey brackets, "[6]". */
  .oxid-dir .dir-cat__count {
    font-family: 'Archivo', sans-serif;
    font-size: 13px;
    font-weight: 800;
    color: var(--ink);
  }
  .oxid-dir .dir-cat__count::before,
  .oxid-dir .dir-cat__count::after {
    font-weight: 400;
    color: var(--txt-dim);
  }
  .oxid-dir .dir-cat__count::before { content: "["; padding-right: 1px; }
  .oxid-dir .dir-cat__count::after { content: "]"; padding-left: 1px; }

  /* The list: exactly the bar's width, 4px below it, its own surface (a
     step lighter than the product cards in dark mode), border + shadow;
     capped to the screen, scrolls inside itself. */
  .oxid-dir .dir-cat {
    --dir-cat-panel: var(--card);
    --dir-cat-panel-on: var(--mist);
    --dir-cat-rule: var(--line);
  }
  html.dark-mode .oxid-dir .dir-cat {
    --dir-cat-panel: #48484b;
    --dir-cat-panel-on: #56565a;
    --dir-cat-rule: #3a3a3c;
  }
  .oxid-dir .dir-cat__list {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 2;
    max-height: calc(100vh - var(--header-height) - 14px - 52px - 32px);
    max-height: calc(100dvh - var(--header-height) - 14px - 52px - 32px);
    overflow-y: auto;
    overscroll-behavior: contain;
    margin: 0;
    padding: 0;
    list-style: none;
    border: 1px solid var(--line);
    background: var(--dir-cat-panel);
    box-shadow: 0 18px 40px rgba(11, 17, 24, 0.28);
  }
  html.dark-mode .oxid-dir .dir-cat__list { box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7); }
  .oxid-dir .dir-cat__list li + li { border-top: 1px solid var(--dir-cat-rule); }

  /* Rows: 52px, name left, count right; the picked one with a static red
     bar, a lighter fill and bold. */
  .oxid-dir .dir-cat__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-sizing: border-box;
    width: 100%;
    min-height: 52px;
    padding: 0 16px;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-family: 'Spline Sans', sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;
    text-align: left;
    color: var(--ink);
    cursor: pointer;
  }
  .oxid-dir .dir-cat__link:hover,
  .oxid-dir .dir-cat__link:focus-visible { background: var(--dir-cat-panel-on); }
  .oxid-dir .dir-cat__link:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: -2px;
  }
  .oxid-dir .dir-cat__link.is-active {
    padding-left: 13px;
    border-left: 3px solid var(--accent);
    background: var(--dir-cat-panel-on);
    font-weight: 700;
  }
  /* Brackets a step lighter on the lighter fill, to keep 4.5:1. */
  html.dark-mode .oxid-dir .dir-cat__link.is-active .dir-cat__count::before,
  html.dark-mode .oxid-dir .dir-cat__link.is-active .dir-cat__count::after,
  html.dark-mode .oxid-dir .dir-cat__link:hover .dir-cat__count::before,
  html.dark-mode .oxid-dir .dir-cat__link:hover .dir-cat__count::after {
    color: #d0d0d4;
  }

  /* Cards land below the header and the stuck strip (14 + 52 + 14). */
  .oxid-dir .pcard {
    scroll-margin-top: calc(var(--header-height) + 96px);
  }
}
@media (max-width: 980px) and (prefers-reduced-motion: reduce) {
  .oxid-dir .dir-cat__chev { transition: none; }
}

/* ============================================================
   Directory — Applications tab (Option D, dense index)
   Application | Description | Products, products as inline links.
   Page tokens only (--card/--line/--ink/--txt-dim/--accent), so dark
   mode comes from html.dark-mode .oxid-dir with nothing redefined here.
   Column gap is 40px (20px each side of a cell boundary), per the
   artboard; the outer cells keep 28px to the frame.
   ============================================================ */

.oxid-dir .apps-wrap {
  background: var(--card);
  border: 1px solid var(--line);
  overflow-x: auto;
}

.oxid-dir .apps-index {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.oxid-dir .apps-index thead th:first-child {
  width: 288px; /* 240px of name + its 28px / 20px padding */
}

.oxid-dir .apps-index thead th {
  padding: 18px 20px;
  border-bottom: 2px solid var(--ink);
  text-align: left;
  font-family: 'Archivo', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--txt-dim);
  white-space: nowrap;
}

.oxid-dir .apps-index tbody th,
.oxid-dir .apps-index tbody td {
  padding: 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.oxid-dir .apps-index tr > :first-child { padding-left: 28px; }
.oxid-dir .apps-index tr > :last-child  { padding-right: 28px; }

.oxid-dir .apps-index tbody tr:last-child > * {
  border-bottom: 0;
}

/* A #app-… deep link lands the row below the fixed header. */
.oxid-dir .apps-index .app-row {
  scroll-margin-top: calc(var(--header-height) + 20px);
}

.oxid-dir .app-name {
  font-family: 'Archivo', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--ink);
}

.oxid-dir .app-desc {
  font-size: 15px;
  line-height: 1.5;
  color: var(--txt-dim);
}

/* Inline product links; the dot separators are CSS, not markup. */
.oxid-dir .plist {
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: 1.9;
}

.oxid-dir .plist li {
  display: inline;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

/* On the end of each item but the last (not the start of the next), so a
   wrapped line never begins with a stray dot. */
.oxid-dir .plist li:not(:last-child)::after {
  content: "·";
  padding: 0 10px;
  color: var(--txt-dim);
  font-weight: 400;
}

.oxid-dir .plist a {
  color: var(--ink);
  text-decoration: underline;
  /* --txt-dim at 75%: lighter than the text, but ≥3:1 against the card in
     both modes — the underline is what tells a linked product from a
     plain-text one. (--line is nearly the dark-mode card's own grey.) */
  text-decoration-color: color-mix(in srgb, var(--txt-dim) 75%, transparent);
  text-underline-offset: 4px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.oxid-dir .plist a:hover,
.oxid-dir .plist a:focus-visible {
  color: var(--accent);
  text-decoration-color: currentColor;
}

.oxid-dir .plist a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Filter: main.js hides rows with [hidden], never removes them. Specific
   enough to beat the ≤980px display:block below. */
.oxid-dir .apps-index .app-row[hidden] {
  display: none;
}

/* ≤980px (where the Products tab switches to cards): each row becomes a
   card matching .pcard — 22px padding, 1px --line border, 3px red top
   line, 14px between cards — with name, description, then a "Products"
   block divided off like the product cards' spec rows. */
@media (max-width: 980px) {
  /* 14px under the search row — the same gap the Products tab has above
     and below its Category bar. */
  .oxid-dir .apps-wrap {
    margin-top: 14px;
    background: none;
    border: 0;
    overflow: visible;
  }

  .oxid-dir .apps-index thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .oxid-dir .apps-index,
  .oxid-dir .apps-index tbody,
  .oxid-dir .apps-index tr,
  .oxid-dir .apps-index th,
  .oxid-dir .apps-index td {
    display: block;
    width: auto;
  }

  .oxid-dir .apps-index tbody {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .oxid-dir .apps-index tbody tr {
    padding: 22px;
    background: var(--card);
    border: 1px solid var(--line);
    border-top: 3px solid var(--accent);
  }

  .oxid-dir .apps-index tbody th,
  .oxid-dir .apps-index tbody td,
  .oxid-dir .apps-index tr > :first-child,
  .oxid-dir .apps-index tr > :last-child,
  .oxid-dir .apps-index tbody tr:last-child > * {
    padding: 0;
    border: 0;
  }

  /* Name and description sized like .pcard .p-name / .p-desc. */
  .oxid-dir .app-name { font-size: 19px; }
  .oxid-dir .app-desc {
    margin-top: 5px;
    font-size: 13.5px;
  }

  /* tr > .app-products (0,3,1) to beat the tr > :last-child reset above. */
  .oxid-dir .apps-index tr > .app-products {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }

  /* Same label style as the product cards' POWER RANGE / LASER TYPE keys. */
  .oxid-dir .app-products::before {
    content: "Products";
    display: block;
    margin-bottom: 6px;
    color: var(--txt-dim);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 11px;
    font-weight: 600;
  }

  .oxid-dir .plist li { font-size: 14px; }

  /* Long product names may wrap on narrow screens — but a name moves to the
     next line whole, with its dot (the li stays nowrap), and only breaks
     inside if it's longer than a line (the name itself wraps normally). */
  .oxid-dir .plist li > * {
    display: inline-block;
    max-width: 100%;
    white-space: normal;
  }
}

/* ============================================================
   PRODUCT SERIES PAGE — V2
   All rules scoped to: body.page-template-page-product-series
   Replaces the original V1 rules (product carousel, sticky name nav,
   comparison table, mobile download/request drawers) with a layout
   adapted from the Beam Diagnostics page, per the FiberCUT Series HTML
   draft's own scoped styles (namespace was .fc-series there; renamed to
   .series-* here to match this file's existing convention). Sticky
   sidenav + collapsible <details> family sections + rich rows, same
   shape as .bd-sidenav/.bd-section — see page-product-series.php.
   Local --token overrides + html.dark-mode swap follow the same
   convention as .oxid-prod/.cbd-page/.bd-main.
   Append-only. No existing rules above this line are modified.
   ============================================================ */

body.page-template-page-product-series {
  overflow-y: auto; /* base body{overflow:hidden} is a one-screen homepage rule; this page scrolls */
  scrollbar-color: var(--strong) var(--rail-bg); /* Firefox */
}

/* Square scrollbar (WebKit/Chromium) — same industrial style as every
   other interior page (Beam Diagnostics, Compliance, etc). */
body.page-template-page-product-series::-webkit-scrollbar {
  width: 14px;
}
body.page-template-page-product-series::-webkit-scrollbar-track {
  background: var(--rail-bg);
  border-left: 1px solid var(--line);
  border-radius: 0;
}
body.page-template-page-product-series::-webkit-scrollbar-thumb {
  background: var(--strong);
  border-radius: 0;
  border: 0;
}
body.page-template-page-product-series::-webkit-scrollbar-thumb:hover {
  background: var(--ink);
}

body.page-template-page-product-series .series-page {
  --accent: var(--oxid-blue);
  --navy: #191D22;
  --ink: #0B1118;
  --txt: #2B3640;
  --txt-dim: #5A6675;
  --muted: #777D86;
  --line: #D3DBE2;
  --mist: #ECEFF3;
  --link: #288DE2;
  padding-top: calc(var(--wp-admin-bar-offset, 0px) + var(--header-height));
  font-family: 'Spline Sans', 'Helvetica Neue', Arial, sans-serif;
  color: var(--txt);
}

html.dark-mode body.page-template-page-product-series .series-page {
  /* Neutral gray (not blue-leaning slate) — same palette as every other
     page's dark-mode block, see .oxid-lit's for the original tuning. */
  --navy: #FAFAF9;
  --ink: #FAFAF9;
  --txt: #DEDEDC;
  --txt-dim: #B8B8BC;
  --muted: #8C8C90;
  --line: #4A4A4D;
  --mist: #242426;
}

body.page-template-page-product-series .series-page * {
  box-sizing: border-box;
}

/* ---------- HERO ---------- */
body.page-template-page-product-series .series-hero {
  position: relative;
  min-height: clamp(300px, 30vw, 440px);
  display: flex;
  align-items: flex-end;
  background: #c3d3e2;
  overflow: hidden;
}

body.page-template-page-product-series .series-hero__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-repeat: no-repeat;
}

body.page-template-page-product-series .series-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 17, 24, .15), rgba(11, 17, 24, .78));
}

body.page-template-page-product-series .series-hero__text {
  position: relative;
  z-index: 1;
  padding: 0 40px 34px;
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
  color: #fff;
}

body.page-template-page-product-series .series-hero__kicker {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #fff;
  opacity: .92;
  margin-bottom: 10px;
}

body.page-template-page-product-series .series-hero__kicker::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 2px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: 10px;
}

body.page-template-page-product-series .series-hero h1 {
  font-family: 'Neue Haas Grotesk Display', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 800;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.02;
  letter-spacing: -.01em;
  margin: 0;
  color: #fff;
}

body.page-template-page-product-series .series-hero h1 .lm-reg {
  font-size: .4em;
}

body.page-template-page-product-series .series-hero__sub {
  margin: 12px 0 0;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.5;
  max-width: 60ch;
  color: #eef2f6;
}

/* No hero image (Show Hero Image off, or none uploaded) — the whole dark
   box disappears entirely, same rule as .pbanner--no-image on the product
   page: better to show nothing than a half-empty banner. Text sits
   directly on the page background instead, so it flips to dark ink. */
body.page-template-page-product-series .series-hero.series-hero--no-image {
  min-height: 0;
  align-items: flex-start;
  background-color: transparent;
  padding: 56px 0 40px;
}

body.page-template-page-product-series .series-hero--no-image .series-hero__text {
  color: var(--navy);
}

body.page-template-page-product-series .series-hero--no-image .series-hero__kicker {
  color: var(--accent);
  opacity: 1;
}

body.page-template-page-product-series .series-hero--no-image h1 {
  color: var(--navy);
}

/* Phones and tablets: the series title never wraps (user's call). It
   keeps its normal size when it fits; a longer title scales down to the
   column. page-product-series.php writes the title's length into
   --title-chars; these titles measure 0.55-0.58em a character, so 0.6em
   leaves a little spare. 100cqi = the text column's width. */
@media (max-width: 1100px) {
  body.page-template-page-product-series .series-hero__text {
    container-type: inline-size;
  }

  body.page-template-page-product-series .series-hero h1 {
    white-space: nowrap;
    font-size: min(clamp(34px, 4vw, 58px), calc(100cqi / (var(--title-chars, 17) * 0.6)));
  }
}

/* Tablets in the stacked layout (561-900px): the intro was capped at
   ~535px, a third short of the column, which wrapped FiberWELD's one-line
   intro and left "systems." on its own. Full column width here, so short
   intros stay on one line; longer ones (up to ~215 characters) still
   need two or three, and text-wrap: pretty keeps a last word from
   ending up alone. */
@media (min-width: 561px) and (max-width: 900px) {
  body.page-template-page-product-series .series-hero__sub {
    max-width: none;
    text-wrap: pretty;
  }
}

body.page-template-page-product-series .series-hero--no-image .series-hero__sub {
  color: var(--txt-dim);
}

/* ---------- TWO-COLUMN BODY: sidenav + content ---------- */
body.page-template-page-product-series .series-body {
  position: relative;
  display: grid;
  grid-template-columns: 256px 1fr;
  gap: 52px;
  align-items: start;
  margin: 48px auto 0;
  max-width: 1320px;
  padding: 0 40px;
}

body.page-template-page-product-series .series-body::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(40px + 256px);
  margin-left: 26px;
  width: 1px;
  background: var(--line);
}

/* ---------- SIDENAV ---------- */
body.page-template-page-product-series .series-sidenav {
  position: sticky;
  top: calc(var(--header-height) + 18px);
  align-self: start;
  max-height: calc(100vh - var(--header-height) - 40px);
  overflow: auto;
  scrollbar-width: none;
}

body.page-template-page-product-series .series-sidenav::-webkit-scrollbar {
  display: none;
}

body.page-template-page-product-series .series-sidenav__label {
  margin: 0 0 8px;
  padding: 0 12px;
  font-family: 'Archivo', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

body.page-template-page-product-series .series-sidenav .nav-expand__row {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

body.page-template-page-product-series .series-sidenav a {
  display: block;
  padding: 12px 12px;
  border-bottom: 1px solid var(--line);
  border-left: 3px solid transparent;
  text-decoration: none;
  font-family: 'Neue Haas Grotesk Display', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .02em;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--ink);
  transition: background .15s, border-color .15s, color .15s;
}

body.page-template-page-product-series .series-sidenav a:focus-visible,
body.page-template-page-product-series .series-sidenav a.is-current {
  background: var(--mist);
  border-left-color: var(--accent);
  color: var(--accent);
}

@media (hover: hover) {
  body.page-template-page-product-series .series-sidenav a:hover {
    background: var(--mist);
    border-left-color: var(--accent);
    color: var(--accent);
  }
}

/* Product sub-links under each family (page-product-series.php): a step
   smaller, indented, sentence case — read as children of the family row.
   Never "current" (scroll-spy only matches family sections). */
body.page-template-page-product-series .series-sidenav__sub {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.page-template-page-product-series .series-sidenav a.series-sidenav__sublink {
  padding: 9px 12px 9px 28px;
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--txt-dim);
}

body.page-template-page-product-series .series-sidenav a.series-sidenav__sublink sup {
  font-size: .6em;
}

/* Product rows land below the fixed header, like the families do. */
body.page-template-page-product-series .series-rows > li[id] {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

body.page-template-page-product-series .series-sidenav__card {
  margin-top: 22px;
  border: 1px solid var(--line);
  background: var(--page);
}

body.page-template-page-product-series .series-sidenav__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: linear-gradient(160deg, #dfe8f1, #c3d3e2);
  border-bottom: 1px solid var(--line);
}

body.page-template-page-product-series .series-sidenav__help {
  padding: 16px 16px 18px;
}

body.page-template-page-product-series .series-sidenav__help-title {
  margin: 0 0 6px;
  font-weight: 800;
  font-size: 14px;
  color: var(--navy);
}

body.page-template-page-product-series .series-sidenav__help-text {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--txt-dim);
}

body.page-template-page-product-series .series-sidenav__help-link {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
}

/* ---------- CONTENT / FAMILY SECTIONS ---------- */
body.page-template-page-product-series .series-content {
  min-width: 0;
}

body.page-template-page-product-series .series-family {
  border: 1px solid var(--line);
  border-top: 0;
  margin-top: 40px;
  scroll-margin-top: calc(var(--header-height) + 24px);
}

body.page-template-page-product-series .series-content > .series-family:first-child {
  border-top: 1px solid var(--line);
  margin-top: 0;
}

body.page-template-page-product-series .series-family__head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 18px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  user-select: none;
  list-style: none;
}

body.page-template-page-product-series .series-family__head::-webkit-details-marker {
  display: none;
}

body.page-template-page-product-series .series-family__title {
  font-family: 'Neue Haas Grotesk Display', 'Helvetica Neue', Arial, sans-serif;
  font-size: clamp(17px, 1.4vw, 21px);
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
  margin: 0;
}

body.page-template-page-product-series .series-family__count {
  font-size: 12.5px;
  font-weight: 700;
  opacity: .85;
}

body.page-template-page-product-series .series-family__chev {
  width: 15px;
  height: 10px;
  margin-left: auto;
  transition: transform .18s ease;
}

body.page-template-page-product-series .series-family[open] .series-family__chev {
  transform: rotate(180deg);
}

/* ---------- RICH ROWS ---------- */
body.page-template-page-product-series .series-rows {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.page-template-page-product-series .series-row {
  display: grid;
  grid-template-columns: 132px 1fr 210px;
  gap: 26px;
  padding: 22px 22px;
  border-top: 1px solid var(--line);
}

body.page-template-page-product-series .series-rows li:first-child .series-row {
  border-top: 0;
}

body.page-template-page-product-series .series-row__media {
  align-self: start;
}

body.page-template-page-product-series .series-row__img {
  width: 132px;
  height: 132px;
  object-fit: cover;
  display: block;
  background: linear-gradient(160deg, #dfe8f1, #c3d3e2);
  border: 1px solid var(--line);
}

body.page-template-page-product-series .series-row__fallback {
  width: 132px;
  height: 132px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: var(--mist);
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: var(--muted);
  letter-spacing: .02em;
  text-align: center;
  line-height: 1.15;
  padding: 8px;
}

body.page-template-page-product-series .series-row__body {
  min-width: 0;
}

body.page-template-page-product-series .series-row__kicker {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

body.page-template-page-product-series .series-row__name {
  font-family: 'Neue Haas Grotesk Display', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: var(--navy);
  line-height: 1.05;
  letter-spacing: -.01em;
  margin: 0;
}

body.page-template-page-product-series .series-row__name .lm-reg {
  font-size: .42em;
  color: var(--muted);
}

body.page-template-page-product-series .series-row__line {
  margin: 8px 0 0;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--txt);
}

body.page-template-page-product-series .series-row__desc {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--txt);
  max-width: 70ch;
}

body.page-template-page-product-series .series-row__specs {
  margin: 16px 0 0;
  border-top: 1px solid var(--mist);
  max-width: 520px;
}

body.page-template-page-product-series .series-row__spec {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px solid var(--mist);
  font-size: 13px;
}

body.page-template-page-product-series .series-row__spec:last-child {
  border-bottom: 0;
}

body.page-template-page-product-series .series-row__spec dt {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--txt-dim);
  padding-top: 2px;
  margin: 0;
}

body.page-template-page-product-series .series-row__spec dd {
  margin: 0;
  color: var(--ink);
  font-weight: 500;
}

body.page-template-page-product-series .series-row__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-self: start;
}

body.page-template-page-product-series .series-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 13px 16px;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: opacity .12s ease, background .12s ease, color .12s ease;
}

body.page-template-page-product-series .series-btn--primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

body.page-template-page-product-series .series-btn--primary:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

body.page-template-page-product-series .series-btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

body.page-template-page-product-series .series-btn--ghost:hover {
  background: var(--ink);
  color: var(--page);
}

body.page-template-page-product-series .series-btn--dark {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  padding: 16px 26px;
  font-size: 13px;
}

body.page-template-page-product-series .series-btn--dark:hover {
  opacity: .88;
}

/* ---------- RELATED APPLICATIONS ---------- */
body.page-template-page-product-series .series-apps {
  max-width: 1320px;
  margin: 56px auto 0;
  padding: 0 40px;
}

body.page-template-page-product-series .series-sec-head {
  margin-bottom: 22px;
}

body.page-template-page-product-series .series-sec-kicker {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

body.page-template-page-product-series .series-sec-head h2 {
  font-family: 'Neue Haas Grotesk Display', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 800;
  font-size: clamp(22px, 2.2vw, 30px);
  color: var(--navy);
  margin: 0;
}

body.page-template-page-product-series .series-apps__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

body.page-template-page-product-series .series-apps__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
}

body.page-template-page-product-series .series-apps__name {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .02em;
}

body.page-template-page-product-series .series-apps__desc {
  display: block;
  font-family: 'Spline Sans', sans-serif;
  font-weight: 400;
  font-size: 13.5px;
  text-transform: none;
  letter-spacing: 0;
  color: var(--txt-dim);
  margin-top: 3px;
}

body.page-template-page-product-series .series-apps__link {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--link);
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

body.page-template-page-product-series .series-apps__link svg {
  width: 16px;
  height: 12px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* ---------- CONTACT CTA ---------- */
body.page-template-page-product-series .series-contact {
  background: var(--ink);
  color: #fff;
  margin-top: 56px;
}

body.page-template-page-product-series .series-contact__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 48px 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

body.page-template-page-product-series .series-contact__kicker {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

body.page-template-page-product-series .series-contact h2 {
  font-family: 'Neue Haas Grotesk Display', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 800;
  font-size: clamp(22px, 2.4vw, 32px);
  margin: 0;
  color: #fff;
}

body.page-template-page-product-series .series-contact p {
  margin: 10px 0 0;
  color: #c7ccd2;
  font-size: 15px;
  max-width: 60ch;
}

/* Dark mode flips --ink to white, which turned this band near-white under
   its white heading. Same neutral gray panel as the Product Directory's
   .dir-cta in dark mode (#2E2E30, body text #DEDEDC). */
html.dark-mode body.page-template-page-product-series .series-contact {
  background: #2e2e30;
}

html.dark-mode body.page-template-page-product-series .series-contact p {
  color: #dededc;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  body.page-template-page-product-series .series-row {
    grid-template-columns: 110px 1fr;
  }

  body.page-template-page-product-series .series-row__actions {
    grid-column: 2;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 16px;
  }

  body.page-template-page-product-series .series-row__img,
  body.page-template-page-product-series .series-row__fallback {
    width: 110px;
    height: 110px;
  }
}

@media (max-width: 900px) {
  /* Chrome sets html+body{overflow-x:hidden} <=900px, which makes body a
     scroll container and breaks position:sticky — same issue documented
     on .oxid-prod .tabbar and .cbd-sidenav. overflow-x:clip clips
     identically without creating a scroll container. Scoped to this
     page's body only. */
  body.page-template-page-product-series {
    overflow-x: clip;
    overflow-y: visible;
  }

  body.page-template-page-product-series .series-hero__text,
  body.page-template-page-product-series .series-body,
  body.page-template-page-product-series .series-apps,
  body.page-template-page-product-series .series-contact__inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  body.page-template-page-product-series .series-body {
    display: block;
    margin-top: 0; /* was 22px */
  }

  body.page-template-page-product-series .series-body::before {
    display: none;
  }

  /* Header spacing in the product pages' proportions (.oxid-prod
     .pbanner at this width): breadcrumb ~20px under the header (was
     56px), intro ~4px above the tab strip (was 40 + 34 + 22px), and the
     breadcrumb/title/intro on the first tab label's left edge (20px body
     gutter + 16px tab padding = 36px; was 20px). */
  /* 16px top / 13px bottom (was 20 / 4, user's call): the block sits
     evenly between the header line and the tab strip, ~16px of space
     above the breadcrumb and below the intro (the intro's own line box
     adds the rest). Same total height as before. */
  body.page-template-page-product-series .series-hero.series-hero--no-image {
    padding: 16px 0 0;
  }

  body.page-template-page-product-series .series-hero--no-image .series-hero__text {
    padding: 0 36px 13px;
  }

  /* The breadcrumb sat ~19px above the title (its baseline to the title's
     cap height) against ~13px from title to intro, so it read as floating
     off on its own. 3.5px (was 10px) gives both gaps the same ~13.4px. */
  body.page-template-page-product-series .series-hero .lm-crumb {
    margin-bottom: 3.5px;
  }

  /* Intro tucked up under the title (was 12px below it). */
  body.page-template-page-product-series .series-hero__sub {
    margin-top: 4px;
  }

  /* Breadcrumb shortened to a back link to the parent ("‹ Product
     Directory"), as on product pages. Full trail + schema remain. */
  body.page-template-page-product-series .series-hero nav.lm-crumb > :not(:nth-last-child(3)) {
    display: none;
  }

  body.page-template-page-product-series .series-hero nav.lm-crumb > :nth-last-child(3)::before {
    content: "\2039\00a0";
  }

  /* Mobile-only: mirror .oxid-prod's tabbar (single scrollable row of
     plain tab links, blurred sticky bar) instead of the desktop
     sidenav-with-help-card layout — a vertical list of large uppercase
     links (the help card is already hidden below) didn't fit well once
     each product became its own family/sidenav entry. Desktop (>900px)
     is untouched. */
  body.page-template-page-product-series .series-sidenav {
    position: sticky;
    top: var(--header-height);
    z-index: 8;
    max-height: none;
    overflow: visible;
    margin: 0 -20px 22px;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    padding: 0 20px;
  }

  html.dark-mode body.page-template-page-product-series .series-sidenav {
    /* Black with a white hairline on top only (no bottom line), same as
       the product page tab bar. */
    background: rgba(0, 0, 0, .92);
    border-top: 1px solid #fff;
    border-bottom: 0;
  }

  body.page-template-page-product-series .series-sidenav__label,
  body.page-template-page-product-series .series-sidenav__card {
    display: none;
  }

  /* Scoped to .nav-expand__row specifically, not a bare `ul` — the new
     expand panel (see the SHARED: SCROLLABLE TAB NAV W/ EXPAND section)
     also renders a <ul> inside .series-sidenav for its 2-column grid,
     and a bare `.series-sidenav ul` selector here would win that fight
     by specificity and collapse the grid into a single flex row. */
  body.page-template-page-product-series .series-sidenav .nav-expand__row {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    border-top: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  /* <li> is the actual flex item here (product page's own tabbar has no
     <li> wrapper, so this has no equivalent there) — without this it
     defaults to flex-shrink:1 and gets squeezed narrower than its text,
     which lets the invisible <wbr> camelCase break points (added for the
     PRIMES long-name fix — see lm_proto_wbr_camel_breaks()) kick in and
     wrap e.g. "FiberScan" onto two lines even though nowrap is set. */
  body.page-template-page-product-series .series-sidenav .nav-expand__row li {
    flex: none;
  }

  body.page-template-page-product-series .series-sidenav .nav-expand__row::-webkit-scrollbar {
    display: none;
  }

  body.page-template-page-product-series .series-sidenav a {
    flex: none;
    border-bottom: 3px solid transparent;
    border-left: 0;
    padding: 15px 16px;
    font-family: 'Archivo', sans-serif;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: normal;
    text-transform: none;
    white-space: nowrap;
    color: var(--txt-dim);
  }

  body.page-template-page-product-series .series-sidenav a.is-current {
    border-left: 0;
    border-bottom-color: var(--accent);
    background: transparent;
    color: var(--navy);
  }

  body.page-template-page-product-series .series-family {
    scroll-margin-top: calc(var(--header-height) + 108px);
  }

  /* The rail is a horizontal tab strip here — no room for product sub-links. */
  body.page-template-page-product-series .series-sidenav__sub {
    display: none;
  }

  body.page-template-page-product-series .series-contact__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  body.page-template-page-product-series .series-row {
    grid-template-columns: 1fr;
  }

  body.page-template-page-product-series .series-row__img,
  body.page-template-page-product-series .series-row__fallback {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  body.page-template-page-product-series .series-row__actions .series-btn {
    flex: 1;
  }
}

/* Series product card (series-product-card-handoff.md). The summary line
   is a phones/tablets element for now — desktop keeps its current row
   (photo, description, stat strip) until its layout is reviewed. */
body.page-template-page-product-series .series-row__summary {
  display: none;
}

/* Description "Read more" cap is a phones/tablets thing: on desktop the
   whole text shows and the dots/toggle never appear. */
body.page-template-page-product-series .series-row__desc-dots,
body.page-template-page-product-series .series-row__desc-toggle {
  display: none;
}

/* Phones/tablets: each product is its own card — name, descriptor, the
   series' three spec rows, the card summary, then two full-width 44px
   buttons (dark filled "View Product Page", outlined "Datasheet (PDF)",
   8px apart). No photo, no kicker, no description excerpt. Square
   corners (the theme has no radius anywhere), existing fonts/colours. */
@media (max-width: 900px) {
  /* Cards run the full width of the red family header: no side padding,
     and the family box's own border is dropped so it doesn't double up
     with each card's border (header and card edges line up exactly). */
  body.page-template-page-product-series .series-family {
    border: 0;
  }

  body.page-template-page-product-series .series-rows {
    display: grid;
    gap: 14px;
    padding: 14px 0 0;
  }

  body.page-template-page-product-series .series-rows > li {
    background: var(--page);
    border: 1px solid var(--line);
    border-top: 3px solid var(--accent);
  }

  body.page-template-page-product-series .series-row,
  body.page-template-page-product-series .series-rows li:first-child .series-row {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 18px;
    border-top: 0;
  }

  body.page-template-page-product-series .series-row__media,
  body.page-template-page-product-series .series-row__kicker {
    display: none;
  }

  /* Description after the specs, capped at ~160 characters: the rest is
     hidden behind "Read more" until .is-expanded (main.js). */
  body.page-template-page-product-series .series-row__desc {
    margin: 14px 0 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--txt);
  }

  body.page-template-page-product-series .series-row__desc.has-more .series-row__desc-rest {
    display: none;
  }

  body.page-template-page-product-series .series-row__desc.has-more .series-row__desc-dots {
    display: inline;
  }

  body.page-template-page-product-series .series-row__desc.is-expanded .series-row__desc-rest {
    display: inline;
  }

  body.page-template-page-product-series .series-row__desc.is-expanded .series-row__desc-dots {
    display: none;
  }

  body.page-template-page-product-series .series-row__desc-toggle {
    display: inline;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    font-weight: 700;
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
  }

  /* Specs lead: name → descriptor → specs → description → summary (the
     description comes before the specs in the markup, for desktop). */
  body.page-template-page-product-series .series-row__body {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
  }

  body.page-template-page-product-series .series-row__specs { order: 1; }
  body.page-template-page-product-series .series-row__desc { order: 2; }
  body.page-template-page-product-series .series-row__summary { order: 3; }

  body.page-template-page-product-series .series-row__line {
    margin-top: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--txt-dim);
  }

  /* Spec rows: label left, value right, hairline above each row. */
  body.page-template-page-product-series .series-row__specs {
    margin-top: 14px;
    max-width: none;
    border-top: 0;
  }

  body.page-template-page-product-series .series-row__spec {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 11px 0;
    border-top: 1px solid var(--line);
    border-bottom: 0;
  }

  /* Labels are meant to be short enough for one line (series card labels
     are shortened per the handoff); until then a long label wraps rather
     than squeezing its value — the value always keeps ≥45% of the row. */
  body.page-template-page-product-series .series-row__spec dt {
    font-size: 12.5px;
    padding-top: 0;
    color: var(--txt);
  }

  body.page-template-page-product-series .series-row__spec dd {
    flex: 0 0 auto;
    min-width: 45%;
    font-family: 'Archivo', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--ink);
    text-align: right;
  }

  body.page-template-page-product-series .series-row__summary {
    display: block;
    margin: 4px 0 0;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--txt-dim);
  }

  body.page-template-page-product-series .series-row__actions {
    grid-column: 1 / -1;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 8px;
    margin: 18px 0 0;
  }

  body.page-template-page-product-series .series-row__actions .series-btn {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    padding: 0 14px;
    font-size: 13px;
    letter-spacing: .06em;
  }

  body.page-template-page-product-series .series-row__actions .series-btn--primary {
    background: var(--ink);
    border: 1px solid var(--ink);
    color: var(--page);
  }

  body.page-template-page-product-series .series-row__actions .series-btn--primary:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
  }

  body.page-template-page-product-series .series-row__actions .series-btn--ghost {
    background: transparent;
    border: 1px solid var(--ink);
    color: var(--ink);
  }

  body.page-template-page-product-series .series-row__actions .series-btn--ghost:hover {
    background: var(--mist);
    color: var(--ink);
  }
}

/* ============================================================
   EVENTS PAGE
   All rules scoped to: body.page-template-page-events
   Append-only. No existing rules above this line are modified.
   ============================================================ */

/* Allow page to scroll (overrides global overflow:hidden) — same pattern as
   body.page-template-page-product-directory / -product-series / .single-product.
   Without this, the page cannot scroll at all (body's overflow:hidden propagates
   to the viewport), so anything below the first viewport — including the
   footer — is unreachable regardless of the footer's own CSS. */
body.page-template-page-events {
  overflow-x: hidden;
  overflow-y: auto;
}

/* ============================================================
   Events / Trade Shows — scoped page styles (namespace: .ev-page)
   Relocated from the events-trade-shows.html preview's #ev-scoped
   block (docs/events-brief.md → RELOCATE). Namespaced under
   .ev-page; variables are redefined locally to avoid design-system
   token collisions. Static accents only — no hover-triggered
   "grow-in/reveal" element animations (per LM design rule).
   ============================================================ */
.ev-page{
  --accent:var(--oxid-blue); --navy:#191D22; --ink:#0B1118;
  --txt:#2B3640; --txt-dim:#5A6675; --muted:#777D86;
  --line:#D3DBE2; --line-strong:#CFD4DC; --rail:#ECEFF3; --mist:#ECEFF3;
  --link:#288DE2;
  --header-h:58px;
  font-family:'Spline Sans','Helvetica Neue',Arial,sans-serif;
  color:var(--txt);
}
/* Dark mode: .ev-page defines its OWN local color variables above (separate
   from the theme's global --ink/--strong/--page, which DO flip via
   html.dark-mode) — hardcoded light-theme values that never changed when
   the page background flipped to black, leaving headings/body/muted text
   dark-on-dark and unreadable. Every var(--navy)/var(--txt)/etc. declaration
   in this file inherits from here, so this one block fixes all of them.
   --accent, --link, --ink stay untouched: the accent and link colours are
   already readable on black, and --ink only styles the hero band, which is
   intentionally dark in both modes. Relative brightness ordering (navy >
   txt > txt-dim > muted) is preserved, just inverted for a dark background,
   so the light/body/muted hierarchy still reads the same way. */
html.dark-mode .ev-page{
  /* Neutral gray (not blue-leaning slate) — same palette as every other
     page's dark-mode block, see .oxid-lit's for the original tuning. */
  --navy:#FAFAF9; --txt:#DEDEDC; --txt-dim:#B8B8BC; --muted:#8C8C90;
  --line:#4A4A4D; --line-strong:#64646A; --mist:#242426;
}
/* .ev-cta is the one place --navy is used as a BACKGROUND, not text: an
   always-dark accent panel with hardcoded white text (color:#fff), meant to
   look the same in both modes. The blanket --navy flip above (correct for
   headings) incorrectly lightened this panel's background too, washing out
   its white text. Restored to the original literal navy so the panel stays
   dark regardless of theme. Checked every other background using the
   redefined variables (.ev-intro/--mist, the facts separator dot/
   --line-strong) — both are regular content meant to invert with the page,
   not accent panels, so this is the only case needing this override. */
html.dark-mode .ev-page .ev-cta{
  background:#191D22;
}
.ev-page *{ box-sizing:border-box; }
.ev-page img{ transition:none; }
.ev-page img:hover{ transform:none; }

/* ---------- HERO ---------- */
.ev-page .ev-hero{
  position:relative;
  min-height:clamp(260px,22vw,360px);
  /* Text vertically centered in the band (user's call), with equal top and
     bottom padding on .ev-hero__text so it lands on the true middle. */
  display:flex; align-items:center;
  background:
    linear-gradient(180deg,rgba(11,17,24,.55),rgba(11,17,24,.86)),
    linear-gradient(120deg,#243244 0%,#141c26 60%,#0b1118 100%);
}
.ev-page .ev-hero__text{ padding:36px 40px; max-width:1320px; margin:0 auto; width:100%; color:#fff; }

/* Optional hero background image + ink scrim. Layers sit BEHIND the in-flow
   hero text via negative z-index inside an isolated stacking context, so the
   kicker/headline/sub text stay on top untouched. Absent when no image is set;
   .ev-hero then shows its solid gradient fallback. */
.ev-page .ev-hero{ isolation:isolate; }
.ev-page .ev-hero__media{
  position:absolute; inset:0; z-index:-2;
  background-size:cover; background-repeat:no-repeat; background-position:50% 50%;
}
.ev-page .ev-hero__scrim{
  position:absolute; inset:0; z-index:-1;
  background:#191D22;
}
.ev-page .ev-hero__kicker{
  font-family:'Archivo',sans-serif; font-weight:700; font-size:12px;
  letter-spacing:.16em; text-transform:uppercase; color:#fff; opacity:.92; margin:0 0 10px;
}
.ev-page .ev-hero__kicker::before{
  content:""; display:inline-block; width:26px; height:2px;
  background:var(--accent); vertical-align:middle; margin-right:10px;
}
.ev-page .ev-hero h1{
  font-family:'Neue Haas Grotesk Display','Helvetica Neue',Arial,sans-serif;
  font-weight:800; font-size:clamp(32px,4vw,52px); line-height:1.03;
  letter-spacing:-.01em; margin:0; color:#fff;
}
.ev-page .ev-hero__sub{
  margin:14px 0 0; font-size:clamp(15px,1.4vw,17px); line-height:1.5;
  max-width:62ch; color:#e7ecf1;
}

/* ---------- INTRO BAND ---------- */
.ev-page .ev-intro{
  background:var(--mist); border-bottom:1px solid var(--line);
  padding:30px 0 32px;
}
.ev-page .ev-intro__inner{
  max-width:1320px; margin:0 auto; padding:0 40px;
  display:flex; justify-content:space-between; align-items:baseline; gap:32px; flex-wrap:wrap;
}
.ev-page .ev-intro p{
  margin:0; font-size:15px; line-height:1.6; color:var(--txt); max-width:70ch;
}
.ev-page .ev-intro__meta{
  font-family:'Archivo',sans-serif; font-weight:600; font-size:11px;
  letter-spacing:.14em; text-transform:uppercase; color:var(--muted); white-space:nowrap;
}
.ev-page .ev-intro__meta strong{ color:var(--navy); font-weight:700; }

/* ---------- MAIN LIST WRAPPER ---------- */
.ev-page .ev-main{
  max-width:1320px; margin:0 auto; padding:44px 40px 60px;
}
.ev-page .ev-list-head{
  display:flex; align-items:baseline; justify-content:space-between;
  gap:24px; margin:0; padding-bottom:14px;
  border-bottom:2px solid var(--navy);
}
.ev-page .ev-list-head h2{
  font-family:'Neue Haas Grotesk Display','Helvetica Neue',Arial,sans-serif;
  font-weight:800; font-size:26px; letter-spacing:-.01em; color:var(--navy); margin:0;
}
.ev-page .ev-list-head__count{
  font-family:'Archivo',sans-serif; font-weight:600; font-size:11px;
  letter-spacing:.14em; text-transform:uppercase; color:var(--muted);
}

/* ---------- EVENT ROW ---------- */
.ev-page .ev-row{
  display:grid;
  grid-template-columns:120px 1fr 220px;
  gap:32px;
  padding:26px 0;
  border-bottom:1px solid var(--line);
  align-items:start;
}
.ev-page .ev-row:last-child{ border-bottom:none; }

/* Column 1: date block */
.ev-page .ev-date{
  border-left:3px solid var(--accent);
  padding:2px 0 2px 12px;
}
.ev-page .ev-date__month{
  font-family:'Archivo',sans-serif; font-weight:700; font-size:12px;
  letter-spacing:.16em; text-transform:uppercase; color:var(--accent); margin:0 0 4px;
}
.ev-page .ev-date__days{
  font-family:'Neue Haas Grotesk Display','Helvetica Neue',Arial,sans-serif;
  font-weight:800; font-size:26px; line-height:1; color:var(--navy); margin:0 0 4px;
  letter-spacing:-.01em;
}
.ev-page .ev-date__year{
  font-family:'Archivo',sans-serif; font-weight:600; font-size:12px;
  letter-spacing:.1em; color:var(--muted); margin:0;
}

/* Column 2: event body */
.ev-page .ev-body__type{
  display:inline-block;
  font-family:'Archivo',sans-serif; font-weight:700; font-size:10.5px;
  letter-spacing:.16em; text-transform:uppercase; color:var(--muted);
  border:1px solid var(--line-strong); padding:3px 8px 2px;
  margin:0 0 10px;
}
/* Desktop/tablet: show the full label; the mobile-only short swap-in is
   hidden here and shown instead inside @media (max-width:640px). */
.ev-page .ev-body__type-short{ display:none; }
.ev-page .ev-body__name{
  font-family:'Neue Haas Grotesk Display','Helvetica Neue',Arial,sans-serif;
  font-weight:800; font-size:22px; line-height:1.15; color:var(--navy);
  margin:0 0 8px; letter-spacing:-.01em;
}
.ev-page .ev-body__facts{
  list-style:none; margin:0 0 10px; padding:0;
  display:flex; flex-wrap:wrap; gap:6px 20px;
  font-size:13.5px; color:var(--txt);
}
.ev-page .ev-body__facts li{ display:flex; align-items:center; gap:8px; }
.ev-page .ev-body__facts li + li::before{
  content:""; display:inline-block; width:3px; height:3px; background:var(--line-strong);
  border-radius:0; margin-right:12px; margin-left:-14px;
}
.ev-page .ev-body__facts strong{ font-weight:600; color:var(--navy); }
.ev-page .ev-body__blurb{
  margin:0 0 12px; font-size:13.5px; line-height:1.55; color:var(--txt-dim); max-width:64ch;
}
.ev-page .ev-body__links{ display:flex; gap:18px; flex-wrap:wrap; }
.ev-page .ev-body__links a{
  font-family:'Archivo',sans-serif; font-weight:600; font-size:12px;
  letter-spacing:.06em; text-transform:uppercase; color:var(--link);
  text-decoration:none; border-bottom:1px solid transparent; padding-bottom:1px;
}
.ev-page .ev-body__links a:hover,
.ev-page .ev-body__links a:focus-visible{ border-bottom-color:var(--link); }

/* Booth, moved here from the facts line: informational, not a link, so no
   hover/focus/border treatment. The dot only renders when it's NOT the first
   child in .ev-body__links (i.e. only when "Event website" is also present) —
   plain positive spacing, no negative margins, so it never orphans on wrap. */
.ev-page .ev-body__booth{
  font-family:'Archivo',sans-serif; font-weight:600; font-size:12px;
  letter-spacing:.06em; text-transform:uppercase; color:var(--muted);
}
.ev-page .ev-body__links > .ev-body__booth:not(:first-child)::before{
  content:"\00b7"; margin-right:8px; color:var(--line-strong);
}

/* Column 3: logo placeholder */
.ev-page .ev-logo{
  height:110px; border:1px solid var(--line);
  background:#fff;
  display:flex; align-items:center; justify-content:center;
  padding:14px 18px;
}
.ev-page .ev-logo img{ max-width:100%; max-height:100%; object-fit:contain; }
.ev-page .ev-logo__placeholder{
  font-family:'Archivo',sans-serif; font-weight:800;
  font-size:18px; letter-spacing:.04em; color:var(--navy); text-align:center;
  line-height:1.1;
}
.ev-page .ev-logo__placeholder small{
  display:block; font-weight:600; font-size:9.5px; letter-spacing:.14em;
  color:var(--muted); text-transform:uppercase; margin-top:6px;
}

/* ---------- CONTACT CTA ---------- */
.ev-page .ev-cta{
  margin-top:44px; padding:28px 30px;
  background:var(--navy); color:#fff;
  display:flex; align-items:center; justify-content:space-between;
  gap:24px; flex-wrap:wrap;
}
.ev-page .ev-cta__text{ max-width:60ch; }
.ev-page .ev-cta__kicker{
  font-family:'Archivo',sans-serif; font-weight:700; font-size:11px;
  letter-spacing:.16em; text-transform:uppercase; color:#fff; opacity:.75; margin:0 0 6px;
}
.ev-page .ev-cta h3{
  font-family:'Neue Haas Grotesk Display','Helvetica Neue',Arial,sans-serif;
  font-weight:800; font-size:22px; line-height:1.2; margin:0 0 6px; color:#fff;
  letter-spacing:-.01em;
}
.ev-page .ev-cta p{ margin:0; font-size:14px; line-height:1.5; color:#c9d0d8; }
.ev-page .ev-cta__btn{
  display:inline-flex; align-items:center; gap:10px;
  font-family:'Archivo',sans-serif; font-weight:700; font-size:12px;
  letter-spacing:.12em; text-transform:uppercase; color:#fff;
  text-decoration:none; padding:14px 22px;
  background:var(--accent); border:1px solid var(--accent);
  transition:background-color .15s ease, border-color .15s ease;
}
.ev-page .ev-cta__btn:hover,
.ev-page .ev-cta__btn:focus-visible{ background:var(--oxid-blue-dark); border-color:var(--oxid-blue-dark); }
.ev-page .ev-cta__btn svg{ width:14px; height:14px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width:900px){
  .ev-page .ev-row{
    grid-template-columns:110px 1fr;
    gap:20px 24px;
  }
  .ev-page .ev-logo{
    grid-column:1 / -1;
    order:3;
    height:90px;
    max-width:260px;
  }
  /* The fixed shared header becomes active at this same breakpoint. The hero
     background image/scrim bleed full-height behind it by design (untouched
     here) but the TEXT block is bottom-anchored (align-items:flex-end) with
     no margin for how tall it wraps at narrow widths — at ~375px the kicker/
     h1/sub paragraph combined can be tall enough that its own top edge lands
     above the header's bottom edge, clipping "Where you'll find us" behind
     it. Header height plus extra breathing room guarantees clearance
     regardless of wrap, without pushing the hero band itself or the image. */
  .ev-page .ev-hero__text{
    padding-top: calc(var(--header-height) + 24px);
  }
}
@media (max-width:640px){
  /* padding-top carries the same header-height + breathing-room value, not
     0 — this shorthand sits AFTER the ≤900px rule above with equal
     specificity, so at ≤640px (both conditions true) it was silently
     winning and resetting padding-top back to 0. Same value, same variable,
     so ≤640px and 641-900px stay visually consistent too. */
  .ev-page .ev-hero__text{ padding:calc(var(--header-height) + 24px) 20px 28px; }
  .ev-page .ev-intro__inner{ padding:0 20px; }
  .ev-page .ev-main{ padding:32px 20px 44px; }
  .ev-page .ev-row{ grid-template-columns:1fr; gap:14px; padding:22px 0; }
  /* Redundant once the row stacks: the long-form date (e.g. "October 21–23,
     2026") is already shown in .ev-body__facts. Desktop/tablet (>640px) keeps
     the .ev-date block unchanged. */
  .ev-page .ev-date{ display:none; }

  /* Badge pinned top-right, out of normal flow entirely — the DOM order is
     type-then-name (they're plain block siblings, not flex row items sharing
     a line), so a flex/order-based fix doesn't apply here. Taking the badge
     out of flow via absolute positioning sidesteps that: it never depends on
     flex-wrap fitting math, so it holds its corner regardless of badge text
     length. The name becomes the first IN-FLOW element (since the absolutely
     positioned badge no longer occupies a flow position), so it's the first
     visible line, left-aligned, at its normal margin/spacing. Facts/blurb/
     links need no override — they were never broken; they just stack in
     normal block flow, same as always. */
  .ev-page .ev-body{ position:relative; }
  .ev-page .ev-body__type{
    position:absolute;
    top:2px;
    right:0;
    margin:0;
    font-size:9px;
    white-space:nowrap;
  }
  /* Swap in the short label ("Conference" instead of "Technical Conference")
     to conserve corner space; other values are identical full vs. short, so
     this only visibly changes that one case. */
  .ev-page .ev-body__type-full{ display:none; }
  .ev-page .ev-body__type-short{ display:inline; }
  .ev-page .ev-body__name{
    font-size:26px;
    /* Clears the widest badge ("TECHNICAL CONFERENCE"); re-check by eye and
       adjust if it's too generous/tight once you see it rendered. */
    padding-right:150px;
  }

  .ev-page .ev-logo{ max-width:none; }
  .ev-page .ev-cta{ padding:22px; flex-direction:column; align-items:flex-start; }
}

/* ============================================================
   NEWS TICKER  (shared chrome — header.php, below the fixed header)
   Retractable marquee announcement band, content from the "News Ticker"
   ACF Options Page. Server-rendered, sits in normal flow so it scrolls
   away with the page (not fixed). Desktop-only — hidden on mobile.
   Ported from docs/Templates/Trade Shows/events-trade-shows.html.
   Append-only. No existing rules above this line are modified.
   ============================================================ */
.news-ticker {
  /* The collapsed bar's chevron inset from the right edge. Shared by the
     toggle's padding and the sliding square's stop (::before below), so
     the square always comes to rest against the chevron. Tablets and
     phones set their own below. */
  --ticker-chevron-pad: max(2px, calc(0.8% - 7px));
  position: relative;
  z-index: 6;
  margin-top: var(--header-height);
  margin-left: 2.2%;
  display: flex;
  align-items: stretch;
  /* Flat, not a gradient. This used to be
     `linear-gradient(to right, var(--accent) 0 98.36%, <darker> 98.36% 100%)`,
     where the 98.36% stop existed solely to tint the toggle button darker.
     A percentage can only line up with the toggle's fixed 48px at one
     specific ticker width (~2930px) — at any other width the stop falls
     inside or outside the button and splits it into two reds. The toggle
     now paints its own solid colour instead, so the two can't disagree. */
  background: var(--accent);
  color: #fff;
  overflow: hidden;
}

/* Homepage: ticker insets to align with the homepage's left grid rail
   (margin-left: 2.2%, set above — right edge is already flush, unchanged).
   Interior pages have no grid rail to align to — full-width, flush to both
   the left AND right edges of the page.

   This was briefly made full-bleed everywhere while chasing what turned out
   to be a different bug (the ticker sat too low because its margin-top was
   rendering at the canvas scale while the header was counter-scaled — see
   the canvas section). The inset was never the problem, so it is back.

   The 2.2% still lines up with the rail even though the ticker is
   counter-scaled and .grid-lines is not: each percentage resolves against
   its own containing block, and both of those render to the same visual
   viewport width, so both land on the same 2.2% of the screen. */
body:not(.home) .news-ticker {
  margin-left: 0;
}

.news-ticker-inner {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  height: 44px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 40px), transparent);
  mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 40px), transparent);
}

.news-ticker-track {
  display: flex;
  align-items: center;
  height: 100%;
  white-space: nowrap;
  will-change: transform;
  /* No default animation here on purpose — main.js (setupNewsTicker) measures
     the rendered (server-doubled) track width and sets a duration that keeps
     scroll speed constant regardless of how many announcements are configured.
     Without JS the messages sit static rather than animating incorrectly. */
}

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.news-ticker.is-collapsed .news-ticker-track,
.news-ticker-track:hover {
  animation-play-state: paused;
}

.news-ticker-item {
  display: inline-block;
  font-family: "Neue Haas Grotesk Display", "Helvetica Neue", Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-style: italic;
  font-size: clamp(14px, 1.15vw, 19px);
  line-height: 1.2;
}

.news-ticker-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  transition: border-color 150ms ease, opacity 150ms ease;
}
.news-ticker-link:hover,
.news-ticker-link:focus-visible {
  border-bottom-color: #ffffff;
  opacity: 0.9;
  outline: none;
}

.news-ticker-sep {
  display: inline-block;
  padding: 0 clamp(24px, 3vw, 52px);
  opacity: 0.5;
  font-size: clamp(12px, 1vw, 16px);
}

.news-ticker-toggle {
  flex: none;
  width: 48px;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
  /* Solid, self-contained — see the note on .news-ticker's background.
     Was transparent, relying on the parent's gradient stop to colour it. */
  background: var(--oxid-blue-dark);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 150ms ease;
}
/* A flat value, not rgba(0,0,0,0.28): a translucent overlay would now sit on
   the button's own solid colour rather than the lighter track behind it, so
   hover has to be stated outright to stay darker than rest. */
.news-ticker-toggle:hover {
  background: var(--oxid-blue-deeper);
}

.news-ticker-icon {
  width: 16px;
  height: 10px;
  transform: rotate(180deg);
  transition: transform 220ms ease;
}

.news-ticker.is-collapsed .news-ticker-inner {
  display: none;
}
.news-ticker.is-collapsed .news-ticker-toggle {
  width: 100%;
  height: 14px;
  border-left: 0;
  background: transparent;
  place-items: center end;
  padding-right: var(--ticker-chevron-pad);
}

/* Tablets and phones: 2px left the chevron on the screen edge. Same inset
   as the page gutter there (clamp(16px, 5vw, 32px), the home page's right
   hairline), so it sits in from the edge with the content. */
@media (max-width: 1100px) {
  .news-ticker {
    --ticker-chevron-pad: clamp(16px, 5vw, 32px);
  }

  /* Bigger ticker text on tablets (user's call): the fluid clamp sat on
     its 14px floor here. 18px is just under desktop's 19px cap and still
     fits the 44px bar; the separators step up in proportion. (Phones
     don't show the ticker.) */
  .news-ticker-item {
    font-size: 18px;
  }

  .news-ticker-sep {
    font-size: 15px;
  }
}
.news-ticker.is-collapsed .news-ticker-toggle:hover {
  background: rgba(0, 0, 0, 0.12);
}
.news-ticker.is-collapsed .news-ticker-icon {
  transform: rotate(0deg);
  width: 11px;
  height: 7px;
}

/* Rolled up: one square the height of the strip (14px) crosses it left to
   right, then waits offscreen, on repeat while it stays collapsed. The
   pseudo is a full-width layer with the square painted at its left edge;
   translating the layer by 100% of its own width carries the square the
   whole length of the bar (from just off the left edge to just off the
   right), on the compositor. One at a time, slowly, rarely (user's call:
   very subtle). The toggle is lifted above it so the chevron stays on top. */
.news-ticker.is-collapsed::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* --oxid-blue-deeper = the toggle's hover colour: deeper than the bar, so
     subtle but visible. --oxid-blue-dark (the toggle at rest) was tried first and
     was too close to the bar's colour to see on a 14px moving strip. */
  /* The square's width (its height is the strip's 14px). Every position
     below is in terms of it. 18px, a hair wider than square (user's call). */
  --square-w: 18px;
  background: linear-gradient(var(--oxid-blue-deeper), var(--oxid-blue-deeper)) left top / var(--square-w) 100% no-repeat;
  pointer-events: none;
  transform: translateX(calc(var(--square-w) * -1));
  /* Where it stops: its right edge against the chevron's left edge. The
     layer is as wide as the bar, so 100% here = the bar's width, and the
     rest mirrors how the chevron is placed (collapsed toggle below): its
     padding-right (--ticker-chevron-pad), then the 11px icon, then this
     square's own width. */
  --square-stop: calc(100% - var(--ticker-chevron-pad) - 11px - var(--square-w));
  /* 10s cycle — see the keyframes. The first one waits 15s, so nothing
     moves while the page is still being taken in; until then the square
     sits off the left edge (the transform above). */
  animation: ticker-square-shoot 10s 15s infinite;
}
.news-ticker.is-collapsed .news-ticker-toggle {
  position: relative;
  z-index: 1;
}

/* 0–30% (3s): the crossing — shoots out at full speed (linear, 1s to
   halfway), then slows down steadily from the halfway mark (2s) and comes
   to rest against the chevron. cubic-bezier(1/3, 2/3, 2/3, 1) is an exact
   constant deceleration that starts at twice its average speed, which is
   exactly the first half's speed (half the distance in half the time), so
   there's no jolt at halfway. 30–35%: holds. 35–50% (1.5s): fades out.
   50–100% (5s): gone, then the next one starts off the left. */
@keyframes ticker-square-shoot {
  0% {
    transform: translateX(calc(var(--square-w) * -1));
    opacity: 1;
    animation-timing-function: linear;
  }
  10% {
    transform: translateX(calc((var(--square-stop) - var(--square-w)) / 2));
    animation-timing-function: cubic-bezier(0.333, 0.667, 0.667, 1);
  }
  30%,
  35% {
    transform: translateX(var(--square-stop));
    opacity: 1;
    animation-timing-function: ease-out;
  }
  50%,
  100% {
    transform: translateX(var(--square-stop));
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .news-ticker.is-collapsed::before {
    content: none;
  }
}

/* OFF SWITCH: the square is turned off for now (user's call). Everything
   above is left intact; delete this rule to bring it back. */
.news-ticker.is-collapsed::before {
  content: none;
}

/* Desktop-only: hidden entirely on mobile (same breakpoint as the hamburger
   nav switch-over elsewhere in the theme). */
@media (max-width: 900px) {
  .news-ticker {
    display: none;
  }
}

/* .site-header has a border-bottom (its separator against page content when
   there's nothing else below it). When the ticker is present that border
   lands exactly on the seam between the header's bottom edge and the
   ticker's top edge, showing as a stray light line across the red bar
   (worst in dark mode, where it contrasts against both). Header and ticker
   should be flush with nothing between them, so the border is neutralized
   here ONLY when the ticker is actually rendered (body.has-news-ticker) and
   ONLY on desktop (mobile hides the ticker, so the header still wants its
   own border there as the last thing above page content).
   The ticker is in normal flow (not fixed), so once the page scrolls past
   it, it disappears behind the fixed header and the header goes back to
   floating with nothing marking where it ends and page content begins.
   main.js toggles .is-scrolled on .site-header once the ticker has
   scrolled fully behind it — :not(.is-scrolled) below means the
   neutralization only holds while they're still flush, so the header's
   own border-bottom (#aeb3bb, unchanged) simply reappears on scroll
   instead of introducing a second, differently-colored border. */
@media (min-width: 901px) {
  body.has-news-ticker .site-header:not(.is-scrolled) {
    border-bottom: 0;
  }
}

/* Content offset: the ticker sits in normal flow between the fixed header and
   each page's content wrapper, so wrappers that used to pad themselves by
   --header-height alone (to clear the header when they were the first flow
   element) now get that redundant padding on top of the ticker's own flow
   height too — an empty gap the size of --header-height, doubled. Zeroed out
   here ONLY when the ticker actually has content (body.has-news-ticker, set
   in inc/ticker-fields.php) and ONLY on desktop (mobile hides the ticker
   above, so mobile still needs its own --header-height clearance unchanged). */
@media (min-width: 901px) {
  body.has-news-ticker .oxid-prod {
    padding-top: 0;
  }
  body.has-news-ticker.page-template-page-product-series .series-page {
    padding-top: 0;
  }
  body.has-news-ticker .lm-history-page {
    padding-top: 0;
  }
  body.has-news-ticker .lm-compliance-page {
    padding-top: 0;
  }
  body.has-news-ticker .contact-page {
    padding-top: 0;
  }
  body.has-news-ticker .oxid-lit {
    padding-top: 0;
  }
}

/* ============================================================
   ABOUT US PAGE
   All rules scoped to: body.page-template-page-about
   Ported from docs/Templates/Footer/history_10.html. Namespace kept
   as .lm-history / .hist-* per the preview. The preview's .hist-rail
   (sidebar quick-links nav) and .crumbs (breadcrumbs) styles were NOT
   ported — neither has any matching markup in the preview's actual
   page body, i.e. they're dead CSS in the source file, not real page
   structure. Text colors use the theme's global --ink/--muted (which
   flip in dark mode) instead of the preview's own --txt/--txt-dim
   (undefined here — porting those verbatim would silently stay
   hardcoded light-mode literals, the exact .ev-page dark-mode trap
   documented elsewhere in this file). .lm-history-page is this page's
   root wrapper (added — not in the preview) carrying the header/ticker
   offset, same pattern as .ev-page / .series-page / .oxid-prod; the
   preview's own two .lm-history containers stay as pure centering
   wrappers, used verbatim.
   Append-only. No existing rules above this line are modified.
   ============================================================ */
body.page-template-page-about {
  overflow-x: hidden;
  overflow-y: auto;
}

.lm-history-page {
  padding-top: var(--header-height);
  min-height: 100vh;
  background: var(--page);
}

.lm-history {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.lm-history .page-banner {
  max-width: 760px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line-strong);
  padding: 28px 0 26px; /* top was 56px — more space above the breadcrumb than needed */
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.lm-history .page-banner h1 {
  font-family: 'Neue Haas Grotesk Display', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 3vw, 38px);
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.4px;
}

/* Full-bleed band — a direct child of .lm-history-page, not nested inside
   either .lm-history container, so it spans the full page width while the
   banner/content above and below it stay centered at max-width:1180px. */
.hist-hero {
  margin: 0;
  height: 340px;
  background: #0B1118 center/cover no-repeat;
}

.lm-history .hist-body {
  padding: 48px 0 72px;
}

.lm-history .hist-content {
  max-width: 760px;
  margin: 0 auto;
}

.lm-history .hist-content h2 {
  font-family: 'Neue Haas Grotesk Display', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: var(--ink);
  margin: 0 0 20px;
  letter-spacing: -0.3px;
}

/* Sub-headings inside a section body (Oxid's About copy: Knowledgeable
   Sales, Exacting Fabrication, Quality Control). */
.lm-history .hist-content h3 {
  font-family: 'Neue Haas Grotesk Display', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--ink);
  margin: 32px 0 10px;
}

.lm-history .hist-content p {
  font-family: 'Spline Sans', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16.5px;
  line-height: 1.72;
  color: var(--ink);
  margin: 0 0 18px;
}

.lm-history .hist-section {
  margin-bottom: 44px;
}

.lm-history .hist-section:last-child {
  margin-bottom: 0;
}

/* About Us: Certifications (Nov 17 2026). One row per ISO certificate,
   name and scope left, a Download button right in Compliance's .comp-dl
   style. Square, no shadows. */
.lm-history .hist-cert-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.lm-history .hist-cert {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.lm-history .hist-cert-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.lm-history .hist-cert-name {
  font-family: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
}

.lm-history .hist-cert-scope {
  font-family: 'Spline Sans', 'Helvetica Neue', Arial, sans-serif;
  font-size: 14.5px;
  line-height: 1.5;
  /* Ink at 75%, not --muted (#777d86 is just under 4.5:1 on white);
     works in dark mode too. */
  color: var(--ink);
  opacity: 0.75;
}

.lm-history .hist-cert-dl {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  font-family: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.lm-history .hist-cert-dl:hover,
.lm-history .hist-cert-dl:focus-visible {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.lm-history .hist-cert-dl svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* founder-photo floats right of the body copy — clear the float so the
   next section doesn't creep up alongside a short photo. */
.lm-history .hist-section.founder::after {
  content: "";
  display: block;
  clear: both;
}

.lm-history .founder-photo {
  float: right;
  width: 300px;
  margin: 0 0 18px 32px;
  border: 1px solid var(--line);
  display: block;
}

.lm-history .founder-photo--placeholder {
  aspect-ratio: 3 / 4;
  background: var(--rail-bg);
  color: var(--muted);
  font-family: 'Spline Sans', 'Helvetica Neue', Arial, sans-serif;
  font-size: 13px;
  text-align: center;
  line-height: 1.4;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 900px) {
  .lm-history .hist-content {
    max-width: none;
  }
  .lm-history .founder-photo {
    float: none;
    width: 100%;
    max-width: 340px;
    margin: 0 0 20px 0;
  }
  .hist-hero {
    height: 220px;
  }
  /* Breadcrumb closer to the header: 56px top padding was more than the
     short banner needs on a phone. */
  .lm-history .page-banner {
    padding-top: 24px;
  }
}

/* ============================================================
   COMPLIANCE PAGE
   All rules scoped to: body.page-template-page-compliance
   Ported from docs/Templates/Footer/compliance_4.html. Namespace kept as
   .lm-comp / .comp-* / .bd-sidenav per the preview. The preview's unscoped
   base .bd-sidenav/.bd-body rules (a separate, not-yet-built Beam
   Diagnostics page's shared baked-in styles) were NOT ported — this page's
   own .lm-comp-scoped block below is fully self-contained and doesn't rely
   on them. Text colors use the theme's global --ink/--muted (which flip in
   dark mode) instead of the preview's own --txt/--txt-dim/--mist/--link
   (undefined here — see the same note on the About Us page's CSS above).
   .lm-compliance-page is this page's root wrapper (added — not in the
   preview) carrying the header/ticker offset, same pattern as .ev-page /
   .lm-history-page; the preview's own two .lm-comp containers stay as pure
   centering wrappers, used verbatim.
   The sidenav links are picked up by main.js's standalone "SHARED SIDENAV
   SCROLL-SPY" block (see page-compliance.php), which toggles `.is-current`
   — so the active-link rules below key off `.is-current`, matching what
   that script actually applies.
   Append-only. No existing rules above this line are modified.
   ============================================================ */
body.page-template-page-compliance {
  overflow-x: hidden;
  overflow-y: auto;
}

.lm-compliance-page {
  padding-top: var(--header-height);
  min-height: 100vh;
  background: var(--page);
}

.lm-comp {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.lm-comp .page-banner {
  max-width: 760px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line-strong);
  padding: 56px 0 26px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.lm-comp .page-banner h1 {
  font-family: 'Neue Haas Grotesk Display', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 3vw, 38px);
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.4px;
}

.lm-comp .comp-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 64px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px 0 72px;
  align-items: start;
}

.lm-comp .bd-sidenav {
  position: sticky;
  top: calc(var(--header-height) + 18px);
  align-self: start;
  max-height: calc(100vh - var(--header-height) - 40px);
  overflow: auto;
  scrollbar-width: none;
}
.lm-comp .bd-sidenav::-webkit-scrollbar {
  display: none;
}

/* Ticker adds height below the header on desktop — same offset pattern as
   the page-level padding-top fix above, applied here to the sticky sidenav's
   own clearance so it doesn't start underneath the ticker. */
@media (min-width: 901px) {
  body.has-news-ticker .lm-comp .bd-sidenav {
    top: calc(var(--header-height) + 44px + 18px);
  }
}

.lm-comp .bd-sidenav-label {
  margin: 0 0 8px;
  padding: 0 12px;
  font-family: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}

.lm-comp .bd-sidenav ul {
  display: flex;
  flex-direction: column;
  gap: 1px;
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.lm-comp .bd-sidenav a {
  display: block;
  min-height: 0;
  padding: 10px 12px;
  font-family: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: left;
  line-height: 1.25;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  border-left: 3px solid transparent;
  border-right: 0;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.lm-comp .bd-sidenav a:hover,
.lm-comp .bd-sidenav a:focus-visible {
  color: var(--accent);
  border-left-color: var(--accent);
  background: var(--rail-bg);
}
.lm-comp .bd-sidenav a.is-current {
  color: var(--accent);
  border-left-color: var(--accent);
  background: var(--rail-bg);
}

.lm-comp .comp-body {
  min-width: 0;
  padding: 0;
}

.lm-comp .comp-item {
  scroll-margin-top: calc(var(--header-height) + 24px);
  margin-bottom: 56px;
}
.lm-comp .comp-item:last-child {
  margin-bottom: 0;
}

@media (min-width: 901px) {
  body.has-news-ticker .lm-comp .comp-item {
    scroll-margin-top: calc(var(--header-height) + 44px + 24px);
  }
}

.lm-comp .comp-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.lm-comp .comp-head h2 {
  font-family: 'Neue Haas Grotesk Display', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  font-size: 23px;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.3px;
}

.lm-comp .comp-dl {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  border: 1px solid var(--line-strong);
  padding: 7px 14px;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.lm-comp .comp-dl:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}
.lm-comp .comp-dl svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.lm-comp .comp-item p {
  font-family: 'Spline Sans', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.72;
  color: var(--ink);
  margin: 0 0 16px;
}
.lm-comp .comp-item p:last-child {
  margin-bottom: 0;
}

.lm-comp .comp-item a.inline {
  color: #288de2;
  word-break: break-word;
}

@media (max-width: 900px) {
  .lm-comp .comp-layout {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 32px 0 56px;
  }
  .lm-comp .bd-sidenav {
    position: static;
    top: auto;
    max-height: none;
    overflow: visible;
  }
  .lm-comp .bd-sidenav ul {
    flex-flow: row wrap;
    gap: 6px;
    border-top: 0;
  }
  .lm-comp .bd-sidenav a {
    border: 1px solid var(--line-strong);
    padding: 7px 12px;
    font-size: 12px;
  }
  .lm-comp .bd-sidenav a.is-current {
    border-color: var(--accent);
  }
  .lm-comp .comp-item {
    margin-bottom: 44px;
  }
}

/* ============================================================
   Compliance — mobile document menu (≤900px; Nov 2026, user's call)
   The Product Directory's category menu (.dir-cat) on the Compliance &
   Legal page: a bordered "Document" bar showing the section you're on;
   its list (Compliance / Legal groups) opens over a dimmed page; a pick
   jumps to that section (and opens a Legal fold). Replaces the sidenav's
   button rows at this width; desktop keeps the sidenav and never shows
   this. Sticky under the header, like the directory's. Behaviour:
   main.js COMPLIANCE DOCUMENT MENU. Site tokens (this page has no token
   block of its own), so dark mode follows them.
   ============================================================ */
.lm-comp .comp-pick-wrap { display: none; }

@media (max-width: 900px) {
  /* Sticky needs the page itself to scroll (see the directory's note). */
  body.page-template-page-compliance {
    overflow-x: clip;
    overflow-y: visible;
  }
  .lm-comp .comp-pick-wrap ~ .bd-sidenav { display: none; }
  .lm-comp .comp-layout:has(.comp-pick-wrap) { gap: 14px; padding-top: 18px; }
  .lm-comp .comp-pick-wrap {
    display: block;
    position: sticky;
    top: var(--header-height);
    z-index: 9;
    padding: 14px 0;
    background: var(--page);
  }
  .lm-comp .comp-pick { position: relative; }
  /* Scrim behind the open list; a tap on it closes (main.js). */
  .lm-comp .comp-pick.is-enhanced[open]::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    background: rgba(0, 0, 0, 0.62);
  }
  .lm-comp .comp-pick__summary {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: baseline;
    align-content: center;
    gap: 12px;
    box-sizing: border-box;
    height: 52px;
    margin: 0;
    padding: 0 14px;
    border: 1px solid var(--line-strong);
    background: var(--page);
    color: var(--ink);
    list-style: none;
    cursor: pointer;
  }
  .lm-comp .comp-pick[open] > .comp-pick__summary { border-color: var(--ink); }
  .lm-comp .comp-pick__summary::-webkit-details-marker { display: none; }
  .lm-comp .comp-pick__summary::marker { content: ""; }
  .lm-comp .comp-pick__summary:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
  }
  .lm-comp .comp-pick__label {
    margin: 0 -4px 0 0;
    font-family: 'Spline Sans', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--muted);
  }
  .lm-comp .comp-pick__current {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: 'Spline Sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
  }
  .lm-comp .comp-pick__chev {
    align-self: center;
    transition: transform 120ms ease;
  }
  .lm-comp .comp-pick[open] .comp-pick__chev { transform: rotate(180deg); }

  /* The list: the bar's width, 4px below it, border + shadow, capped to
     the screen and scrolling inside itself. Group labels as the sidenav's. */
  .lm-comp .comp-pick__list {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 2;
    max-height: calc(100vh - var(--header-height) - 14px - 52px - 32px);
    max-height: calc(100dvh - var(--header-height) - 14px - 52px - 32px);
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid var(--line);
    background: var(--page);
    box-shadow: 0 18px 40px rgba(11, 17, 24, 0.28);
  }
  html.dark-mode .lm-comp .comp-pick__list { box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7); }
  .lm-comp .comp-pick__list ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .lm-comp .comp-pick__list li { border-top: 1px solid var(--line); }
  .lm-comp .comp-pick__group {
    margin: 0;
    padding: 16px 16px 8px;
    font-family: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .lm-comp .comp-pick__list ul + .comp-pick__group { border-top: 1px solid var(--line); }
  /* Rows: 52px; the current one with a blue bar, a lighter fill and bold. */
  .lm-comp .comp-pick__link {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    min-height: 52px;
    padding: 0 16px;
    font-family: 'Spline Sans', sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;
    text-decoration: none;
    color: var(--ink);
  }
  .lm-comp .comp-pick__link:hover,
  .lm-comp .comp-pick__link:focus-visible { background: var(--rail-bg); }
  .lm-comp .comp-pick__link:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: -2px;
  }
  .lm-comp .comp-pick__link.is-active {
    padding-left: 13px;
    border-left: 3px solid var(--accent);
    background: var(--rail-bg);
    font-weight: 700;
  }
  /* Sections land below the header and the stuck bar (14 + 52 + 14). */
  .lm-comp .comp-item { scroll-margin-top: calc(var(--header-height) + 96px); }
}

/* ============================================================
   LOCATIONS & DISTRIBUTORS PAGE (page-locations.php)
   Wears Compliance's chrome (.lm-compliance-page / .lm-comp banner,
   sidenav and section heads above); only the contact cards are its own.
   ============================================================ */
body.page-template-page-locations {
  overflow-x: hidden;
  overflow-y: auto;
}

.lm-locations-page .loc-count {
  flex: none;
  min-width: 28px;
  padding: 3px 8px;
  border: 1px solid var(--line-strong);
  font-family: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-align: center;
  color: var(--muted);
}

.lm-locations-page .loc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.lm-locations-page .loc-card {
  display: flex;
  flex-direction: column;
  padding: 22px 22px 20px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--line-strong);
  transition: border-color 0.15s;
}
.lm-locations-page .loc-card:hover {
  border-top-color: var(--accent);
}

.lm-locations-page .loc-card__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 14px;
}
.lm-locations-page .loc-card__photo {
  flex: none;
  width: 84px;
  height: 84px;
  object-fit: cover;
  display: block;
  background: var(--rail-bg);
}

.lm-locations-page .loc-card__kicker {
  margin: 0 0 8px;
  font-family: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-transform: uppercase;
  color: var(--accent);
}

.lm-locations-page .loc-card__name {
  margin: 0;
  font-family: 'Neue Haas Grotesk Display', 'Helvetica Neue', Arial, sans-serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.2px;
  color: var(--ink);
}

.lm-locations-page .loc-card__addr {
  margin: 0 0 16px;
  font-family: 'Spline Sans', 'Helvetica Neue', Arial, sans-serif;
  font-size: 14.5px;
  font-style: normal;
  line-height: 1.6;
  color: var(--muted);
}

/* margin-top:auto lines the contact rows up along the bottom of each row of cards. */
.lm-locations-page .loc-card__contact {
  margin: auto 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 6px;
}
.lm-locations-page .loc-card__contact div {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
}
.lm-locations-page .loc-card__contact dt {
  font-family: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.lm-locations-page .loc-card__contact dd {
  margin: 0;
  font-family: 'Spline Sans', 'Helvetica Neue', Arial, sans-serif;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.lm-locations-page .loc-card__contact a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s;
}
.lm-locations-page .loc-card__contact a:hover,
.lm-locations-page .loc-card__contact a:focus-visible {
  color: var(--accent);
  text-decoration: underline;
}

@media (max-width: 700px) {
  .lm-locations-page .loc-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   LEGAL PAGE (page-legal.php)
   Wears Compliance's chrome (.lm-compliance-page / .lm-comp banner,
   sidenav and section heads above). Its own part: each section is a
   collapsible <details> whose <summary> is the .comp-head, stacked with no
   gap so the closed sections read as one list. Scoped to .legal-folds (the
   folds' wrapper) rather than the page, because on Oxid the folds also sit
   under the compliance items on the merged Compliance & Legal page.
   ============================================================ */
body.page-template-page-legal {
  overflow-x: hidden;
  overflow-y: auto;
}

/* Merged page: the sidenav's second group label ("Legal") clears the
   first group's list. */
.lm-comp .bd-sidenav ul + .bd-sidenav-label {
  margin-top: 24px;
}

.legal-folds .comp-item {
  margin-bottom: 0;
}

.legal-folds .legal-fold > summary {
  list-style: none;
  cursor: pointer;
  align-items: center;
  flex-wrap: nowrap; /* keep the +/− beside a heading that wraps on phones */
  margin: 0;
  padding: 20px 0;
}
.legal-folds .legal-fold > summary h2 {
  min-width: 0;
}
.legal-folds .comp-item:first-child .legal-fold > summary {
  padding-top: 0;
}
.legal-folds .legal-fold > summary::-webkit-details-marker {
  display: none;
}
.legal-folds .legal-fold > summary:hover h2,
.legal-folds .legal-fold > summary:focus-visible h2 {
  color: var(--accent);
}
.legal-folds .legal-fold > summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

/* Plus that turns into a minus when open. */
.legal-folds .legal-fold__icon {
  position: relative;
  flex: none;
  width: 14px;
  height: 14px;
}
.legal-folds .legal-fold__icon::before,
.legal-folds .legal-fold__icon::after {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease;
}
.legal-folds .legal-fold__icon::after {
  transform: rotate(90deg);
}
.legal-folds .legal-fold[open] .legal-fold__icon::after {
  transform: rotate(0deg);
}

.legal-folds .legal-fold__body {
  padding: 22px 0 40px;
}

.legal-folds .legal-fold__body h3 {
  font-family: 'Neue Haas Grotesk Display', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  margin: 28px 0 10px;
}

.legal-folds .legal-fold__body ol,
.legal-folds .legal-fold__body ul {
  font-family: 'Spline Sans', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.72;
  color: var(--ink);
  margin: 0 0 16px;
  padding-left: 1.4em;
}
.legal-folds .legal-fold__body li {
  margin-bottom: 10px;
}
.legal-folds .legal-fold__body > :last-child {
  margin-bottom: 0;
}

/* ============================================================
   PRODUCT PAGE (shared product CPT template)
   All rules scoped to: .oxid-prod (single-product.php's root wrapper)
   Relocated from the oxid-prod-hybrid preview's own scoped <style>
   block per sta_handoff.md. Namespace kept per the port plan (prevents
   token collisions with the rest of the design system).
   Changes made on port, not present in the preview:
   - Dropped the preview's own baked-in <nav>/.navlinks/.partner rules
     (throwaway chrome for the standalone file — get_header() replaces
     it) and the Static/360 .viewtoggle rules (no data field backs a
     360 asset for this CPT, so the toggle isn't ported — see
     sta_handoff.md's "Open template details").
   - Spec cards: LM used a .lmspec accordion; the Oxid build went back
     to the demo's open two-across .scard grid (see "Oxid re-skin" at
     the end of this block).
   - .bigspecs .bigcard hover: originally ported as a static border-color
     accent only, stripping the preview's scaleX(0)->scaleX(1) red-panel
     reveal per the brief's "static accents only" rule. The client later
     explicitly overrode that rule for this element and asked for the
     original reveal back — see the restored ::before/:hover rules on
     .bigcard below, which now match the preview again.
   - Added padding-top: var(--header-height) on .oxid-prod itself —
     every other page wrapper in this theme sets its own top offset to
     clear the fixed site header (see .hero, .series-page, etc.); the
     preview didn't need it since it baked in its own non-fixed nav.
     Zeroed out under body.has-news-ticker on desktop alongside those
     other pages (see the ticker content-offset rule earlier in this
     file).
   ============================================================ */
.oxid-prod {
  --ink: #0B1118;
  /* Oxid palette, from oxid_product_arm_v2_5_10.html. --navy flips light
     in dark mode (it is mostly heading text); --brand is the same blue
     but stays put, for surfaces that carry white text. */
  --navy: #004C8C;
  --brand: #004C8C;
  --accent: #39C0C8;
  --paper: #FFFFFF;
  --mist: #F2F5F8;
  --mist2: #E8EDF2;
  --txt: #2B3640;
  --txt-dim: #5A6675;
  /* --muted/--link added 2026-09-12, matching .cbd-page/.series-page's exact
     values, so the page-agnostic SHARED: CONTACT FORM component (which
     needs both) renders consistently across every host it's dropped into. */
  --muted: #777D86;
  --line: #D3DBE2;
  --link: #288DE2;
  padding-top: calc(var(--wp-admin-bar-offset, 0px) + var(--header-height));
  scroll-behavior: smooth;
  font-family: 'Spline Sans', sans-serif;
  color: var(--txt);
  -webkit-font-smoothing: antialiased;
}
/* Dark mode: same token-swap technique as .cbd-page (reusing its exact
   --navy/--txt/--txt-dim/--line/--mist values for palette consistency).
   One deliberate difference from .cbd-page: there, --ink stays unflipped
   because it's reused for a couple of intentional-dark-surface button
   backgrounds. Here --ink is used almost entirely as *text* color (stat
   values, spec cells, related-product names) — excluding it would leave
   that text dark-on-dark. So --ink flips normally, and the one place that
   used it as a background (.dl, the download tile) gets its own pinned
   override below instead, inverting CBD's approach for the same reason
   CBD had it the other way. --accent is untouched — it reads in both modes. */
html.dark-mode .oxid-prod {
  /* Neutral gray (not blue-leaning slate) — same palette as every other
     page's dark-mode block, see .oxid-lit's for the original tuning. */
  --ink: #FAFAF9;
  --navy: #FAFAF9;
  --txt: #DEDEDC;
  --txt-dim: #B8B8BC;
  --muted: #8C8C90;
  --line: #4A4A4D;
  --mist: #242426;
  --mist2: #2E2E30;
  --paper: #000000;
}
/* Hardcoded surfaces that don't use the token system above and so don't
   flip on their own (the same category of bug CBD's comments call out
   repeatedly — a literal #fff/#F8FAFC background left over from the light
   design). Patched individually rather than converted to tokens, since
   these are one-off surfaces, not colors reused across many rules. */
html.dark-mode .oxid-prod .feat-card .feat-head {
  background: var(--mist2);
}
/* Feature card bodies and spec-card rows: pinned to var(--paper) like the
   other surfaces above, they were the same near-black as the page itself,
   so the "box" read as flat with no depth against the page background.
   Softer background + brighter text than the general --txt/--txt-dim
   tokens (which other sections, e.g. the Overview paragraph and mini-form
   labels, still use at normal brightness) — scoped to just these info
   boxes rather than raising the shared tokens globally. Leaving the
   even-row zebra rule (background: var(--paper), further below) alone —
   against this lighter mist2 base it now reads as an intentional subtle
   stripe instead of doing nothing. */
html.dark-mode .oxid-prod .feat-card .feat-body,
html.dark-mode .oxid-prod .scard {
  background: var(--mist2);
}
html.dark-mode .oxid-prod .feat-card .feat-lead,
html.dark-mode .oxid-prod .feat-card .feat li {
  color: #ECF1F4;
}
html.dark-mode .oxid-prod .scard .k {
  color: #B7C2CB;
}
/* Sticky tab bar: black (92%, so the blur still shows through) with a
   white hairline on top only, no bottom line. Was blue-black #0B1118,
   then #2E2E30. */
html.dark-mode .oxid-prod .tabbar {
  background: rgba(0, 0, 0, .92);
  border-top: 1px solid #fff;
  border-bottom: 0;
}
/* Datasheet tile on the Features box's dark grey (--mist2, #2E2E30 — the
   .feat-head/.feat-body colour) rather than the old blue-black #0B1118. */
html.dark-mode .oxid-prod .dl {
  background: var(--mist2);
}
/* The --navy flip above breaks this button (navy goes light, so its
   white text nearly disappears against it) — pinned to explicit values
   here instead of following the token flip. */
html.dark-mode .oxid-prod .rail .btn {
  background: var(--accent);
  color: #fff;
}
html.dark-mode .oxid-prod .rail .btn:hover {
  background: #fff;
  color: #000;
}
html.dark-mode .oxid-prod .rail .pic,
html.dark-mode .oxid-prod .rel-card .img {
  background: linear-gradient(160deg, #232830, #14171b);
}
/* The rail's outer .card border (wraps the product photo + both buttons
   as one bordered block) uses var(--line), which flips to a near-black
   grey in dark mode and all but disappears against the black page.
   Brightened here specifically rather than raising --line globally
   (that'd also affect every spec-table/divider border on the page). */
html.dark-mode .oxid-prod .rail .card,
html.dark-mode .oxid-prod .rail .btn2 {
  border-width: 2px;
  border-color: rgba(255, 255, 255, .55);
}

.oxid-prod, .oxid-prod * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.oxid-prod #product-top,
.oxid-prod #overview,
.oxid-prod #specs,
.oxid-prod #features,
.oxid-prod #request {
  scroll-margin-top: 150px;
}

.oxid-prod a {
  color: inherit;
}

.oxid-prod .wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px;
}

.oxid-prod .pbanner {
  position: relative;
  height: clamp(300px, 30vw, 440px);
  display: flex;
  align-items: flex-end;
  background-color: #0B1118;
}

.oxid-prod .pbanner-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.03) brightness(.94);
}

.oxid-prod .pbanner-grade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(11, 17, 24, .88), rgba(11, 17, 24, .3) 50%, rgba(11, 17, 24, 0));
}

.oxid-prod .pbanner-text {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px 36px;
}

.oxid-prod .pseries {
  display: inline-block;
  color: var(--accent);
  font-size: 14px;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 8px;
  text-decoration: none;
}

/* Only <a class="pseries"> (a series_link ACF field set on the term) gets
   an underline on interaction — the plain <div> fallback has none to
   trigger, so this is a no-op there. */
.oxid-prod a.pseries:hover,
.oxid-prod a.pseries:focus-visible {
  text-decoration: underline;
}

.oxid-prod .pbanner-text h1 {
  font-family: 'Archivo';
  font-weight: 800;
  color: #fff;
  font-size: clamp(34px, 4.4vw, 62px);
  line-height: 1.0;
  letter-spacing: -.02em;
  text-shadow: 0 2px 22px rgba(10, 20, 40, .55);
}

.oxid-prod .pbanner-text .desc {
  color: rgba(255, 255, 255, .86);
  font-size: clamp(16px, 1.8vw, 22px);
  margin-top: 8px;
}

/* No hero image (none uploaded, or explicitly toggled off): drop the dark
   photo-banner treatment entirely — plain background, natural height,
   text flips from white-on-dark to dark-on-page-background — rather than
   showing an empty dark rectangle sized for a photo that isn't there. */
/* The band starts at the very top of the page, under the fixed header
   (the .oxid-prod reset zeroes the page's own header offset; a photo
   banner just runs behind it). So the top padding clears the header,
   then breadcrumb + title + tagline sit centred: 48px above and below. */
.oxid-prod .pbanner.pbanner--no-image {
  height: auto;
  align-items: flex-start;
  background-color: transparent;
  padding: calc(var(--header-height) + 48px) 0 48px;
}

.oxid-prod .pbanner--no-image .pbanner-text {
  padding: 0 40px;
}

.oxid-prod .pbanner--no-image .pbanner-text h1 {
  color: var(--navy);
  text-shadow: none;
}

.oxid-prod .pbanner--no-image .pbanner-text .desc {
  color: var(--txt-dim);
}

.oxid-prod .tabbar-sentinel {
  height: 0;
}

.oxid-prod .tabbar {
  position: sticky;
  top: calc(var(--wp-admin-bar-offset, 0px) + var(--header-height));
  /* Below body::after's z-index:9 (the mega-menu dim overlay) so this dims
     with the rest of the page when a nav item is open — same convention as
     .cbd-sidenav. Still above every other in-page layer here (max z-index:3
     on the hero banner text). */
  z-index: 8;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

/* position: sticky silently stops working on mobile browsers whenever an
   ancestor sets overflow to anything but visible — even just overflow-x,
   which body/html both do site-wide to block horizontal scroll bleed.
   That's a deliberate, theme-wide rule we don't want to touch just for
   this one element, so on mobile the sentinel-plus-IntersectionObserver
   script (main.js) toggles this class as a position:fixed replacement
   for the native sticky behavior instead. */
@media (max-width: 900px) {
  .oxid-prod .tabbar.is-stuck {
    position: fixed;
    top: calc(var(--wp-admin-bar-offset, 0px) + var(--header-height));
    left: 0;
    right: 0;
  }
}

.oxid-prod .tabs {
  display: flex;
}

.oxid-prod .tabs a {
  flex: 1;
  text-align: center;
  padding: 16px 10px;
  font-family: 'Archivo';
  font-weight: 600;
  font-size: 14px;
  color: var(--txt-dim);
  text-decoration: none;
  border-bottom: 3px solid transparent;
}

.oxid-prod .tabs a.on {
  color: var(--navy);
  border-bottom-color: var(--accent);
}

.oxid-prod .split {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 54px;
  padding: 54px 0;
}

/* No product photo, so no photo card (single-product.php): the content
   gets the whole row, starting at the left. */
.oxid-prod .split--no-rail {
  grid-template-columns: 1fr;
}

/* ...but its text keeps a readable line length (~70 characters, about
   the column width a product with a photo has) instead of running the
   full ~990px row (user's call, Nov 17 2026). Narrower screens are
   below the cap anyway. */
.oxid-prod .split--no-rail .lead,
.oxid-prod .split--no-rail .feat,
.oxid-prod .split--no-rail .sec-sub {
  max-width: 70ch;
}

.oxid-prod .rail {
  position: sticky;
  top: 150px;
  align-self: start;
}

.oxid-prod .rail .card {
  border: 1px solid var(--line);
  overflow: hidden;
}

.oxid-prod .rail .pic {
  position: relative;
  aspect-ratio: 1 / 1;
  background: linear-gradient(160deg, #dfe8f1, #c3d3e2);
}

.oxid-prod .rail .pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.oxid-prod .rail .btn {
  display: block;
  text-align: center;
  background: var(--navy);
  color: #fff;
  font-family: 'Archivo';
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 14px;
  text-decoration: none;
}

.oxid-prod .rail .btn:hover {
  background: var(--accent);
  color: #fff; /* was var(--ink): dark text on the red hover */
}

.oxid-prod .rail .btn2 {
  display: block;
  text-align: center;
  border-top: 1px solid var(--line);
  color: var(--navy);
  font-family: 'Archivo';
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 13px;
  text-decoration: none;
}

.oxid-prod .rail .btn2:hover {
  background: var(--mist);
}

.oxid-prod .content section {
  padding: 0 0 48px;
  border-bottom: 1px solid var(--mist2);
  margin-bottom: 48px;
}

.oxid-prod .content section:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.oxid-prod .sec-h {
  font-family: 'Archivo';
  font-weight: 800;
  font-size: clamp(22px, 2.2vw, 30px);
  color: var(--navy);
  margin-bottom: 6px;
}

.oxid-prod .sec-sub {
  color: var(--txt-dim);
  font-size: 14.5px;
  margin-bottom: 24px;
}

.oxid-prod .content .lead {
  font-size: 16.5px;
  line-height: 1.72;
  margin-bottom: 22px;
}

/* A lead with more than one paragraph (the arm's Fredrick + Jeff copy). */
.oxid-prod .content .lead p + p {
  margin-top: 14px;
}

.oxid-prod .content #overview {
  padding-bottom: 38px;
  margin-bottom: 38px;
}

.oxid-prod .content #overview .bigspecs {
  margin-bottom: 0;
}

.oxid-prod .bigspecs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 18px;
}

.oxid-prod .bigspecs .bigcard {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 88px;
  padding: 16px 20px;
  background: var(--mist);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  overflow: hidden;
}

/* Restored from the original preview per explicit instruction — the
   client has decided not to abide by the brief's "no hover-reveal spine
   animation" rule for this element, overriding that constraint. Red
   panel grows in from the left edge on hover via scaleX; num/lbl flip
   to white to stay legible against it. */
.oxid-prod .bigspecs .bigcard::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .28s ease-out;
  z-index: 0;
}

.oxid-prod .bigspecs .bigcard:hover::before {
  transform: scaleX(1);
}

.oxid-prod .bigspecs .bigcard:hover {
  border-color: var(--accent);
}

.oxid-prod .bigspecs .bigcard:hover .num {
  color: #fff;
}

.oxid-prod .bigspecs .bigcard:hover .lbl {
  color: rgba(255, 255, 255, .85);
}

.oxid-prod .bigspecs .num {
  position: relative;
  z-index: 1;
  font-family: 'Archivo';
  font-weight: 800;
  font-size: clamp(19px, 1.7vw, 23px);
  letter-spacing: -.01em;
  white-space: nowrap;
  color: var(--ink);
  line-height: 1.0;
  transition: color .28s ease-out;
}

.oxid-prod .bigspecs .lbl {
  position: relative;
  z-index: 1;
  transition: color .28s ease-out;
  margin-top: 7px;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--txt-dim);
  font-weight: 600;
}

.oxid-prod .feat {
  list-style: none;
}

.oxid-prod .feat li {
  position: relative;
  padding: 0 0 13px 22px;
  font-size: 15.5px;
  line-height: 1.55;
}

.oxid-prod .feat li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  background: var(--accent);
}

.oxid-prod .feat-h {
  font-family: 'Archivo';
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 2px 0 14px;
}

.oxid-prod .feat-lead {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--txt);
  margin-bottom: 12px;
  max-width: 70ch;
}

.oxid-prod .feat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 24px;
}

.oxid-prod .feat-card {
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand); /* Oxid blue, not the teal accent */
  background: var(--mist);
  display: flex;
  flex-direction: column;
  transition: border-color .18s, box-shadow .18s;
}

.oxid-prod .feat-card.has-match {
  border-left: 4px solid var(--accent);
  box-shadow: 0 2px 10px rgba(0, 76, 140, .08);
}

.oxid-prod .feat-card.full {
  grid-column: 1 / -1;
}

.oxid-prod .feat-card .feat-head {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 0 24px;
  background: #F8FAFC;
  font-family: 'Archivo';
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--navy);
}

.oxid-prod .feat-card .feat-body {
  border-top: 1px solid var(--line);
  padding: 22px 24px;
  background: #fff;
  flex: 1;
}

.oxid-prod .feat-card .feat-lead {
  margin-bottom: 14px;
}

.oxid-prod .feat-card .feat {
  list-style: none;
}

.oxid-prod .feat-card .feat li:last-child {
  padding-bottom: 0;
}

.oxid-prod .feat-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.oxid-prod .feat-top .sec-sub {
  margin-bottom: 0;
}

.oxid-prod .feat-search {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 1 420px;
}

.oxid-prod .feat-search input {
  flex: 1;
  min-width: 220px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  padding: 12px 14px 12px 40px;
  font-family: 'Spline Sans';
  font-size: 14px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235A6675' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") no-repeat 14px center;
  outline: 0;
  color: var(--ink);
}

.oxid-prod .feat-search input:focus {
  border-color: var(--navy);
  border-left-color: var(--accent);
}

.oxid-prod .feat-search input::placeholder {
  color: var(--txt-dim);
}

/* All widths: "Download Data Sheet" and the "Filter features" box on the
   Features card headers' light grey (#F8FAFC, .feat-head) instead of
   transparent / a hard-coded white; dark mode uses --mist. Only
   background-color, so the search icon stays. */
.oxid-prod .rail .btn2,
.oxid-prod .feat-search input {
  background-color: #F8FAFC;
}

html.dark-mode .oxid-prod .rail .btn2,
html.dark-mode .oxid-prod .feat-search input {
  background-color: var(--mist);
}

.oxid-prod .feat-search-count {
  font-family: 'Archivo';
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--txt-dim);
  white-space: nowrap;
}

.oxid-prod mark.feat-hit {
  background: var(--accent);
  color: #fff;
  padding: 0 2px;
  border-radius: 0;
}

.oxid-prod .content-after {
  margin-left: 0;
  padding-bottom: 8px;
  border-top: 1px solid var(--line-strong);
  padding-top: 48px;
  margin-top: 8px;
}

.oxid-prod .content-after section {
  border-bottom: 0;
  margin-bottom: 0;
  padding: 0;
}

.oxid-prod .reqsec {
  padding: 56px 0;
  border-top: 1px solid var(--mist2);
}

.oxid-prod .cta-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
  align-items: start;
  margin-top: 28px;
}

.oxid-prod .dl-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: start;
}

.oxid-prod .dl {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--ink);
  color: #fff;
  padding: 0 32px;
  text-decoration: none;
  width: 100%;
  box-sizing: border-box;
  height: 118px;
  flex: none;
}

.oxid-prod .dl .ic {
  width: 62px;
  height: 62px;
  background: var(--accent);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Archivo';
  font-weight: 800;
  flex: none;
  font-size: 18px;
}

.oxid-prod .dl .t {
  font-weight: 700;
  font-size: 20px;
}

.oxid-prod .dl .s {
  font-size: 14px;
  opacity: .7;
}

.oxid-prod #specs .sec-sub {
  margin-top: 8px;
  margin-bottom: 6px;
}

/* Tighter frame around Related Products: less space either side of its top
   divider (incl. the Request & Resources section above) and above the footer */
.oxid-prod .reqsec:has(+ .related) {
  padding-bottom: 28px;
}

.oxid-prod .related {
  padding: 28px 0 40px;
  border-top: 1px solid var(--mist2);
}

.oxid-prod .rel-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.oxid-prod .rel-card {
  display: block;
  border: 1px solid var(--line);
  text-decoration: none;
  border-top: 3px solid transparent;
}

.oxid-prod .rel-card:hover {
  border-top-color: var(--accent);
}

.oxid-prod .rel-card .img {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #dfe8f1, #c3d3e2);
  overflow: hidden;
}

.oxid-prod .rel-card .img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.oxid-prod .rel-card .nm {
  font-family: 'Archivo';
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  padding: 13px 15px;
}

/* Last Related Products slot: a text card linking to the series page,
   same frame and hover as the product cards beside it */
.oxid-prod .rel-card--more {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  background: var(--mist);
}

/* Dark mode: the Features box / datasheet tile grey (--mist2, #2E2E30). */
html.dark-mode .oxid-prod .rel-card--more {
  background: var(--mist2);
}

.oxid-prod .rel-card--more .rel-more-label {
  font-family: 'Archivo';
  font-weight: 800;
  font-size: 22px;
  line-height: 1.2;
  color: var(--ink);
}


.oxid-prod .rel-card--more:hover .rel-more-label {
  color: var(--accent);
}

/* Heading row: section title left, a "View … →" link right
   (Request & Resources → Literature Library) */
.oxid-prod .rel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 24px;
}

/* Same treatment as the mega menu's "View series" link: a small red
   uppercase utility link, so it doesn't read as a second heading */
.oxid-prod .rel-more {
  margin-left: auto;
  font-family: 'Archivo';
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}

.oxid-prod .rel-more:hover,
.oxid-prod .rel-more:focus-visible {
  color: var(--ink);
}

@media (min-width: 901px) {
  body.has-news-ticker .oxid-prod {
    padding-top: 0;
  }
}

@media (max-width: 900px) {
  /* Extra clearance under the mobile header specifically for the
     no-hero-image banner — the hamburger/logo row reads visually
     "taller" relative to the page at this width, so the same padding
     that looks fine on desktop reads as cramped here. */
  .oxid-prod .pbanner.pbanner--no-image {
    /* 24px under the header (was a fixed 76px: 14px under the 62px phone
       header, which read cramped). */
    padding-top: calc(var(--wp-admin-bar-offset, 0px) + var(--header-height) + 24px);
    padding-bottom: 20px; /* was 40px; title now sits up under the breadcrumb */
  }

  /* Breadcrumb shortened to a back link to the parent ("‹ Beam
     Diagnostics", "‹ FiberCUT® Series"): only the third-from-last item
     (the parent link) stays. Full trail + BreadcrumbList schema remain. */
  .oxid-prod nav.lm-crumb > :not(:nth-last-child(3)) {
    display: none;
  }

  .oxid-prod nav.lm-crumb > :nth-last-child(3)::before {
    content: "\2039\00a0";
  }

  /* Back link, title and subtitle read as one group: 6px link to title
     (was 2px, too tight), 8px title to subtitle (.desc), then 20px to the
     tabs. */
  .oxid-prod .pbanner-text nav.lm-crumb {
    margin-bottom: 6px;
  }

  /* 18px sides = the page's .wrap gutter, so the back link, title and
     subtitle start on the same edge as the tab bar, photo and body text
     below. Was 34px (lined up with the "Overview" label inside its tab,
     which left the header looking indented from the page; Jake, after
     review). */
  .oxid-prod .pbanner-text,
  .oxid-prod .pbanner--no-image .pbanner-text {
    padding-left: 18px;
    padding-right: 18px;
  }

  /* One line: 50px is the cap; main.js "Product title fit" scales a
     longer name down to the line width (inline font-size), floored at
     26px. Names too long even at the floor get .is-too-long and wrap
     at 34px (the old mobile size). */
  .oxid-prod .pbanner-text h1 {
    font-size: 50px; /* was 34px; 72px tried and was too big */
    line-height: 1;
    white-space: nowrap;
  }

  /* The title formatter puts <wbr> break points inside names
     ("Fiber<wbr>CUT", "2<wbr>D"); Chrome still breaks at them under
     nowrap, so they're switched off while the title is one line. */
  .oxid-prod .pbanner-text h1:not(.is-too-long) wbr {
    display: none;
  }

  .oxid-prod .pbanner-text h1.is-too-long {
    font-size: 34px;
    line-height: 1.05;
    white-space: normal;
    overflow-wrap: break-word; /* one-word names wider than the phone break instead of overflowing */
  }

  .oxid-prod .wrap {
    padding: 0 18px;
  }

  .oxid-prod .tabs {
    overflow-x: auto;
    /* Unhidden native scrollbar was rendering right over the active tab's
       red border-bottom, washing it out to a pale gray-red. Hidden the
       same way every other horizontally-scrollable nav in this theme
       already does (.nav-links, .series-selector__track, .bd-sidenav,
       .cbd-sidenav) — this one was just missed on the initial port. */
    scrollbar-width: none;
  }

  .oxid-prod .tabs::-webkit-scrollbar {
    display: none;
  }

  .oxid-prod .tabs a {
    flex: none;
    padding: 15px 16px;
    white-space: nowrap;
  }

  .oxid-prod .split {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 34px 0;
  }

  .oxid-prod .rail {
    position: static;
  }

  .oxid-prod .bigspecs {
    grid-template-columns: 1fr;
  }

  .oxid-prod .feat-grid {
    grid-template-columns: 1fr;
  }

  .oxid-prod .feat-search {
    flex-basis: 100%;
  }

  .oxid-prod .cta-row {
    grid-template-columns: 1fr;
  }

  .oxid-prod .rel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .oxid-prod .rel-card--more {
    padding: 16px;
  }

  .oxid-prod .rel-card--more .rel-more-label {
    font-size: 17px;
  }

  /* Wrapped under "Request & Resources", the link sits left with the
     heading instead of being pushed to the right edge. */
  .oxid-prod .rel-more {
    margin-left: 0;
  }
}

/* PRODUCT HEADER, PHONES (Jake's handoff, oxid-mobile-product-header-
   handoff.md). 560px is the theme's phone breakpoint (the handoff asks
   for 600px or under; 560 is the nearest existing query, and nothing
   above 600px changes). Spacing and type size only:
   - 24px sides; 24px under the site header (the 900px block above);
   - back link 12px to the title, title 12px to the subtitle, subtitle
     28px to the tabs;
   - the title wraps onto balanced lines at clamp(2rem, 8vw, 2.5rem)
     instead of being squeezed onto one line (main.js "Product title
     fit" stands down at this width);
   - tabs: no side padding, 24px apart, labels on the same 24px edge as
     the header (6px + the 18px .wrap gutter), 48px of room at the end so
     the last tab scrolls fully clear of the 42px "»" fade (the handoff's 32px left it 10px under the fade). Underline and colours
     unchanged. */
@media (max-width: 560px) {
  .oxid-prod .pbanner.pbanner--no-image {
    padding-bottom: 28px;
  }

  .oxid-prod .pbanner-text,
  .oxid-prod .pbanner--no-image .pbanner-text {
    padding-left: 24px;
    padding-right: 24px;
  }

  .oxid-prod .pbanner-text nav.lm-crumb {
    margin-bottom: 12px;
  }

  .oxid-prod .pbanner-text h1,
  .oxid-prod .pbanner-text h1.is-too-long {
    margin: 0 0 12px;
    font-size: clamp(2rem, 8vw, 2.5rem);
    line-height: 1.05;
    letter-spacing: -0.01em;
    white-space: normal;
    text-wrap: balance;
  }

  .oxid-prod .pbanner-text .desc,
  .oxid-prod .pbanner--no-image .pbanner-text .desc {
    margin: 0;
  }

  .oxid-prod .tabs {
    gap: 24px;
    padding-left: 6px;
    padding-right: 48px;
  }

  .oxid-prod .tabs a {
    padding-left: 0;
    padding-right: 0;
  }
}

/* ── Oxid re-skin (oxid_product_arm_v2_5_10.html) ─────────────────────
   The rules above are the Laser Mech build of the same demo; these bring
   back the demo's own choices where LM had moved away from it. Teal is a
   light accent, so anything that sits ON it takes dark ink, not white. */
.oxid-prod #applications {
  scroll-margin-top: 150px;
}

/* Overview key points: the demo's diamond bullets (the Features cards
   keep their square ones). */
.oxid-prod #overview .feat {
  margin-bottom: 4px;
}

.oxid-prod #overview .feat li::before {
  transform: rotate(45deg);
}

/* Stat cards: hover fills Oxid blue, as in the demo (LM filled red). */
.oxid-prod .bigspecs .bigcard::before {
  background: var(--brand);
}

.oxid-prod .bigspecs .bigcard:hover {
  border-color: var(--brand);
}

/* Spec cards: always open, two across. */
.oxid-prod .spec-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.oxid-prod .spec-cards--single {
  grid-template-columns: 1fr;
}

.oxid-prod .scard {
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  padding: 24px;
}

.oxid-prod .scard h3 {
  font-family: 'Archivo';
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 14px;
}

.oxid-prod .scard-rows {
  width: 100%;
  border-collapse: collapse;
}

.oxid-prod .scard .r {
  position: relative;
  transition: background .15s;
}

.oxid-prod .scard .r th,
.oxid-prod .scard .r td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--mist2);
  font-size: 14px;
  vertical-align: top;
}

.oxid-prod .scard .r:last-child th,
.oxid-prod .scard .r:last-child td {
  border-bottom: 0;
}

.oxid-prod .scard .k {
  position: relative;
  text-align: left;
  font-weight: 400;
  color: var(--txt-dim);
  transition: color .15s;
}

.oxid-prod .scard .v {
  text-align: right;
  font-weight: 600;
  color: var(--ink);
}

/* Accent bar grows in on row hover — the demo's reveal, kept (the client
   overrode the no-reveal rule for this family of hovers). */
.oxid-prod .scard .k::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
  transform: scaleY(0);
  transition: transform .15s;
}

.oxid-prod .scard .r:hover {
  background: var(--mist);
}

.oxid-prod .scard .r:hover .k {
  color: var(--navy);
}

.oxid-prod .scard .r:hover .k::before {
  transform: scaleY(1);
}

/* Applications sits under the split like Features (.content-after). */
.oxid-prod .apps-body {
  color: var(--txt-dim);
  font-size: 16px;
  line-height: 1.7;
}

.oxid-prod .apps-body p + p {
  margin-top: 12px;
}

/* Buttons: blue at rest, teal with dark ink on hover. */
.oxid-prod .rail .btn {
  background: var(--brand);
}

.oxid-prod .rail .btn:hover {
  background: var(--accent);
  color: #0B1118;
}

.oxid-prod .feat-card.has-match {
  box-shadow: 0 2px 10px rgba(57, 192, 200, .14);
}

/* Filter highlights sit on teal: dark ink, not white. */
.oxid-prod mark.feat-hit {
  color: #0B1118;
}

/* Request Information: the demo's always-open card (no Request a Quote
   toggle), wider than the download tiles (.cta-row, 1.3 : 1). Its fields
   are the shared Fluent Forms styling (SHARED: CONTACT FORM). */
.oxid-prod .req-card {
  background: var(--mist);
  border: 1px solid var(--line);
  padding: 28px;
}

.oxid-prod .req-card h3 {
  font-family: 'Archivo';
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 16px;
}

.oxid-prod .req-card .frm-fluent-form .ff-el-form-control {
  background: var(--paper);
}

/* --accent is teal on this page, too light for white text: blue at rest,
   teal with dark ink on hover, as in the demo's .submit. */
.oxid-prod .req-card .frm-fluent-form .ff-btn-submit {
  background: var(--brand) !important;
  color: #fff;
}

.oxid-prod .req-card .frm-fluent-form .ff-btn-submit:hover {
  background: var(--accent) !important;
  color: #0B1118;
}

html.dark-mode .oxid-prod .req-card {
  background: var(--mist2);
}

html.dark-mode .oxid-prod .rail .btn {
  background: var(--brand);
  color: #fff;
}

html.dark-mode .oxid-prod .rail .btn:hover {
  background: var(--accent);
  color: #0B1118;
}

html.dark-mode .oxid-prod .scard {
  border-top-color: var(--accent);
}

@media (max-width: 900px) {
  .oxid-prod .spec-cards {
    grid-template-columns: 1fr;
  }

  .oxid-prod .req-card {
    padding: 22px 20px;
  }
}

/* PRODUCT PAGE SPACING STANDARD, all screen sizes (user's call, Nov 16-17
   2026; phones first, then desktop too). Every vertical gap between
   sections comes from these values, all on an 8px grid; change one here
   and it changes everywhere. Desktop uses the same rules with a roomier
   step (--prod-head-space 40px); phones use 24px:

     --prod-head-space  24px  gray line -> section heading AND heading ->
                              the next element (text, form, gallery, cards),
                              so every heading sits centred between the two
                              (user's call, Nov 17 2026). The image/buttons
                              card -> Overview heading uses it too.
     --prod-rule-gap    = --prod-head-space: last content of a section ->
                              its closing gray line. The same 24px as at the
                              top, so everything between two lines sits
                              centred between them (user's call, Nov 17
                              2026; was 8px, "a few pixels under the text").
     --prod-sub-gap      8px  heading -> its own sub-line (Specs, Features),
                              which goes with the heading; the sub-line ->
                              next element is then the 24px
     --prod-top-gap     32px  tab bar -> image/buttons card
     --prod-rule-color        every section line, one gray

   The lines: a section's own border-bottom inside .content (Overview over
   Specs), the top border of .content-after (Applications, Features), and
   a line drawn inside the page margins at the top of .reqsec (Request &
   Resources) and .related (Related Products), which used to run edge to
   edge. Kept last in the product CSS so it wins over the spacing above,
   including the #overview rule (an id, which otherwise beats :last-child).
   The photo card / tab bar rules at the end stay phones-only. */
.oxid-prod {
  --prod-head-space: 40px;
  --prod-rule-gap: var(--prod-head-space);
  --prod-sub-gap: 8px;
  --prod-top-gap: 32px;
  --prod-rule-color: var(--line-strong);
}
@media (max-width: 900px) {
  .oxid-prod { --prod-head-space: 24px; }
}

  /* Nothing trails the last block of a section. */
  .oxid-prod .content section > :last-child,
  .oxid-prod .content-after section > :last-child { margin-bottom: 0; }

  /* Heading -> next element, the same as line -> heading. Request &
     Resources and Related used to add their own 28px / 24px on top of the
     heading's margin. A sub-line stays close to its heading (its negative
     top margin collapses with the heading's 24px down to --prod-sub-gap);
     its own 24px bottom margin (.sec-sub) then spaces the next element. */
  .oxid-prod .sec-h { margin-bottom: var(--prod-head-space); }
  .oxid-prod .sec-h + .sec-sub,
  .oxid-prod #specs .sec-h + .sec-sub {
    margin-top: calc(var(--prod-sub-gap) - var(--prod-head-space));
    margin-bottom: var(--prod-head-space);
  }
  /* Specifications is tighter (user's call, Nov 17 2026): half the heading
     space from the line above to its heading, and from its sub-line to the
     stat cards. The negative top margin collapses with #overview's bottom
     margin (the full space) down to half. */
  .oxid-prod .content #specs { margin-top: calc(var(--prod-head-space) / -2); }
  .oxid-prod #specs .sec-h { margin-bottom: calc(var(--prod-head-space) / 2); }
  .oxid-prod #specs .sec-h + .sec-sub {
    margin-top: calc(var(--prod-sub-gap) - var(--prod-head-space) / 2);
    margin-bottom: calc(var(--prod-head-space) / 2);
  }
  /* Features: heading + sub-line sit in a wrapping flex row with the
     search box, whose row gap is the 24px instead. */
  .oxid-prod .feat-top { gap: var(--prod-head-space); }
  .oxid-prod .feat-top .sec-h + .sec-sub { margin-bottom: 0; }
  /* ...and the feature cards start one heading space under that row (on
     desktop the search box sits beside the heading, so the cards are the
     next element). */
  .oxid-prod .feat-grid { margin-top: var(--prod-head-space); }
  .oxid-prod .reqsec .cta-row,
  .oxid-prod .related .rel-grid { margin-top: 0; }

  /* Body text's tall line spacing (1.72 / 1.7) leaves ~4px of empty
     space above its first line and below its last, so the same gap read
     ~4px bigger under a heading or over a line than it does around a box.
     Trimmed by half the extra leading, so 24px looks the same
     whether the neighbour is text or a card. */
  .oxid-prod .content .lead { margin-top: calc((1.2em - 1.72em) / 2); }
  .oxid-prod .apps-body { margin-top: calc((1.2em - 1.7em) / 2); }
  .oxid-prod .content section > .lead:last-child { margin-bottom: calc((1.2em - 1.72em) / 2); }
  .oxid-prod .content-after section > .apps-body:last-child { margin-bottom: calc((1.2em - 1.7em) / 2); }

  /* Last content in the split -> the next block's line. */
  .oxid-prod .split { padding-bottom: var(--prod-rule-gap); }

  /* A section with a line of its own (Overview over Specs): the gap, the
     line, then the heading space. */
  .oxid-prod .content section,
  .oxid-prod .content #overview {
    padding-bottom: var(--prod-rule-gap);
    margin-bottom: var(--prod-head-space);
    border-bottom-color: var(--prod-rule-color);
  }

  /* The last section in the split has no line of its own; the gap comes
     from the split, then the next block's top line. */
  .oxid-prod .content section:last-child,
  .oxid-prod .content #overview:last-child { padding-bottom: 0; margin-bottom: 0; }

  /* Applications / Features: line, heading space, heading ... gap. */
  .oxid-prod .content-after {
    margin-top: 0;
    padding-top: var(--prod-head-space);
    padding-bottom: var(--prod-rule-gap);
    border-top-color: var(--prod-rule-color);
  }

  /* Request & Resources, Related Products: the line moves from the
     full-width section to its .wrap, so it stops at the page margins like
     the others. */
  .oxid-prod .reqsec,
  .oxid-prod .related { border-top: 0; padding-top: 0; }
  .oxid-prod .reqsec > .wrap::before,
  .oxid-prod .related > .wrap::before {
    content: "";
    display: block;
    border-top: 1px solid var(--prod-rule-color);
    margin-bottom: var(--prod-head-space);
  }
  /* Request & Resources -> the Related line, when Related follows; with no
     Related section it keeps its usual space above the footer. */
  .oxid-prod .reqsec:has(+ .related) { padding-bottom: var(--prod-rule-gap); }

/* Phones only: the photo card stacks above the content, and the tab bar. */
@media (max-width: 900px) {
  /* Tab bar -> image card, and image card -> Overview heading. */
  .oxid-prod .split {
    gap: var(--prod-head-space);
    padding-top: var(--prod-top-gap);
  }
  /* No photo card: the first heading follows the tab bar's line, so it
     gets the heading space like any heading under a line. */
  .oxid-prod .split--no-rail { padding-top: var(--prod-head-space); }

  /* Tab bar with four tabs or fewer (single-product.php adds
     .nav-expand--fits; user's call, Nov 17 2026): they fit across a
     360px phone, so no "show all sections" arrow, and no right-hand
     room kept for it. Five or more keep the arrow. */
  .oxid-prod .nav-expand--fits .nav-expand__fade-btn { display: none; }
  .oxid-prod .nav-expand--fits .tabs { padding-right: 0; }
  /* Exactly four tabs (.nav-expand--center) are centred in the row; three
     stay left-aligned (user's call, Nov 17 2026). Auto margins, not
     justify-content: center, so a row that ever overflows (a very narrow
     phone) still scrolls from its first tab instead of clipping it. */
  .oxid-prod .nav-expand--center .tabs { padding-left: 0; }
  .oxid-prod .nav-expand--center .tabs > a:first-child { margin-left: auto; }
  .oxid-prod .nav-expand--center .tabs > a:last-child { margin-right: auto; }
}

/* ============================================================
   END PRODUCT PAGE
   ============================================================ */

/* ============================================================
   SHARED: SCROLLABLE TAB NAV W/ EXPAND
   Mobile-only nav-overflow affordance for a horizontally-scrolling
   tab/link row. Used by single-product.php's .tabbar (Overview/Specs/
   Features/Downloads/Contact) and page-product-series.php's
   .series-sidenav row (per sticky-nav-component-brief.md — visual
   reference: sticky-nav-hide-row.html). Built once and shared: these
   rules are deliberately page-agnostic, relying only on --accent/--ink/
   --txt-dim/--line/--mist/--page, which .oxid-prod and .series-page
   each already define locally (light AND dark-mode values), so this
   one block works correctly in both contexts and both themes without
   duplication. See inc/product-helpers.php's
   lm_proto_render_nav_expand_controls() / lm_proto_render_nav_expand_panel()
   for the PHP side, and main.js for the shared click/toggle behavior.

   Pure addition, not a modification: the existing row keeps its own
   classes, scroll behavior, font-size, and padding completely untouched
   (a prior attempt to shrink the row's own font-size broke the desktop
   layout and had to be reverted) — this only adds a fade+chevron toggle
   button and a same-list expand panel as new siblings around it, all
   selectors below scoped to new .nav-expand* classes so nothing here
   can affect the row's own existing rules.
   Append-only. No existing rules above this line are modified.
   ============================================================ */
.nav-expand {
  position: relative;
}

.nav-expand__viewbar {
  display: none;
  align-items: center;
  padding: 13px 14px;
}

.nav-expand__viewbar-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--txt-dim);
}

.nav-expand__fade-btn {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 42px;
  align-items: center;
  justify-content: flex-end;
  padding-right: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-expand:not(.is-open) .nav-expand__fade-btn {
  background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, .85) 55%, rgba(255, 255, 255, 1));
}

html.dark-mode .nav-expand:not(.is-open) .nav-expand__fade-btn {
  background: linear-gradient(to right, rgba(11, 17, 24, 0), rgba(11, 17, 24, .85) 55%, rgba(11, 17, 24, 1));
}

.nav-expand__chev {
  display: flex;
  transition: transform .2s ease;
}

.nav-expand__chev svg {
  width: 10px;
  height: 10px;
  opacity: .6;
  color: var(--ink);
}

.nav-expand__chev svg:last-child {
  margin-left: -6.5px;
  opacity: .9;
}

.nav-expand__fade-btn.is-open .nav-expand__chev {
  transform: rotate(90deg);
}

/* On-load-only affordance blink — no hover trigger, no repeat (standing
   site rule: no hover-triggered reveal animations). Purely CSS: the
   iteration-count of 3 (not infinite) means it just stops on its own
   after playing 3 times — no JS needed to remove the class. */
.nav-expand__fade-btn--blink .nav-expand__chev {
  animation: navExpandBlink .7s ease-in-out .6s 3;
}

@keyframes navExpandBlink {
  0%, 100% {
    opacity: 1;
  }

  50% {
    opacity: .15;
  }
}

.nav-expand__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
  border-top: 1px solid transparent;
}

.nav-expand__panel.is-open {
  max-height: 200px;
  border-top-color: var(--line);
}

.nav-expand__panel ul {
  list-style: none;
  margin: 0;
  padding: 8px 14px 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.nav-expand__panel li {
  padding: 11px 10px 11px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  line-height: 1.3;
  cursor: pointer;
  border-bottom: 1px solid var(--line);
}

.nav-expand__panel li:nth-child(odd) {
  padding-right: 14px;
}

.nav-expand__panel li:nth-child(even) {
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

/* Current item: color only, same weight as every other item — tried
   bold and rejected per the component brief. */
.nav-expand__panel li.is-current {
  color: var(--accent);
  font-weight: 600;
}

.nav-expand__panel li.nav-expand__filler {
  color: transparent;
  cursor: default;
  pointer-events: none;
  background: var(--mist);
}

@media (max-width: 900px) {
  /* !important: each host page already has its OWN mobile rule giving
     its row a display value (.oxid-prod .tabs{display:flex},
     .series-sidenav .nav-expand__row{display:flex}), and those are
     necessarily written with a page-scoped selector (e.g.
     body.page-template-page-product-series .series-sidenav
     .nav-expand__row) that out-specifies this shared, page-agnostic
     toggle rule. This is a deliberate, narrowly-scoped state override
     (open vs. closed), not a specificity workaround for something that
     should be refactored — the alternative would be re-deriving every
     host page's own selector prefix here, which is exactly the
     per-template duplication this component exists to avoid. */
  .nav-expand.is-open .nav-expand__row {
    display: none !important;
  }

  .nav-expand.is-open .nav-expand__viewbar {
    display: flex;
  }

  .nav-expand__fade-btn {
    display: flex;
  }
}

/* ============================================================
   END SHARED: SCROLLABLE TAB NAV W/ EXPAND
   ============================================================ */

/* ============================================================
   SHARED: CONTACT FORM
   Built 2026-09-12, rebuilt same day (second pass) to restyle Fluent
   Forms' own generated markup instead of a hand-coded <form> — see
   inc/contact-form.php's docblock for why. Targets Fluent Forms' real,
   confirmed-live class names (.frm-fluent-form / .ff-el-group /
   .ff-el-input--label / .ff-el-input--content / .ff-el-form-control /
   .ff-btn-submit), all scoped under the one form's own wrapper class so
   nothing here touches Fluent Forms' admin-side styling or any other
   form that might get built later. Page-agnostic on purpose (same
   component, four very different hosts) — relies ONLY on custom
   properties every host already defines with matching values/names:
   --accent, --navy, --ink, --txt, --txt-dim, --muted, --line, --mist,
   --link. .oxid-prod didn't previously define --muted/--link; both were
   added to it (and its dark-mode override) above, copied from
   .cbd-page/.series-page.

   Layout: every field defaults to full-width; a field only becomes a
   half-width column by carrying Fluent Forms' own per-field
   "container_class: lm-cf-half" setting (set in the field's own admin
   settings, or baked in when the field was created — see the 2026-09-14
   request-form rebuild, which pairs First/Last Name, Company/Title,
   Country/City, and State/Zip this way). Deliberately NOT nth-of-type-
   based (an earlier version was — see prior git history — and broke
   silently the moment fields were added/reordered for that rebuild).
   Append-only. No existing rules above this line are modified.
   ============================================================ */
.frm-fluent-form fieldset {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}

/* .fluentform prefix: Fluent Forms' own .fluentform .ff-el-group
   { margin-bottom: 20px } has the same weight and loads after main.css,
   which stacked 20px on top of the fieldset's 14px gap. */
.fluentform .frm-fluent-form .ff-el-group {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.frm-fluent-form .ff-el-group.lm-cf-half {
  grid-column: span 1;
}

.frm-fluent-form .ff-el-input--label {
  margin-bottom: 5px;
}

.frm-fluent-form .ff-el-input--label label {
  font-family: 'Spline Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--txt-dim);
}

.frm-fluent-form .ff-el-is-required .ff-el-input--label label:after {
  color: var(--accent);
}

.frm-fluent-form .ff-el-form-control {
  /* -webkit-appearance/appearance: none + !important on border-radius —
     some browsers (Safari especially) render native <select>/<input>
     controls with their own rounded corners regardless of border-radius:0
     unless the native appearance is fully reset. This theme never uses
     rounded corners on any text box, so this needs to be bulletproof
     cross-browser, not just correct in Chromium. */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: 1px solid var(--line);
  border-radius: 0 !important;
  padding: 10px 12px;
  font-family: 'Spline Sans', sans-serif;
  font-size: 14px;
  background: #fff;
  color: var(--txt);
  box-shadow: none;
}

.frm-fluent-form select.ff-el-form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='M1 1l7 7 7-7' fill='none' stroke='%235A6675' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
  padding-right: 36px;
}

.frm-fluent-form textarea.ff-el-form-control {
  resize: vertical;
  min-height: 100px;
}

.frm-fluent-form .ff-el-form-control:focus {
  border-color: var(--navy);
  box-shadow: none;
  outline: 0;
}

/* #3A3A3C (the dark --card grey): lighter than the --mist panels
   (#242426) and the --rail-bg cards (#2E2E30), so the fields read as
   fields on the black page. */
html.dark-mode .frm-fluent-form .ff-el-form-control {
  background: #3A3A3C;
  color: var(--txt);
  border-color: var(--line);
}

.frm-fluent-form .ff_submit_btn_wrapper {
  margin-top: 4px;
}

.frm-fluent-form .ff-btn-submit {
  /* --accent, not --navy/--ink: those two are NOT reliably "stays dark in
     dark mode" across all four hosts this component lives on — cbd-page
     pins --ink dark on purpose (see its dark-mode comment above) but
     oxid-prod/series-page both flip --ink AND --navy to near-white in
     dark mode, which left an earlier hand-coded version of this button's
     white text illegible there (confirmed live, before this rebuild).
     --accent is the one token every host explicitly leaves unflipped
     (white text holds on it in both modes), so it's the only safe universal
     choice. Set the Oxid Fluent Form's own button colour to match. */
  background: var(--accent) !important;
  border-radius: 0 !important;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 13px 28px;
}

.frm-fluent-form .ff-btn-submit:hover {
  background: var(--oxid-blue-dark) !important;
}

.frm-fluent-form .ff-el-form-control-error {
  border-color: var(--accent);
}

/* Export-compliance checkbox (added 2026-09-14) — its own top label is
   hidden via Fluent Forms' "Hide Label" setting (the checkbox's own
   sentence, in the .ff-el-form-check-label span below, already says
   everything the label would), so only the checkbox+sentence row needs
   styling here. */
.frm-fluent-form .ff-el-form-hide_label > .ff-el-input--label {
  display: none;
}

.frm-fluent-form .ff-el-form-check-label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  cursor: pointer;
}

.frm-fluent-form .ff-el-form-check-input {
  margin-top: 3px;
  width: 15px;
  height: 15px;
  accent-color: var(--accent);
  flex: none;
}

.frm-fluent-form .ff-el-form-check-label span {
  font-family: 'Spline Sans', sans-serif;
  font-size: 12.5px;
  color: var(--txt-dim);
  line-height: 1.45;
}

@media (max-width: 560px) {
  .frm-fluent-form fieldset {
    grid-template-columns: 1fr;
  }
}

/* ---------- Contact page (page-contact.php) ---------- */
/* Allow page to scroll (overrides global overflow:hidden) — same pattern
   as .page-template-page-product-directory above: body{overflow:hidden}
   is a one-screen homepage rule, so every interior page template must
   opt back in. Missed this when the template was first built. */
body.page-template-page-contact {
  overflow-x: hidden;
  overflow-y: auto;
}

.contact-page {
  --accent: var(--oxid-blue);
  --navy: #191D22;
  --ink: #0B1118;
  --txt: #2B3640;
  --txt-dim: #5A6675;
  --muted: #777D86;
  --line: #D3DBE2;
  --mist: #ECEFF3;
  --link: #288DE2;
  padding-top: calc(var(--wp-admin-bar-offset, 0px) + var(--header-height));
  font-family: 'Spline Sans', 'Helvetica Neue', Arial, sans-serif;
  color: var(--txt);
}

html.dark-mode .contact-page {
  /* Neutral gray (not blue-leaning slate) — same palette as every other
     page's dark-mode block, see .oxid-lit's for the original tuning. */
  --navy: #FAFAF9;
  --txt: #DEDEDC;
  --txt-dim: #B8B8BC;
  --muted: #8C8C90;
  --line: #4A4A4D;
  --mist: #242426;
}

/* .contact-hero is now the full-bleed image container (2026-09-15, hero
   image option added) — the 800px/40px alignment-with-the-form-panel
   constraint (2026-09-14) moved onto .contact-hero__text alone, so an
   edge-to-edge photo can sit behind it without being boxed in. */
.contact-hero {
  position: relative;
  text-align: left;
}

.contact-hero__text {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 56px 40px 20px;
}

.contact-hero__kicker {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.contact-hero__kicker::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 2px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: 10px;
}

.contact-page .contact-hero h1 {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.05;
  margin: 0;
  color: var(--navy);
}

.contact-hero__sub {
  margin: 14px 0 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--txt-dim);
}

/* Hero image variant — same treatment as .oxid-prod's .pbanner (dark
   photo, bottom-anchored text, gradient scrim, white text): height,
   filter, and gradient values copied from there for visual consistency.
   Default (no image, or "Show Hero Image" off) is the plain text-only
   hero styled above — this only applies when contact_hero_image is set
   AND show_hero_image isn't explicitly turned off. */
/* min-height, not height: the Contact page's intro paragraph runs several
   lines longer than a product tagline (what .pbanner's own fixed height
   was sized around) — on narrow viewports it's taller than a clamped
   fixed height, and since the text is bottom-anchored via flex, it was
   overflowing upward past the image, behind the fixed header. min-height
   lets the box grow to fit instead of clipping. */
.contact-hero--has-image {
  min-height: clamp(280px, 26vw, 420px);
  display: flex;
  align-items: flex-end;
  background-color: #0B1118;
}

.contact-hero--has-image .contact-hero__text {
  padding-top: 0;
  padding-bottom: 36px;
}

/* Both the "lm" and "rps" media layers sit stacked at inset:0 — whichever
   is .is-active shows at opacity:1, the other at 0, so switching which
   one carries .is-active (main.js's tab click handler) crossfades between
   them rather than jump-cutting. Same trick works for a single image too
   (just fades in on first paint instead of being instantly opaque). */
.contact-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  filter: contrast(1.03) brightness(.94);
  opacity: 0;
  /* 1.4s + ease-in-out (slow at both ends, not just decelerating into
     rest) reads as a deliberate, gentle dissolve rather than a quick
     opacity swap — slowed down and smoothed out per 2026-09-15 feedback
     on the original .6s ease, then nudged slower again to 1.9s. */
  transition: opacity 1.9s ease-in-out;
}

.contact-hero__media.is-active {
  opacity: 1;
}
/* Focal point and phone zoom come in as custom properties from
   page-contact.php (--pos, --pos-m, --zoom-m; Nov 2026), so phones can
   take their own position and zoom without fighting an inline style.
   The zoom scales the photo's height: phones' tall banner sizes a wide
   photo by its height, so "auto N%" is that size zoomed by N. */
.contact-hero__media {
  background-position: var(--pos, center);
}
@media (max-width: 640px) {
  .contact-hero__media {
    background-position: var(--pos-m, var(--pos, center));
  }
  .contact-hero:not(.contact-hero--fit-contain) .contact-hero__media--zoom-m {
    background-size: auto calc(var(--zoom-m) * 1%);
  }
}

/* "Fit" mode (contact_hero_image_fit = contain) — shows the whole photo
   instead of cropping the sides to fill the hero's very wide/short shape.
   background-color fills the resulting letterbox bars; it's the same
   #0B1118 ink the scrim/no-image states already use, so the bars read as
   an intentional dark frame rather than a blank gap. */
.contact-hero--fit-contain .contact-hero__media {
  background-size: contain;
  background-repeat: no-repeat;
  background-color: #0B1118;
}

/* Flat ink scrim (same technique as .cbd-hero__scrim), not a gradient —
   a single opacity is what the "dimmer" fields actually control, and a
   gradient bakes its own alpha falloff into each stop, fighting a single
   opacity multiplier on top of it. --grade-opacity-desktop/-mobile are
   written inline per-page (page-contact.php) from the two ACF dimmer
   fields; the media query below picks which one applies. */
.contact-hero__grade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #0B1118;
  opacity: var(--grade-opacity-desktop, .55);
}

@media (max-width: 640px) {
  .contact-hero__grade {
    opacity: var(--grade-opacity-mobile, .55);
  }
}

.contact-page .contact-hero.contact-hero--has-image h1 {
  color: #fff;
  text-shadow: 0 2px 22px rgba(10, 20, 40, .55);
}

.contact-hero--has-image .contact-hero__kicker {
  color: var(--accent);
}

/* "Dark text" option (contact_hero_text_tone, Nov 2026), for bright
   photos: navy text, and the dimmer becomes a white wash, solid behind
   the text on the left and fading out by three-quarters across so the
   photo's subject stays crisp. Phones: an even wash, since the text runs
   the full width there. */
.contact-page .contact-hero.contact-hero--dark-text h1 {
  color: var(--navy);
  text-shadow: none;
}
.contact-page .contact-hero--dark-text .contact-hero__sub {
  color: #2B3540;
}
.contact-hero--dark-text .contact-hero__grade {
  background: linear-gradient(90deg, #fff 0%, #fff 30%, rgba(255,255,255,0) 75%);
}
@media (max-width: 640px) {
  .contact-hero--dark-text .contact-hero__grade {
    background: #fff;
  }
}
.contact-hero--has-image:not(.contact-hero--dark-text) .contact-hero__sub {
  color: rgba(255, 255, 255, .86);
}

/* Phones (Nov 2026, user's call): the same muted blue cast as the other
   pages' phone heroes (facility.css .oxf-hero__* / contract-manufacturing
   .oxcm-hero__photo): grayscale photo, slate darkening with a faint blue
   wash, then a brand-blue color-blend layer. Both blue layers follow the
   page's "Blue Tint — Phones" slider (--hero-tint, inc/hero-tint.php; the
   wash is a sixth of it, as on those pages). The darkening is still the
   mobile dimmer field's opacity (set it to 72 to match those pages). The
   tint is on .contact-hero itself, not inside the grade, because the
   grade's opacity would isolate a blend layer from the photo. Light-text
   photos only; the dark-text option keeps its white wash. */
@media (max-width: 640px) {
  .contact-hero--has-image:not(.contact-hero--dark-text) .contact-hero__media {
    filter: grayscale(100%) contrast(1.03) brightness(.94);
  }
  .contact-hero--has-image:not(.contact-hero--dark-text) .contact-hero__grade {
    background: linear-gradient(rgba(var(--hero-tint-rgb), calc(var(--hero-tint, .08) / 6)), rgba(var(--hero-tint-rgb), calc(var(--hero-tint, .08) / 6))), rgb(22,30,40);
  }
  .contact-hero--has-image:not(.contact-hero--dark-text)::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: rgba(var(--hero-tint-rgb), var(--hero-tint, .08));
    mix-blend-mode: color;
  }
}

.contact-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 24px 40px 90px;
}

/* White card with a plain 1px outline — the same #D5D9E0 as the tab row's
   rule above it. (Had a 3px red left accent, .rfq-card's pattern, until
   the 2026-10-14 underline-tab restyle; removed by request.) Forced #fff
   rather than the token-based var(--mist) used before, per 2026-09-14
   direction — but that alone would put dark-mode's light-colored label
   text on a white background and go illegible, so dark mode keeps
   var(--mist) as its card surface and the page's dark --line outline. */
.contact-body .frm-fluent-form {
  background: #fff;
  border: 1px solid #D5D9E0;
  padding: 36px;
}

html.dark-mode .contact-body .frm-fluent-form {
  background: var(--mist);
  border-color: var(--line);
}

/* Upsized field styling — Contact page ONLY (2026-09-14 request was
   specifically about this page, not the shared component used on
   CBD/product/series pages, which keep their original sizing above). */
.contact-body .frm-fluent-form fieldset {
  gap: 20px 22px;
}

.contact-body .frm-fluent-form .ff-el-input--label {
  margin-bottom: 7px;
}

.contact-body .frm-fluent-form .ff-el-input--label label {
  font-size: 13.5px;
}

/* Soft gray, not pure white ("blinding" per feedback), then deepened
   further ("more gray in the unfilled fields"). Text color is a
   hardcoded dark value rather than var(--txt)/var(--navy), since both
   flip to light colors in dark mode on this page. Dark mode (2026-10-14)
   no longer keeps this light field: it uses the same #3A3A3C as the
   shared form's dark fields, lighter than the #242426 panel. */
.contact-body .frm-fluent-form .ff-el-form-control {
  padding: 14px 16px;
  font-size: 15.5px;
  background: #E8EDF2;
  color: #2B3640;
}

html.dark-mode .contact-body .frm-fluent-form .ff-el-form-control {
  background: #3A3A3C;
  color: var(--txt);
  border-color: var(--line);
}

/* var(--navy) (the shared component's focus color) goes light in dark
   mode on this page, which would nearly vanish against this light-gray
   field — --accent doesn't flip anywhere, so it stays visible in both. */
.contact-body .frm-fluent-form .ff-el-form-control:focus {
  border-color: var(--accent);
}

.contact-body .frm-fluent-form textarea.ff-el-form-control {
  min-height: 130px;
}

.contact-body .frm-fluent-form .ff-btn-submit {
  font-size: 14.5px;
  padding: 16px 34px;
}

.contact-body .frm-fluent-form .ff-el-form-check-input {
  width: 18px;
  height: 18px;
}

.contact-body .frm-fluent-form .ff-el-form-check-label span {
  font-size: 13.5px;
  line-height: 1.5;
}

/* Laser Mech / RPS tab toggle (page-contact.php only) — see main.js's
   "SHARED: CONTACT FORM TABS" for the click handler. Only the active
   .contact-panel's .frm-fluent-form shows at a time; both forms are
   always in the DOM (simplest way to keep Fluent Forms' own JS/CSS,
   which is per-shortcode-instance, working correctly for whichever one
   the visitor picks). */
/* Underline tabs (2026-10-14 restyle, replacing the boxed filled-segment
   switch): one left-aligned row on a 1px rule, the active tab's 4px red
   underline sitting over that rule (margin-bottom:-1px). Every tab keeps a
   4px bottom border (transparent when inactive) so switching never shifts
   the layout. All rules scoped under .contact-tabs. Keyboard: arrow keys /
   Home / End in main.js's CONTACT FORM TABS. */
/* Section heading for the tabs, in the page's heading face (Archivo, as
   the h1 and the tabs) — at 17px Spline Sans it read barely bigger than
   the 15px tab labels. 20px under 640px (media query below). */
.contact-tabs-intro {
  margin: 0 0 16px;
  text-align: left;
  font-family: 'Archivo', sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
}

/* Folder tabs (replacing the free-floating underline row): the row sits
   directly on the form card, and the active tab shares the card's white
   background and #D5D9E0 outline, with a 3px red top edge. It overlaps the
   card by 1px (margin-bottom:-1px, painted above it via z-index) so its
   background covers the card's top border and the two read as one sheet.
   Every tab keeps the same borders (transparent when inactive) so
   switching never shifts the layout. */
.contact-tabs {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.contact-tabs .contact-tab {
  flex: 0 0 auto;
  margin: 0 0 -1px;
  padding: 15px 26px 16px;
  border: 1px solid transparent;
  border-top: 3px solid transparent;
  border-bottom: 0;
  border-radius: 0;
  background: transparent;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #5B6270;
  cursor: pointer;
  transition: color .15s, background .15s;
}

.contact-tabs .contact-tab:hover:not(.is-active) {
  color: #14181F;
  background: #EEF1F4;
}

.contact-tabs .contact-tab.is-active {
  color: #14181F;
  background: #fff;
  border-color: #D5D9E0;
  border-top-color: var(--oxid-blue);
}

.contact-tabs .contact-tab:focus-visible {
  outline: 2px solid var(--oxid-blue);
  outline-offset: -4px;
}

/* Dark mode: the page's own dark tokens (.contact-page above) instead of
   the light-only hexes, which would put dark text on the dark page. Same
   red underline and focus ring. */
html.dark-mode .contact-tabs .contact-tab {
  color: var(--txt-dim);
}

html.dark-mode .contact-tabs .contact-tab:hover:not(.is-active) {
  color: var(--navy);
  background: rgba(255, 255, 255, .05);
}

/* Matches the dark-mode card (var(--mist) / var(--line)). */
html.dark-mode .contact-tabs .contact-tab.is-active {
  color: var(--navy);
  background: var(--mist);
  border-color: var(--line);
  border-top-color: var(--oxid-blue);
}

@media (max-width: 640px) {
  .contact-hero__text,
  .contact-body {
    padding-left: 20px;
    padding-right: 20px;
  }

  .contact-tabs-intro {
    font-size: 20px;
  }

  /* All three tabs on one line, no scrolling: shortened labels ("Spare "
     and "Beam " are .contact-tab__extra spans in page-contact.php, hidden
     here — each tab's aria-label keeps the full name for screen readers),
     smaller type. Same folder tabs as desktop. The tabs share the row's
     full width (flex 1 1 auto, labels centred) so the spare room becomes
     breathing space inside each tab instead of a gap at the end. */
  .contact-tabs .contact-tab {
    flex: 1 1 auto;
    min-height: 46px;
    padding: 12px 6px 11px;
    text-align: center;
    /* 12px at 360px (about 30px of room to spare across the row), ~13px at
       390px, 14px from ~425px up. */
    font-size: clamp(12px, 3.3vw, 14px);
    letter-spacing: .02em;
  }

  .contact-tabs .contact-tab__extra {
    display: none;
  }
}

/* ---------- Series page contact disclosure (page-product-series.php) ----------
   Reuses the page's own <details>/<summary> idiom (.series-family above)
   instead of introducing new JS: the CTA button IS the <summary>, styled
   with the page's existing .series-btn/.series-btn--dark classes (no new
   button styling needed). grid-column:1/-1 moves it to its own full-width
   row below the heading text — .series-contact__inner's 1fr/auto grid
   can't size an "auto" column to fit an opened form without breaking, so
   this sidesteps that rather than fighting it. */
body.page-template-page-product-series .series-contact-details {
  grid-column: 1 / -1;
}

body.page-template-page-product-series .series-contact-details summary {
  list-style: none;
  cursor: pointer;
  width: fit-content;
}

body.page-template-page-product-series .series-contact-details summary::-webkit-details-marker {
  display: none;
}

body.page-template-page-product-series .series-contact-details[open] summary {
  margin-bottom: 24px;
}

body.page-template-page-product-series .series-contact-details__body {
  /* var(--mist), not a hardcoded #fff — .series-page redefines --mist
     under html.dark-mode, so this flips for free the same way every other
     token-based surface on this page does; no separate dark-mode rule
     needed (unlike .oxid-prod .rfq-body above, which follows its
     existing sibling rule's hardcoded-plus-override precedent instead). */
  background: var(--mist);
  padding: 28px;
  max-width: 640px;
}

/* ============================================================
   END SHARED: CONTACT FORM
   ============================================================ */

/* ============================================================
   SITEWIDE SEARCH RESULTS (search.php, engine in inc/search.php)
   No mockup — built in the Literature / Video Library visual
   language (same page header, same left rail, same tokens), under
   its own .oxid-search scope like every other interior page so it
   neither leans on nor collides with their tokens or JS.
   ============================================================ */
body.search {
  overflow-x: hidden;
  overflow-y: auto; /* base body{overflow:hidden} is a one-screen homepage rule; this page scrolls */
}
@media (min-width: 901px) {
  body.has-news-ticker .oxid-search {
    padding-top: 0;
  }
}
.oxid-search {
  --ink: #0B1118;
  --accent: var(--oxid-blue);
  --paper: #FFFFFF;
  --card: #FFFFFF;
  --txt: #2B3640;
  --txt-dim: #5A6675;
  --faint: #9AA0A8;
  --line: #D3DBE2;
  --line-strong: #CFD4DC;
  --rail-bg: #ECEFF3;
  --link: #288DE2;
  --hover: #F6F7F9;
  padding-top: calc(var(--wp-admin-bar-offset, 0px) + var(--header-height));
  padding-bottom: 48px;
  font-family: 'Spline Sans', 'Helvetica Neue', Arial, sans-serif;
  color: var(--txt);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
html.dark-mode .oxid-search {
  --ink: #FAFAF9;
  --paper: #000000;
  --card: #3A3A3C;
  --txt: #DEDEDC;
  --txt-dim: #B8B8BC;
  --faint: #8C8C90;
  --line: #4A4A4D;
  --line-strong: #64646A;
  --rail-bg: #2E2E30;
  --hover: #242426;
}
.oxid-search,
.oxid-search * {
  box-sizing: border-box;
}
.oxid-search a {
  color: inherit;
}
.oxid-search .wrap {
  width: min(1400px, calc(100% - 48px));
  margin: 0 auto;
}
.oxid-search .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Page header ---------- */
.oxid-search .page-header {
  padding: 26px 0 18px;
  border-bottom: 1px solid var(--line-strong);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px 40px;
  flex-wrap: wrap;
}
.oxid-search .page-head-text {
  min-width: 280px;
  flex: 1 1 auto;
}
.oxid-search .crumb {
  font-size: var(--crumb-size);
  font-weight: 600;
  color: var(--txt-dim);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.oxid-search .crumb a {
  color: var(--txt-dim);
  text-decoration: none;
}
.oxid-search .crumb a:hover {
  color: var(--accent);
}
.oxid-search .crumb .sep {
  color: var(--faint);
}
.oxid-search .crumb .cur {
  color: var(--ink);
  font-weight: 700;
  font-family: 'Archivo', sans-serif;
}
.oxid-search .page-title {
  margin: 0;
  font-size: 56px;
  font-weight: 900;
  font-family: 'Archivo', sans-serif;
  line-height: .95;
  color: var(--ink);
  letter-spacing: -1px;
}
.oxid-search .page-sub {
  font-size: 16px;
  color: var(--txt-dim);
  font-weight: 600;
  margin-top: 6px;
  line-height: 1.35;
}

/* ---------- Search form ---------- */
.oxid-search .sr-form {
  display: flex;
  gap: 10px;
  flex: 0 1 560px;
  max-width: 560px;
  margin: 0;
}
.oxid-search .sr-field {
  position: relative;
  flex: 1 1 auto;
}
.oxid-search .sr-field .search-ico {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--faint);
  pointer-events: none;
}
.oxid-search .sr-field input {
  width: 100%;
  height: 52px;
  padding: 0 16px 0 48px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: var(--card);
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  color: var(--txt);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.oxid-search .sr-field input::placeholder {
  color: var(--faint);
}
.oxid-search .sr-field input:focus {
  border-color: var(--accent);
}
.oxid-search .sr-form button {
  flex: none;
  height: 52px;
  padding: 0 22px;
  border: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: 'Archivo', sans-serif;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: background .16s;
}
.oxid-search .sr-form button:hover {
  background: var(--accent);
  color: #fff;
}

/* ---------- Rail + results ---------- */
.oxid-search .sr-layout {
  display: grid;
  grid-template-columns: 228px minmax(0, 1fr);
  align-items: start;
  padding-top: 8px;
}
.oxid-search .sr-rail {
  position: sticky;
  top: var(--header-height);
  border-right: 1px solid var(--line-strong);
  padding: 18px 0 28px;
  align-self: stretch;
}
.oxid-search .rail-top {
  padding: 0 18px 6px;
}
.oxid-search .rail-top .lbl,
.oxid-search .sec-title {
  font-size: 12px;
  font-weight: 800;
  font-family: 'Archivo', sans-serif;
  color: var(--faint);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.oxid-search .rail-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-left: 2px solid transparent;
  color: var(--txt);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background .12s;
}
.oxid-search .rail-item span:first-child {
  flex: 1;
}
.oxid-search .rail-item:hover {
  background: var(--hover);
}
.oxid-search .rail-item.is-active {
  color: var(--accent);
  border-left-color: var(--accent);
  font-weight: 700;
  font-family: 'Archivo', sans-serif;
}
.oxid-search .rail-item .ct,
.oxid-search .sec-title .ct {
  font-size: 12px;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}
.oxid-search .rail-item.is-active .ct {
  color: var(--accent);
}
.oxid-search .sr-content {
  padding: 22px 0 0 36px;
  min-width: 0;
}
.oxid-search .sr-group {
  margin-bottom: 30px;
}
.oxid-search .sec-title {
  margin: 0 0 10px;
}
.oxid-search .sec-title .ct {
  margin-left: 4px;
  font-weight: 700;
}
.oxid-search .sr-list {
  border-top: 1px solid var(--line);
}

/* ---------- Result rows ---------- */
.oxid-search .sr-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 8px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: background .12s;
}
.oxid-search a.sr-row:hover {
  background: var(--hover);
}
.oxid-search .sr-thumb {
  flex: none;
  width: 88px;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
}
.oxid-search .sr-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}
.oxid-search .sr-thumb--doc {
  flex-direction: column;
  gap: 2px;
  background: var(--rail-bg);
  color: var(--txt-dim);
}
.oxid-search .sr-thumb--doc svg {
  width: 24px;
  height: 24px;
}
.oxid-search .sr-thumb--doc span {
  font-family: 'Archivo', sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
}
.oxid-search .sr-body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.oxid-search .sr-kicker {
  font-size: 11px;
  font-weight: 800;
  font-family: 'Archivo', sans-serif;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--accent);
}
.oxid-search .sr-title {
  font-size: 18px;
  font-weight: 800;
  font-family: 'Archivo', sans-serif;
  color: var(--ink);
  line-height: 1.2;
}
.oxid-search .sr-desc,
.oxid-search .sr-meta {
  font-size: 14px;
  font-weight: 500;
  color: var(--txt-dim);
  line-height: 1.4;
}
.oxid-search .sr-meta {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.oxid-search .sr-stat {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 15px;
  font-weight: 800;
  font-family: 'Archivo', sans-serif;
  color: var(--ink);
  white-space: nowrap;
}
.oxid-search .sr-stat .k {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--faint);
}
.oxid-search .sr-go {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--faint);
  transition: color .12s, transform .12s;
}
.oxid-search a.sr-row:hover .sr-go {
  color: var(--accent);
  transform: translateX(2px);
}
.oxid-search .sr-actions {
  flex: none;
  display: flex;
  align-items: center;
  gap: 16px;
}
.oxid-search .sr-actions .ra {
  font-size: 13px;
  font-weight: 700;
  font-family: 'Archivo', sans-serif;
  color: var(--link);
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: 0;
  padding: 0;
}
.oxid-search .sr-actions .ra.mut {
  color: var(--txt-dim);
}
.oxid-search .sr-actions .ra:hover {
  text-decoration: underline;
}
.oxid-search .sr-actions .ra svg {
  width: 14px;
  height: 14px;
}
.oxid-search .viewall {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 15px;
  font-weight: 800;
  font-family: 'Archivo', sans-serif;
  color: var(--link);
  text-decoration: none;
}
.oxid-search .viewall svg {
  width: 16px;
  height: 16px;
}
.oxid-search .viewall:hover {
  text-decoration: underline;
}

/* ---------- Empty / no query ---------- */
.oxid-search .sr-empty {
  padding: 40px 0 10px;
  max-width: 760px;
}
.oxid-search .sr-empty-lead {
  margin: 0 0 18px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--txt);
}
.oxid-search .sr-browse {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.oxid-search .sr-browse a {
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  font-family: 'Archivo', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  transition: border-color .12s, color .12s;
}
.oxid-search .sr-browse a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Default page template (page.php) body copy */
.oxid-search .page-body {
  padding: 40px 0 60px;
  max-width: 760px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--txt);
}
.oxid-search .page-body > :first-child { margin-top: 0; }
.oxid-search .page-body a { color: var(--accent); text-decoration: underline; }

/* ---------- Help band ---------- */
.oxid-search .helpband {
  margin-top: 34px;
  border: 1px solid var(--line-strong);
  background: var(--rail-bg);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.oxid-search .helpband .t {
  font-size: 16px;
  font-weight: 800;
  font-family: 'Archivo', sans-serif;
  color: var(--ink);
}
.oxid-search .helpband .s {
  font-size: 13px;
  font-weight: 500;
  color: var(--txt-dim);
  margin-top: 2px;
}
.oxid-search .helpband a {
  font-size: 14px;
  font-weight: 800;
  font-family: 'Archivo', sans-serif;
  color: #fff;
  background: var(--accent);
  border: 1.5px solid var(--accent);
  padding: 11px 18px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: background .16s, border-color .16s;
}
.oxid-search .helpband a svg {
  width: 15px;
  height: 15px;
}
.oxid-search .helpband a:hover {
  background: var(--oxid-blue-dark);
  border-color: var(--oxid-blue-dark);
}

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .oxid-search .wrap {
    width: calc(100% - 32px);
  }
  .oxid-search .page-title {
    font-size: 40px;
  }
  .oxid-search .sr-form {
    flex: 1 1 100%;
    max-width: none;
  }
  .oxid-search .sr-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  /* Rail becomes a horizontal, scrollable row of type chips. */
  .oxid-search .sr-rail {
    position: static;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    border-right: 0;
    padding: 14px 0 4px;
  }
  .oxid-search .rail-top {
    display: none;
  }
  .oxid-search .rail-item {
    flex: none;
    border: 1px solid var(--line-strong);
    padding: 7px 12px;
    white-space: nowrap;
  }
  .oxid-search .rail-item.is-active {
    border-color: var(--accent);
  }
  .oxid-search .sr-content {
    padding: 18px 0 0;
  }
  .oxid-search .sr-row {
    gap: 12px;
    padding: 12px 4px;
    flex-wrap: wrap;
  }
  .oxid-search .sr-thumb {
    width: 64px;
    height: 48px;
  }
  .oxid-search .sr-body {
    flex: 1 1 0;
  }
  .oxid-search .sr-title {
    font-size: 16px;
  }
  .oxid-search .sr-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .oxid-search .sr-stat,
  .oxid-search .sr-go {
    display: none;
  }
  /* Document actions drop under the title, aligned with the text. */
  .oxid-search .sr-actions {
    flex-basis: 100%;
    padding-left: 76px;
  }
}

/* ============================================================
   SEARCH SUGGESTIONS DROPDOWN (main.js "Search suggestions",
   endpoint in inc/search.php). Attached to any form with
   data-lm-suggest: the home Explore box and search.php's box.

   Deliberately plain: text rows, no thumbnails, and the type
   (Product / Datasheet / Video / Page / Beam Diagnostics) as plain
   text in a thin frame.

   Every size is in em off .lm-suggest's own font-size, so one set
   of rules serves both hosts: the results page sets 13px, the home
   page sets canvas pixels that the home canvas zoom then scales
   with everything around it (see the fixed-canvas notes — no vw/vh
   in here).
   ============================================================ */
form[data-lm-suggest] {
  position: relative;
}
.lm-suggest {
  --sg-bg: #FFFFFF;
  --sg-ink: #0B1118;
  --sg-dim: #5A6675;
  --sg-line: #E3E7EC;
  --sg-hover: #F3F5F8;
  --sg-mark: var(--oxid-blue);
  position: absolute;
  z-index: 40;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 30em;
  overflow-y: auto;
  font-family: 'Spline Sans', 'Helvetica Neue', Arial, sans-serif;
  font-size: 13px;
  text-align: left;
  background: var(--sg-bg);
  border: 1px solid var(--sg-ink);
  /* No drop shadow (user's call). The 1px/2px frame is the only edge
     treatment; the panel reads as a hard-edged extension of the input
     rather than something floating above the page. */
}
.lm-suggest[hidden] {
  display: none;
}
html.dark-mode .lm-suggest {
  --sg-bg: #1C1C1E;
  --sg-ink: #FAFAF9;
  --sg-dim: #B8B8BC;
  --sg-line: #3A3A3C;
  --sg-hover: #2C2C2E;
  --sg-mark: var(--oxid-teal);
}
.lm-suggest-item {
  display: flex;
  align-items: center;
  gap: .8em;
  padding: .5em .75em;
  color: var(--sg-ink);
  text-decoration: none;
  border-bottom: 1px solid var(--sg-line);
}
.lm-suggest-item.is-active,
.lm-suggest-all.is-active {
  background: var(--sg-hover);
}
.lm-suggest-body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: .6em;
}
.lm-suggest-title {
  flex: 0 1 auto;
  min-width: 0;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lm-suggest-title mark {
  background: none;
  color: var(--sg-mark);
  font-weight: 700;
}
.lm-suggest-meta {
  flex: 0 1 auto;
  min-width: 0;
  font-size: .85em;
  color: var(--sg-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lm-suggest-badge {
  flex: none;
  padding: .1em .45em;
  font-size: .8em;
  line-height: 1.3;
  color: var(--sg-ink);
  white-space: nowrap;
  border: 1.5px solid var(--sg-ink);
}
/* Row links. The title link's ::after covers the whole row (the row is
   the positioned ancestor; the title itself must stay unpositioned so its
   overflow:hidden doesn't clip that overlay), so the row still opens the
   item from anywhere. Series text and the type label sit above it. */
.lm-suggest-item {
  position: relative;
}
.lm-suggest-title {
  color: inherit;
  text-decoration: none;
}
.lm-suggest-title::after {
  content: "";
  position: absolute;
  inset: 0;
}
.lm-suggest-sub,
a.lm-suggest-badge,
.lm-suggest-dl {
  position: relative;
  z-index: 1;
  color: inherit;
  text-decoration: none;
}

/* PDF rows only: the file itself, beside the type label. Sits above the
   title's stretched overlay (z-index above) so it is clickable in its own
   right rather than opening the library like the rest of the row. */
.lm-suggest-dl {
  flex: none;
  font-size: .85em;
  font-weight: 600;
  color: var(--sg-dim);
  text-decoration: underline;
  text-underline-offset: .15em;
  white-space: nowrap;
}
.lm-suggest-dl:hover {
  color: var(--sg-ink);
}
.lm-suggest-sub:hover {
  color: var(--sg-ink);
  text-decoration: underline;
  text-underline-offset: .15em;
}
a.lm-suggest-badge {
  color: var(--sg-ink);
  transition: background .12s, color .12s;
}
a.lm-suggest-badge:hover {
  background: var(--sg-ink);
  color: var(--sg-bg);
}
.lm-suggest-all {
  display: block;
  padding: .6em .75em;
  font-size: .9em;
  font-weight: 600;
  color: var(--sg-ink);
  text-decoration: underline;
  text-underline-offset: .2em;
}
.lm-suggest-empty {
  padding: .7em .75em;
  font-size: .9em;
  color: var(--sg-dim);
}
@media (max-width: 900px) {
  /* Phones: drop the meta line and let titles wrap — truncating would cut
     off exactly the model suffix ("2D" vs "2Dx") that tells rows apart. */
  .lm-suggest-meta {
    display: none;
  }
  .lm-suggest-title {
    white-space: normal;
  }
}

/* ============================================================
   HEADER SEARCH (header.php, main.js "Header search")
   Search button at the END of .header-actions on every page except
   the home page, opening a panel that drops below the header with the
   shared type-ahead suggestions (.lm-suggest, block above).
   Desktop: a square control styled like the Dark / language controls.
   Phones: Dark + language move into the nav panel, so this button is
   the only thing left in .header-actions — it floats top-right,
   mirroring the hamburger top-left.
   ============================================================ */
/* Black square, white glass: stands out from the Dark / language controls
   by darkness rather than by another block of red, so it doesn't compete
   with the red CTAs and ticker. Inverts (white square, black glass) while
   the panel is open. Dark mode mirrors it — a black square would vanish
   into the black header. (Tried along the way and rejected: dark and red
   frames, a 2-device-pixel frame, a solid red square, a red glass, and a
   neutral "Search site wide" faux field.) */
.header-search-toggle {
  display: inline-flex;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid #000000;
  border-radius: 0;
  background: #000000;
  color: #ffffff;
  cursor: pointer;
  transition: background .12s, border-color .12s, color .12s;
}
.header-search-toggle svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
}
/* Hover: square lifts to charcoal. */
.header-search-toggle:hover,
.header-search-toggle:focus-visible {
  background: #2a2f36;
  border-color: #2a2f36;
  outline: none;
}
/* Open (search panel showing): inverted — white square, black frame and
   glass. Listed after :hover so it wins while the panel is open. */
.header-search-toggle[aria-expanded="true"] {
  background: #ffffff;
  border-color: #000000;
  color: #000000;
}
html.dark-mode .header-search-toggle {
  background: #ffffff;
  border-color: #ffffff;
  color: #000000;
}
html.dark-mode .header-search-toggle:hover,
html.dark-mode .header-search-toggle:focus-visible {
  background: #e3e6ea;
  border-color: #e3e6ea;
}
html.dark-mode .header-search-toggle[aria-expanded="true"] {
  background: #000000;
  border-color: #ffffff;
  color: #ffffff;
}

/* Desktop: no panel chrome — the box IS the search field: one thin ink
   frame (on the form), with the suggestions hanging flush off its bottom
   edge in the same frame (main.js lines the dropdown up with the form's
   outer border). Right edge sits flush under the header controls. */
.header-search {
  position: absolute;
  z-index: 12;
  top: 100%;
  right: 22px; /* .header-actions' own margin-right: flush under the controls */
  width: min(460px, calc(100vw - 32px));
  box-shadow: 0 16px 32px -20px rgba(11, 17, 24, .35);
}
.header-search[hidden] {
  display: none;
}
.header-search-form {
  display: flex;
  margin: 0;
  border: 1px solid var(--ink);
  background: var(--header-bg);
}
.header-search-form input {
  flex: 1 1 auto;
  min-width: 0;
  height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
/* The browser's own clear (×) button is a blue glyph that clashes with the
   black/white box; Search + select-all/delete cover clearing. */
.header-search-form input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}
.header-search-form input::placeholder {
  color: var(--muted);
  opacity: 1;
}
.header-search-form button {
  flex: none;
  height: 40px;
  padding: 0 16px;
  border: 0;
  border-left: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: var(--header-bg);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.header-search-form button:hover,
.header-search-form button:focus-visible {
  background: var(--oxid-blue);
  color: #ffffff;
  outline: none;
}
/* Suggestions: same 1px ink frame as the box, no top edge (the box's own
   bottom border is the divider), no gap. */
.header-search-form .lm-suggest {
  border: 1px solid var(--ink);
  border-top: 0;
  box-shadow: none;
}

@media (max-width: 900px) {
  /* Only the search button remains in .header-actions on phones (see the
     placeUtilityControls note above), so show the group again — but only
     where the button exists, i.e. not on the home page. :has() keeps the
     home page's empty group hidden exactly as before. */
  body .header-actions:has(.header-search-toggle) {
    display: flex;
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    min-width: 0;
    width: auto;
    margin: 0;
    z-index: 2;
  }
  /* Phones: icon only, frameless, mirroring the hamburger. */
  .header-search-toggle {
    width: 40px;
    min-width: 0;
    height: 40px;
    flex-basis: 40px;
    padding: 0;
    justify-content: center;
    border: 0;
    background: transparent;
    color: var(--strong);
    cursor: pointer;
  }
  .header-search-toggle svg {
    width: 20px;
    height: 20px;
  }
  /* Keep the phone icon plain in dark mode too (the desktop dark-mode
     white square would otherwise win on specificity). */
  html.dark-mode .header-search-toggle:not([aria-expanded="true"]) {
    background: transparent;
    border-color: transparent;
    color: var(--strong);
  }
  /* Phones: a full-width bar under the header, the box inset 12px. */
  .header-search {
    left: 0;
    right: 0;
    width: auto;
    padding: 10px 12px;
    background: var(--header-bg);
    border-bottom: 1px solid #aeb3bb;
  }
}

/* While the header search panel is open the ticker is rolled up (main.js
   "Header search") and its arrow is hidden, so nothing pokes out beside
   the panel. */
.news-ticker.is-under-search .news-ticker-toggle {
  visibility: hidden;
}

/* ── Products mega menu: fit it between the logo and "Beam Diagnostics" ──
   Desktop only. Anchored to the Products nav item (not the viewport), so
   both edges follow the nav columns at any width:
   - left: 58px before the Products column, clear of the logo (which ends
     ~70-86px before the nav starts, growing slightly on wider screens).
   - width: 150% of the Products column, minus 27px — which ends the menu
     ~20px before the "Beam Diagnostics" text (that text is centred in the
     next column, so it starts about half a column in, less half its
     ~130px width). Capped at 760px on wide screens, floored at 360px.
   The red top line (::after) uses the same two values. When the menu is
   too narrow for two columns of names (~530px), the link lists drop to a
   single column instead of overflowing. (History: at left 4.3% it ran
   under the logo; at left 230px / 42vw wide, under Beam Diagnostics.) */
@media (min-width: 901px) {
  .nav-item-products {
    position: relative;
    --products-menu-left: -58px;
    --products-menu-width: clamp(360px, calc(150% - 27px), 760px);
  }
  .nav-item-products::after {
    position: absolute;
    top: calc(100% - 2px);
  }
  .nav-item-products .mega-menu {
    position: absolute;
    top: 100%;
    container-type: inline-size;
  }
}
@container (max-width: 530px) {
  .nav-item-products .mega-content {
    grid-template-columns: 1fr;
  }
}

/* (Removed: a home-only rule that pinned the menu's right edge to the Beam
   Delivery image's 34.3% grid line, and later capped it at 740px. With the
   Option C layout at its full width — see "Products view: Option C
   restyle" — that left it too cramped; user's call to drop the pin. The
   menu width is now set there, for every page.) */

/* ── Products mega menu: visual pass ─────────────────────────────────────
   Desktop only. (1) Destinations read as the primary thing: the links are
   ink, medium weight, in the site's body face — they were light-grey and
   looked disabled next to the bold rail. (2) The Products view is two
   labelled columns, SERIES and PRODUCTS, each stacked top-to-bottom.
   (3) ® / ™ use the site's small superscript. (4) The active tab is a white
   "folder tab" joining the white panel, with a red bar on its left edge.
   (5) "All products" lives at the foot of the grey rail, so it sits in the
   same place on every tab and leaves no dead band under the lists.
   (6) Soft shadow + a little more space between links. */
@media (min-width: 901px) {
  .nav-item-products .mega-menu {
    box-shadow: none; /* was 0 18px 40px -20px rgba(11,17,24,.35); removed by request */
  }

  /* Links */
  .nav-item-products .mega-content {
    row-gap: 12px;
  }
  .nav-item-products .mega-content a {
    display: block;
    width: fit-content;
    color: var(--ink);
    font-family: 'Spline Sans', 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;
  }
  .nav-item-products .mega-content a:hover,
  .nav-item-products .mega-content a:focus-visible {
    color: var(--accent);
    text-decoration: none;
  }
  html.dark-mode .nav-item-products .mega-content a {
    color: #f2f3f5;
  }
  html.dark-mode .nav-item-products .mega-content a:hover,
  html.dark-mode .nav-item-products .mega-content a:focus-visible {
    color: var(--accent);
  }
  .nav-item-products .mega-content sup.lm-reg {
    font-size: .55em;
    margin-left: 1px;
  }

  /* Series / Products columns */
  .nav-item-products .mega-content--grouped {
    align-items: start;
    row-gap: 24px; /* space between SERIES and PRODUCTS when they stack in one column */
  }
  .mega-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .mega-group-label {
    margin: 0 0 2px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1.2;
    text-transform: uppercase;
  }
  html.dark-mode .mega-group-label {
    color: #9aa0a8; /* --muted is too dim on the black dark-mode panel */
  }

  /* Rail: full-width tabs; the active one is a white folder tab */
  .nav-item-products .mega-tabs {
    grid-column: 1; /* explicit: with "All products" pinned to column 1 row 2, an unplaced rail got auto-moved to a new column on the right */
    grid-row: 1 / span 2;
    gap: 2px;
    padding: 18px 0;
  }
  .nav-item-products .mega-tab {
    width: 100%;
    padding: 10px 18px;
    transition: background .15s ease, color .15s ease;
  }
  .nav-item-products .mega-tab:not(.is-active):hover {
    color: var(--accent);
  }
  .nav-item-products .mega-tab.is-active {
    background: var(--page);
  }
  .nav-item-products .mega-tab.is-active::after {
    top: 0;
    bottom: 0;
    left: 0;
    width: 3px;
    height: auto;
  }

  /* "All products" at the foot of the rail (grid column 1, row 2, over the
     rail's grey band, which spans both rows). */
  .nav-item-products .mega-utility-links {
    grid-column: 1;
    grid-row: 2;
    align-self: end;
    position: relative;
    z-index: 1;
    margin: 12px 0 0 -4px; /* lines up with the tab labels: rail starts 22px left of the column, tabs pad 18px */
    padding: 0;
    border-top: 0;
  }
  .nav-item-products .mega-utility-links a {
    font-size: 14px;
  }
}

/* ── Products mega menu: Lincoln / 3M-style pass ─────────────────────────
   Desktop only; overrides parts of the visual pass above. Modelled on
   Lincoln Electric's and 3M's menus (both use our red / black / white),
   kept at this menu's smaller size:
   - Rail: white with a hairline divider instead of a grey block. The
     active tab is red text with a › on a light grey band (was a white
     folder tab with a red side bar); inactive tabs stay bold black.
   - "Products" in the top nav turns red while its menu is open.
   - Series entries: bold title + one-line grey description (reused from
     the home page's Featured Products rows — see
     lm_proto_mega_menu_product_entries()). Standalone products are bold
     titles without descriptions. The Series column gets more width. */
@media (min-width: 901px) {
  .nav-item-products:hover > a,
  .nav-item-products:focus-within > a {
    color: var(--accent);
  }

  /* Rail */
  .nav-item-products .mega-tabs {
    background: transparent;
    border-right: 1px solid var(--line);
  }
  html.dark-mode .nav-item-products .mega-tabs {
    background: transparent;
    border-right-color: #2e2e30;
  }
  .nav-item-products .mega-tab.is-active {
    background: #f1f3f5;
    color: var(--accent);
  }
  html.dark-mode .nav-item-products .mega-tab.is-active {
    background: #1e1e20;
  }
  .nav-item-products .mega-tab {
    padding-right: 34px; /* room for the › */
  }
  .nav-item-products .mega-tab.is-active::after {
    content: "\203A";
    top: 50%;
    right: 14px;
    bottom: auto;
    left: auto;
    width: auto;
    height: auto;
    background: none;
    color: var(--accent);
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    transform: translateY(-55%);
  }

  /* Series / Products columns: Series wider for its descriptions */
  .nav-item-products .mega-content--grouped {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    column-gap: 28px;
  }
  .nav-item-products #products-panel .mega-group a {
    font-weight: 700;
  }
  .mega-group:first-child {
    gap: 14px;
  }

  /* Title + description entries */
  .nav-item-products .mega-content a.mega-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: auto;
  }
  .mega-item-title {
    color: var(--ink);
    font-weight: 700;
  }
  .mega-item-desc {
    color: var(--muted);
    font-size: 12.5px;
    font-weight: 400;
    line-height: 1.4;
  }
  .nav-item-products .mega-content a.mega-item:hover .mega-item-title,
  .nav-item-products .mega-content a.mega-item:focus-visible .mega-item-title {
    color: var(--accent);
  }
  html.dark-mode .mega-item-title {
    color: #f2f3f5;
  }
  html.dark-mode .mega-item-desc {
    color: #9aa0a8;
  }
}

/* Must come after the 1.6fr / 1fr column rule above (same specificity):
   when the menu is too narrow for two columns, stack SERIES over PRODUCTS. */
@container (max-width: 530px) {
  .nav-item-products .mega-content--grouped {
    grid-template-columns: 1fr;
  }
}

/* Application / Power Rating views, when there's room for two columns: the
   left column (Processes / Standard + Specialty) is sized to its content
   instead of the Products view's 1.6fr share, so the grey product panel
   starts near the middle of the menu rather than ~210px past the end of the
   longest label. Scoped to the two content classes, so the Products view's
   Series / Standalone split is unchanged. */
@container (min-width: 531px) {

  /* Products view: an even split rather than max-content, because the
     Series entries carry one-line descriptions — sized to their content
     they would run unwrapped and squeeze the models panel to a sliver. */
  .nav-item-products .mega-content--grouped.products-content {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 40px;
  }

  /* Side by side, the grey product panel is a full-height side panel: flush
     with the menu's top edge (its 26px padding) as well as right and bottom,
     so it reads as anchored rather than floating. Its left edge is the
     column edge (after the 40px gutter above), with 28px inside — the
     menu's own inset — before the text. The 26px top padding keeps its
     label level with PROCESSES / STANDARD. */
  .mega-detail > [data-menu-group] {
    margin: -26px -22px -1016px 0;
    padding: 26px 28px 1016px;
  }
}

/* "Sort by" label heading the Products mega menu rail — same small grey
   caps as the SERIES / PRODUCTS column labels, and lined up with them: the
   rail's own padding starts 8px higher than the panel's, hence margin-top. */
.mega-rail-label {
  display: none;
}
@media (min-width: 901px) {
  .nav-item-products .mega-rail-label {
    display: block;
    margin: 8px 18px 4px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1.2;
    text-transform: uppercase;
  }
  html.dark-mode .nav-item-products .mega-rail-label {
    color: #9aa0a8;
  }
}

/* Larger type when the menu is at its full width (the 740px cap, only on
   very wide screens): about 10% up across the board, so the text fills the
   extra room instead of floating in it. Narrower menus (laptops, 1920) keep
   the base sizes, since they didn't gain any width. Keyed to the menu's
   own width (it's the query container) rather than the viewport; that is
   its CONTENT width, 740 minus 2 x 22px padding = 696 at the cap, so the
   threshold is 640 (reached above ~2250px wide). Must stay after the base
   rules above; same selectors, so source order decides. */
@container (min-width: 640px) {
  .nav-item-products .mega-tab {
    font-size: 17.5px; /* 16 */
  }
  .nav-item-products .mega-rail-label,
  .mega-group-label {
    font-size: 12px; /* 11 */
  }
  .nav-item-products .mega-content a {
    font-size: 16.5px; /* 15 */
  }
  .mega-item-desc {
    font-size: 13.75px; /* 12.5 */
  }
  .nav-item-products .mega-utility-links a {
    font-size: 15.5px; /* 14 */
  }
}

/* ── Products view: Option C restyle (docs: mega-menu-brief.md) ───────────
   Series + models columns only; the Sort By rail and the Application /
   Power Rating views are untouched. At the brief's full width: a ~440px
   series column and a two-up models grid, at the brief's type sizes
   (19 / 14 / 16 / 17 / 12px, the container block below). A first pass was
   scaled down to the old ~370–740px menu and read as cramped.
   Colours are tokens only: --rail-bg for the active row's tint (it has a
   dark value already), --line hairlines, --muted metadata, --accent.
   :is(#products-panel, #applications-panel, #power-panel, #primes-panel) in every selector: it outranks the shared menu rules
   above without leaking to the other views. Hover is colour only. */
@media (min-width: 901px) {
  /* Menu width, every page: 1040px in the header's own units (~936px
     rendered at its flat 0.9) — rail 155 + series ~440 + models ~330 +
     gaps and padding. Starts where it always has (58px before the Products
     column, just right of the logo); on narrower screens it stops 24px
     short of the viewport edge instead: 100vw / 0.9 is the viewport in
     header units, and 196px = the menu's left edge (230px logo column
     - 58px) + the 24px margin. Replaces the old clamp(360px, 150% - 27px,
     760px) and the home page's pin to the Beam Delivery image. The red top
     line (::after) reads the same variable, so it follows. */
  .nav-item-products {
    --products-menu-width: min(1040px, calc(100vw / 0.9 - 196px));
  }

  /* Dark mode: the site-wide tokens have no dark --line / --muted, so a
     hairline would stay light grey on black. These are the Events page's
     existing dark values (html.dark-mode .ev-page), scoped to this view. */
  html.dark-mode .nav-item-products :is(#products-panel, #applications-panel, #power-panel, #primes-panel) {
    --line: #2A2F35;
    --muted: #7E8894;
  }

  /* Never taller than the screen. The header is position:fixed, so any part
     of the menu below the viewport can't be scrolled to — at 1280x800 the
     stacked FiberCUT view ended 32px past the bottom. Capped and scrollable
     instead, only while this view is showing: the Application / Power Rating
     views rely on overflow:hidden to clip their grey panel's 1000px padding
     trick, which a scroll container would expose. Units: the header renders
     at a flat 0.9, so 100vh / 0.9 is the viewport in its own units. */
  .nav-item-products .mega-menu:has(:is(:is(#products-panel, #applications-panel, #power-panel, #primes-panel), #applications-panel, #power-panel, #primes-panel).is-active) {
    max-height: calc(100vh / 0.9 - var(--header-height) - var(--wp-admin-bar-offset, 0px) - 16px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  /* Series rows. The tint bleeds 12px past the text on the left (into the
     rail gap) so the names stay aligned with the SERIES label. */
  .nav-item-products :is(#products-panel, #applications-panel, #power-panel, #primes-panel) .mega-stack > .mega-group:first-child {
    gap: 2px;
  }
  .nav-item-products :is(#products-panel, #applications-panel, #power-panel, #primes-panel) a.mega-series {
    position: relative;
    width: auto;
    margin-left: -12px;
    padding: 9px 30px 9px 12px;
    gap: 3px;
  }
  .nav-item-products :is(#products-panel, #applications-panel, #power-panel, #primes-panel) .mega-series .mega-item-title {
    font-size: 16px;
    font-weight: 700;
  }
  .nav-item-products :is(#products-panel, #applications-panel, #power-panel, #primes-panel) .mega-series .mega-item-desc {
    color: var(--muted);
    font-size: 13px;
  }
  .nav-item-products :is(#products-panel, #applications-panel, #power-panel, #primes-panel) a.mega-series.is-current {
    background: var(--rail-bg);
  }
  .nav-item-products :is(#products-panel, #applications-panel, #power-panel, #primes-panel) a.mega-series.is-current .mega-item-title {
    color: var(--accent);
  }
  .nav-item-products :is(#products-panel, #applications-panel, #power-panel, #primes-panel) a.mega-series.is-current::after {
    position: absolute;
    top: 50%;
    right: 12px;
    color: var(--accent);
    font-size: 20px;
    line-height: 1;
    content: "\203A";
    transform: translateY(-50%);
  }

  /* Standalone: one product per line under a hairline (an inline row
     looked squeezed with Oxid's four). */
  .nav-item-products :is(#products-panel, #applications-panel, #power-panel, #primes-panel) .mega-standalone {
    padding-top: 16px;
    border-top: 1px solid var(--line);
  }
  .nav-item-products :is(#products-panel, #applications-panel, #power-panel, #primes-panel) .mega-inline-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .nav-item-products :is(#products-panel, #applications-panel, #power-panel, #primes-panel) .mega-inline-links a {
    font-size: 15px;
    font-weight: 600;
  }

  /* Models column: no fill (replaces the grey panel for this view only). */
  .nav-item-products :is(#products-panel, #applications-panel, #power-panel, #primes-panel) .mega-detail > [data-menu-group] {
    margin: 0;
    padding: 0;
    gap: 0;
    background: none;
  }
  /* Header row: "FiberCUT® models" and, right next to it, "View series" in
     red, set exactly like the label (same size, weight, caps, tracking)
     so the two read as one line (user's call; it was on the bottom line). */
  .nav-item-products :is(#products-panel, #applications-panel, #power-panel, #primes-panel) .mega-models-head {
    display: flex;
    align-items: baseline;
    gap: 12px;
  }
  .nav-item-products :is(#products-panel, #applications-panel, #power-panel, #primes-panel) .mega-models-head .mega-group-label {
    margin: 0;
    white-space: nowrap;
  }
  /* Tablets (to 1100px): the models column is only ~165px wide here, so
     the one-line "SHORT BEAM EXPOSURE  View section" header ran past the
     menu's edge and "View section" was clipped. The row may wrap: a long
     task name breaks over two lines and "View section" drops to its own
     line, still at the right (its margin-left:auto). */
  @media (max-width: 1100px) {
    .nav-item-products :is(#products-panel, #applications-panel, #power-panel, #primes-panel) .mega-models-head {
      flex-wrap: wrap;
      row-gap: 4px;
    }
    .nav-item-products :is(#products-panel, #applications-panel, #power-panel, #primes-panel) .mega-models-head .mega-group-label {
      white-space: normal;
      min-width: 0;
    }
  }
  .nav-item-products :is(#products-panel, #applications-panel, #power-panel, #primes-panel) a.mega-view-series {
    width: fit-content;
    margin: 0 0 0 auto; /* end of the header row, right-aligned (user's call) */
    padding: 0;
    color: var(--accent);
    font-size: 11px; /* = .mega-group-label (12px at full width, below) */
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1.2;
    text-transform: uppercase;
    white-space: nowrap;
  }
  .nav-item-products :is(#products-panel, #applications-panel, #power-panel, #primes-panel) a.mega-view-series:hover,
  .nav-item-products :is(#products-panel, #applications-panel, #power-panel, #primes-panel) a.mega-view-series:focus-visible {
    color: var(--ink);
  }

  /* One column of models (user's call — the brief's two-up grid read as
     more than the list needs). */
  .nav-item-products :is(#products-panel, #applications-panel, #power-panel, #primes-panel) .mega-models {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    /* 6px, not 10: FiberCUT's 7 rows + "View series" + Product Directory
       must stay within the left column's height, or the pair stops lining
       up with the last line on the left and the menu grows. */
    margin-top: 6px;
    border-top: 1px solid var(--line);
  }
  .nav-item-products :is(#products-panel, #applications-panel, #power-panel, #primes-panel) a.mega-model {
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: auto;
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
    font-weight: 600;
  }
  .nav-item-products :is(#products-panel, #applications-panel, #power-panel, #primes-panel) .mega-model-meta {
    color: var(--muted);
    font-family: ui-monospace, Menlo, Consolas, monospace;
    font-size: 11.5px;
    font-weight: 400;
    line-height: 1.3;
  }

  /* Standalone product preview (right column, while AccuShaper® 2.0 /
     Articulated Arms / FineKerf™ is hovered): photo beside a one-line
     description, then the product page's top stats as hairline rows —
     label left (mono, like the model metadata), value right. Sized to fit
     inside the left column's height, same as the FiberCUT list. */
  .nav-item-products #products-panel .mega-inline-links a.is-current {
    color: var(--accent);
  }
  .nav-item-products #products-panel a.mega-preview-body {
    display: flex;
    align-items: center;
    gap: 16px;
    width: auto;
    margin-top: 6px;
    padding: 12px 0;
    border-top: 1px solid var(--line);
    color: var(--ink);
  }
  .nav-item-products #products-panel .mega-preview-photo {
    flex: 0 0 112px;
    height: 112px;
  }
  .nav-item-products #products-panel .mega-preview-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .nav-item-products #products-panel .mega-preview-desc {
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
  }
  .nav-item-products #products-panel .mega-preview-stats {
    margin: 0;
    /* The menu's item font is set on its links; this list isn't one. */
    font-family: 'Spline Sans', 'Helvetica Neue', Arial, sans-serif;
    border-top: 1px solid var(--line);
  }
  .nav-item-products #products-panel .mega-preview-stats > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
  }
  /* Labels in the menu's sans, not mono: Consolas has no medium weight,
     so the mono labels read thin and grey at any weight short of bold.
     Still muted + lighter than the value, so the number leads. */
  .nav-item-products #products-panel .mega-preview-stats dt {
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
  }
  .nav-item-products #products-panel .mega-preview-stats dd {
    margin: 0;
    color: var(--ink);
    font-size: 16px;
    font-weight: 700;
    text-align: right;
  }
}

/* Stacked (narrow menu): the models sit under the series, set off by a
   hairline — only while a series' models are showing, so an idle menu has
   no stray rule at the bottom. */
@container (max-width: 530px) {
  .nav-item-products :is(#products-panel, #applications-panel, #power-panel, #primes-panel) .mega-detail:has(> [data-menu-group]:not([hidden])) {
    padding-top: 16px;
    border-top: 1px solid var(--line);
  }
}

/* Side by side: a 1px --line rule between the series and models columns,
   matching the rail's right edge, instead of the white gutter. Series gets
   the larger share (1.3 : 1 — ~440px at the full 1040px menu, the brief's
   width), models the rest: ~310px. */
@container (min-width: 531px) {
  .nav-item-products .mega-content--grouped.products-content {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    column-gap: 24px;
  }
  .nav-item-products :is(#products-panel, #applications-panel, #power-panel, #primes-panel) .mega-detail {
    position: relative; /* for Product Directory, pinned bottom-right */
    display: flex;
    flex-direction: column;
    align-self: stretch;
    padding-left: 24px;
    border-left: 1px solid var(--line);
  }
  /* Product Directory pinned to the column's bottom-right corner on every
     tab, level with the last line on the left (FineKerf™ / Custom Beam
     Delivery / Stir Wobble®). ("View series" is in the header row now.)
     Every list keeps the rule under its last row. */
  .nav-item-products :is(#products-panel, #applications-panel, #power-panel, #primes-panel) .mega-detail > a.mega-directory-link {
    position: absolute;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 0;
  }
}

/* Full-width menu: the brief's sizes. */
@container (min-width: 640px) {
  .nav-item-products :is(#products-panel, #applications-panel, #power-panel, #primes-panel) .mega-series .mega-item-title {
    font-size: 19px;
  }
  .nav-item-products :is(#products-panel, #applications-panel, #power-panel, #primes-panel) .mega-series .mega-item-desc {
    font-size: 14px;
  }
  .nav-item-products :is(#products-panel, #applications-panel, #power-panel, #primes-panel) .mega-inline-links a,
  .nav-item-products :is(#products-panel, #applications-panel, #power-panel, #primes-panel) .mega-detail > a.mega-directory-link {
    /* Product Directory matches the Standalone row. `.mega-detail >`: its
       base rule sits later in the file. */
    font-size: 16px;
  }
  .nav-item-products :is(#products-panel, #applications-panel, #power-panel, #primes-panel) a.mega-view-series {
    font-size: 12px; /* = .mega-group-label at full width */
  }
  .nav-item-products :is(#products-panel, #applications-panel, #power-panel, #primes-panel) a.mega-model {
    font-size: 17px;
  }
  .nav-item-products :is(#products-panel, #applications-panel, #power-panel, #primes-panel) .mega-model-meta {
    font-size: 12px;
  }
}

/* "Product Directory" at the foot of the rail: pinned to the TOP of its
   grid row with a real 28px gap, so it always sits clearly below the
   lists. align-self:end (above) let it creep up level with the last
   series description on the Products tab (measured 5px overlap), and
   left ~39px of dead space under it. line-height:1 trims the extra line
   box the 16px container added. */
@media (min-width: 901px) {
  .nav-item-products .mega-utility-links {
    align-self: start;
    margin-top: 28px;
    line-height: 1;
  }
}

/* "Product Directory →" sits in the menu's top-right corner, level with the
   column labels (SERIES / FIBERCUT® MODELS …) — where "View series →" was,
   which moved under the models list (user's call; a full-width top strip
   was tried first). Overrides the placement above (foot of the rail).
   Out of the grid: absolutely positioned against the menu (see the
   grid-column note below), so it takes no row of its own. Same place on
   every tab; on the Application / Power Rating tabs that corner is on
   their grey panel. */
@media (min-width: 901px) {
  .nav-item-products .mega-utility-links {
    position: absolute;
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
    /* auto, not the old column 1 / row 2: an absolutely positioned grid
       child with a grid placement uses that CELL as its containing block,
       which put the strip at the bottom of the rail instead of the menu's
       top edge. */
    grid-column: auto;
    grid-row: auto;
    display: flex;
    justify-content: flex-end;
    margin: 0;
    /* 23px: centres the 15.5px link on the labels' line at the menu's
       26px top padding; 22px: the menu's side padding. */
    padding: 23px 22px 0;
    border: 0;
    pointer-events: none; /* the box spans the menu's width; only the link takes clicks */
  }
  .nav-item-products .mega-utility-links a {
    pointer-events: auto;
  }

  /* Each view has its own Product Directory (.mega-directory-link in
     header.php), on the bottom line of the models column opposite "View
     series", so the shared corner copy hides. Same size as "View series"
     and the Standalone links (15px / 600, 16px at full width); ink, not
     accent, so the two links read as different destinations. No arrow on
     either (user's call); hover is the colour change only. */
  .nav-item-products .mega-menu:has(:is(#products-panel, #applications-panel, #power-panel, #primes-panel).is-active) .mega-utility-links {
    display: none;
  }
  .nav-item-products :is(#products-panel, #applications-panel, #power-panel, #primes-panel) a.mega-directory-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    margin-top: 8px;
    font-size: 15px;
    font-weight: 600;
    /* Underlined (user's call), so it reads as a link without the arrow. */
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
  }
  /* The shared link rule clears text-decoration on hover; keep it. */
  .nav-item-products :is(#products-panel, #applications-panel, #power-panel, #primes-panel) a.mega-directory-link:hover,
  .nav-item-products :is(#products-panel, #applications-panel, #power-panel, #primes-panel) a.mega-directory-link:focus-visible {
    text-decoration: underline;
  }
}

/* =====================================================================
   Sitewide breadcrumb (inc/breadcrumbs.php → lm_proto_breadcrumb()).
   Same look as the Literature page's .crumb: Spline Sans, grey links,
   "/" separators, current page in bold Archivo. Printed inside each
   hero's text block, directly above the h1. `nav.lm-crumb` and the
   doubled class beat the heroes' own `p` / `a` colour rules.

   One size for every breadcrumb on the site (this one, .oxid-search
   .crumb, .oxid-lit .crumb): 14px on screen. Desktop pages render at the
   0.9 body zoom, so there it is 14px / 0.9, which the zoom brings back to
   14px. The Facility and Contract Manufacturing pages undo the zoom and
   set a plain 14px themselves. Was 13px (11.7px on screen on desktop).
   ===================================================================== */
:root {
  --crumb-size: 14px;
}
@media (min-width: 901px) {
  :root {
    --crumb-size: calc(14px / var(--desktop-page-scale, 1));
  }
}
nav.lm-crumb {
  --crumb-link: #5A6675;
  --crumb-sep: #9AA0A8;
  --crumb-cur: #0B1118;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  padding: 0;
  font-family: 'Spline Sans', sans-serif;
  font-size: var(--crumb-size);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
  color: var(--crumb-link);
}
html.dark-mode nav.lm-crumb {
  --crumb-link: #B8B8BC;
  --crumb-sep: #8C8C90;
  --crumb-cur: #FAFAF9;
}
/* On dark / photo heroes (both themes) */
nav.lm-crumb.lm-crumb--on-dark {
  --crumb-link: rgba(255, 255, 255, .74);
  --crumb-sep: rgba(255, 255, 255, .45);
  --crumb-cur: #fff;
}
nav.lm-crumb.lm-crumb a {
  color: var(--crumb-link);
  text-decoration: none;
  font: inherit;
}
nav.lm-crumb.lm-crumb a:hover,
nav.lm-crumb.lm-crumb a:focus-visible {
  color: var(--accent, var(--oxid-blue));
}
nav.lm-crumb.lm-crumb--on-dark a:hover,
nav.lm-crumb.lm-crumb--on-dark a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
nav.lm-crumb .sep {
  color: var(--crumb-sep);
}
nav.lm-crumb.lm-crumb .cur {
  color: var(--crumb-cur);
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
}
nav.lm-crumb .cur sup {
  font-size: .6em;
}

/* Red kickers the breadcrumb replaces — they only repeated navigation
   ("Product Series", "FiberCUT Series", "Product Directory", "Custom Beam
   Delivery", "Events"). Hidden, not removed: delete this rule to bring
   them back. Contact's "Get in Touch" is a tagline, so it stays. */
.series-hero__kicker,
.pbanner-text > .pseries,
.ev-hero__kicker {
  display: none !important;
}

/* About / Compliance banners are a flex row (title left, aside right):
   give the breadcrumb its own full-width row, 10px above the title
   (the banner's 24px gap, minus 14). */
:is(.lm-history, .lm-comp) .page-banner > nav.lm-crumb {
  flex-basis: 100%;
  margin-bottom: -14px;
}

/* Contact hero — text sits exactly where the Product Directory hero's does
   (.oxid-dir .dhero-inner, 2026-10-14 by request; it used to follow the
   CBD hero's 1320px grid): 1240px column with 40px sides and 84 / 76
   padding on desktop; 60 / 54 with 20px sides at ≤980px; and at ≤900px
   the hero starts below the header like the directory's (see the
   .contact-page padding note below). Height comes from that padding, not
   a min-height. CBD's title / intro type. The "Get in Touch" kicker stays
   between the breadcrumb and the title, at CBD's kicker size. */
.contact-page .contact-hero .contact-hero__text {
  max-width: 1240px;
  width: 100%;
  padding: 84px 40px 76px;
}
.contact-page .contact-hero__kicker {
  font-size: 12px;
  margin: 0 0 10px;
}
.contact-page .contact-hero h1 {
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 1.0;
  letter-spacing: -.02em;
  margin: 0 0 20px;
}
.contact-page .contact-hero__sub {
  margin: 0;
  font-family: 'Spline Sans', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  max-width: 64ch;
}
/* = .oxid-dir .dhero-inner at ≤980px. No ≤900px padding-top override on
   .contact-page any more: it once dropped the header clearance so this
   hero ran up under the fixed header like CBD's, but the directory's
   doesn't, so .contact-page keeps its base admin-bar + header-height
   padding and the hero starts below the header, as there. */
@media (max-width: 980px) {
  .contact-page .contact-hero .contact-hero__text {
    padding: 60px 20px 54px;
  }
}

/* Hero heights — Custom Beam Delivery and Contact = the Product Directory
   hero (2026-10-14, by request). The directory's height comes from its
   content: padding, breadcrumb, a clamp(40px, 5.4vw, 76px) title, a
   two-line intro and the button — 344px + the title above 980px, 298px +
   the title below (297.78 at ≤900px, where the 0.9 page zoom that snaps
   the intro's 28.8px lines to whole pixels is off). On phones its intro
   wraps to three lines below 597px, four below
   445px and five below 322px, its title to two lines below 381px and its
   button below 351px, hence the steps (heights as measured on the
   directory). Re-measure these if the directory's hero copy changes.
   min-height, so longer copy here still fits. Text is top-aligned (was
   bottom), so the breadcrumb sits where the directory's does and any
   spare height falls below the buttons. */
.contact-page .contact-hero.contact-hero--has-image {
  --dhero-title: clamp(40px, 5.4vw, 76px);
  min-height: calc(344px + var(--dhero-title));
  align-items: flex-start;
}
@media (max-width: 980px) {
  .contact-page .contact-hero.contact-hero--has-image {
    min-height: calc(298px + var(--dhero-title));
  }
}
@media (max-width: 900px) {
  .contact-page .contact-hero.contact-hero--has-image {
    min-height: calc(297.78px + var(--dhero-title));
  }
}
@media (max-width: 596px) {
  .contact-page .contact-hero.contact-hero--has-image { min-height: 366.57px; }
}
@media (max-width: 444px) {
  .contact-page .contact-hero.contact-hero--has-image { min-height: 395.36px; }
}
@media (max-width: 380px) {
  .contact-page .contact-hero.contact-hero--has-image { min-height: 435.36px; }
}
@media (max-width: 350px) {
  .contact-page .contact-hero.contact-hero--has-image { min-height: 450.03px; }
}
@media (max-width: 321px) {
  .contact-page .contact-hero.contact-hero--has-image { min-height: 478.82px; }
}
/* Nov 2026 (user's call): with the photo, the text is centered top to
   bottom — the same space above the breadcrumb as below the intro —
   rather than top-aligned. Padding evened out to match (was 84/76,
   60/54 at ≤980px) so the text itself sits on the middle. */
.contact-page .contact-hero.contact-hero--has-image {
  align-items: center;
}
.contact-page .contact-hero--has-image .contact-hero__text {
  padding-top: 80px;
  padding-bottom: 80px;
}
@media (max-width: 980px) {
  .contact-page .contact-hero--has-image .contact-hero__text {
    padding-top: 57px;
    padding-bottom: 57px;
  }
}

/* ── Mobile drill-down menu (.mnav) ──────────────────────────────────────
   Phones only. The hamburger panel as a 3M-style drill-down: Main ›
   Products › Series › product, Main › Applications › Process › …, Main ›
   Beam Diagnostics › Task › device (markup: header.php; sliding + back
   stack: main.js "Mobile drill-down menu"). Replaces the panel's old list
   of top-level links but keeps that list's look (user's call): white
   panel, bold 18px rows on hairlines inside an 18px gutter, centred in the
   panel, Dark + Contact under a hairline. #site-nav in the selectors
   outranks the home page's own body.home.mobile-nav-open .nav-links rules.
   Own colour tokens, as --line / --muted are redefined per page further up
   this file. */
.mnav {
  display: none;
}

@media (max-width: 900px) {
  .mnav {
    --mnav-bg: #ffffff;
    --mnav-ink: #1d2227;
    --mnav-muted: #777d86;
    --mnav-line: #e6e9ee;
    --mnav-control-line: #d8dde4;
    --mnav-accent: var(--oxid-blue);
  }
  html.dark-mode .mnav {
    --mnav-bg: #1c1c1c;
    --mnav-ink: #ffffff;
    --mnav-muted: #9aa0a8;
    --mnav-line: #333336;
    --mnav-control-line: #45484d;
    /* Teal, not the blue: ~8:1 on the #1C1C1C menu, so it reads as body
       text, where the dark-mode blue is only ~4:1. */
    --mnav-accent: var(--oxid-teal);
  }

  /* The menu has its own search bar, so the header's search icon steps
     aside while it is open (visibility, not display, so nothing shifts). */
  body.mobile-nav-open .header-actions:has(.header-search-toggle) {
    visibility: hidden;
  }

  body.mobile-nav-open #site-nav {
    display: block;
    padding: 0;
    overflow: hidden;
  }
  body.mobile-nav-open #site-nav > :not(.mnav) {
    display: none !important;
  }

  .mnav {
    display: block;
    position: absolute;
    inset: 0;
    overflow: hidden;
    color: var(--mnav-ink);
  }

  /* Panels: stacked in place; the active one at 0, the ones it was opened
     from parked 30% to the left, the rest waiting off to the right. */
  .mnav-panel {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0 18px 28px;
    background: var(--mnav-bg);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 260ms cubic-bezier(.2, .7, .2, 1), visibility 0s linear 260ms;
  }
  .mnav-panel.is-active {
    transform: none;
    visibility: visible;
    transition: transform 260ms cubic-bezier(.2, .7, .2, 1), visibility 0s;
  }
  .mnav-panel.is-behind {
    transform: translateX(-30%);
  }

  /* Main level: rows + Dark / Contact centred in the panel, as before.
     (safe: if it outgrows the panel it starts at the top instead.) */
  .mnav-panel[data-mnav-panel="root"] {
    justify-content: safe center;
    padding-top: 14px;
  }

  /* Header bar of a sub-level: back arrow, centred title. Bleeds to the
     panel edges so its hairline runs full width. */
  .mnav-head {
    position: sticky;
    top: 0;
    z-index: 1;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: center;
    min-height: 54px;
    margin: 0 -18px;
    padding: 0 8px;
    border-bottom: 1px solid var(--mnav-line);
    background: var(--mnav-bg);
  }
  .mnav-back {
    display: inline-flex;
    width: 44px;
    height: 54px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--mnav-ink);
    cursor: pointer;
  }
  .mnav-back svg,
  .mnav-chevron {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  /* Keyboard focus: brand colour, like the hamburger's — no box. */
  .mnav-back:focus-visible {
    outline: none;
    color: var(--mnav-accent);
  }
  .mnav-title {
    margin: 0;
    overflow: hidden;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* Rows: the original menu's — 18px semibold on a hairline. Buttons drill
     in (with a chevron); links go straight to the page. */
  .mnav-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 12px;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 14px 0;
    border: 0;
    border-bottom: 1px solid var(--mnav-line);
    border-radius: 0;
    background: transparent;
    color: var(--mnav-ink);
    font: inherit;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .mnav-row:focus-visible {
    outline: none;
    color: var(--mnav-accent);
  }
  .mnav-row-label {
    grid-column: 1;
  }
  /* Products, the top row of the main menu, set apart as an accent bar
     (Nov 2026, user's call — option A): a 3px brand bar on the left, the
     site's light-gray tint, brand-coloured label and chevron — the picked
     row of the Directory / Compliance dropdowns. Bleeds to the panel edges
     (its 18px padding) so the tint runs full width; the bar's 3px comes
     out of the left padding, so the label stays in line with the rows
     below. --mnav-accent is the brand blue, and teal in dark mode, where
     the dark-mode blue only reads at ~4:1. */
  .mnav-panel[data-mnav-panel="root"] .mnav-row[data-mnav-open="products"] {
    width: calc(100% + 36px); /* a <button>: it won't stretch on its own */
    margin: 0 -18px;
    padding-left: 15px;
    padding-right: 18px;
    border-left: 3px solid var(--mnav-accent);
    background: var(--rail-bg);
    color: var(--mnav-accent);
  }
  .mnav-row-meta {
    grid-column: 1;
    margin-top: 4px;
    color: var(--mnav-muted);
    font-size: 13px;
    font-weight: 400;
  }
  .mnav-chevron {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
  .mnav-row sup {
    font-size: .6em;
  }

  .mnav-label {
    margin: 0;
    padding: 22px 0 8px;
    border-bottom: 1px solid var(--mnav-line);
    color: var(--mnav-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1.2;
    text-transform: uppercase;
  }

  /* "View series" (top) and "Product Directory" (foot): accent text links. */
  .mnav-more {
    display: block;
    padding: 16px 0;
    color: var(--mnav-accent);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
  }
  .mnav-more--top {
    border-bottom: 1px solid var(--mnav-line);
  }

  /* Foot of the main level: the original hairline + Dark / Contact row. */
  .mnav-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
    padding-top: 18px;
    border-top: 1px solid var(--mnav-line);
  }

  /* Search: above the rows. A taller field with a solid ink search button
     so it reads as the menu's primary control. */
  .mnav-searchbar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
  }
  .mnav-search {
    position: relative;
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    height: 48px;
    border: 1px solid var(--mnav-control-line);
    /* No grey tint (user's call): the panel's own white, black in dark mode. */
    background: var(--mnav-bg);
    transition: border-color 0.15s, background 0.15s;
  }
  .mnav-search input {
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    padding: 0 14px;
    border: 0;
    background: transparent;
    color: var(--mnav-ink);
    font: inherit;
    font-size: 16px; /* 16px+ stops iOS zooming the page on focus */
    -webkit-appearance: none;
    appearance: none;
  }
  .mnav-search input::placeholder {
    color: var(--mnav-muted);
  }
  .mnav-search input:focus {
    outline: none;
  }
  .mnav-search:focus-within {
    border-color: var(--mnav-ink);
    background: var(--mnav-bg);
  }
  .mnav-search button {
    display: inline-flex;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    margin: -1px -1px -1px 0; /* sit over the field's border, edge to edge */
    padding: 0;
    border: 0;
    /* Black and white, no red (user's call): ink button with a bg-coloured
       icon, so it flips to white-on-black in dark mode with the tokens. */
    background: var(--mnav-ink);
    color: var(--mnav-bg);
    cursor: pointer;
  }
  .mnav-search button svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
  }
  .mnav-search .lm-suggest {
    font-size: 14px;
  }
  .mnav-search-cancel {
    display: none;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--mnav-ink);
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
  }
  .mnav .mobile-nav-utility {
    width: auto;
    margin: 0;
    padding: 0;
    border: 0;
  }

  /* Search in use: the rows fold away and the field moves to the top. */
  .mnav-panel.is-searching {
    justify-content: flex-start;
  }
  .mnav-panel.is-searching .mnav-list,
  .mnav-panel.is-searching .mnav-foot {
    display: none;
  }
  .mnav-panel.is-searching .mnav-searchbar {
    margin-bottom: 0;
  }
  .mnav-panel.is-searching .mnav-search-cancel {
    display: block;
  }
}

@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
  .mnav-panel,
  .mnav-panel.is-active {
    transition: none;
  }
}

/* ============================================================
   OXID TOP NAV (header.php)
   From the Oxid HTML demos' <nav>: logo left; Home, Products,
   Capabilities, Industries, Facility and an outlined Request a Quote
   button grouped on the right (demo sizes: 16px links, 24px gaps, 40px
   side padding, translucent white bar with a blur). Kept from the LM
   header: the Products dropdown, the search icon + panel, and the phone
   drill-down menu, where Request a Quote moves to the menu's foot.
   Last in the file on purpose: it overrides the LM header passes above
   rather than editing them.
   ============================================================ */
@media (min-width: 901px) {
  /* Measured off the demo's nav (layout px, like every ported page):
     16px + 50px logo + 16px + 1px line = 83px. Every page offset and the
     dropdown read this variable, so they follow. */
  :root {
    --header-height: 83px;
  }

  body .site-header {
    grid-template-columns: auto 1fr auto;
    column-gap: 24px;
    padding: 0 40px;
    background: rgba(255, 255, 255, .92);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid #D3DBE2;
  }

  /* Demo logo: a true 50px tall on screen (87px wide), as in the demo,
     so it's divided by the body zoom the rest of the nav renders at
     (--desktop-page-scale, 0.9): 55.6px here. Centred in the 83px bar. */
  .site-header .brand {
    width: auto;
    height: calc(50px / var(--desktop-page-scale));
    margin-left: 0;
  }

  .site-header .brand img {
    width: auto;
    height: calc(50px / var(--desktop-page-scale));
    transform: none;
  }

  .site-header .nav-links {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 24px;
    font-family: 'Spline Sans', sans-serif;
    font-size: 16px;
    font-weight: 500;
  }

  .site-header .nav-links > a,
  .site-header .nav-item > a {
    padding: 0;
    justify-content: flex-start;
    white-space: nowrap;
    color: var(--ink);
    opacity: .84;
  }

  .site-header .nav-links > a:hover,
  .site-header .nav-links > a:focus-visible,
  .site-header .nav-item > a:hover,
  .site-header .nav-item > a:focus-visible {
    color: var(--ink);
    opacity: 1;
  }

  .site-header .nav-links > a.is-current,
  .site-header .nav-item.is-current > a {
    color: var(--accent);
    font-weight: 600;
    opacity: 1;
  }

  .site-header .header-actions {
    min-width: 0;
    width: auto;
    margin-right: 0;
    gap: 16px;
  }

  /* Search: a plain icon in the link colour, not LM's black square, so
     the outlined quote button stays the one framed control. Blue while
     the panel is open. */
  .site-header .header-search-toggle {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    border-color: transparent;
    background: transparent;
    color: var(--ink);
    opacity: .84;
  }

  .site-header .header-search-toggle svg {
    width: 18px;
    height: 18px;
  }

  .site-header .header-search-toggle:hover,
  .site-header .header-search-toggle:focus-visible {
    border-color: transparent;
    background: transparent;
    opacity: 1;
  }

  .site-header .header-search-toggle[aria-expanded="true"] {
    border-color: transparent;
    background: transparent;
    color: var(--accent);
    opacity: 1;
  }

  /* Search opens IN the bar, not as a panel dropping below it (Nov 2026,
     user's call): the box takes its own grid column just left of the
     search icon, and the nav (flex-end in the 1fr column) slides left to
     make room. The box grows in from zero width so the slide is visible.
     Suggestions still hang off the box (main.js); position:relative is
     what they hang from. */
  .site-header:has(.header-search:not([hidden])) {
    grid-template-columns: auto 1fr auto auto;
  }
  .site-header .header-search {
    position: relative;
    top: auto;
    right: auto;
    grid-row: 1;
    grid-column: 3;
    width: clamp(180px, 22vw, 340px);
    margin-right: -8px; /* 24px column gap less 8 = the actions' own 16px gap */
    box-shadow: none;
    animation: oxid-search-open .3s cubic-bezier(.2, .7, .3, 1);
  }
  .site-header .header-actions {
    grid-row: 1;
    grid-column: -2;
  }
  /* Pinned so the small-desktop box below can share its cell. */
  .site-header .nav-links {
    grid-row: 1;
    grid-column: 2;
  }
  @keyframes oxid-search-open {
    from {
      width: 0;
      opacity: 0;
      clip-path: inset(0 0 0 0);
    }
    to {
      clip-path: inset(0 0 0 0);
    }
  }
  /* Small desktops: the nav is already at its narrowest (measured: no
     room for the box by 1024), so instead of pushing it the box fades the
     nav out and takes its place, up to the same 340px. */
  @media (max-width: 1100px) {
    .site-header:has(.header-search:not([hidden])) .nav-links {
      visibility: hidden;
    }
    .site-header .header-search {
      grid-column: 2 / 4;
      justify-self: end;
      width: min(340px, 100%);
    }
  }

  /* Arial, not Spline Sans: the demo's .partner is a <button>, which
     doesn't inherit the page font, so Arial is what it actually renders
     in — and what sets its 163 x 37px size. */
  .header-quote {
    display: inline-flex;
    align-items: center;
    padding: 11px 18px;
    border: 1px solid var(--accent);
    color: var(--accent);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .06em;
    line-height: normal;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background .25s, color .25s;
  }

  .header-quote:hover,
  .header-quote:focus-visible {
    background: var(--accent);
    color: #fff;
    outline: none;
  }

  /* Products dropdown: the links now sit at the right, so the menu (and
     its top line) hangs from the header's right edge instead of from the
     Products link, which would push it off-screen. The header is
     position:fixed, so it is the containing block once the item is
     static. */
  .site-header .nav-item-products {
    position: static;
    --products-menu-left: auto;
    --products-menu-width: min(1040px, calc(100vw / 0.9 - 80px));
  }

  .site-header .nav-item-products .mega-menu,
  .site-header .nav-item-products::after {
    right: 40px;
  }
}

@media (max-width: 900px) {
  .site-header .header-quote {
    display: none;
  }

  .mnav-foot .mnav-quote {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 14px;
    background: var(--accent);
    color: #fff;
    font-family: 'Archivo', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
  }
}

/* Allow page to scroll (overrides the one-screen homepage body{overflow:hidden})
   — every interior template opts back in, same as the Product Directory. */
body.page-template-page-literature {
  overflow-x: hidden;
  overflow-y: auto;
}

/* ============================================================
   LITERATURE LIBRARY PAGE (page-literature.php)
   Ported from the Laser Mech theme, namespaced under .oxid-lit — its own
   local token scope, redefined again under html.dark-mode, same
   technique as .oxid-dir / .oxid-prod. LM's red accent is Oxid blue
   here; its PRIMES tile/rail colours and manual sign-in modal are gone
   with the features they styled.
   ============================================================ */
.oxid-lit {
  --ink: #0B1118;
  --accent: var(--oxid-blue);
  --paper: #FFFFFF;
  --card: #FFFFFF;
  --txt: #2B3640;
  --txt-dim: #5A6675;
  --faint: #9AA0A8;
  --line: #D3DBE2;
  --line-strong: #CFD4DC;
  --rail-bg: #ECEFF3;
  --link: var(--oxid-blue);
  --tint: #E3EDF6;
  --hover: #F6F7F9;
  /* Concept D: navy title band, teal labels, color-coded type chips.
     #137A80 is the label teal because brand #39C0C8 is too light for small
     text on white; brand teal stays on bars and borders. */
  --band: var(--oxid-blue);
  --band-crumb: #B8D0E8;
  --band-sub: #D6E4F2;
  --bar-line: #E3E7EC;
  --ctl-line: #C9D2DC;
  --ctl-txt: #1B2430;
  --icon: #5B6673;
  --label: #137A80;
  --teal: var(--oxid-teal);
  --teal-tint: #F2FAFB;
  --card-line: #DCE3EA;
  --card-txt: #3E4955;
  --row-hover: #F5F8FA;
  --chip-bg: #ECEFF3;
  --chip-txt: #3E4955;
  --chip-datasheet-bg: #E3EEF8;
  --chip-datasheet-txt: #0A3D6E;
  --chip-manual-bg: #DDF4F5;
  --chip-manual-txt: #0E5F64;
  --chip-drawing-bg: #EFEBE3;
  --chip-drawing-txt: #5A4A2E;
  padding-top: calc(var(--wp-admin-bar-offset, 0px) + var(--header-height));
  font-family: 'Spline Sans', 'Helvetica Neue', Arial, sans-serif;
  color: var(--txt);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
html.dark-mode .oxid-lit {
  /* Neutral (not blue-leaning slate) grays, and a step lighter/softer
     across the board than the original values — R/G/B kept close to
     equal instead of the cooler B>R,G slate tones. */
  --ink: #FAFAF9;
  --paper: #000000;
  --card: #3A3A3C;
  --txt: #DEDEDC;
  --txt-dim: #B8B8BC;
  --faint: #8C8C90;
  --line: #4A4A4D;
  --line-strong: #64646A;
  --rail-bg: #2E2E30;
  --tint: #0E2A44;
  --hover: #242426;
  --band: var(--oxid-blue-deeper);
  --bar-line: #4A4A4D;
  --ctl-line: #64646A;
  --ctl-txt: #FAFAF9;
  --icon: #B8B8BC;
  --label: #5CCDD4;
  --teal-tint: #102B2D;
  --card-line: #4A4A4D;
  --card-txt: #B8B8BC;
  --row-hover: #1C1C1E;
  --chip-bg: #3A3A3C;
  --chip-txt: #DEDEDC;
  --chip-datasheet-bg: #0E2A44;
  --chip-datasheet-txt: #B8D0E8;
  --chip-manual-bg: #0E3436;
  --chip-manual-txt: #9FE3E7;
  --chip-drawing-bg: #3A3428;
  --chip-drawing-txt: #E3D6BC;
}

.oxid-lit,
.oxid-lit * {
  box-sizing: border-box;
}
.oxid-lit a {
  color: inherit;
}
.oxid-lit .wrap {
  width: min(1400px, calc(100% - 48px));
  margin: 0 auto;
}
.oxid-lit .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Title band ---------- */
.oxid-lit .lit-band {
  background: var(--band);
}
.oxid-lit .page-header {
  padding: 32px 0 40px;
}
.oxid-lit .crumb {
  font-size: var(--crumb-size);
  font-weight: 400;
  color: var(--band-crumb);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.oxid-lit .crumb a {
  color: var(--band-crumb);
  text-decoration: none;
  cursor: pointer;
}
.oxid-lit .crumb a:hover {
  color: #FFFFFF;
}
.oxid-lit .crumb .sep {
  color: var(--band-crumb);
}
.oxid-lit .crumb .cur {
  color: #FFFFFF;
  font-weight: 500;
}
.oxid-lit .page-title {
  margin: 0;
  font-size: 56px;
  font-weight: 800;
  font-family: 'Archivo', sans-serif;
  line-height: 1.05;
  color: #FFFFFF;
}
.oxid-lit .page-sub {
  font-size: 16px;
  color: var(--band-sub);
  margin-top: 10px;
  max-width: 640px;
  line-height: 1.4;
}

/* ---------- Search toolbar (own row under the band) ---------- */
.oxid-lit .lit-searchbar {
  background: var(--paper);
  border-bottom: 1px solid var(--bar-line);
}
.oxid-lit .lit-searchbar .wrap {
  padding: 16px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.oxid-lit .lit-searchbar .home-search {
  margin: 0;
  flex: 1 1 320px;
  max-width: 560px;
}
.oxid-lit .view-toggle {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}
.oxid-lit .view-toggle button {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border: 1px solid var(--ctl-line);
  background: var(--paper);
  padding: 0 18px;
  font: inherit;
  font-weight: 600;
  font-size: 14px;
  color: var(--ctl-txt);
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.oxid-lit .view-toggle button:hover {
  border-color: var(--oxid-blue);
}
.oxid-lit .view-toggle button.on {
  background: var(--oxid-blue);
  border-color: var(--oxid-blue);
  color: #FFFFFF;
}

/* ---------- Landing ---------- */
.oxid-lit .home {
  padding: 2px 0 0;
}
.oxid-lit .home-search {
  position: relative;
  max-width: 640px;
  margin: 22px 0 38px;
}
.oxid-lit .home-search .search-ico {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--icon);
  pointer-events: none;
}
.oxid-lit .home-search input {
  width: 100%;
  height: 46px;
  padding: 0 14px 0 42px;
  border: 1px solid var(--ctl-line);
  background: var(--paper);
  font: inherit;
  font-size: 15px;
  font-weight: 400;
  color: var(--txt);
  outline: none;
}
.oxid-lit .home-search input::placeholder {
  color: var(--faint);
  font-weight: 500;
}
.oxid-lit .home-search input:focus {
  border-color: var(--accent);
}
/* Section labels (Browse by product, Or by language, Recently updated) —
   same treatment as the rail's Filters / Product / Language labels. */
.oxid-lit .sec-title,
.oxid-lit .rail-top .lbl,
.oxid-lit .fgroup h4 {
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--label);
}
.oxid-lit .sec-title {
  margin: 0 0 14px;
}
.oxid-lit .sec-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  background: none;
  border: 0;
  padding: 0;
  cursor: default;
  text-align: left;
}
.oxid-lit .sec-chev {
  display: none;
}
.oxid-lit .sec-toggle.lib-filters-toggle {
  display: none;
}
.oxid-lit .series-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(232px, 1fr));
  gap: 14px;
  margin-bottom: 40px;
}
.oxid-lit .series-tile {
  border: 1px solid var(--card-line);
  border-top: 3px solid var(--card-line);
  padding: 18px;
  cursor: pointer;
  background: var(--card);
  transition: border-top-color .14s;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0;
  font: inherit;
  color: inherit;
}
.oxid-lit .series-tile:hover {
  border-top-color: var(--teal);
}
/* Product photo across the top, full-bleed. Only rendered when the
   product has a photo, so there are never empty boxes. */
.oxid-lit .series-tile .st-img {
  display: block;
  height: 130px;
  margin: -18px -18px 16px;
  border-bottom: 1px solid var(--card-line);
  overflow: hidden;
}
.oxid-lit .series-tile .st-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.oxid-lit .series-tile .st-n {
  font-size: 17px;
  font-weight: 700;
  font-family: 'Archivo', sans-serif;
  color: var(--ink);
}
.oxid-lit .series-tile .st-d {
  font-size: 13px;
  color: var(--card-txt);
  margin-top: 6px;
  line-height: 1.45;
}
.oxid-lit .series-tile .st-c {
  font-size: 11px;
  font-weight: 600;
  color: var(--icon);
  margin-top: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.oxid-lit .series-tile .st-arrow {
  opacity: 0;
  transition: opacity .14s;
}
.oxid-lit .series-tile:hover .st-c {
  color: var(--label);
}
.oxid-lit .series-tile:hover .st-arrow {
  opacity: 1;
}
.oxid-lit .app-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}
.oxid-lit .app-link {
  border: 1px solid var(--line-strong);
  padding: 9px 15px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--txt);
  cursor: pointer;
  background: var(--card);
  transition: all .12s;
}
.oxid-lit .app-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.oxid-lit .recent-wrap {
  margin-bottom: 8px;
  max-width: 760px;
}
.oxid-lit .recent-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-bottom: 1px solid var(--card-line);
  transition: background .12s;
}
.oxid-lit .recent-row:first-child {
  border-top: 1px solid var(--card-line);
}
.oxid-lit .recent-row:hover {
  background: var(--row-hover);
}
.oxid-lit .recent-row .rn {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Archivo', sans-serif;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 7px;
}
.oxid-lit .recent-row .dico {
  width: 14px;
  height: 14px;
  flex: none;
  color: var(--faint);
}
.oxid-lit .recent-row .rm {
  font-size: 12px;
  font-weight: 500;
  color: var(--txt-dim);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
/* Actions sit in a fixed-width group so chips and links line up in
   columns down the list whether a row has View + PDF or one Download. */
.oxid-lit .recent-row .racts {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 150px;
}
/* Document-type chip: colour from the type's slug; unlisted types
   (chart, white paper, …) get the neutral chip. Fixed min-width so
   chips of different lengths share both edges. */
.oxid-lit .type-chip {
  display: inline-block;
  min-width: 108px;
  text-align: center;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  line-height: 1.3;
  background: var(--chip-bg);
  color: var(--chip-txt);
}
.oxid-lit .type-chip--datasheet {
  background: var(--chip-datasheet-bg);
  color: var(--chip-datasheet-txt);
}
.oxid-lit .type-chip--manual {
  background: var(--chip-manual-bg);
  color: var(--chip-manual-txt);
}
.oxid-lit .type-chip--drawing {
  background: var(--chip-drawing-bg);
  color: var(--chip-drawing-txt);
}
.oxid-lit .recent-row .ra {
  font-size: 13px;
  font-weight: 700;
  font-family: 'Archivo', sans-serif;
  color: var(--link);
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}
.oxid-lit .recent-row .ra svg {
  width: 14px;
  height: 14px;
}
.oxid-lit .recent-row .ra.mut {
  color: var(--txt-dim);
  font-weight: 600;
}
.oxid-lit .viewall {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  font-family: 'Archivo', sans-serif;
  color: var(--link);
  text-decoration: none;
  cursor: pointer;
  background: 0 0;
  border: 0;
  margin: 8px 0 36px;
}
.oxid-lit .viewall svg {
  width: 16px;
  height: 16px;
}
.oxid-lit .viewall:hover {
  text-decoration: underline;
}

/* ---------- Browse (rail + table) ---------- */
.oxid-lit .lib-layout {
  display: grid;
  grid-template-columns: 228px 1fr;
  align-items: start;
  padding-top: 8px;
}
.oxid-lit .lib-rail {
  position: sticky;
  top: var(--header-height);
  border-right: 1px solid var(--line-strong);
  padding: 18px 0 28px;
  background: var(--paper);
  align-self: stretch;
  max-height: calc(100vh - var(--header-height));
  overflow: auto;
}
.oxid-lit .rail-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px 6px;
}
.oxid-lit .rail-clear {
  font-size: 12px;
  font-weight: 700;
  font-family: 'Archivo', sans-serif;
  color: var(--link);
  background: 0 0;
  border: 0;
  cursor: pointer;
}
.oxid-lit .fgroup {
  padding: 12px 0 6px;
  border-top: 1px solid var(--line);
  margin-top: 6px;
}
.oxid-lit .fgroup:first-of-type {
  border-top: 0;
  margin-top: 0;
}
.oxid-lit .fgroup h4 {
  margin: 0;
  padding: 0 18px 6px;
}
.oxid-lit .rail-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 7px 18px 7px 15px;
  border: 0;
  border-left: 3px solid transparent;
  background: 0 0;
  color: var(--txt);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  transition: all .12s;
}
.oxid-lit .rail-item span:first-child {
  flex: 1;
}
.oxid-lit .rail-item:hover {
  background: var(--hover);
}
.oxid-lit .rail-item.is-active {
  color: var(--oxid-blue);
  border-left-color: var(--teal);
  background: var(--teal-tint);
  font-weight: 600;
}
.oxid-lit .rail-item .ct {
  font-size: 12px;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}
.oxid-lit .rail-item.is-active .ct {
  color: var(--oxid-blue);
}
.oxid-lit .fcheck {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--txt);
  cursor: pointer;
}
.oxid-lit .fcheck:hover {
  background: var(--hover);
}
.oxid-lit .fcheck input {
  width: 14px;
  height: 14px;
  accent-color: var(--accent);
  cursor: pointer;
}
.oxid-lit .fcheck .ct {
  margin-left: auto;
  font-size: 12px;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}

.oxid-lit .lib-content {
  padding: 18px 0 40px 28px;
  min-width: 0;
}
.oxid-lit .lib-toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}
.oxid-lit .sortwrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.oxid-lit .sortwrap label {
  font-size: 12px;
  font-weight: 700;
  font-family: 'Archivo', sans-serif;
  color: var(--faint);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.oxid-lit .sortwrap select {
  height: 34px;
  border: 1px solid var(--line-strong);
  background: var(--card);
  font: inherit;
  font-family: 'Archivo', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--txt);
  padding: 0 10px;
  cursor: pointer;
  outline: none;
}
.oxid-lit .sortwrap select:focus {
  border-color: var(--accent);
}
.oxid-lit .lib-count {
  font-size: 13px;
  font-weight: 700;
  font-family: 'Archivo', sans-serif;
  color: var(--txt-dim);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: .02em;
  margin-left: auto;
}
.oxid-lit .typetabs {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
/* Two-class specificity beats the UA stylesheet's single-attribute
   [hidden] rule, same class of bug fixed for .helpband/.vcard/table rows
   elsewhere on this page — spelled out explicitly so hiding this row (see
   $show_type_tabs in page-literature.php) actually takes effect. */
.oxid-lit .typetabs[hidden] {
  display: none;
}
.oxid-lit .ttab {
  padding: 9px 15px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--txt-dim);
  background: 0 0;
  border: 0;
  cursor: pointer;
  box-shadow: inset 0 -2px 0 transparent;
  transition: color .12s, box-shadow .12s;
}
.oxid-lit .ttab:hover {
  color: var(--ink);
}
.oxid-lit .ttab.on {
  color: var(--ink);
  font-weight: 700;
  font-family: 'Archivo', sans-serif;
  box-shadow: inset 0 -2px 0 var(--accent);
}
.oxid-lit .ttab[hidden] {
  display: none;
}
.oxid-lit .ttab .tc {
  color: var(--faint);
  font-weight: 600;
  margin-left: 6px;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.oxid-lit .ttab.on .tc {
  color: var(--accent);
}
.oxid-lit .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  min-height: 2px;
}
.oxid-lit .chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  font-family: 'Archivo', sans-serif;
  padding: 5px 10px;
  background: var(--tint);
  color: var(--accent);
  cursor: pointer;
  border: 0;
}
.oxid-lit .chip svg {
  width: 13px;
  height: 13px;
}
.oxid-lit .lib-pills {
  display: none;
}
.oxid-lit .lib-clear-mobile {
  display: none;
}

/* ---------- Document table ---------- */
.oxid-lit .lit-table-wrap {
  overflow-x: auto;
}
.oxid-lit .lit-table {
  width: 100%;
  border-collapse: collapse;
}
.oxid-lit .lit-table thead th {
  padding: 0 4px 9px;
  border-bottom: 1px solid var(--line-strong);
  font-size: 11px;
  font-weight: 800;
  font-family: 'Archivo', sans-serif;
  color: var(--faint);
  text-transform: uppercase;
  letter-spacing: .05em;
  text-align: left;
}
.oxid-lit .lit-table th.selbox {
  width: 38px;
}
.oxid-lit .lit-table th.c-type {
  width: 116px;
}
.oxid-lit .lit-table th.c-rev {
  width: 58px;
}
.oxid-lit .lit-table th.c-upd {
  width: 104px;
}
.oxid-lit .lit-table th.c-size {
  width: 72px;
}
.oxid-lit .lit-table th.c-act {
  width: 126px;
}
.oxid-lit .lit-table th.num,
.oxid-lit .lit-table td.num {
  text-align: right;
}
.oxid-lit .selbox {
  text-align: center;
}
.oxid-lit .selbox input {
  width: 15px;
  height: 15px;
  accent-color: var(--accent);
  cursor: pointer;
  vertical-align: middle;
}
.oxid-lit .lit-table tbody tr {
  border-bottom: 1px solid var(--line);
  transition: background .1s;
}
.oxid-lit .lit-table tbody tr:hover {
  background: var(--hover);
}
.oxid-lit .lit-table tbody tr.sel {
  background: var(--tint);
}
/* Arrived here from a search result's "View in library" (?doc=<slug>).
   Marks which row was asked for, since the reader lands mid-table with
   every filter cleared and no other cue as to which one it is. main.js
   drops the class on the first click or keypress — it is a pointer, not a
   state. box-shadow rather than a border so the row's height, and the
   alignment of every row below it, does not shift. */
.oxid-lit .lit-table tbody tr.is-linked {
  background: var(--tint);
  box-shadow: inset 3px 0 0 0 var(--accent);
}
/* Filtering sets the native `hidden` attribute on non-matching rows (see
   matchesRow()/renderOut() in main.js) — a plain <tr>'s own default
   display:table-row would otherwise beat [hidden]'s display:none in some
   engines' cascade the same way .vcard's flex did on the Video Library
   page, so this is spelled out explicitly rather than relied on. */
.oxid-lit .lit-table tbody tr[hidden] {
  display: none;
}
.oxid-lit .lit-table td {
  padding: 11px 4px;
  vertical-align: top;
}
.oxid-lit .c-doc {
  min-width: 220px;
  padding-right: 14px;
}
.oxid-lit .c-doc .nm {
  font-size: 15px;
  font-weight: 700;
  font-family: 'Archivo', sans-serif;
  color: var(--ink);
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 7px;
}
/* Registered-trademark marks (FiberCUT^® 2D, FineKerf^™, etc.) — the
   sitewide sup.lm-reg default (0.5em) read too tiny here. The real gaps
   around it (before AND after) weren't sup spacing at all — .nm/.rn are
   flex containers with gap:7px, and title_html's raw wbr/sup/text nodes
   were each becoming their own flex item, so the gap applied BETWEEN
   every fragment (Fiber | wbr | CUT | sup | " 2" | wbr | D), not just
   between the type icon and the title. Fixed at the source by wrapping
   title_html in its own <span> (see lm_proto_render_document_row() /
   lm_proto_render_document_recent_row() in inc/document-fields.php) so
   the title is a single flex item again — only a font-size bump belongs
   here now. Scoped to this page only — the sitewide rule elsewhere is
   untouched. The sitewide vertical-align:super pushes it ~1px above the
   cap-height of the surrounding bold Archivo letters — nudged back down
   with a direct offset (measured against the actual rendered glyphs)
   rather than guessing at a replacement vertical-align keyword/length. */
.oxid-lit sup.lm-reg {
  font-size: 0.68em;
  position: relative;
  top: 2.5px;
  margin-left: 0.15em;
}
.oxid-lit .c-doc .nm .dico {
  width: 14px;
  height: 14px;
  flex: none;
  color: var(--faint);
}
.oxid-lit .c-doc .sr {
  font-size: 12px;
  font-weight: 500;
  color: var(--faint);
  margin-top: 2px;
}
.oxid-lit .c-doc .rmeta {
  display: none;
  font-size: 12px;
  font-weight: 500;
  color: var(--txt-dim);
  margin-top: 4px;
}
.oxid-lit .cell {
  font-size: 13px;
  font-weight: 500;
  color: var(--txt);
  font-variant-numeric: tabular-nums;
}
.oxid-lit .cell.mut {
  color: var(--txt-dim);
}
.oxid-lit .c-type {
  font-size: 12px;
  font-weight: 600;
  color: var(--txt-dim);
}
.oxid-lit .c-act {
  white-space: nowrap;
}
.oxid-lit .dl-link {
  font-size: 14px;
  font-weight: 700;
  font-family: 'Archivo', sans-serif;
  color: var(--link);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 14px;
}
.oxid-lit .dl-link svg {
  width: 14px;
  height: 14px;
}
.oxid-lit .dl-link:last-child {
  margin-right: 0;
}
.oxid-lit .dl-link:hover {
  text-decoration: underline;
}
.oxid-lit .dl-link.mut {
  color: var(--txt-dim);
  font-weight: 600;
}
.oxid-lit mark.lit-hl {
  background: var(--accent);
  color: #fff;
  border-radius: 0;
  padding: 0 2px;
}
.oxid-lit .lib-empty {
  text-align: center;
  padding: 54px 20px;
  color: var(--txt-dim);
  font-weight: 600;
  font-size: 15px;
}
.oxid-lit .lib-empty svg {
  width: 34px;
  height: 34px;
  display: block;
  margin: 0 auto 12px;
  color: var(--line-strong);
}

.oxid-lit .helpband {
  margin-top: 34px;
  border: 1px solid var(--line-strong);
  background: var(--rail-bg);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.oxid-lit .helpband[hidden] {
  display: none;
}
.oxid-lit .helpband .t {
  font-size: 16px;
  font-weight: 800;
  font-family: 'Archivo', sans-serif;
  color: var(--ink);
}
.oxid-lit .helpband .s {
  font-size: 13px;
  font-weight: 500;
  color: var(--txt-dim);
  margin-top: 2px;
}
.oxid-lit .helpband a {
  font-size: 14px;
  font-weight: 800;
  font-family: 'Archivo', sans-serif;
  color: #fff;
  background: var(--accent);
  border: 1.5px solid var(--accent);
  padding: 11px 18px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: background .16s, border-color .16s;
}
.oxid-lit .helpband a svg {
  width: 15px;
  height: 15px;
}
.oxid-lit .helpband a:hover {
  background: var(--oxid-blue-dark);
  border-color: var(--oxid-blue-dark);
}

/* ---------- "Your List" download tray ---------- */
.oxid-lit .cart-fab {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 45;
  background: var(--ink);
  color: var(--paper);
  border: 0;
  cursor: pointer;
  writing-mode: vertical-rl;
  padding: 16px 9px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  font-family: 'Archivo', sans-serif;
  letter-spacing: .03em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.oxid-lit .cart-fab .badge {
  writing-mode: horizontal-tb;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 1px 7px;
}
.oxid-lit .cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 17, 24, .4);
  z-index: 48;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
.oxid-lit .cart-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.oxid-lit .cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 340px;
  max-width: 90vw;
  background: var(--paper);
  z-index: 49;
  transform: translateX(100%);
  transition: transform .25s ease;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--line-strong);
}
.oxid-lit .cart-panel.open {
  transform: translateX(0);
}
.oxid-lit .cart-head {
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.oxid-lit .cart-head .k {
  font-size: 12px;
  font-weight: 800;
  font-family: 'Archivo', sans-serif;
  color: var(--accent);
  text-transform: uppercase;
}
.oxid-lit .cart-head h3 {
  font-size: 22px;
  font-weight: 900;
  font-family: 'Archivo', sans-serif;
  color: var(--ink);
  margin: 3px 0 0;
}
.oxid-lit .cart-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: 0 0;
  border: 0;
  cursor: pointer;
  color: var(--txt-dim);
}
.oxid-lit .cart-close svg {
  width: 18px;
  height: 18px;
}
.oxid-lit .cart-note {
  font-size: 12px;
  font-weight: 600;
  color: var(--txt-dim);
  padding: 12px 20px;
  background: var(--rail-bg);
}
.oxid-lit .cart-list {
  flex: 1;
  overflow: auto;
  padding: 6px 0;
}
.oxid-lit .cart-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 20px;
  border-bottom: 1px solid var(--line);
}
.oxid-lit .cart-row .ci {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 2px;
  color: var(--faint);
}
.oxid-lit .cart-row .cm {
  flex: 1;
  min-width: 0;
}
.oxid-lit .cart-row .cn {
  font-size: 14px;
  font-weight: 700;
  font-family: 'Archivo', sans-serif;
  color: var(--ink);
  line-height: 1.2;
}
.oxid-lit .cart-row .cs {
  font-size: 11px;
  font-weight: 500;
  color: var(--faint);
  margin-top: 2px;
}
.oxid-lit .cart-row .cx {
  background: 0 0;
  border: 0;
  cursor: pointer;
  color: var(--faint);
  padding: 0;
}
.oxid-lit .cart-row .cx svg {
  width: 15px;
  height: 15px;
}
.oxid-lit .cart-row .cx:hover {
  color: var(--accent);
}
.oxid-lit .cart-empty {
  padding: 40px 24px;
  text-align: center;
  color: var(--faint);
  font-weight: 600;
  font-size: 14px;
}
.oxid-lit .cart-foot {
  padding: 14px 20px 18px;
  border-top: 1px solid var(--line);
}
.oxid-lit .cart-dl {
  width: 100%;
  background: var(--accent);
  color: #fff;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-family: 'Archivo', sans-serif;
  font-size: 15px;
  font-weight: 800;
  padding: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.oxid-lit .cart-dl svg {
  width: 16px;
  height: 16px;
}
.oxid-lit .cart-dl:disabled {
  background: var(--line-strong);
  cursor: not-allowed;
}

@media (max-width: 900px) {
  .oxid-lit .helpband {
    flex-direction: column;
    align-items: center;
    text-align: center;
    /* Matches the existing margin-top so the CTA sits with equal breathing
       room above (content) and below (footer) instead of butting straight
       up against the footer's top border. */
    margin-bottom: 34px;
  }
  .oxid-lit .sec-toggle {
    cursor: pointer;
  }
  .oxid-lit .sec-chev {
    display: inline-flex;
    width: 14px;
    height: 14px;
    margin-left: auto;
    flex-shrink: 0;
    transition: transform .15s ease;
  }
  .oxid-lit .sec-toggle[aria-expanded="false"] .sec-chev {
    transform: rotate(-90deg);
  }
  .oxid-lit .sec-toggle[aria-expanded="false"] + .series-grid,
  .oxid-lit .sec-toggle[aria-expanded="false"] + .app-row,
  .oxid-lit .sec-toggle[aria-expanded="false"] + .recent-wrap,
  .oxid-lit .sec-toggle[aria-expanded="false"] + .lib-filters {
    display: none;
  }
  .oxid-lit .sec-toggle.lib-filters-toggle {
    display: flex;
  }
  .oxid-lit .sec-toggle[aria-expanded="false"] ~ #viewAll,
  .oxid-lit .sec-toggle[aria-expanded="false"] ~ #wpAll {
    display: none;
  }
  .oxid-lit .lib-layout {
    grid-template-columns: 1fr;
    border-top: 0;
  }
  .oxid-lit .lib-rail {
    display: none;
  }
  .oxid-lit .lib-content {
    padding: 14px 0 40px;
  }
  .oxid-lit .lib-clear-mobile {
    display: block;
    margin-bottom: 10px;
  }
  .oxid-lit .lib-clear-mobile[hidden] {
    display: none;
  }
  .oxid-lit .lib-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
  }
  .oxid-lit .pill {
    font-size: 13px;
    font-weight: 600;
    padding: 6px 13px;
    border: 1px solid var(--line-strong);
    background: var(--card);
    color: var(--txt-dim);
    cursor: pointer;
  }
  .oxid-lit .pill.is-active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
  }
  /* Collapse to a stacked card-like table: hide the middle columns, show
     their info inline under the document name instead (.rmeta) — same
     "hide columns, reveal .rmeta" move the mockup itself specifies for
     this exact breakpoint. */
  .oxid-lit .lit-table thead {
    display: none;
  }
  .oxid-lit .lit-table,
  .oxid-lit .lit-table tbody,
  .oxid-lit .lit-table tr,
  .oxid-lit .lit-table td {
    display: block;
    width: auto;
  }
  .oxid-lit .lit-table tr {
    display: flex;
    align-items: flex-start;
    padding: 11px 4px;
    gap: 10px;
  }
  .oxid-lit .lit-table tr[hidden] {
    display: none;
  }
  .oxid-lit .lit-table td {
    padding: 0;
  }
  .oxid-lit .lit-table td.c-type,
  .oxid-lit .lit-table td.c-rev,
  .oxid-lit .lit-table td.c-upd,
  .oxid-lit .lit-table td.c-size {
    display: none;
  }
  .oxid-lit .c-doc {
    flex: 1;
    min-width: 0;
  }
  .oxid-lit .c-doc .rmeta {
    display: block;
  }
  .oxid-lit .c-act {
    flex: none;
  }
  .oxid-lit .page-header {
    padding: 24px 0 30px;
  }
  /* Phone/tablet: search takes the full row, toggle stacks below it. */
  .oxid-lit .lit-searchbar .home-search {
    flex-basis: 100%;
    max-width: none;
  }
  .oxid-lit .view-toggle {
    width: 100%;
  }
  .oxid-lit .view-toggle button {
    flex: 1 1 0;
  }
  .oxid-lit .page-title {
    font-size: 44px;
  }
  .oxid-lit .cart-fab {
    padding: 12px 7px;
    font-size: 11px;
  }
  /* .rn (title, flex:1) was losing the space race to .rm/.ra's nowrap
     siblings at narrow widths, squeezing to near-zero width and wrapping
     the title letter-by-letter instead of at word boundaries. Title gets
     its own full-width row; meta + action share the row below it. */
  .oxid-lit .recent-row {
    flex-wrap: wrap;
    gap: 4px 12px;
  }
  .oxid-lit .recent-row .rn {
    flex-basis: 100%;
  }
  .oxid-lit .recent-row .rm {
    flex: 1 1 auto;
    flex-wrap: wrap;
    white-space: normal;
  }
  .oxid-lit .recent-row .racts {
    flex: 0 0 auto;
    min-width: 0;
  }
}

/* ============================================================
   END LITERATURE LIBRARY PAGE
   ============================================================ */

/* ============================================================
   CAPABILITIES PAGE (page-capabilities.php)
   Ported from HTML Demos/62426- Demo/2-Capabilities_concept.html, its
   own token scope under .oxid-cap (same technique as .oxid-dir). Demo
   class names are prefixed cap- so nothing collides with the shared
   .hero/.stats/.cta/.btn rules elsewhere. Anything on teal takes dark
   ink #0B1118, never white.
   ============================================================ */
body.page-template-page-capabilities {
  overflow-x: hidden;
  overflow-y: auto;
}

.oxid-cap {
  --ink: #0B1118;
  --navy: var(--oxid-blue);
  --accent: var(--oxid-teal);
  --paper: #EFF3F6;
  --mist: #DDE4EA;
  --card: #F7FAFC;
  --txt: #2B3640;
  --txt-dim: #5A6675;
  --line: #C4CED7;
  padding-top: calc(var(--wp-admin-bar-offset, 0px) + var(--header-height));
  font-family: 'Spline Sans', sans-serif;
  color: var(--txt);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
.oxid-cap *,
.oxid-cap *::before,
.oxid-cap *::after {
  box-sizing: border-box;
}
.oxid-cap .cap-wrap {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 48px;
}
.oxid-cap h2 {
  margin: 0;
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  color: var(--ink);
  font-size: clamp(28px, 3.4vw, 46px);
  letter-spacing: -.02em;
  line-height: 1.04;
}
.oxid-cap .cap-eyebrow {
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 12px;
  letter-spacing: .26em;
  text-transform: uppercase;
  font-weight: 600;
}
.oxid-cap .cap-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 38px;
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  transition: background .25s, color .25s;
}
.oxid-cap .cap-btn:hover {
  background: var(--accent);
  color: #0B1118;
}
@keyframes cap-rise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Hero: photo with a light wash on the headline side ---------- */
.oxid-cap .cap-hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.oxid-cap .cap-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center 40%;
  background-size: cover;
  background-repeat: no-repeat;
}
.oxid-cap .cap-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(239,243,246,.82) 0%, rgba(239,243,246,.6) 30%, rgba(239,243,246,.22) 56%, rgba(239,243,246,0) 80%);
}
.oxid-cap .cap-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 52px;
  padding-bottom: 100px; /* room for .cap-hero__next */
}
.oxid-cap .cap-hero .lm-crumb {
  margin-bottom: 22px;
}
.oxid-cap .cap-hero__eyebrow {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--navy);
  font-size: 13px;
  letter-spacing: .24em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0;
  animation: cap-rise .7s .05s forwards;
}
.oxid-cap .cap-hero h1 {
  margin: 0;
  max-width: 18ch;
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  color: var(--ink);
  text-transform: uppercase;
  font-size: clamp(46px, 6.4vw, 92px);
  line-height: .98;
  letter-spacing: -.01em;
  opacity: 0;
  animation: cap-rise .7s .14s forwards;
}
.oxid-cap .cap-hero h1 .a {
  font-style: normal;
  color: var(--navy);
}
.oxid-cap .cap-hero__sub {
  max-width: 56ch;
  margin: 28px 0 0;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.6;
  color: var(--txt);
  opacity: 0;
  animation: cap-rise .7s .24s forwards;
}
.oxid-cap .cap-hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 38px;
  opacity: 0;
  animation: cap-rise .7s .34s forwards;
}
/* Outlined partner to .cap-btn. Both get the same 2px border (transparent
   on the solid one) so their heights match even after the desktop zoom
   rounds borders. */
.oxid-cap .cap-hero__actions .cap-btn {
  padding: 16px 36px;
  border: 2px solid transparent;
}
.oxid-cap .cap-hero__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  /* Hairline drawn inside the 2px border box, so the height still
     matches .cap-btn. The fill stops at that hairline (padding-box):
     under the clear border it showed as a second, outer edge. */
  border: 2px solid transparent;
  box-shadow: inset 0 0 0 1px rgba(11,17,24,.22);
  background: rgba(255,255,255,.6);
  background-clip: padding-box; /* keeps the label legible over the photo */
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  transition: background .25s, color .25s;
}
.oxid-cap .cap-hero__link:hover {
  background: var(--ink);
  color: #fff;
}
/* Scroll cue: jumps to the empty #cap-next marker right after the hero,
   so it lands on whichever section is first without knowing which. */
.oxid-cap .cap-hero__next {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: -22px;
  color: var(--navy);
  text-decoration: none;
  opacity: 0;
  animation: cap-rise .7s .5s forwards, cap-bob 2.2s 1.4s ease-in-out infinite;
  transition: color .25s;
}
.oxid-cap .cap-hero__next svg {
  width: 28px;
  height: 28px;
}
.oxid-cap .cap-hero__next:hover,
.oxid-cap .cap-hero__next:focus-visible {
  color: var(--accent);
}
/* ISO mark + credentials strip: phones only (see the 767px block). */
.oxid-cap .cap-hero__mark,
.oxid-cap .cap-hero__creds {
  display: none;
}
@keyframes cap-bob {
  0%, 100% { opacity: 1; transform: none; }
  50%      { opacity: 1; transform: translateY(6px); }
}
.oxid-cap .cap-next {
  scroll-margin-top: var(--header-height);
}

/* ---------- Industries ---------- */
.oxid-cap .cap-ind {
  padding: 100px 0;
  background: var(--mist);
}
/* Desktop: a little less air around industries so the first screen ends
   with the whole navy ISO band in view, not cut off at its bottom. */
@media (min-width: 901px) {
  .oxid-cap .cap-ind {
    padding: 76px 0;
  }
}
.oxid-cap .cap-ind__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 44px;
}
.oxid-cap .cap-ind__card {
  display: block;
  padding: 34px 30px;
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid transparent;
  color: inherit;
  text-decoration: none;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.oxid-cap .cap-ind__card:hover {
  border-top-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 18px 50px -30px rgba(57,192,200,.45);
}
.oxid-cap .cap-ind__top {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 18px;
}
.oxid-cap .cap-ind__top svg {
  flex: none;
  width: 28px;
  height: 28px;
  color: var(--accent);
}
.oxid-cap .cap-ind h3 {
  margin: 0;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  color: var(--ink);
  font-size: 19px;
}
.oxid-cap .cap-ind p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--txt-dim);
}

/* ---------- Stats band (navy) ---------- */
.oxid-cap .cap-stats {
  background: var(--navy);
  color: #fff;
}
.oxid-cap .cap-stats__row {
  display: grid;
  grid-template-columns: repeat(var(--cap-stats, 3), 1fr);
  align-items: center;
}
.oxid-cap .cap-stats__row.has-mark {
  grid-template-columns: auto repeat(var(--cap-stats, 3), 1fr);
}
.oxid-cap .cap-stats__mark {
  position: relative;
  display: flex;
  align-items: center;
  padding: 34px 44px 34px 0;
}
.oxid-cap .cap-stats__mark img {
  display: block;
  height: 120px;
  width: auto;
}
.oxid-cap .cap-stats__mark::after,
.oxid-cap .cap-stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 24px;
  bottom: 24px;
  width: 1px;
  background: rgba(255,255,255,.2);
}
.oxid-cap .cap-stat {
  position: relative;
  padding: 36px 44px;
  text-align: center;
}
.oxid-cap .cap-stat__num {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1;
  letter-spacing: -.01em;
}
.oxid-cap .cap-stat__num .a {
  color: var(--accent);
}
.oxid-cap .cap-stat__lbl {
  margin-top: 12px;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: .72;
}
.oxid-cap .cap-stat__fine {
  margin-top: 7px;
  font-size: 11px;
  opacity: .5;
}
/* A stat's Badge (e.g. FDA Registered Facility): a white SVG in place of
   the figure + label. The SVG carries its own padding, so it runs about
   as tall as the ISO mark. */
.oxid-cap .cap-stat__badge {
  display: block;
  height: 116px;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  object-fit: contain;
}
/* Four or more stats (e.g. with the FDA mark): tighter columns and a
   slightly smaller figure, so "Since 1980" keeps to one line. */
.oxid-cap .cap-stats__row.is-dense .cap-stat {
  padding-left: 22px;
  padding-right: 22px;
}
.oxid-cap .cap-stats__row.is-dense .cap-stat__num {
  font-size: clamp(26px, 2.6vw, 40px);
}

/* ---------- Floor band: full-bleed photo, fixed on desktop ---------- */
.oxid-cap .cap-floor {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: center;
  background-color: var(--paper);
  background-position: 8% center;
  background-size: 140%;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.oxid-cap .cap-floor::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(239,243,246,.40) 0%, rgba(239,243,246,.86) 30%, rgba(239,243,246,.5) 60%, rgba(239,243,246,.1) 100%);
}
.oxid-cap .cap-floor .cap-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
}
.oxid-cap .cap-floor h2 {
  max-width: 15ch;
  font-size: clamp(34px, 4.4vw, 58px);
}
.oxid-cap .cap-floor p {
  max-width: 44ch;
  margin: 22px 0 0;
  font-size: 20px;
  line-height: 1.6;
  color: var(--txt);
}
.oxid-cap .cap-floor__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  padding: 15px 30px;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  color: var(--navy);
  border: 1.5px solid var(--navy);
  background: rgba(255,255,255,.4);
  backdrop-filter: blur(2px);
  transition: background .25s, color .25s;
}
.oxid-cap .cap-floor__btn:hover {
  background: var(--navy);
  color: #fff;
}

/* ---------- Contract manufacturing band (Nov 2026) ----------
   Replaced the navy intro + five-step process tabs, which repeated the
   Facility page's process story; this routes visitors to Contract
   Manufacturing instead. A full-width Oxid-blue band (the solid break
   between The Floor's light photo and the closing CTA), with a photo
   left and copy right inside the page container (.cap-wrap);
   stacks under 1024px (side by side,
   the photo would lose up to a quarter of each side on small laptops). The eyebrow takes the light teal used on blue in
   contract-manufacturing.css / facility.css (#6FD8D6, 5.2:1 on the
   blue); --accent (#39C0C8) is only about 4:1 there, too low for 12px
   text. */
.oxid-cap .cap-cm {
  padding: 72px 0;
  background: var(--navy);
  scroll-margin-top: var(--header-height);
}
/* Desktop: the copy column is exactly as wide as the one-line headline
   (see the min-width: 1024px block below) and the photo takes the rest.
   The photo stretches to the copy's height, so its top meets the
   eyebrow and its bottom the button. */
.oxid-cap .cap-cm__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 56px;
  align-items: stretch;
}
.oxid-cap .cap-cm__grid.no-photo {
  grid-template-columns: 1fr;
}
/* Phones: the photo keeps its own proportions (the width/height
   attributes from wp_get_attachment_image()), uncropped. */
.oxid-cap .cap-cm__img {
  display: block;
  width: 100%;
  height: auto;
}
.oxid-cap .cap-cm .cap-eyebrow {
  margin-bottom: 14px;
  line-height: 1; /* box top = letter tops, for the photo alignment */
  font-weight: 700;
  color: #6FD8D6;
}
.oxid-cap .cap-cm h2 {
  margin-bottom: 18px;
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -.015em;
  color: #fff;
}
.oxid-cap .cap-cm p {
  max-width: 46ch;
  margin: 0 0 22px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255,255,255,.88);
}
.oxid-cap .cap-cm__list {
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255,255,255,.25);
}
.oxid-cap .cap-cm__list li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.25);
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
}
/* The link is The Floor's outlined button (.cap-floor__btn: same box,
   type and padding), outlined in solid white with white text on the blue.
   No top margin: the list above already leaves 30px. */
.oxid-cap .cap-cm .cap-floor__btn {
  margin-top: 0;
  border-color: #fff;
  background: transparent;
  backdrop-filter: none;
  color: #fff;
}
.oxid-cap .cap-cm .cap-floor__btn:hover {
  background: #fff;
  color: var(--navy);
}
.oxid-cap .cap-cm .cap-floor__btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}
@media (min-width: 1024px) {
  /* Photo fills its cell (the row is the copy's height), cropped
     evenly at the sides when the cell is narrower than the photo. */
  .oxid-cap .cap-cm__photo {
    position: relative;
    overflow: hidden;
  }
  .oxid-cap .cap-cm__img {
    position: absolute;
    inset: 0;
    height: 100%;
    object-fit: cover;
  }
  /* The headline sets the copy column's width; the paragraph and list
     wrap within it instead of widening it (width 0 + min-width 100%). */
  .oxid-cap .cap-cm h2 {
    white-space: nowrap;
  }
  .oxid-cap .cap-cm__body {
    width: max-content;
  }
  .oxid-cap .cap-cm p,
  .oxid-cap .cap-cm__list {
    width: 0;
    min-width: 100%;
  }
}
@media (max-width: 1023.98px) {
  .oxid-cap .cap-cm {
    padding: 48px 0;
  }
  .oxid-cap .cap-cm__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  /* Stacked: the copy is centered under the photo (user's call, Nov 2026). */
  .oxid-cap .cap-cm__body {
    text-align: center;
  }
  .oxid-cap .cap-cm p {
    margin-left: auto;
    margin-right: auto;
  }
}
/* Phones: no list (Machined components, ...); the paragraph leads
   straight to the button (user's call, Nov 2026). */
@media (max-width: 767px) {
  .oxid-cap .cap-cm__list {
    display: none;
  }
  .oxid-cap .cap-cm p {
    margin-bottom: 28px;
  }
}

/* ---------- Closing CTA ---------- */
.oxid-cap .cap-cta {
  padding: 100px 0;
  text-align: center;
  background: var(--mist);
}
.oxid-cap .cap-cta h2 {
  margin-bottom: 16px;
}
.oxid-cap .cap-cta p {
  max-width: 52ch;
  margin: 0 auto 32px;
  font-size: 18px;
  color: var(--txt);
}

@media (max-width: 900px) {
  /* Sides only: the shorthand was zeroing .cap-hero__inner's top/bottom
     padding (same specificity, later in the file), jamming the hero's
     breadcrumb against the header. */
  .oxid-cap .cap-wrap {
    padding-left: 22px;
    padding-right: 22px;
  }
  .oxid-cap .cap-hero__inner {
    padding-top: 18px;
    padding-bottom: 76px;
  }
  .oxid-cap .cap-hero h1 {
    font-size: clamp(36px, 6.4vw, 50px);
  }
  .oxid-cap .cap-hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    max-width: 480px;
  }
  .oxid-cap .cap-hero__actions .cap-btn {
    justify-content: center;
  }
  .oxid-cap .cap-hero__next {
    bottom: 16px;
  }
  .oxid-cap .cap-ind__grid {
    grid-template-columns: 1fr;
  }
  /* The section has no padding of its own (it relies on min-height +
     centering); on phones the copy outgrows that and hit both edges. */
  .oxid-cap .cap-floor {
    padding: 56px 0;
    background-attachment: scroll;
    background-size: cover;
  }
  .oxid-cap .cap-stats__row,
  .oxid-cap .cap-stats__row.has-mark {
    grid-template-columns: 1fr 1fr;
  }
  .oxid-cap .cap-stats__mark {
    grid-column: 1 / -1;
    justify-content: center;
    padding: 26px 0;
  }
  .oxid-cap .cap-stats__mark::after,
  .oxid-cap .cap-stat::after {
    display: none;
  }
  .oxid-cap .cap-stat {
    padding: 28px 16px;
  }
}

/* Phones: industries collapse into one bordered list. .cap-ind__top is
   display:contents so the icon, title and text share the card's grid —
   the text lines up under the title, not the icon, with no markup change.
   767px, not the 900px used above, so tablets keep the stacked cards. */
@media (max-width: 767px) {
  /* ---- Hero, phones ("option N"): fills the screen under the header.
     Top group (.cap-hero__inner: crumb, headline, text, buttons) on a
     strong white wash; the credentials strip (.cap-hero__creds, the same
     cap_stats rows as the navy band) pinned flush to the bottom; the
     photo shows through between them. min-height, not height, so short
     phones grow instead of clipping. */
  .oxid-cap .cap-hero {
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    min-height: calc(100svh - var(--wp-admin-bar-offset, 0px) - var(--header-height));
    border-bottom: 0;
  }
  .oxid-cap .cap-hero__bg {
    background-position: 30% center;
  }
  .oxid-cap .cap-hero::before {
    background: rgba(255,255,255,.15);
  }
  .oxid-cap .cap-hero__inner {
    padding: 24px 20px 26px;
  }
  /* The wash: lighter behind the crumb, .86 behind the text, then an 80px
     fade into the photo below the buttons. One layer, so there's no seam
     where the solid part meets the fade. */
  .oxid-cap .cap-hero__inner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: -80px;
    z-index: -1;
    background: linear-gradient(rgba(255,255,255,.62), rgba(255,255,255,.86) 96px, rgba(255,255,255,.86) calc(100% - 80px), rgba(255,255,255,0));
    pointer-events: none;
  }
  .oxid-cap .cap-hero__eyebrow,
  .oxid-cap .cap-hero__next {
    display: none;
  }
  .oxid-cap .cap-hero nav.lm-crumb {
    --crumb-link: #5B6673;
    --crumb-cur: #1B2430;
    margin: 0 0 16px;
    font-size: 14px;
  }
  .oxid-cap .cap-hero nav.lm-crumb .cur {
    font-weight: 600;
  }
  /* "Four decades of" doesn't fit on a phone, so the title's own break
     after "of" left OF alone on a line. Drop that break and balance the
     wrap instead: FOUR DECADES / OF PRECISION. The min() caps the spec's
     clamp so "FOUR DECADES" (~8.1em) also fits 100vw - 40px at 360px. */
  .oxid-cap .cap-hero h1 {
    max-width: none;
    margin: 0;
    font-size: min(clamp(36px, 11vw, 43px), calc((100vw - 40px) / 8.3));
    line-height: 1.02;
    letter-spacing: -.5px;
    color: #0F1A26;
    text-wrap: balance;
  }
  .oxid-cap .cap-hero h1 .a {
    color: #004C8C;
  }
  .oxid-cap .cap-hero h1 br:first-of-type {
    display: none;
  }
  .oxid-cap .cap-hero__sub {
    max-width: none;
    margin: 18px 0 0;
    font-size: 17px;
    line-height: 1.5;
    color: #2B3540;
  }
  .oxid-cap .cap-hero__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    max-width: none;
    margin-top: 22px;
  }
  .oxid-cap .cap-hero__actions .cap-btn,
  .oxid-cap .cap-hero__link {
    justify-content: center;
    align-items: center;
    min-height: 56px;
    padding: 8px 10px;
    border: 1px solid;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    line-height: 1.25;
    text-align: center;
  }
  .oxid-cap .cap-hero__actions .cap-btn {
    border-color: #004C8C;
    background: #004C8C;
    color: #fff;
  }
  .oxid-cap .cap-hero__actions .cap-btn:hover {
    border-color: var(--accent);
    background: var(--accent);
  }
  .oxid-cap .cap-hero__link {
    border-color: #C9D2DC;
    box-shadow: none;
    background: #fff;
    color: #0F1A26;
  }
  /* Centered in the photo band (the hero's space-between spreads the
     band evenly above and below it). */
  .oxid-cap .cap-hero__mark {
    position: relative;
    z-index: 2;
    display: block;
    align-self: center;
    width: 84px;
    height: 58px;
    margin: -10px 0 16px; /* 16px clear of the buttons (inner has 26px) and the strip */
    background: #004C8C;
    -webkit-mask: var(--cap-mark) center / contain no-repeat;
    mask: var(--cap-mark) center / contain no-repeat;
  }
  /* The hero now carries the credentials and the ISO mark, so the
     standalone navy band would repeat them. */
  .oxid-cap .cap-stats {
    display: none;
  }
  /* With the navy band gone, industries (pale gray) meets The Floor
     (pale photo) directly; a teal bar marks the break. */
  /* The Floor, phones: darker photo (dark overlay instead of the light
     wash), so the copy flips to white; less top padding; a bolder
     eyebrow. */
  .oxid-cap .cap-floor {
    padding-top: 32px;
    padding-bottom: 32px;
    border-top: 3px solid var(--accent);
  }
  .oxid-cap .cap-floor::before {
    background: linear-gradient(rgba(11,17,24,.64), rgba(11,17,24,.52));
  }
  /* "THE FLOOR": a bolder eyebrow size. */
  .oxid-cap .cap-floor .cap-eyebrow {
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .22em;
  }
  .oxid-cap .cap-floor h2 {
    color: #fff;
  }
  .oxid-cap .cap-floor p {
    color: #E3EAF2;
  }
  .oxid-cap .cap-floor__btn {
    border-color: rgba(255,255,255,.85);
    background: rgba(255,255,255,.06);
    color: #fff;
  }
  /* Centered under the left-aligned copy (user's call, Nov 2026). */
  .oxid-cap .cap-floor .cap-floor__btn {
    display: flex;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }
  .oxid-cap .cap-floor__btn:hover {
    background: #fff;
    color: var(--navy);
  }
  .oxid-cap .cap-hero__creds {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 6px 12px 8px;
    background: #004C8C;
  }
  /* Vertically centered so cells without a sub-label (Since 1980, FDA)
     sit level with their taller row-mates instead of riding high. */
  .oxid-cap .cap-hero__cred {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 10px;
    text-align: center;
  }
  .oxid-cap .cap-hero__cred:nth-child(odd) {
    border-right: 1px solid rgba(255,255,255,.18);
  }
  .oxid-cap .cap-hero__cred:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255,255,255,.18);
  }
  .oxid-cap .cap-hero__cred-num {
    font-family: 'Archivo', sans-serif;
    font-weight: 800;
    font-size: 24px;
    line-height: 1.1;
    color: #fff;
  }
  .oxid-cap .cap-hero__cred-num .a {
    color: #39C0C8;
  }
  .oxid-cap .cap-hero__cred-lbl {
    margin-top: 6px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.3px;
    line-height: 1.4;
    text-transform: uppercase;
    color: #C9D8EA;
  }
  .oxid-cap .cap-hero__cred-fine {
    margin-top: 4px;
    font-size: 12px;
    color: #A9C0DA;
  }
  .oxid-cap .cap-hero__cred-badge {
    display: block;
    height: 76px;
    width: auto;
    max-width: 100%;
    margin: -8px auto;
    object-fit: contain;
  }
  .oxid-cap .cap-ind {
    padding: 26px 0 32px; /* top matches the 24px gap under the heading (+2 for the font's descender space), so it sits centered */
  }
  .oxid-cap .cap-ind .cap-wrap {
    padding-left: 20px;
    padding-right: 20px;
  }
  .oxid-cap .cap-ind h2 {
    font-size: 24px;
    line-height: 1.15;
    text-wrap: balance;
  }
  .oxid-cap .cap-ind__grid {
    gap: 0;
    margin-top: 24px;
    background: var(--card);
    border: 1px solid #CDD4DC;
  }
  .oxid-cap .cap-ind__card,
  .oxid-cap .cap-ind__card:hover {
    display: grid;
    grid-template-columns: 22px 1fr;
    column-gap: 12px;
    align-items: start;
    padding: 14px 16px;
    background: none;
    border: 0;
    border-top: 1px solid #DCE3EA;
    transform: none;
    box-shadow: none;
  }
  .oxid-cap .cap-ind__card:first-child {
    border-top: 0;
  }
  .oxid-cap .cap-ind__top {
    display: contents;
  }
  .oxid-cap .cap-ind__top svg {
    width: 22px;
    height: 22px;
  }
  .oxid-cap .cap-ind h3 {
    margin-bottom: 2px;
    font-size: 16px;
  }
  .oxid-cap .cap-ind p {
    grid-column: 2;
    font-size: 14px;
    line-height: 1.45;
    color: #5B6673;
  }
}

/* Phones: one stat per row — at two across "13485:2016" runs past the
   screen edge (the demo's own 2-column phone layout did the same). */
@media (max-width: 560px) {
  .oxid-cap .cap-stats__row,
  .oxid-cap .cap-stats__row.has-mark {
    grid-template-columns: 1fr;
  }
  .oxid-cap .cap-stats__mark img {
    height: 88px;
  }
  .oxid-cap .cap-stat {
    padding: 20px 0;
  }
  .oxid-cap .cap-stat + .cap-stat {
    border-top: 1px solid rgba(255,255,255,.2);
  }
}

@media (prefers-reduced-motion: reduce) {
  .oxid-cap .cap-hero__eyebrow,
  .oxid-cap .cap-hero h1,
  .oxid-cap .cap-hero__sub,
  .oxid-cap .cap-hero__actions,
  .oxid-cap .cap-hero__next {
    animation: none;
    opacity: 1;
  }
}

/* ============================================================
   END CAPABILITIES PAGE
   ============================================================ */

/* ============================================================
   LANDING PAGE (page-landing.php) — the front page
   Ported from HTML Demos/62426- Demo/1-oxid_routing_concept_2.html under
   .oxid-land. The page drops body.home (inc/landing-fields.php), so the
   body:not(.home) rules apply here as on every page; everything here keys off
   body.page-template-page-landing. Anything on teal takes dark ink.
   ============================================================ */
body.page-template-page-landing {
  overflow-x: hidden;
  overflow-y: auto;
}

.oxid-land {
  --ink: #090C11;
  --navy: var(--oxid-blue);
  --accent: var(--oxid-teal);
  --land-hero-h: 100vh;
  /* The hero is pinned (below), so this holds its place in the flow. */
  padding-top: var(--land-hero-h);
  font-family: 'Spline Sans', sans-serif;
  background: #F4F6F8;
}
/* Phones: the small viewport height, so the hero doesn't grow and shrink
   as the browser's address bar slides away. */
@supports (height: 100svh) {
  .oxid-land {
    --land-hero-h: 100svh;
  }
}
@media (min-width: 901px) {
  /* body zoom shrinks vh with everything else — undo it so the hero
     still fills the window (same fix as LM's old homepage). Never under
     the spec's 700px, so short windows don't crowd the copy. */
  .oxid-land {
    --land-hero-h: max(700px, calc(100vh / var(--desktop-page-scale)));
  }
}
.oxid-land *,
.oxid-land *::before,
.oxid-land *::after {
  box-sizing: border-box;
}

/* ---------- Hero: full screen, pinned, the header floats over it ----------
   Fixed to the window rather than scrolling, so the stats band slides up
   over it and the top of the photo never leaves the screen (user's call).
   The band sits above it with its own background; the page has no site
   footer (footer.php).
   Layout from the Oct 2026 hero build spec (oxid-hero-spec.md: "Option 1,
   left-aligned, two-line headline" + "Mobile fix"), mobile first, with
   the site's real values swapped in for the mockup's estimates: the teal
   is --oxid-teal, the split is the header's 901px (not the suggested
   768px), and the copy starts a set distance under the real header
   (83px desktop / 62px phones) and 40px in, in line with the logo. */
.oxid-land .oxid-hero {
  --oxid-accent: var(--oxid-teal);
  --oxid-ink: #0b1218;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 0;
  height: var(--land-hero-h);
  overflow: hidden;
  background: var(--oxid-ink);
  color: #fff;
  font-family: 'Archivo', sans-serif;
}
.oxid-land .land-stats {
  position: relative;
  z-index: 1;
}
/* The page's copyright, in the photo's bottom-right corner (user's call,
   Nov 2026; it has no site footer). A soft shadow keeps it legible on
   the photo's lighter bottom edge. */
.oxid-land .oxid-hero__copy {
  position: absolute;
  right: clamp(16px, 2.5vw, 40px);
  bottom: 16px;
  z-index: 2;
  margin: 0;
  font-family: 'Spline Sans', sans-serif;
  font-size: 11px;
  letter-spacing: .04em;
  color: rgba(255,255,255,.75);
  text-shadow: 0 1px 3px rgba(0,0,0,.6);
}
.oxid-land .oxid-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 88% 100%;
}
/* Phones: a top-down scrim behind the copy, the product clear below it.
   The mockup's photo had the old overlay baked in; this one is the
   untouched original, so the flat layer is .22 rather than its .15.
   The page's "Shadow Strength" field scales the whole layer
   (--oxid-hero-shade, set in inc/landing-fields.php). */
.oxid-land .oxid-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: var(--oxid-hero-shade, 1);
  background:
    linear-gradient(to bottom, rgba(6,10,14,.94) 0, rgba(6,10,14,.84) 40%, rgba(6,10,14,0) 66%),
    rgba(6,10,14,.22);
}
/* Bottom fade to black over the photo (Nov 2026), all widths. Sits with
   the shade above the image (z 1), under the copy (z 2). */
.oxid-land .oxid-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 55%, #000 100%);
  pointer-events: none;
}
.oxid-land .oxid-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 700px;
  margin: 0 24px 0 0;
  /* Left inset (Nov 2026): the padding is the whole offset from the
     window edge, so no left margin; content-box keeps max-width as the
     text column's width rather than eating into it. */
  box-sizing: content-box;
  padding-left: clamp(24px, 7.2vw, 140px);
  padding-top: calc(var(--header-height) + 44px);
}
.oxid-land .oxid-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  /* The spec's .2em wraps "Precision Manufacturing & Assembly" at 390px
     (321px of text for 300px of room); .14em keeps it on one line, as
     in the mockup. */
  letter-spacing: .14em;
  text-transform: uppercase;
}
.oxid-land .oxid-hero__eyebrow::before {
  content: "";
  flex: 0 0 28px;
  height: 2px;
  background: var(--oxid-accent);
}
/* Phones stack the headline a word or two a line ("Built to / exacting /
   clinical / standards."): 6.5em is wider than any one of its words
   (5.1em at most) and narrower than any two together (7.7em at least),
   so the breaks still come from the width, not <br>s. */
.oxid-land .oxid-hero__title {
  max-width: 6.5em;
  margin: 0;
  font-size: clamp(42px, calc(22px + 3.2vw), 68px);
  line-height: 1.03;
  font-weight: 800;
  letter-spacing: -.025em;
}
.oxid-land .oxid-hero__title span {
  color: var(--oxid-accent);
}
.oxid-land .oxid-hero__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 500;
  color: #dde2e7;
}
.oxid-land .oxid-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
/* Copy rises in, one block after another. */
.oxid-land .oxid-hero__inner > * {
  opacity: 0;
  transform: translateY(24px);
  animation: land-rise .9s forwards;
}
.oxid-land .oxid-hero__eyebrow { animation-delay: .15s; }
.oxid-land .oxid-hero__title { animation-delay: .3s; }
.oxid-land .oxid-hero__text { animation-delay: .5s; }
.oxid-land .oxid-hero__actions { animation-delay: .65s; }
.oxid-land .oxid-btn {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 14px;
  border: 1px solid transparent;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: filter .2s, background-color .2s, border-color .2s;
}
.oxid-land .oxid-btn--primary {
  background: var(--oxid-accent);
  color: var(--oxid-ink);
}
.oxid-land .oxid-btn--ghost {
  border-color: rgba(255,255,255,.6);
  color: #fff;
}
/* Hover and focus weren't designed (spec): kept slight. */
.oxid-land .oxid-btn--primary:hover {
  filter: brightness(1.1);
}
.oxid-land .oxid-btn--ghost:hover {
  border-color: #fff;
  background: rgba(255,255,255,.08);
}
.oxid-land .oxid-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
@keyframes land-rise {
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 901px) {
  /* 60% down, not the spec's "center bottom": where the mockup's photo
     actually sits (matched row by row against the original). Bottom
     lifts the optics ~40px, into the buttons at 1440. */
  .oxid-land .oxid-hero__img {
    object-position: 50% 60%;
  }
  /* Desktop: no scrim, just a wash that is a little deeper behind the
     copy — measured so the original photo lands at the mockup's
     brightness (its baked-in overlay was darker on the left). */
  .oxid-land .oxid-hero::before {
    background: linear-gradient(90deg, rgba(6,10,14,.62) 0, rgba(6,10,14,.45) 50%, rgba(6,10,14,.28) 100%);
  }
  /* Desktop copy is sized in mockup px (the 1440px-wide artboard) scaled
     to the window, so it keeps the mockup's size against the photo,
     which scales with the width too: exact at 1440, a third larger at
     1920 (user's call — fixed px read much too small on wide screens).
     --hu is one artboard px; dividing by the body zoom makes it a true
     screen px at 1440, like the mockup. It stops shrinking at 80% of the
     width-scaled size. The final .8 sets the whole hero block 20% under
     the mockup at every width (user's call, Oct 2026): 1440 now gives
     54px headlines and 38px buttons; small laptops bottom out at 31px
     buttons and 11.5px intro text. */
  .oxid-land .oxid-hero {
    --hu: calc(max(100vw / 1440, .8px) * .8 / var(--desktop-page-scale));
  }
  .oxid-land .oxid-hero__inner {
    gap: calc(20 * var(--hu));
    max-width: calc(700 * var(--hu));
    padding-top: calc(var(--header-height) + 60 * var(--hu));
  }
  .oxid-land .oxid-hero__eyebrow {
    gap: calc(20 * var(--hu));
    font-size: calc(13 * var(--hu));
    letter-spacing: .24em;
  }
  .oxid-land .oxid-hero__eyebrow::before {
    flex-basis: calc(42 * var(--hu));
  }
  /* Two lines, "Built to exacting / clinical standards.": the first two
     rows fit (8.7em at most), three words plus "clinical" don't
     (11.4em). */
  .oxid-land .oxid-hero__title {
    max-width: 10em;
    font-size: calc(68 * var(--hu));
  }
  .oxid-land .oxid-hero__text {
    font-size: calc(18 * var(--hu));
  }
  .oxid-land .oxid-hero__actions {
    gap: calc(16 * var(--hu));
    margin-top: calc(4 * var(--hu));
  }
  .oxid-land .oxid-btn {
    height: calc(48 * var(--hu));
    padding: 0 calc(28 * var(--hu));
    font-size: calc(13 * var(--hu));
    letter-spacing: .14em;
  }
}

/* ---------- Stats band (navy) ---------- */
.oxid-land .land-stats {
  background: var(--navy);
  color: #fff;
}
.oxid-land .land-stats__row {
  display: grid;
  grid-template-columns: repeat(var(--land-stats, 3), 1fr);
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}
.oxid-land .land-stats__row.has-mark {
  grid-template-columns: auto repeat(var(--land-stats, 3), 1fr);
}
.oxid-land .land-stats__mark {
  position: relative;
  padding: 42px 44px 42px 0;
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 40px;
  letter-spacing: .04em;
}
/* Mark Image (the Capabilities page's ISO mark) in place of the word. */
.oxid-land .land-stats__mark--img {
  display: flex;
  align-items: center;
  padding-top: 26px;
  padding-bottom: 26px;
}
.oxid-land .land-stats__mark--img img {
  display: block;
  height: 110px;
  width: auto;
}
.oxid-land .land-stats__mark::after,
.oxid-land .land-stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 24px;
  bottom: 24px;
  width: 1px;
  background: rgba(255,255,255,.18);
}
.oxid-land .land-stat {
  position: relative;
  padding: 36px 44px;
  text-align: center;
}
.oxid-land .land-stat__num {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1;
  letter-spacing: -.01em;
}
.oxid-land .land-stat__num .a {
  color: var(--accent);
}
.oxid-land .land-stat__lbl {
  margin-top: 12px;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: .72;
}
.oxid-land .land-stat__fine {
  margin-top: 7px;
  font-size: 11px;
  letter-spacing: .04em;
  opacity: .5;
}
/* The page's copyright, at the foot of the band (it has no site footer). */
.oxid-land .land-stats__copy {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px 18px;
  font-size: 11px;
  letter-spacing: .04em;
  text-align: center;
  opacity: .5;
}
.oxid-land .land-stats__copy:first-child {
  padding-top: 18px;
}

/* ---------- Header over the hero (desktop) ----------
   Transparent with white logo/links while the hero is behind it, as in
   the demo. Since 2026-11-13 it stays that way while scrolling: main.js
   adds body.land-solid (the normal white header) only if a section
   scrolls up under the header, which the current page never does. Phones keep the white
   bar throughout (the drill-down menu is built for it).
   The switch either way is a slow cross-fade (user's call): main.js sets
   body.land-fading for its length only, so hovering the links stays
   quick. */
@media (min-width: 901px) {
  body.page-template-page-landing:not(.land-solid) .site-header {
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-bottom-color: transparent;
  }
  body.page-template-page-landing.land-fading .site-header,
  body.page-template-page-landing.land-fading .site-header .brand img,
  body.page-template-page-landing.land-fading .site-header .nav-links > a,
  body.page-template-page-landing.land-fading .site-header .nav-item > a,
  body.page-template-page-landing.land-fading .site-header .header-search-toggle,
  body.page-template-page-landing.land-fading .site-header .header-quote {
    transition-property: background, border-color, color, opacity, filter, -webkit-backdrop-filter, backdrop-filter;
    transition-duration: var(--land-fade, 1.1s);
    transition-timing-function: ease-in-out;
  }
  body.page-template-page-landing:not(.land-solid) .site-header .brand img {
    filter: brightness(0) invert(1);
  }
  body.page-template-page-landing:not(.land-solid) .site-header .nav-links > a,
  body.page-template-page-landing:not(.land-solid) .site-header .nav-item > a,
  body.page-template-page-landing:not(.land-solid) .site-header .header-search-toggle {
    color: #fff;
    opacity: .9;
  }
  body.page-template-page-landing:not(.land-solid) .site-header .nav-links > a:hover,
  body.page-template-page-landing:not(.land-solid) .site-header .nav-item > a:hover,
  body.page-template-page-landing:not(.land-solid) .site-header .header-search-toggle:hover {
    color: #fff;
    opacity: 1;
  }
  body.page-template-page-landing:not(.land-solid) .site-header .header-quote {
    border-color: rgba(255,255,255,.5);
    color: #fff;
  }
  body.page-template-page-landing:not(.land-solid) .site-header .header-quote:hover,
  body.page-template-page-landing:not(.land-solid) .site-header .header-quote:focus-visible {
    background: #fff;
    border-color: #fff;
    color: #090C11;
  }
}

/* ---------- Header over the hero (phones) ----------
   Same idea as desktop (user's call, replacing the white bar the phones
   kept): transparent with a white logo and icons over the hero's dark
   top, and the white bar back once the page scrolls — or while the
   drill-down menu or the search panel is open, both built for the bar. */
@media (max-width: 900px) {
  /* A faint white rule keeps the header apart from the photo (user's call). */
  body.page-template-page-landing:not(.land-solid):not(.mobile-nav-open) .site-header:not(:has(.header-search-toggle[aria-expanded="true"])) {
    background: transparent;
    border-bottom-color: rgba(255,255,255,.2);
  }
  body.page-template-page-landing:not(.land-solid):not(.mobile-nav-open) .site-header:not(:has(.header-search-toggle[aria-expanded="true"])) .brand img {
    filter: brightness(0) invert(1);
  }
  body.page-template-page-landing:not(.land-solid):not(.mobile-nav-open) .site-header:not(:has(.header-search-toggle[aria-expanded="true"])) .mobile-nav-toggle,
  body.page-template-page-landing:not(.land-solid):not(.mobile-nav-open) .site-header:not(:has(.header-search-toggle[aria-expanded="true"])) .header-search-toggle {
    color: #fff;
  }
  body.page-template-page-landing.land-fading .site-header,
  body.page-template-page-landing.land-fading .site-header .brand img,
  body.page-template-page-landing.land-fading .site-header .mobile-nav-toggle,
  body.page-template-page-landing.land-fading .site-header .header-search-toggle {
    transition-property: background, border-color, color, filter;
    transition-duration: var(--land-fade, 1.1s);
    transition-timing-function: ease-in-out;
  }
}

@media (max-width: 900px) {
  .oxid-land .land-stats__row,
  .oxid-land .land-stats__row.has-mark {
    grid-template-columns: 1fr 1fr;
    padding: 0 22px;
  }
  .oxid-land .land-stats__mark {
    grid-column: 1 / -1;
    padding: 30px 0 6px;
    text-align: center;
  }
  .oxid-land .land-stats__mark--img {
    justify-content: center;
    padding: 24px 0 0;
  }
  .oxid-land .land-stats__mark--img img {
    height: 72px;
  }  .oxid-land .land-stats__mark::after,
  .oxid-land .land-stat::after {
    display: none;
  }
  .oxid-land .land-stat {
    padding: 24px 12px;
  }
  .oxid-land .land-stats__copy {
    padding: 6px 22px 18px;
  }
}

/* Phones: one stat per row, so "13485:2016" can't run off the screen. */
@media (max-width: 560px) {
  .oxid-land .land-stats__row,
  .oxid-land .land-stats__row.has-mark {
    grid-template-columns: 1fr;
  }
  .oxid-land .land-stat + .land-stat {
    border-top: 1px solid rgba(255,255,255,.18);
  }
}

@media (prefers-reduced-motion: reduce) {
  .oxid-land .oxid-hero__inner > * {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   END LANDING PAGE
   ============================================================ */

/* ============================================================
   OXID FOOTER (footer.php) — desktop layout
   Links at the left of the footer box on every page (the landing page has
   no footer). The box itself is LM's: centred, capped at 1400px, never
   closer than 40px to the window edges (body:not(.home) .site-footer in
   the shared footer section) — matched to the Laser Mech site by request.
   The Resources sub-row keeps lining up under its link (it is positioned
   inside .footer-nav, which moves as a unit).
   ============================================================ */
@media (min-width: 901px) {
  .site-footer {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
  }
  .site-footer .footer-nav {
    grid-column: 1;
  }
  /* The landing page is one screen plus the band, so it has no use for
     the back-to-top button. */
  body.page-template-page-landing .back-to-top-fab {
    display: none;
  }
}

/* ── Hero Blue Tint ──────────────────────────────────────────────────────
   Phones only (Nov 2026, user's call). One brand-blue "color" blend layer
   over each hero photo, its strength from the page's "Blue Tint — Phones"
   slider (--hero-tint, 0–1, written by inc/hero-tint.php), the blue from
   --hero-tint-rgb at the top of this file. Pages without their own layer
   get a .hero-tint div from oxid_hero_tint_layer(), hidden by default and
   shown below each page's own phone breakpoint, stacked above the photo
   and its dark scrims and under the text. Facility and Contract
   Manufacturing use their existing layers (facility.css,
   contract-manufacturing.css); Contact uses .contact-hero::after. */
.hero-tint {
  display: none;
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: color;
  background: rgba(var(--hero-tint-rgb), var(--hero-tint, 0));
}
/* Home: above the photo and its shade, under the bottom fade (::after,
   later in the tree at the same z) and the copy. */
@media (max-width: 900px) {
  .oxid-land .oxid-hero .hero-tint { display: block; z-index: 1; }
}
/* About: the band is a bare background-image div, so it becomes the
   layer's containing block on phones. */
@media (max-width: 900px) {
  .hist-hero { position: relative; }
  .hist-hero .hero-tint { display: block; }
}
/* Capabilities: above the photo and its light wash (::before, earlier in
   the tree at the same z), under the text panel's own wash. */
@media (max-width: 767px) {
  .oxid-cap .cap-hero .hero-tint { display: block; z-index: 1; }
}
/* Product Directory: above the photo and both grades, under the text (z 3). */
@media (max-width: 980px) {
  .oxid-dir .dhero .hero-tint { display: block; z-index: 2; }
}
/* Events: inside the hero's isolated stack, just above the scrim (z -1). */
@media (max-width: 640px) {
  .ev-page .ev-hero .hero-tint { display: block; z-index: -1; }
}
/* Product Series: after the scrim in the tree, under the text (z 1). */
@media (max-width: 900px) {
  body.page-template-page-product-series .series-hero .hero-tint { display: block; }
}

/* ── Site footer, phones (Nov 2026, user's call) ─────────────────────────
   The Facility page's phone footer (designed there first, Jake's
   reference), now on every page's phone layout except the homepage
   (which has no site footer). Same footer.php menu and Resources row,
   restyled: brand-blue Archivo links, centered and wrapping — three
   across with Connect centered below. Desktop and tablet keep the
   theme's footer. Moved here from facility.css; the :not()s keep it off
   the homepage and outrank the general phone footer rules above.
   Dark mode: black with the dark-mode brand blue, except on Facility and
   Contract Manufacturing, which have no dark mode and stay light. */
@media (max-width: 760px) {
  body:not(.home):not(.page-template-page-landing) .site-footer {
    display: flex; flex-direction: column; align-items: center;
    max-width: none; margin: 0; padding: 40px 20px 84px; /* 84px: room for the back-to-top button */
    border-top: 0; background: #fff;
    color: #004c8c; font-family: "Archivo", system-ui, sans-serif;
    font-size: 18px; font-weight: 500;
  }
  body:not(.home):not(.page-template-page-landing) .footer-nav { display: block; width: 100%; }
  body:not(.home):not(.page-template-page-landing) .site-footer .footer-menu,
  body:not(.home):not(.page-template-page-landing) .site-footer .footer-sub:not([hidden]) {
    display: flex; flex-wrap: wrap; justify-content: center;
    grid-template-columns: none; width: 100%;
  }
  body:not(.home):not(.page-template-page-landing) .site-footer .footer-menu { gap: 28px 24px; }
  body:not(.home):not(.page-template-page-landing) .site-footer .footer-menu li { grid-column: auto; grid-row: auto; }
  body:not(.home):not(.page-template-page-landing) .site-footer a,
  body:not(.home):not(.page-template-page-landing) .footer-sub-toggle {
    margin: 0; padding: 4px 0; color: inherit;
  }
  body:not(.home):not(.page-template-page-landing) .site-footer a:hover,
  body:not(.home):not(.page-template-page-landing) .site-footer a:focus-visible,
  body:not(.home):not(.page-template-page-landing) .footer-sub-toggle:hover,
  body:not(.home):not(.page-template-page-landing) .footer-sub-toggle:focus-visible,
  body:not(.home):not(.page-template-page-landing) .footer-sub-toggle[aria-expanded="true"] { color: #1c7f7d; }
  /* The Resources row: centered under the menu, quieter. */
  body:not(.home):not(.page-template-page-landing) .site-footer .footer-sub {
    position: static; gap: 6px 28px; margin: 16px 0 0;
    color: #41566b; font-weight: 500;
  }
  body:not(.home):not(.page-template-page-landing) .site-footer .footer-sub a { font-size: 15px; }

  html.dark-mode body:not(.home):not(.page-template-page-landing):not(.page-template-page-facility):not(.page-template-page-contract-manufacturing) .site-footer {
    background: var(--page);
    color: var(--oxid-blue);
  }
  html.dark-mode body:not(.home):not(.page-template-page-landing):not(.page-template-page-facility):not(.page-template-page-contract-manufacturing) .site-footer .footer-sub {
    color: #B8B8BC;
  }
  html.dark-mode body:not(.home):not(.page-template-page-landing):not(.page-template-page-facility):not(.page-template-page-contract-manufacturing) .site-footer a:hover,
  html.dark-mode body:not(.home):not(.page-template-page-landing):not(.page-template-page-facility):not(.page-template-page-contract-manufacturing) .site-footer a:focus-visible,
  html.dark-mode body:not(.home):not(.page-template-page-landing):not(.page-template-page-facility):not(.page-template-page-contract-manufacturing) .footer-sub-toggle:hover,
  html.dark-mode body:not(.home):not(.page-template-page-landing):not(.page-template-page-facility):not(.page-template-page-contract-manufacturing) .footer-sub-toggle:focus-visible,
  html.dark-mode body:not(.home):not(.page-template-page-landing):not(.page-template-page-facility):not(.page-template-page-contract-manufacturing) .footer-sub-toggle[aria-expanded="true"] { color: var(--oxid-teal); }
}

/* ============================================================
   RULE: NO ZOOM ON FORM FIELDS (touch screens), Nov 17 2026
   iPhone / iPad Safari zooms the whole page in when you tap into a text
   field whose text is under 16px, and stays zoomed after you leave it.
   The header search (14px) did it on every page; so did the product
   contact form and Features filter (14px), the Product Directory filter
   (15px) and the Contact page form (15.5px, Fluent Forms).
   So on phones (the theme's 900px breakpoint) and any touch-first
   screen, every field you type into or pick from is 16px — the rule
   applies to fields added later too. !important because these fields
   are styled by page- and plugin-specific rules (Fluent Forms) that
   outrank a sitewide one; nothing on a phone was above 16px. Never set
   a phone field's font-size below 16px, and don't fix this with
   maximum-scale in the viewport tag (it blocks pinch zoom on Android).
   ============================================================ */
@media (max-width: 900px), (hover: none) and (pointer: coarse) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="file"]):not([type="color"]):not([type="image"]):not([type="hidden"]),
  select,
  textarea {
    font-size: 16px !important;
  }
}
