/* Shared Engineering Clarity shell. Loaded after the page's existing styles. */
:root {
  /* One semantic palette for every current page and all three languages. */
  --site-brand-green: #10402F;
  --site-brand-deep: #0B2E22;
  --site-text: #26332D;
  --site-text-secondary: #5B6860;
  --site-text-inverse: #FFFFFF;
  --site-surface: #FFFFFF;
  --site-surface-soft: #F3F6F4;
  --site-accent: #C4332B;
  --site-divider: #D8E0DB;
  --site-control-border: #79867E;
  --site-link-hover: var(--site-brand-deep);
  --site-dark-muted: #D3DDD7;

  --site-title-page: clamp(2rem, 2.6vw, 2.75rem);
  --site-title-section: clamp(1.5rem, 1.8vw, 2rem);
  --site-title-feature: clamp(1.25rem, 1.45vw, 1.6rem);
  --site-title-compact: clamp(1.2rem, 1.6vw, 1.45rem);
  --site-text-lead: clamp(1rem, 1.1vw, 1.0625rem);
  --site-weight-title: 650;
  --site-weight-section: 600;
  --site-reading-line: 1.7;

  /* Compatibility aliases keep existing components on the same palette.
     "muted" was historically used for body copy, not just auxiliary text.
     The legacy cream alias is white; the official SVG logos are untouched. */
  --ink: var(--site-text);
  --muted: var(--site-text);
  --paper: var(--site-surface);
  --line: var(--site-divider);
  --steel: var(--site-brand-green);
  --steel-2: var(--site-brand-green);
  --blue: var(--site-brand-green);
  --teal: var(--site-brand-green);
  --rust: var(--site-brand-green);
  --rust-dark: var(--site-brand-deep);
  --site-navy: var(--site-brand-green);
  --site-navy-deep: var(--site-brand-deep);
  --site-slate: var(--site-surface-soft);
  --site-rust: var(--site-link-hover);
  --site-brand-cream: var(--site-text-inverse);
}

body {
  font-family: "Segoe UI", "Noto Sans", Arial, Helvetica, sans-serif;
  color: var(--site-text);
  background: var(--site-surface);
}

main :is(h1, h2, h3) {
  color: var(--site-brand-green);
}

.button {
  font-weight: 600;
}

.site-shell-container {
  width: min(100% - 64px, 1260px);
  margin-inline: auto;
}

.site-header.site-header {
  height: 72px;
  min-height: 72px;
  padding-left: clamp(24px, 5.5vw, 104px);
  padding-right: clamp(20px, 3.3vw, 64px);
  background: #ffffff;
  border-bottom: 1px solid #e0e7ec;
  box-shadow: none;
  transition: background-color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.site-header.site-header::after {
  position: absolute;
  right: clamp(20px, 3.3vw, 64px);
  bottom: -1px;
  left: calc(clamp(24px, 5.5vw, 104px) + clamp(148px, 12.7vw, 192px) + 18px);
  height: 3px;
  background: var(--site-brand-green);
  content: "";
  pointer-events: none;
}

.site-header .brand.brand-logo-link {
  flex: 0 0 auto;
  min-width: 0;
  cursor: pointer;
}

.site-header .brand-logo {
  width: clamp(148px, 12.7vw, 192px);
  transition: none;
}

.site-header .header-actions {
  min-width: 0;
  gap: clamp(12px, 1.4vw, 20px);
}

.site-header .site-nav {
  gap: clamp(18px, 2.1vw, 32px);
  font-size: 0.96rem;
}

.site-header .site-nav > .site-nav__home {
  display: none;
}

.site-header .site-nav > a,
.site-header .cap-menu__trigger {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 10px 0;
  color: var(--site-brand-green);
  background: transparent;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}

.site-header .site-nav > a:hover,
.site-header .site-nav > a:focus-visible,
.site-header .cap-menu__trigger:hover,
.site-header .cap-menu__trigger:focus-visible,
.site-header .cap-menu.is-open .cap-menu__trigger {
  color: var(--site-rust);
}

.site-header .site-nav > a:hover,
.site-header .site-nav > a:focus-visible {
  border-bottom-color: transparent;
}

.site-header .cap-menu {
  position: relative;
}

.site-header .cap-menu__trigger::after {
  width: 7px;
  height: 7px;
  margin: -4px 0 0 10px;
  border-right: 1.7px solid currentColor;
  border-bottom: 1.7px solid currentColor;
  content: "";
  transform: rotate(45deg);
}

.site-header .cap-menu__panel[hidden] {
  display: none;
}

.site-header .cap-menu__panel {
  position: absolute;
  z-index: 32;
  top: 100%;
  left: -25px;
  display: grid;
  width: min(420px, 80vw);
  padding: 12px;
  color: #1d2a38;
  background: #ffffff;
  border: 1px solid #d5e0e7;
  border-radius: 6px;
  box-shadow: 0 18px 36px rgba(12, 28, 43, 0.15);
}

.site-header .cap-menu__panel a,
.site-header .cap-menu__panel > span {
  display: block;
  min-width: 0;
  padding: 11px 13px;
  color: #1d2a38;
  border: 0;
  border-radius: 4px;
  font-size: 0.9rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.site-header .cap-menu__panel a:hover,
.site-header .cap-menu__panel a:focus-visible {
  color: var(--site-rust);
  background: transparent;
  border: 0;
}

.site-header .cap-menu__panel > span {
  display: grid;
  gap: 2px;
  color: #4b5a68;
}

.site-header .cap-menu__panel b {
  font-weight: 650;
}

.site-header .cap-menu__panel small {
  color: #697988;
  font-size: 0.72rem;
}

.site-header.has-icon-controls .language-control {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  width: auto;
  height: 44px;
  align-items: center;
  gap: 1px;
  order: 2;
  color: var(--site-brand-green);
  cursor: default;
}

.site-header .language-control span {
  display: none;
}

.site-header .language-shortcuts__button {
  display: grid;
  flex: 0 0 29px;
  width: 29px;
  height: 44px;
  place-items: center;
  padding: 0;
  color: var(--site-brand-green);
  background: transparent;
  border: 0;
  cursor: pointer;
  font: 700 0.8rem/1 "Segoe UI", "Noto Sans", Arial, sans-serif;
}

.site-header .language-shortcuts__button[aria-pressed="true"],
.site-header .language-shortcuts__button:hover {
  color: var(--site-rust);
}

.site-header.has-icon-controls .language-control select {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  min-width: 0;
  height: 1px;
  margin: 0;
  padding: 0;
  opacity: 0;
  clip-path: inset(50%);
  pointer-events: none;
}

.site-header .language-shortcuts__button:focus-visible {
  outline: 2px solid var(--site-rust);
  outline-offset: 2px;
}

.site-header .header-cta.button.primary {
  display: inline-flex;
  flex: 0 0 auto;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  order: 1;
  padding: 0;
  color: var(--site-brand-green);
  background: transparent;
  border: 0;
  border-radius: 0;
}

.site-header .header-cta svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.site-header .nav-toggle span {
  background: var(--site-brand-green);
}

.site-header .header-cta.button.primary:hover,
.site-header .header-cta.button.primary:focus-visible,
.site-header .language-control:hover {
  color: var(--site-rust);
  background: transparent;
  border-color: transparent;
  transform: none;
}

.home-redesign .site-header.site-header {
  margin-bottom: -72px;
  background: #ffffff;
  border-bottom-color: #e0e7ec;
  backdrop-filter: none;
}

.home-redesign .home-hero {
  padding-top: 72px;
}

.site-header.is-scrolled {
  background: #ffffff;
  border-bottom-color: #d9e3e9;
  box-shadow: 0 8px 20px rgba(13, 27, 40, 0.08);
}

.home-redesign .site-header.site-header.is-scrolled {
  background: #ffffff;
  border-bottom-color: #d9e3e9;
  backdrop-filter: none;
}

.site-header.is-scrolled .site-nav > a,
.site-header.is-scrolled .cap-menu__trigger {
  color: var(--site-brand-green);
}

.site-header.is-scrolled .site-nav > a:hover,
.site-header.is-scrolled .site-nav > a:focus-visible,
.site-header.is-scrolled .cap-menu__trigger:hover,
.site-header.is-scrolled .cap-menu__trigger:focus-visible,
.site-header.is-scrolled .cap-menu.is-open .cap-menu__trigger {
  color: var(--site-rust);
}

.site-header.is-scrolled .nav-toggle {
  color: var(--site-brand-green);
  background: #ffffff;
  border-color: #d0dbe3;
}

.site-header.is-scrolled .nav-toggle span {
  background: var(--site-brand-green);
}

.site-footer.site-footer {
  display: block;
  padding: 0;
  scroll-margin-top: 148px;
  color: #d9e5ec;
  background: var(--site-navy-deep);
  text-align: left;
}

.site-footer__main {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 3.4vw, 48px);
  padding-block: clamp(70px, 5.6vw, 80px);
}

.site-footer__main > * {
  min-width: 0;
}

.site-footer__brand img {
  width: 196px;
  max-width: 100%;
  height: auto;
  margin-bottom: 24px;
}

.site-footer__brand .site-footer__company,
.site-footer__brand .site-footer__tagline {
  display: block;
  max-width: 310px;
  color: #ffffff;
  font-size: 0.94rem;
  font-weight: 400;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.site-footer__brand .site-footer__company {
  margin: 0 0 12px;
  font-weight: 600;
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance;
  unicode-bidi: isolate;
}

.site-footer__main h2 {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
}

.site-footer__main nav,
.site-footer__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.site-footer__main nav a,
.site-footer__main nav span,
.site-footer__contact a {
  color: #c1d0da;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.65;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.site-footer__main nav span {
  color: #90a5b5;
}

.site-footer__contact a,
.site-footer__contact .site-footer__location {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  color: #c1d0da;
  font-size: 0.9rem;
  line-height: 1.65;
}

.site-footer__contact svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  fill: none;
  stroke: #f0f5f7;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.site-footer__contact span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.site-footer.site-footer a {
  transition: color 200ms ease, opacity 200ms ease;
}

.site-footer.site-footer a:hover {
  transform: none;
  opacity: 0.86;
}

.site-footer.site-footer a:focus-visible {
  outline: 2px solid var(--site-brand-cream);
  outline-offset: 4px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #f2ad95;
  text-decoration: none;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.site-footer__bottom .site-shell-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-block: 24px;
  color: #94aab9;
  font-size: 0.78rem;
}

.site-footer__bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 24px;
  min-width: 0;
}

.site-footer .site-footer__privacy {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: inherit;
  font: inherit;
  line-height: 1.6;
  text-decoration: none;
  text-underline-offset: 3px;
}

.site-footer .site-footer__privacy:is(:hover, :focus-visible) {
  text-decoration: underline;
}

.site-footer .site-footer__cookies {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.site-footer .site-footer__cookies:hover { color: #ffffff; }
html[dir="rtl"] .site-footer .site-footer__company { text-align: right; }
.site-footer .site-footer__cookies:focus-visible {
  outline: 2px solid var(--site-brand-cream);
  outline-offset: 4px;
}

@media (max-width: 720px) {
  .site-footer .site-footer__privacy {
    min-height: 44px;
  }
}

.site-footer__bottom nav a {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #d4e0e7;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.site-footer__bottom nav a:hover,
.site-footer__bottom nav a:focus-visible {
  background: transparent;
  border-color: #f2ad95;
}

.site-footer__bottom nav svg {
  display: block;
  width: 20px;
  height: 20px;
  fill: currentColor;
  stroke: none;
}

.site-footer__bottom nav .site-footer__instagram {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.site-footer__bottom nav .site-footer__instagram-dot {
  fill: currentColor;
  stroke: none;
}

/* A restrained reading layout for the legal page, using the shared palette. */
.privacy-page main {
  padding-block: clamp(32px, 3.5vw, 56px) clamp(44px, 4vw, 64px);
  color: var(--site-text);
}

.privacy-page .privacy-container {
  width: min(calc(100% - 2 * var(--layout-gutter, 24px)), 920px);
  margin-inline: auto;
  overflow-wrap: anywhere;
}

.privacy-page .privacy-intro {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--site-divider);
}

.privacy-page .privacy-intro h1 {
  max-width: none;
  margin: 0 0 14px;
  font-size: var(--site-title-page);
  font-weight: var(--site-weight-title);
  line-height: 1.25;
}

.privacy-page .privacy-container p {
  margin: 0 0 12px;
  font-size: 1rem;
  line-height: 1.8;
}

.privacy-page .privacy-container .privacy-updated {
  margin-bottom: 18px;
  color: var(--site-text-secondary);
  font-size: 0.875rem;
}

.privacy-page .privacy-section {
  margin-top: 28px;
}

.privacy-page .privacy-section h2 {
  margin: 0 0 12px;
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  font-weight: var(--site-weight-section);
  line-height: 1.4;
}

.privacy-page .privacy-section h3 {
  margin: 18px 0 8px;
  font-size: 1.0625rem;
  font-weight: var(--site-weight-section);
  line-height: 1.5;
}

.privacy-page .privacy-links {
  margin: 0;
  padding-left: 20px;
  line-height: 1.8;
}

.privacy-page .privacy-container a {
  color: var(--site-brand-green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-page .privacy-container a:hover {
  color: var(--site-brand-deep);
}

.privacy-page .privacy-container a:focus-visible {
  outline: 2px solid var(--site-brand-green);
  outline-offset: 4px;
}

@media (min-width: 1151px) {
  .site-header .site-nav > a.site-nav__contact {
    display: none;
  }
}

.site-back-top {
  position: fixed;
  z-index: 18;
  right: 20px;
  bottom: 20px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #ffffff;
  background: var(--site-navy);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 5px;
  box-shadow: 0 8px 20px rgba(13, 27, 40, 0.2);
  cursor: pointer;
  font-size: 1.2rem;
}

.site-back-top[hidden] {
  display: none;
}

.site-back-top:hover,
.site-back-top:focus-visible {
  background: var(--site-rust);
}

/* The homepage poster comes from its video; the conveyor page keeps its photo. */
.home-redesign .home-hero-media {
  background-image: url("../img/optimized/prelaunch/home-hero-poster-1280.webp");
  background-position: center;
  background-size: cover;
}

.home-redesign .home-hero-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.sector-conveyor .sector-hero-media {
  background-image: url("../img/optimized/full/products/conveyor/roller/00.webp");
  background-position: center 46%;
  background-size: cover;
}

.media-review-pending .home-area-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 3.6vw, 52px) clamp(28px, 3.6vw, 52px);
  border-top: 0;
}

.media-review-pending .home-capability-card {
  min-height: 0;
  padding: 0 0 24px;
  border-bottom: 1px solid #ccdccc;
  background: transparent;
}

.media-review-pending .home-capability-media {
  width: 100%;
  min-width: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--site-surface);
}

.media-review-pending .home-capability-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.media-review-pending .home-capability-copy {
  padding: 21px 0 0;
  border: 0;
}

.media-review-pending .home-capability-copy h3 {
  max-width: 28ch;
  margin: 0 0 10px;
  color: var(--site-brand-green);
  font-size: var(--site-title-feature);
  line-height: 1.24;
}

.media-review-pending .home-capability-copy p {
  max-width: 58ch;
  font-size: 1rem;
  line-height: 1.6;
}

.media-review-pending.conveyor-page .conveyor-split-layout,
.media-review-pending.robot-page .robot-split-layout {
  grid-template-columns: minmax(0, 1fr);
}

.media-review-pending .conveyor-split-layout .conveyor-prose,
.media-review-pending .robot-split-layout .robot-prose {
  max-width: 920px;
}

.media-review-pending .home-industry-application {
  display: block;
  min-height: 0;
}

.media-review-pending .home-industry-application > span {
  min-height: 0;
}

.media-review-pending .conveyor-feature-image,
.media-review-pending .robot-feature-image,
.media-review-pending .sector-product-visual {
  display: none;
}

.sector-page.media-review-pending .sector-products-section {
  padding-block: 68px;
}

.sector-page.media-review-pending .sector-products-section + .section {
  padding-top: 48px;
}

.sector-page.media-review-pending .sector-product-grid {
  gap: 0 32px;
}

.sector-page.media-review-pending .sector-product-card {
  min-height: 0;
  border: 0;
  border-top: 1px solid #b9ccd7;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.sector-page.media-review-pending .sector-product-card > div:last-child {
  padding: 18px 0 23px;
  background: transparent;
}

/* Editorial rhythm shared by the existing business pages. */
.sector-page .sector-hero {
  min-height: clamp(560px, 70svh, 720px);
  background: var(--site-navy-deep);
}

.sector-page .sector-hero-content {
  width: min(100% - 64px, 1260px);
  min-height: inherit;
  margin-inline: auto;
  padding-block: clamp(78px, 8vw, 128px);
}

.sector-page .sector-hero h1 {
  max-width: 900px;
  font-size: clamp(2.65rem, 4.8vw, 4.6rem);
  line-height: 1.08;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.sector-page .sector-hero-copy {
  max-width: 720px;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.67;
}

.sector-page .section {
  scroll-margin-top: 84px;
  padding-block: clamp(60px, 6.5vw, 96px);
}

.sector-page .section-inner {
  width: min(100% - 64px, 1260px);
}

.sector-page .section-heading {
  max-width: 960px;
}

.sector-page .section-heading h2 {
  font-size: clamp(2.05rem, 3.15vw, 3.1rem);
  line-height: 1.17;
  text-wrap: balance;
}

.sector-page .sector-products-section {
  background: var(--site-surface);
}

.sector-page .sector-products-section .section-inner {
  width: min(100% - 64px, 1340px);
}

.sector-page .sector-product-grid {
  gap: 28px;
}

.sector-page .sector-product-card {
  background: #ffffff;
  border: 1px solid #d7e2e8;
  border-radius: 5px;
  box-shadow: none;
}

.sector-page .sector-product-card:hover {
  box-shadow: none;
  transform: none;
}

.sector-page .sector-product-visual {
  aspect-ratio: 16 / 10;
  background: var(--site-surface);
}

.sector-page .sector-product-slide img {
  object-fit: contain;
  background: var(--site-surface);
}

.sector-page .sector-product-card > div:last-child {
  position: static;
  min-height: 0;
  padding: 18px 23px 21px;
  color: #1c2935;
  background: #ffffff;
}

.sector-page .sector-products-section .sector-product-card h3 {
  color: #1c2935;
}

.sector-page .sector-product-card > div:last-child > span {
  color: var(--site-rust);
}

.sector-page .sector-product-count {
  bottom: 12px;
}

.sector-page .conveyor-feature-image,
.sector-page .robot-feature-image {
  background: var(--site-surface);
  border-radius: 5px;
  box-shadow: none;
}

.sector-page .conveyor-feature-image img,
.sector-page .robot-feature-image img,
.sector-page .robot-image-grid img {
  object-fit: contain;
}

.sector-page .related-area-card {
  border-radius: 4px;
  box-shadow: none;
}

@media (max-width: 1150px) {
  .site-header .site-nav > .site-nav__home {
    display: inline-flex;
  }

  .site-footer__main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 48px;
    padding-block: 56px;
  }

  .site-header.site-header {
    height: 64px;
    min-height: 64px;
  }

  .home-redesign .site-header.site-header {
    margin-bottom: -64px;
  }

  .home-redesign .home-hero {
    padding-top: 64px;
  }

  .site-header .header-actions {
    margin-left: auto;
  }

  .site-header .nav-toggle {
    display: inline-grid;
    place-content: center;
  }

  .site-header .site-nav {
    position: fixed;
    top: 64px;
    right: 0;
    left: 0;
    display: none;
    width: 100%;
    max-height: calc(100dvh - 64px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 9px 24px 18px;
    overflow-y: auto;
    color: var(--site-brand-green);
    background: #ffffff;
    border-bottom: 1px solid #d2dde5;
    box-shadow: 0 20px 30px rgba(13, 27, 40, 0.15);
  }

  .site-header .site-nav.open {
    display: flex;
  }

  .site-header .site-nav > a,
  .site-header .cap-menu__trigger,
  .site-header.is-scrolled .site-nav > a,
  .site-header.is-scrolled .cap-menu__trigger {
    width: 100%;
    min-height: 49px;
    justify-content: space-between;
    padding: 13px 0;
    color: var(--site-brand-green);
    border-bottom: 1px solid #dbe4ea;
    text-align: left;
    white-space: normal;
  }

  .site-header .site-nav > a:hover,
  .site-header .site-nav > a:focus-visible {
    border-bottom-color: #dbe4ea;
  }

  .site-header .cap-menu__panel {
    position: static;
    width: 100%;
    margin: 0 0 9px;
    padding: 3px 0 8px 14px;
    border: 0;
    border-left: 2px solid #c0d2dc;
    border-radius: 0;
    box-shadow: none;
  }
}

@media (max-width: 900px) {
  .media-review-pending .home-area-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .media-review-pending .home-area-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .media-review-pending .home-capability-card {
    min-height: 0;
    padding-bottom: 24px;
  }

  .media-review-pending .home-capability-copy {
    padding-top: 17px;
  }

  .media-review-pending .home-capability-copy h3 {
    font-size: var(--site-title-feature);
  }

  .media-review-pending .home-capability-copy p {
    font-size: 0.98rem;
  }

  .site-shell-container {
    width: min(100% - 36px, 1260px);
  }

  .site-header.site-header {
    padding-inline: 18px;
  }

  .site-header.site-header::after {
    right: 18px;
    left: 186px;
  }

  .site-header .brand-logo {
    width: 154px;
  }

  .site-footer__main {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 44px 40px;
  }

  .site-footer__main h2 {
    margin-bottom: 14px;
  }

  .site-footer__bottom .site-shell-container {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding-block: 22px 24px;
  }

  .site-footer__bottom nav a {
    width: 44px;
    height: 44px;
  }

  .site-back-top {
    right: 14px;
    bottom: 14px;
  }

  .sector-page .sector-hero {
    min-height: 0;
  }

  .sector-page .sector-hero-content {
    width: min(100% - 36px, 1260px);
    min-height: 0;
    padding-block: 72px 78px;
  }

  .sector-page .sector-hero h1 {
    font-size: clamp(2rem, 8.7vw, 2.7rem);
  }

  .sector-page .section {
    padding-block: 59px;
  }

  .sector-page .section-inner,
  .sector-page .sector-products-section .section-inner {
    width: min(100% - 36px, 1260px);
  }

  .sector-page .sector-product-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .sector-page .sector-product-visual {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 360px) {
  .site-header.site-header {
    padding-inline: 11px;
  }

  .site-header.site-header::after {
    right: 11px;
    left: 135px;
  }

  .site-header .brand-logo {
    width: 112px;
  }

  .site-header .header-actions {
    gap: 4px;
  }
}

/* One quiet hover language across the four public pages: color and a 2px lift.
   Static content is deliberately excluded; photos keep their framing. */
.site-header .site-nav > a,
.site-header .cap-menu__trigger,
.site-header .cap-menu__panel a,
.site-header .header-cta,
.site-header .header-cta svg,
.site-header .language-shortcuts__button,
.site-header .nav-toggle,
.site-header .nav-toggle span,
.button,
a.home-capability-card,
.home-industry-application,
.contact-methods a,
.sector-contact-links a,
.related-area-card,
.core-area-card,
.home-area-card,
.social-link,
.site-footer a,
.site-footer__contact svg,
.site-back-top,
.sector-gallery-button,
.sector-lightbox-close,
.sector-lightbox-nav,
.home-email-link,
.language-hint button {
  transition: color 160ms ease, background-color 160ms ease,
    border-color 160ms ease, stroke 160ms ease, transform 160ms ease;
}

.site-header .nav-toggle:hover span {
  background: var(--site-rust);
}

.button.secondary:hover {
  color: #f2ad95;
  border-color: #f2ad95;
}

a.home-capability-card:hover h3,
.related-area-card:hover h3,
.related-area-card:hover span,
.home-industry-application:hover strong {
  color: var(--site-rust);
}

.core-area-card:hover,
.home-area-card:hover,
.social-link:hover {
  box-shadow: none;
}

.sector-product-slide:hover img {
  transform: none;
}

.sector-product-slide.is-active:hover {
  outline: 2px solid var(--site-rust);
  outline-offset: -2px;
}

.sector-gallery-button:hover {
  color: #f2ad95;
  background: rgba(8, 18, 28, 0.72);
  border-color: rgba(255, 255, 255, 0.62);
}

.sector-lightbox-close:hover,
.sector-lightbox-nav:hover {
  color: #f2ad95;
  background: rgba(17, 29, 41, 0.82);
  border-color: rgba(255, 255, 255, 0.48);
}

@media (max-width: 720px) {
  .sector-lightbox-nav:hover {
    background: rgba(8, 18, 28, 0.78);
  }
}

.site-footer__contact a:hover svg {
  stroke: #f2ad95;
}

.language-hint button:hover {
  color: #f2ad95;
  background: transparent;
}

.site-header :is(.site-nav > a, .cap-menu__trigger, .cap-menu__panel a, .header-cta, .nav-toggle):focus-visible,
.button:focus-visible,
.site-footer a:focus-visible,
.site-back-top:focus-visible,
.language-hint button:focus-visible {
  outline: 2px solid var(--site-rust);
  outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .site-header .site-nav > a:hover,
  .site-header .cap-menu__trigger:hover,
  .site-header .cap-menu__panel a:hover,
  .site-header .nav-toggle:hover,
  .button:hover,
  a.home-capability-card:hover,
  .home-industry-application:hover,
  .contact-methods a:hover,
  .sector-contact-links a:hover,
  .related-area-card:hover,
  .core-area-card:hover,
  .home-area-card:hover,
  .social-link:hover,
  .site-footer a:hover,
  .site-back-top:hover,
  .sector-lightbox-close:hover,
  .home-email-link:hover,
  .language-hint button:hover {
    transform: translateY(-2px);
  }

  .site-header .header-cta:hover svg,
  .site-header .language-shortcuts__button:hover {
    transform: translateY(-2px);
  }

  .sector-gallery-button:hover,
  .sector-lightbox-nav:hover {
    transform: translateY(calc(-50% - 2px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header.site-header,
  .site-header .brand-logo,
  .site-header :is(a, button, svg),
  .button,
  main :is(a, button),
  .site-footer :is(a, svg),
  .site-back-top,
  .language-hint button {
    transition-duration: 0s !important;
  }

  .site-header :is(a, button, svg):hover,
  .button:hover,
  main :is(a, button):hover,
  .site-footer a:hover,
  .site-back-top:hover,
  .language-hint button:hover {
    transform: none !important;
  }

  .sector-gallery-button:hover,
  .sector-lightbox-nav:hover {
    transform: translateY(-50%) !important;
  }
}

/* LEONEQ component roles. Keep the original logo and equipment photos. */
.site-header.site-header,
.site-header.is-scrolled,
.home-redesign .site-header.site-header,
.home-redesign .site-header.site-header.is-scrolled {
  border-bottom-color: #d6e2d8;
}

.site-header .cap-menu__panel {
  color: var(--site-brand-green);
  border-color: #d6e2d8;
  box-shadow: 0 18px 36px rgba(11, 48, 35, 0.12);
}

.site-header .cap-menu__panel a,
.site-header .cap-menu__panel > span {
  color: var(--site-brand-green);
}

.site-header .cap-menu__panel small {
  color: var(--muted);
}

.site-header.is-scrolled .nav-toggle {
  border-color: #d6e2d8;
}

.button.primary {
  color: var(--site-text-inverse);
}

.button.secondary {
  color: var(--site-brand-green);
  background: var(--site-surface);
  border-color: var(--site-brand-green);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  color: var(--site-brand-deep);
  background: var(--site-surface-soft);
  border-color: var(--site-brand-deep);
}

.sector-hero .button.primary {
  color: var(--site-brand-green);
  background: var(--site-brand-cream);
  border-color: var(--site-brand-cream);
}

.sector-hero .button.primary:hover,
.sector-hero .button.primary:focus-visible {
  background: #ffffff;
  border-color: #ffffff;
}

.home-redesign .home-hero-overlay,
.sector-page .sector-hero-overlay {
  display: none;
}

.home-redesign .home-hero,
.home-redesign .home-hero-media,
.sector-page .sector-hero-media {
  background-color: var(--site-navy-deep);
}

.home-redesign .home-hero h1 {
  color: var(--site-brand-cream);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.48), 0 1px 2px rgba(0, 0, 0, 0.35);
}

.sector-page .sector-hero h1 {
  color: var(--site-brand-cream);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.84), 0 1px 3px rgba(0, 0, 0, 0.9);
}

.sector-page .sector-hero {
  color: var(--site-brand-cream);
}

.sector-page .sector-hero-copy {
  color: var(--site-dark-muted);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
}

.sector-page .sector-hero .eyebrow {
  color: var(--site-brand-cream);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
}

.conveyor-page .sector-hero-copy {
  font-weight: 600;
  text-shadow: 0 1px 2px #061c14, 0 0 8px #061c14, 0 0 16px #061c14;
}

.conveyor-page .sector-hero .button.secondary {
  background: var(--site-brand-green);
  border-color: var(--site-brand-cream);
}

.conveyor-page .sector-hero .button.secondary:hover,
.conveyor-page .sector-hero .button.secondary:focus-visible {
  background: var(--site-navy-deep);
}

.media-review-pending .home-capability-media,
.sector-page .sector-product-visual,
.sector-page .sector-product-slide img,
.sector-page .conveyor-feature-image,
.sector-page .robot-feature-image {
  background: var(--site-surface);
}

.sector-page.media-review-pending .sector-product-card {
  border-top-color: #ccdccc;
}

.home-redesign .home-process,
.sector-checks-section,
.conveyor-page .conveyor-challenges-section,
.robot-page .robot-challenges-section {
  color: var(--site-brand-cream);
  background: var(--site-navy-deep);
}

.home-redesign .home-process h2,
.home-redesign .home-process-list h3,
.sector-checks-section h2,
.conveyor-page .conveyor-challenges-section h2,
.robot-page .robot-challenges-section h2 {
  color: var(--site-brand-cream);
}

.home-redesign .home-process .home-section-heading > p,
.home-redesign .home-process-list p,
.sector-checks-section .section-heading p,
.conveyor-page .conveyor-challenges-section .conveyor-prose p,
.robot-page .robot-challenges-section .robot-prose p {
  color: var(--site-dark-muted);
}

.home-redesign .home-process .eyebrow,
.home-redesign .home-process-list span,
.home-redesign .home-process-list li:last-child span,
.sector-checks-section .eyebrow {
  color: var(--site-brand-cream);
}

.sector-check-card span {
  color: var(--site-brand-green);
  background: var(--site-brand-cream);
}

.conveyor-page .conveyor-challenges-section .conveyor-prose .conveyor-key-point,
.robot-page .robot-challenges-section .robot-prose .robot-key-point,
.conveyor-page .conveyor-project-closing,
.robot-page .robot-project-closing {
  color: var(--site-brand-cream);
  border-left-color: var(--site-brand-cream);
}

.home-redesign .home-industries,
.sector-page .sector-products-section,
.sector-page .sector-applications-section,
.sector-page .related-areas-section,
.conveyor-page .conveyor-integration-section,
.robot-page .robot-integration-section {
  background: var(--site-slate);
}

.home-redesign .home-industry-list,
.home-redesign .home-industry-list span,
.home-redesign .home-industry-application > span,
.sector-application-card {
  border-color: #cbdccb;
}

.home-redesign .home-industry-list span,
.sector-page .sector-product-card > div:last-child,
.sector-page .sector-products-section .sector-product-card h3 {
  color: var(--site-brand-green);
}

.sector-application-card span {
  color: var(--site-brand-green);
  background: #e7f0e8;
  border-color: #b8d0be;
}

.site-footer.site-footer {
  color: var(--site-brand-cream);
  background: var(--site-navy-deep);
}

.site-footer__brand .site-footer__company,
.site-footer__brand .site-footer__tagline,
.site-footer__main h2 {
  color: var(--site-brand-cream);
}

.site-footer__main nav a,
.site-footer__main nav span,
.site-footer__contact a,
.site-footer__contact .site-footer__location,
.site-footer__bottom .site-shell-container,
.site-footer__bottom nav a {
  color: var(--site-dark-muted);
}

.site-footer__contact svg {
  stroke: var(--site-brand-cream);
}

.site-footer a:hover,
.site-footer a:focus-visible,
.site-footer__contact a:hover svg {
  color: #ffffff;
  stroke: #ffffff;
}

.site-footer__bottom nav a:hover,
.site-footer__bottom nav a:focus-visible {
  border-color: var(--site-brand-cream);
}

.site-back-top {
  color: var(--site-brand-cream);
}

.site-back-top:hover,
.site-back-top:focus-visible {
  background: var(--site-rust);
}

.sector-gallery-button:hover,
.sector-lightbox-close:hover,
.sector-lightbox-nav:hover,
.language-hint button:hover {
  color: var(--site-brand-cream);
}

@media (max-width: 1150px) {
  .site-header .site-nav,
  .site-header .site-nav > a,
  .site-header .cap-menu__trigger,
  .site-header .cap-menu__panel {
    border-color: #d6e2d8;
  }
}

/* Click-open site menus: LEONEQ palette, real product photography, same-tab links. */
.site-header .site-nav > span {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 10px 0;
  color: var(--site-brand-green);
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}

#core-areas,
#industries,
#solution-assembly,
#solution-inspection,
#solution-end-of-line {
  scroll-margin-top: 88px;
}

body.has-mega-open::before {
  position: fixed;
  z-index: 19;
  inset: 0;
  background: rgba(5, 25, 18, 0.48);
  content: "";
}

/* Mobile navigation floats above a blurred, non-interactive page.
   The header stays above this layer, so its menu and utility icons stay sharp. */
@media (max-width: 1150px) {
  html.has-mobile-nav-open {
    overflow: hidden;
    overscroll-behavior: none;
  }

  body.has-mobile-nav-open::before {
    position: fixed;
    z-index: 19;
    inset: 0;
    content: "";
    background: rgba(5, 25, 18, 0.28);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    pointer-events: auto;
    touch-action: none;
  }
}

.site-header .site-nav > .mega-menu__trigger {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 10px 0;
  color: var(--site-brand-green);
  background: transparent;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
  /* Prerendered links use the same glyph spacing as enhanced menu buttons. */
  letter-spacing: normal;
  white-space: nowrap;
  transition: color 160ms ease, transform 160ms ease;
}

.site-header .site-nav > .mega-menu__trigger:hover,
.site-header .site-nav > .mega-menu__trigger:focus-visible,
.site-header .site-nav > .mega-menu__trigger[aria-expanded="true"] {
  color: var(--site-rust);
}

.site-header .site-nav > .mega-menu__trigger:focus-visible,
.site-header .mega-panel :is(a, button):focus-visible {
  outline: 2px solid var(--site-brand-cream);
  outline-offset: 3px;
}

.site-header .site-nav > .mega-menu__trigger:focus-visible {
  outline-color: var(--site-rust);
}

.site-header .mega-panels {
  position: absolute;
  z-index: 32;
  top: 100%;
  right: 0;
  left: 0;
  pointer-events: none;
}

.site-header .mega-panel[hidden] {
  display: none;
}

.site-header .mega-panel {
  max-height: calc(100dvh - 72px);
  overflow-y: auto;
  color: var(--site-brand-cream);
  background: var(--site-navy-deep);
  box-shadow: 0 18px 32px rgba(5, 25, 18, 0.2);
  pointer-events: auto;
}

.site-header .mega-panel__top,
.site-header .mega-panel__inner {
  width: min(100% - 64px, 1260px);
  margin-inline: auto;
}

.site-header .mega-panel__top {
  display: flex;
  justify-content: flex-end;
  padding-top: 14px;
}

.site-header .mega-panel__top button {
  color: var(--site-brand-cream);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.site-header .mega-panel__back {
  display: none;
}

.site-header .mega-panel__close {
  width: 36px;
  height: 36px;
  font-size: 1.75rem;
  line-height: 1;
}

.site-header .mega-panel__inner {
  --mega-column-gap: clamp(18px, 2.4vw, 36px);
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--mega-column-gap);
  padding: 4px 0 28px;
}

.site-header .mega-panel__intro {
  min-width: 0;
  min-height: 0;
  overflow-y: auto;
}

.site-header .mega-panel__intro img {
  display: block;
  width: 100%;
  height: clamp(160px, 15vw, 230px);
  object-fit: cover;
}

/* Zoom only this menu preview; retain the source photo and shared frame size. */
.site-header #mega-panel-technologies .mega-panel__photo-crop {
  overflow: hidden;
}

.site-header #mega-panel-technologies .mega-panel__photo-crop img {
  transform: scale(1.2);
  transform-origin: center bottom;
}

/* Keep the team members in view within the shared wide menu photo frame. */
.site-header #mega-panel-about .mega-panel__intro img {
  object-position: center 8%;
}

.site-header #mega-panel-contact .mega-panel__intro img {
  object-position: center 25%;
}

.site-header .mega-panel__intro h2 {
  margin: 18px 0 10px;
  color: var(--site-brand-cream);
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 650;
}

.site-header .mega-panel__intro p {
  margin: 0 0 22px;
  color: var(--site-dark-muted);
  line-height: 1.6;
}

.site-header .mega-panel__overview,
.site-header .mega-panel__links a {
  color: var(--site-brand-cream);
  text-decoration: none;
  transition: color 160ms ease, transform 160ms ease;
}

.site-header .mega-panel__overview {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 22px;
  padding: 8px 20px;
  border: 1px solid var(--site-brand-cream);
  border-radius: 30px;
  font-weight: 650;
}

.site-header .mega-panel__links {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  min-width: 0;
  min-height: 0;
  align-content: start;
  gap: 0;
  padding-left: clamp(16px, 1.8vw, 28px);
  border-left: 1px solid rgba(242, 237, 228, 0.38);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.site-header .mega-panel__links a,
.site-header .mega-panel__links .mega-panel__category,
.site-header .mega-panel__links .mega-panel__entry {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(242, 237, 228, 0.25);
  font-size: clamp(1rem, 1.2vw, 1.14rem);
  line-height: 1.4;
}

.site-header .mega-panel__links .mega-panel__category {
  width: 100%;
  color: var(--site-brand-cream);
  background: transparent;
  border-top: 0;
  border-right: 0;
  border-left: 0;
  font: inherit;
  font-size: clamp(1rem, 1.2vw, 1.14rem);
  text-align: left;
  cursor: pointer;
}

.site-header .mega-panel__links .mega-panel__entry {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  color: rgba(242, 237, 228, 0.78);
}

.site-header .mega-panel__entry small {
  color: var(--site-dark-muted);
  font-size: 0.78rem;
}

.site-header .mega-panel__links :is(a, .mega-panel__category) > span:last-child {
  flex: 0 0 auto;
}

.site-header .mega-panel__links .mega-panel__category:is(:hover, .is-selected) {
  color: var(--site-dark-muted);
}

.site-header .mega-panel__tertiary {
  min-width: 0;
  min-height: 0;
  padding-left: clamp(16px, 1.8vw, 28px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.site-header .mega-panel__links::-webkit-scrollbar,
.site-header .mega-panel__tertiary::-webkit-scrollbar {
  display: none;
}

.site-header .mega-panel__divider {
  position: absolute;
  z-index: 1;
  top: 2px;
  bottom: 20px;
  left: calc(66.666667% - 4px);
  width: 16px;
  cursor: default;
  touch-action: none;
}

.site-header .mega-panel__divider::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 7px;
  width: 2px;
  background: rgba(242, 237, 228, 0.38);
  content: "";
}

.site-header .mega-panel__divider[data-scroll-target] {
  cursor: pointer;
}

.site-header .mega-panel__divider:focus-visible {
  outline: 2px solid var(--site-brand-cream);
  outline-offset: 2px;
}

.site-header .mega-panel__divider-thumb {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 5px;
  width: 6px;
  border-radius: 6px;
  background: var(--site-dark-muted);
  will-change: transform;
}

.site-header .mega-panel__divider-thumb[hidden] {
  display: none;
}

.site-header .mega-panel__placeholder {
  margin: 14px 0 0;
  color: var(--site-dark-muted);
  line-height: 1.5;
}

.site-header .mega-panel__detail-back {
  display: none;
}

.site-header .mega-panel__tertiary h3 {
  margin: 4px 0 16px;
  color: var(--site-text-inverse);
  font-size: clamp(1.08rem, 1.3vw, 1.35rem);
  line-height: 1.3;
}

.site-header .mega-panel__topic-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header .mega-panel__topic-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(242, 237, 228, 0.2);
  line-height: 1.4;
}

.site-header .mega-panel__solution-link {
  display: inline-block;
  margin: 18px 0 6px;
  color: var(--site-brand-cream);
  font-weight: 650;
  text-underline-offset: 4px;
}

.site-header .mega-panel__solution-link:hover {
  color: var(--site-dark-muted);
}

.site-header .mega-panel__overview:hover,
.site-header .mega-panel__links a:hover,
.site-header .mega-panel__top button:hover {
  color: var(--site-dark-muted);
}

@media (hover: hover) and (pointer: fine) {
  .site-header .site-nav > .mega-menu__trigger:hover,
  .site-header .mega-panel :is(a, button):hover {
    transform: translateY(-2px);
  }
}

@media (min-width: 1151px) {
  .site-header .mega-panel {
    --mega-toolbar-height: 46px;
    --mega-bottom-gap: 20px;
    --mega-photo-ratio: 16 / 10;
    height: auto;
    overflow: hidden;
  }

  .site-header .mega-panel__top {
    padding-top: 10px;
    height: var(--mega-toolbar-height);
  }

  /* Size the dropdown to its tallest content column, not an empty fixed frame.
     Capping the grid keeps each scrollable column usable on short viewports. */
  .site-header .mega-panel__inner {
    height: auto;
    max-height: calc(100dvh - 116px - var(--mega-toolbar-height));
    padding-top: 2px;
    padding-bottom: var(--mega-bottom-gap);
  }

  /* Give every menu photo more vertical room; copy follows below it.
     Use the shared column width, with a viewport cap for shorter displays. */
  .site-header .mega-panel .mega-panel__intro img {
    height: auto;
    aspect-ratio: var(--mega-photo-ratio);
    max-height: max(96px, calc(100dvh - 330px));
  }

  .site-header .mega-panel__intro h2 {
    margin: 18px 0 8px;
  }

  .site-header .mega-panel__intro p {
    margin-bottom: 0;
  }

  .site-header .mega-panel__links a,
  .site-header .mega-panel__links .mega-panel__category,
  .site-header .mega-panel__links .mega-panel__entry {
    min-height: 62px;
    padding-block: 10px;
  }
}

/* Keep the complete intro readable on short desktop/landscape viewports. */
@media (min-width: 1151px) and (max-height: 650px) {
  .site-header .mega-panel {
    --mega-bottom-gap: 10px;
  }

  .site-header .mega-panel .mega-panel__intro img {
    max-height: max(96px, calc(100dvh - 342px));
  }

  .site-header .mega-panel__intro h2 {
    margin: 12px 0 6px;
    font-size: 1.3rem;
    line-height: 1.25;
  }

  .site-header .mega-panel__intro p {
    line-height: 1.45;
  }
}

@media (max-width: 1150px) {
  .site-header .site-nav.open {
    z-index: 31;
    max-height: calc(100dvh - 64px);
    min-height: calc(100dvh - 64px);
    padding: 24px;
    color: var(--site-brand-cream);
    background: var(--site-navy-deep);
    border-bottom: 0;
  }

  .site-header .site-nav.open > a,
  .site-header .site-nav.open > span,
  .site-header .site-nav.open > .mega-menu__trigger {
    width: 100%;
    min-height: 62px;
    justify-content: space-between;
    padding: 14px 0;
    color: var(--site-brand-cream);
    border: 0;
    white-space: normal;
  }

  .site-header .site-nav.open > .mega-menu__trigger::after {
    content: "→";
    font-size: 1.15rem;
  }

  .site-header .mega-panels {
    position: static;
  }

  .site-header .mega-panel {
    position: fixed;
    z-index: 32;
    top: 64px;
    right: 0;
    bottom: 0;
    left: 0;
    max-height: none;
    box-shadow: none;
  }

  .site-header .mega-panel__top,
  .site-header .mega-panel__inner {
    width: 100%;
    padding-inline: 24px;
  }

  .site-header .mega-panel__top {
    align-items: center;
    justify-content: space-between;
    padding-top: 19px;
    padding-bottom: 15px;
  }

  .site-header .mega-panel__back {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 42px;
    padding: 0;
    font: inherit;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    text-align: left;
  }

  .site-header .mega-panel__inner {
    display: flex;
    flex-direction: column;
    height: calc(100% - 76px);
    gap: 0;
    padding-top: 0;
    padding-bottom: 30px;
    overflow-y: auto;
  }

  .site-header .mega-panel__intro {
    display: contents;
  }

  .site-header .mega-panel__intro img,
  .site-header .mega-panel__photo-crop,
  .site-header .mega-panel__intro h2,
  .site-header .mega-panel__intro p {
    display: none;
  }

  .site-header .mega-panel__overview {
    display: flex;
    width: 100%;
    min-height: 62px;
    justify-content: space-between;
    padding: 14px 0;
    border: 0;
    border-top: 1px solid rgba(242, 237, 228, 0.3);
    border-bottom: 1px solid rgba(242, 237, 228, 0.3);
    border-radius: 0;
    font-size: 1rem;
  }

  .site-header .mega-panel__links {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0;
    border: 0;
    overflow: visible;
  }

  .site-header .mega-panel__links a,
  .site-header .mega-panel__links .mega-panel__category {
    min-height: 62px;
    font-size: 1rem;
  }

  .site-header .mega-panel__links .mega-panel__entry {
    min-height: 62px;
    font-size: 1rem;
  }

  .site-header .mega-panel__tertiary {
    display: none;
    padding: 0;
    border: 0;
    overflow: visible;
  }

  .site-header .mega-panel__divider {
    display: none;
  }

  .site-header .mega-panel.show-tertiary .mega-panel__links {
    display: none;
  }

  .site-header .mega-panel.show-tertiary .mega-panel__tertiary {
    display: block;
  }

  .site-header .mega-panel__detail-back {
    display: inline-block;
    margin-bottom: 22px;
    padding: 8px 0;
    color: var(--site-brand-cream);
    background: transparent;
    border: 0;
    font: inherit;
    cursor: pointer;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header .site-nav > .mega-menu__trigger,
  .site-header .mega-panel :is(a, button) {
    transition-duration: 0s !important;
  }

  .site-header .site-nav > .mega-menu__trigger:hover,
  .site-header .mega-panel :is(a, button):hover {
    transform: none !important;
  }
}

/* Two-level header and in-page search. The LEONEQ artwork is left untouched. */
.site-header.site-header.has-utility-row {
  height: 116px;
  min-height: 116px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(18px, 2.4vw, 40px);
  background: #ffffff;
  backdrop-filter: none;
}

.site-header.site-header.has-utility-row::after {
  right: 0;
  height: 5px;
  content: none;
}

.site-header.has-utility-row .header-actions {
  display: grid;
  width: 100%;
  grid-template-rows: 45px 51px;
  align-content: center;
  justify-items: end;
  gap: 2px;
}

.site-header .header-utility {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(5px, 0.7vw, 11px);
}

.site-header.has-utility-row .site-nav {
  width: 100%;
  justify-content: flex-end;
  gap: clamp(11px, 1.35vw, 24px);
  font-size: clamp(0.83rem, 1.03vw, 0.96rem);
}

.site-header .header-cta.button.primary,
.site-header .header-utility__button {
  display: inline-grid;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  place-items: center;
  order: 0;
  padding: 0;
  color: var(--site-brand-green);
  background: transparent;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  transition: color 160ms ease, transform 160ms ease;
}

.site-header .header-utility__button svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.site-header .header-utility :is(a, button):hover,
.site-header .header-utility :is(a, button):focus-visible,
.site-header .header-utility__button[aria-expanded="true"] {
  color: var(--site-rust);
}

.site-header .header-utility :is(a, button):focus-visible,
.site-header .site-search :is(input, button, a):focus-visible {
  outline: 2px solid var(--site-rust);
  outline-offset: 3px;
}

.site-header .language-menu {
  position: relative;
}

.site-header .language-menu select {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  clip-path: inset(50%);
  pointer-events: none;
}

.site-header .language-menu__options[hidden],
.site-header .site-search[hidden],
.site-header .site-search__results[hidden] {
  display: none;
}

.site-header .language-menu__options {
  position: absolute;
  z-index: 38;
  top: calc(100% + 55px);
  right: -14px;
  width: 176px;
  padding: 8px;
  background: #ffffff;
  border: 1px solid #d6e2d8;
  border-radius: 4px;
  box-shadow: 0 14px 30px rgba(5, 25, 18, 0.16);
}

.site-header .language-menu__option {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  color: var(--site-brand-green);
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.site-header .language-menu__option span:first-child {
  width: 23px;
  flex: 0 0 23px;
  font-weight: 700;
}

.site-header .language-menu__option[aria-pressed="true"] {
  background: var(--site-surface-soft);
}

body.has-search-open::before {
  position: fixed;
  z-index: 19;
  inset: 0;
  background: rgba(5, 25, 18, 0.48);
  content: "";
}

.site-header .site-search {
  position: absolute;
  z-index: 34;
  top: 100%;
  right: 0;
  left: 0;
  max-height: calc(100dvh - 116px);
  overflow-y: auto;
  color: var(--site-brand-cream);
  background: var(--site-navy-deep);
  box-shadow: 0 18px 32px rgba(5, 25, 18, 0.2);
}

.site-header .site-search__inner {
  position: relative;
  width: min(100% - 64px, 1260px);
  margin-inline: auto;
  padding: 58px 0 62px;
}

.site-header .site-search__close {
  position: absolute;
  top: 22px;
  right: 0;
  width: 40px;
  height: 40px;
  padding: 0;
  color: var(--site-brand-cream);
  background: transparent;
  border: 0;
  cursor: pointer;
  font: 300 2rem/1 Arial, sans-serif;
}

.site-header .site-search__form,
.site-header .site-search__results {
  max-width: 900px;
  margin-inline: auto;
}

.site-header .site-search__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.site-header .site-search__form {
  position: relative;
}

.site-header .site-search__form input {
  display: block;
  width: 100%;
  height: 78px;
  padding: 0 84px 0 42px;
  color: var(--site-text);
  background: #ffffff;
  border: 0;
  border-radius: 48px;
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  box-shadow: none;
}

.site-header .site-search__form input::placeholder {
  color: var(--site-text-secondary);
  opacity: 1;
}

.site-header .site-search__submit {
  position: absolute;
  top: 50%;
  right: 23px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  color: var(--site-brand-green);
  background: transparent;
  border: 0;
  cursor: pointer;
  transform: translateY(-50%);
}

.site-header .site-search__submit svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.site-header .site-search__results {
  margin-top: 28px;
}

.site-header .site-search__results h2 {
  margin: 0 0 10px;
  color: var(--site-brand-cream);
  font-size: 1rem;
  font-weight: 700;
}

.site-header .site-search__results p {
  margin: 0;
}

.site-header .site-search__results ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 36px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header .site-search__results a {
  display: block;
  padding: 13px 0;
  color: var(--site-brand-cream);
  border-bottom: 1px solid rgba(242, 237, 228, 0.3);
  text-decoration: none;
}

.site-header .site-search__results a:hover,
.site-header .site-search__close:hover,
.site-header .site-search__submit:hover {
  color: var(--site-dark-muted);
}

/* Search lives on a dark panel, but its submit icon sits on a white input. */
.site-header .site-search__submit:hover {
  color: var(--site-link-hover);
}

.home-redesign .site-header.site-header.has-utility-row {
  margin-bottom: -116px;
}

.home-redesign .home-hero {
  padding-top: 116px;
}

.site-header .mega-panel {
  max-height: calc(100dvh - 116px);
}

#home-introduction-title,
#core-areas,
#industries,
#solution-assembly,
#solution-inspection,
#solution-end-of-line,
#contact {
  scroll-margin-top: 132px;
}

@media (hover: hover) and (pointer: fine) {
  .site-header .header-utility :is(a, button):hover,
  .site-header .site-search__results a:hover,
  .site-header .site-search__close:hover {
    transform: translateY(-2px);
  }
}

@media (max-width: 1150px) {
  .site-header.site-header.has-utility-row {
    --mobile-menu-max-height: calc(100dvh - 72px - max(72px, 15dvh));
    display: flex;
    height: 72px;
    min-height: 72px;
    column-gap: 0;
  }

  .site-header.has-utility-row .header-actions {
    display: flex;
    width: auto;
    margin-left: auto;
    gap: 0;
  }

  .site-header .header-utility {
    gap: 0;
  }

  .site-header .language-menu__options {
    top: calc(100% + 16px);
    right: -43px;
  }

  .site-header.has-utility-row .site-nav,
  .site-header.has-utility-row .site-nav.open {
    top: 72px;
    max-height: var(--mobile-menu-max-height);
  }

  .site-header.has-utility-row .site-nav.open {
    min-height: 0;
    height: auto;
    bottom: auto;
    /* Reset desktop alignment/gaps before stacking the mobile menu. */
    justify-content: flex-start;
    gap: 0;
    padding-block: 16px;
    padding-bottom: max(24px, env(safe-area-inset-bottom));
    overscroll-behavior-y: contain;
  }

  .site-header.has-utility-row .site-nav.open > * {
    /* Short/landscape viewports scroll; rows keep their touch target size. */
    flex-shrink: 0;
  }

  .site-header.has-utility-row .site-nav.open > * + * {
    border-top: 1px solid rgba(255, 255, 255, .18);
  }

  /* The home link and submenu buttons share one feedback style. Reset the
     scrolled-header link colors so no row disappears against the dark panel. */
  .site-header.site-header.has-utility-row .site-nav.open > :is(a[href], .mega-menu__trigger) {
    color: var(--site-brand-cream);
    transition: color var(--site-feedback-time) var(--site-feedback-ease),
      background-color var(--site-feedback-time) var(--site-feedback-ease);
  }

  .site-header.site-header.has-utility-row .site-nav.open > :is(a[href], .mega-menu__trigger):is(:focus-visible, :active) {
    color: var(--site-dark-muted);
    background-color: rgba(255, 255, 255, 0.08);
  }

  .site-header.site-header.has-utility-row .site-nav.open > :is(a[href], .mega-menu__trigger):focus-visible {
    outline-color: var(--site-brand-cream);
    outline-offset: -3px;
  }

  @media (hover: hover) and (pointer: fine) {
    .site-header.site-header.has-utility-row .site-nav.open > :is(a[href], .mega-menu__trigger):hover {
      color: var(--site-dark-muted);
      background-color: rgba(255, 255, 255, 0.08);
    }
  }

  body.has-mega-open .site-header .site-nav.open {
    /* Do not leave the primary green panel behind a shorter submenu. */
    visibility: hidden;
  }

  .site-header .mega-panel {
    top: 72px;
    bottom: auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: auto;
    max-height: var(--mobile-menu-max-height);
    overflow: hidden;
  }

  .site-header .mega-panel__top {
    flex: 0 0 auto;
  }

  .site-header .mega-panel__inner {
    flex: 0 1 auto;
    min-height: 0;
    height: auto;
    max-height: none;
    padding-bottom: max(24px, env(safe-area-inset-bottom));
    overscroll-behavior-y: contain;
  }

  .site-header .site-search {
    position: fixed;
    top: 72px;
    max-height: calc(100dvh - 72px);
  }

  .home-redesign .site-header.site-header.has-utility-row {
    margin-bottom: -72px;
  }

  .home-redesign .home-hero {
    padding-top: 72px;
  }

  #home-introduction-title,
  #core-areas,
  #industries,
  #solution-assembly,
  #solution-inspection,
  #solution-end-of-line,
  #contact {
    scroll-margin-top: 88px;
  }
}

@media (max-width: 720px) {
  .site-header.site-header.has-utility-row::after {
    right: 0;
  }

  .site-header.has-utility-row .brand-logo {
    width: 132px;
  }

  .site-header .site-search__inner {
    width: min(100% - 36px, 1260px);
    padding: 62px 0 40px;
  }

  .site-header .site-search__close {
    top: 11px;
  }

  .site-header .site-search__form input {
    height: 62px;
    padding: 0 58px 0 22px;
    font-size: 1.08rem;
  }

  .site-header .site-search__submit {
    right: 8px;
  }

  .site-header .site-search__results ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 360px) {
  .site-header.site-header.has-utility-row::after {
    right: 0;
  }

  .site-header.has-utility-row .brand-logo {
    width: 112px;
  }

  .site-header .header-cta.button.primary,
  .site-header .header-utility__button {
    width: 38px;
    min-width: 38px;
    height: 40px;
    min-height: 40px;
  }

  .site-header .nav-toggle {
    width: 38px;
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header .header-utility :is(a, button),
  .site-header .site-search :is(a, button) {
    transition-duration: 0s !important;
  }
}

/* Home hero only: let the current image (or a future video) show through the header. */
.home-redesign .site-header.site-header.has-utility-row:not(.is-scrolled) {
  color: var(--site-brand-cream);
  background: rgba(5, 25, 18, 0.12);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  border-bottom-color: rgba(242, 237, 228, 0.16);
  box-shadow: none;
}

.home-redesign .site-header.site-header.has-utility-row:not(.is-scrolled)::after {
  background: var(--site-brand-cream);
}

.home-redesign .site-header.has-utility-row:not(.is-scrolled) .site-nav > .mega-menu__trigger {
  color: var(--site-brand-cream);
}

.home-redesign .site-header.has-utility-row:not(.is-scrolled) .header-utility :is(.header-cta.button.primary, .header-utility__button) {
  color: var(--site-brand-cream);
  text-shadow: 0 1px 2px rgba(4, 18, 13, 0.9), 0 0 8px rgba(4, 18, 13, 0.65);
}

.home-redesign .site-header.has-utility-row:not(.is-scrolled) .site-nav > .mega-menu__trigger:hover,
.home-redesign .site-header.has-utility-row:not(.is-scrolled) .site-nav > .mega-menu__trigger:focus-visible,
.home-redesign .site-header.has-utility-row:not(.is-scrolled) .header-utility :is(.header-cta.button.primary, .header-utility__button):hover,
.home-redesign .site-header.has-utility-row:not(.is-scrolled) .header-utility :is(.header-cta.button.primary, .header-utility__button):focus-visible {
  color: var(--site-dark-muted);
}

.home-redesign .site-header.has-utility-row:not(.is-scrolled) .header-utility svg {
  filter: drop-shadow(0 1px 3px rgba(4, 18, 13, 0.8));
}

.home-redesign .site-header.has-utility-row:not(.is-scrolled) .nav-toggle {
  color: var(--site-brand-cream);
  background: rgba(242, 237, 228, 0.08);
  border-color: rgba(242, 237, 228, 0.68);
}

.home-redesign .site-header.has-utility-row:not(.is-scrolled) .nav-toggle span {
  background: var(--site-brand-cream);
}

/* Keep both original wordmarks at one fixed size; swap only their artwork. */
:root {
  --header-logo-width: clamp(176px, 15vw, 220px);
}

.site-header.site-header.has-utility-row {
  --header-logo-width: clamp(176px, 15vw, 220px);
  padding-left: clamp(14px, 2.4vw, 38px);
  transition: transform 520ms ease-in-out, background-color 200ms ease,
    border-color 200ms ease, box-shadow 200ms ease;
}

.site-header.site-header.has-utility-row::after {
  left: calc(clamp(14px, 2.4vw, 38px) + var(--header-logo-width) + 18px);
}

.site-header .brand.brand-logo-link {
  transform: translateY(-7px);
}

.site-header.site-header .brand-logo {
  width: var(--header-logo-width);
  height: auto;
  transition: transform 200ms ease-out, opacity 200ms ease-out;
}

@media (hover: hover) and (pointer: fine) {
  .site-header .brand.brand-logo-link:hover .brand-logo {
    transform: scale(1.015);
    opacity: 0.98;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header .brand.brand-logo-link:hover .brand-logo {
    transform: none;
  }
}

.site-header .brand-logo--transparent {
  display: none;
}

.home-redesign .site-header:not(.is-scrolled) .brand-logo--solid {
  display: none;
}

.home-redesign .site-header:not(.is-scrolled) .brand-logo--transparent {
  display: block;
}

.site-header.site-header.has-utility-row.is-hidden {
  transform: translateY(calc(-100% - 6px));
}

.site-header.has-utility-row .site-nav {
  gap: clamp(14px, 1.75vw, 29px);
  font-size: clamp(0.91rem, 1.13vw, 1.05rem);
  letter-spacing: 0.01em;
}

.site-header .header-utility__button svg,
.site-header .header-cta svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 720px) {
  :root {
    --header-logo-width: 140px;
  }

  .site-header.site-header.has-utility-row {
    --header-logo-width: 140px;
    padding-inline: 14px;
  }

  .site-header .brand.brand-logo-link {
    transform: translateY(-3px);
  }
}

@media (max-width: 360px) {
  :root {
    --header-logo-width: 120px;
  }

  .site-header.site-header.has-utility-row {
    --header-logo-width: 120px;
    padding-inline: 10px;
  }
}

/* Density pass: keep the existing hero, header, palette and reading order. */
.sector-page .section {
  padding-block: clamp(42px, 4.55vw, 67.2px);
}

.sector-page.media-review-pending .sector-products-section {
  padding-block: 47.6px;
}

.sector-page.media-review-pending .sector-products-section + .section {
  padding-top: 33.6px;
}

.sector-page .section-heading,
.sector-page .section-heading.compact {
  margin-bottom: clamp(20px, 2.1vw, 29.4px);
}

.sector-page :is(.conveyor-prose, .robot-prose) h2 {
  margin-bottom: 18px;
}

.home-redesign.media-review-pending .home-area-grid {
  row-gap: clamp(24px, 2.7vw, 39px);
}

.home-redesign.media-review-pending .home-capability-card {
  padding-bottom: 18px;
}

.home-redesign.media-review-pending .home-capability-copy {
  padding-top: 16px;
}

/* A shared, restrained interaction language. Only existing controls opt in;
   header surfaces, scroll behavior and static illustrations stay unchanged. */
:root {
  --site-feedback-time: 220ms;
  --site-feedback-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

main :is(a[href], button, summary, input, select, textarea),
.site-header :is(a[href], button, input),
.site-header .site-nav > :is(a[href], .mega-menu__trigger),
.site-header .mega-panel :is(a[href], button),
.site-header .header-utility :is(a[href], button),
.site-header .site-search :is(a[href], button, input),
.site-footer.site-footer a[href],
.site-back-top,
.language-hint button {
  transition: color var(--site-feedback-time) var(--site-feedback-ease),
    background-color var(--site-feedback-time) var(--site-feedback-ease),
    border-color var(--site-feedback-time) var(--site-feedback-ease),
    text-decoration-color var(--site-feedback-time) var(--site-feedback-ease),
    opacity var(--site-feedback-time) var(--site-feedback-ease),
    transform var(--site-feedback-time) var(--site-feedback-ease);
}

main a[href],
main :is(button, summary, select):not(:disabled),
.site-header :is(a[href], button):not(:disabled),
.site-footer.site-footer a[href] {
  cursor: pointer;
}

/* Underlines are painted, never inserted, so text and neighboring items stay put. */
.site-header .mega-panel :is(a[href], .mega-panel__category),
.site-header .site-search__results a[href],
main a[href]:not(.button, .home-inquiry-primary, .home-capability-card,
  .related-area-card, .core-area-card, .home-area-card, .home-project-play, .social-link),
.site-footer.site-footer .site-footer__main a:not([data-site-aria="brandHome"]) {
  text-decoration-line: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.site-header .site-nav > :is(a[href], .mega-menu__trigger) {
  /* Primary navigation uses text emphasis only; menu content keeps its feedback. */
  text-decoration: none;
  text-shadow: none;
  box-shadow: none;
  transition: color 220ms var(--site-feedback-ease), opacity 220ms var(--site-feedback-ease);
}

/* Keep the existing, always-visible email underline on resource/contact pages. */
main :is(.contact-email-options, .brochure-contact, .preparation-contact) a[href] {
  text-decoration-color: currentColor;
}

.site-header .mega-panel a > span:first-child,
.site-footer__contact a > span {
  text-decoration: inherit;
}

.site-header .mega-panel .mega-panel__category.is-selected,
.site-header .mega-panel__flow-category:has(.mega-panel__flow-toggle.is-selected) .mega-panel__flow-main,
.site-header .mega-panel__linked-category:has(.mega-panel__robotics-toggle[aria-expanded="true"]) .mega-panel__robotics-main {
  text-decoration-color: currentColor;
}

.site-header #mega-panel-solutions .mega-panel__flow-category:has(.mega-panel__flow-toggle.is-selected) .mega-panel__flow-main,
.site-header #mega-panel-technologies .mega-panel__robotics-toggle[aria-expanded="true"] {
  color: var(--site-dark-muted);
}

.site-header #mega-panel-solutions .mega-panel__flow-toggle.is-selected {
  background-color: rgba(242, 237, 228, 0.08);
}

main :is(a[href], button, summary, input, select, textarea):focus-visible,
.site-header :is(a[href], button, input):focus-visible,
.site-header .site-nav > :is(a[href], .mega-menu__trigger):focus-visible,
.site-back-top:focus-visible {
  outline: 2px solid var(--site-brand-green);
  outline-offset: 4px;
}

.site-header .mega-panel :is(a[href], button):focus-visible,
.site-header .site-search__form input:focus-visible,
.site-header .site-search .site-search__close:focus-visible,
.site-header .site-search .site-search__results a[href]:focus-visible,
.site-header .site-nav.open > :is(a[href], button):focus-visible,
.home-redesign .site-header.has-utility-row:not(.is-scrolled) :is(.site-nav > a,
  .mega-menu__trigger, .header-utility > a, .header-utility__button,
  .nav-toggle, .brand-logo-link):focus-visible,
.home-redesign .home-project-play:focus-visible,
.site-footer.site-footer a[href]:focus-visible {
  outline-color: var(--site-brand-cream);
}

.site-header :is(.mega-panel a, .mega-panel__category):focus-visible,
.site-header .site-search__results a[href]:focus-visible,
main a[href]:not(.button, .home-inquiry-primary, .home-capability-card,
  .related-area-card, .core-area-card, .home-area-card, .home-project-play, .social-link):focus-visible,
.site-footer.site-footer .site-footer__main a:not([data-site-aria="brandHome"]):focus-visible {
  text-decoration-color: currentColor;
}

main a.home-capability-card[href] .home-capability-media img,
main a.related-area-card[href] img,
.site-header .mega-panel__links :is(a, button) > span[aria-hidden="true"],
.site-header .mega-panel__flow-toggle > span,
.site-header .mega-panel__robotics-toggle > span {
  transition: transform var(--site-feedback-time) var(--site-feedback-ease),
    opacity var(--site-feedback-time) var(--site-feedback-ease);
}

/* Keep the search action vertically centered in every interaction state. */
.site-header .site-search .site-search__submit:is(:hover, :active, :focus-visible) {
  transform: translateY(-50%);
}

.home-redesign .home-faq-toggle::after {
  transition: transform var(--site-feedback-time) var(--site-feedback-ease);
}

main :is(input, select, textarea):not(:disabled),
.site-header .site-search__form input {
  caret-color: var(--site-brand-green);
}

@media (hover: hover) and (pointer: fine) {
  .site-header .site-nav > :is(a[href], .mega-menu__trigger):hover,
  .site-header .cap-menu__panel a:hover,
  .site-header .mega-panel :is(a[href], button):hover,
  .site-header .header-utility :is(a, button):hover,
  .site-header .header-cta:hover svg,
  .site-header .language-shortcuts__button:hover,
  .site-header .nav-toggle:hover,
  .site-header .site-search :is(a, button):hover,
  main a[href]:not(.button, .home-inquiry-primary, .home-project-play):hover,
  .site-footer.site-footer a[href]:hover {
    transform: none;
  }

  .site-header .mega-panel :is(a[href], .mega-panel__category):hover,
  .site-header .site-search__results a[href]:hover,
  main a[href]:not(.button, .home-inquiry-primary, .home-capability-card,
    .related-area-card, .core-area-card, .home-area-card, .home-project-play, .social-link):hover,
  .site-footer.site-footer .site-footer__main a:not([data-site-aria="brandHome"]):hover {
    text-decoration-color: currentColor;
  }

  .site-header .mega-panel :is(a[href], button):hover {
    color: var(--site-dark-muted);
  }

  .site-header .language-menu__options button:not([aria-pressed="true"]):hover {
    background-color: var(--site-brand-cream);
  }

  .site-footer.site-footer .site-footer__main a:hover {
    color: var(--site-brand-cream);
    opacity: 1;
  }

  .site-footer.site-footer :is(.site-footer__brand a, .site-footer__bottom nav a):hover {
    opacity: 0.8;
  }

  main a.home-capability-card[href]:hover,
  main a.related-area-card[href]:hover {
    border-color: rgba(16, 64, 47, 0.48);
    box-shadow: none;
  }

  main a.home-capability-card[href]:hover .home-capability-media img,
  main a.related-area-card[href]:hover img {
    transform: scale(1.02);
  }

  main :is(.button, .home-inquiry-primary):not(:disabled):hover,
  .site-back-top:hover {
    box-shadow: none;
    transform: translateY(-2px);
  }

  .home-redesign .home-project-play:not(:disabled):hover {
    background-color: var(--site-rust);
    box-shadow: none;
    transform: translate(-50%, -50%) translateY(-2px);
  }

  .site-header .mega-panel__links :is(a, button):hover > span[aria-hidden="true"],
  .site-header .mega-panel__robotics-toggle:hover > span {
    transform: translateX(3px);
  }

  main :is(input, select, textarea):not(:disabled):hover,
  .site-header .site-search__form input:hover {
    border-color: var(--site-brand-green);
  }

  .home-redesign .home-faq-item summary:hover {
    color: var(--site-rust);
  }
}

main :is(.button, .home-inquiry-primary):not(:disabled):active,
.site-back-top:active {
  box-shadow: none;
  transform: translateY(1px);
}

.home-redesign .home-project-play:not(:disabled):active {
  box-shadow: none;
  transform: translate(-50%, -50%) translateY(1px);
}

main .button:disabled:is(:hover, :active) {
  box-shadow: none;
  transform: none;
}

/* A thin two-tone keyboard ring stays visible over white and the dark footer. */
.site-back-top:focus-visible {
  box-shadow: 0 0 0 2px var(--site-text-inverse);
}

.site-header :is(.mega-menu__trigger, .mega-panel a, .mega-panel button,
  .header-utility a, .header-utility button, .nav-toggle, .site-search button):not(:disabled):active,
.site-footer.site-footer a[href]:active,
main a[href]:not(.button, .home-inquiry-primary, .home-project-play):active,
.home-redesign .home-faq-item summary:active {
  opacity: 0.78;
}

@media (prefers-reduced-motion: reduce) {
  main :is(a[href], button, summary, input, select, textarea),
  .site-header :is(a[href], button, input),
  .site-footer.site-footer a[href],
  .site-back-top,
  .home-redesign .home-faq-toggle::after,
  .site-header .mega-panel__robotics-toggle > span,
  main a.related-area-card[href] img {
    transition: none !important;
  }

  main :is(.button, .home-inquiry-primary):is(:hover, :active),
  .site-back-top:is(:hover, :active),
  .site-header .mega-panel__robotics-toggle > span,
  main a.related-area-card[href] img {
    transform: none !important;
  }

  .site-header .site-search .site-search__submit:is(:hover, :active, :focus-visible) {
    transform: translateY(-50%) !important;
  }
}

/* Content remains visible unless the supported, once-only observer opts in. */
main .leoneq-reveal[data-motion-state] {
  transition: opacity 500ms cubic-bezier(0.2, 0.7, 0.2, 1),
    translate 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.leoneq-reveal[data-motion-state="pending"] {
  opacity: 0;
  translate: 0 20px;
  pointer-events: none;
}

.leoneq-reveal[data-motion-state="complete"] {
  opacity: 1;
  translate: none;
}

/* The case article and photograph are editorial, not a giant button.
   Only the existing, operable play controls may participate in the wave. */
.home-redesign .home-project-portrait-grid .home-project-play {
  scale: var(--leoneq-dock-scale, 1);
  transition: scale 220ms cubic-bezier(0.2, 0.7, 0.2, 1),
    transform var(--site-feedback-time) var(--site-feedback-ease),
    background-color var(--site-feedback-time) var(--site-feedback-ease);
}

/* Magnify the artwork, keeping the social links and their hit areas stable. */
.site-footer__bottom nav a[data-social-platform] svg {
  scale: var(--leoneq-dock-scale, 1);
  translate: 0 var(--leoneq-dock-rise, 0px);
  transform-origin: center;
  transition: scale var(--site-feedback-time) var(--site-feedback-ease),
    translate var(--site-feedback-time) var(--site-feedback-ease);
}

@media (prefers-reduced-motion: reduce), (hover: none), (pointer: coarse) {
  .home-redesign .home-project-portrait-grid .home-project-play {
    scale: none !important;
  }

  .site-footer__bottom nav a[data-social-platform] svg {
    scale: none !important;
    translate: none !important;
    transition: none !important;
  }
}

@media (max-width: 720px) {
  .sector-page .section {
    padding-block: 44.25px;
  }

  .sector-page.media-review-pending .sector-products-section {
    padding-block: 51px;
  }

  .sector-page.media-review-pending .sector-products-section + .section {
    padding-top: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .leoneq-reveal {
    opacity: 1 !important;
    translate: none !important;
    transition: none !important;
  }

  main a.home-capability-card[href] .home-capability-media img,
  .home-redesign .home-project-cover,
  .site-header .mega-panel__links :is(a, button) > span[aria-hidden="true"] {
    transform: none !important;
    transition: none !important;
  }

  .home-redesign .home-project-play:is(:hover, :active, :focus-visible) {
    transform: translate(-50%, -50%) !important;
  }
}

@media print {
  .leoneq-reveal {
    opacity: 1 !important;
    translate: none !important;
    transition: none !important;
  }
}

/* Robotics is one linked page with five chapter links, not five product pages. */
/* Material flow keeps its existing row, with a page link and two chapter links. */
.site-header #mega-panel-solutions .mega-panel__flow-category {
  display: flex;
  min-width: 0;
  align-items: center;
  border-bottom: 1px solid rgba(242, 237, 228, 0.25);
}
.site-header #mega-panel-solutions .mega-panel__flow-main {
  flex: 1 1 auto;
  min-width: 0;
  border-bottom: 0;
}
/* Long translated names must never cover the linked solution toggles. */
.site-header #mega-panel-solutions :is([data-solution-category="cap2"], [data-solution-category="cap3"], [data-solution-category="cap4"]) .mega-panel__flow-main > span[data-site-text] {
  flex: 1 1 auto;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}
.site-header #mega-panel-solutions .mega-panel__flow-toggle {
  display: inline-flex;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--site-brand-cream);
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 1.2rem;
  cursor: pointer;
}
.site-header #mega-panel-solutions .mega-panel__flow-toggle.is-selected {
  color: var(--site-dark-muted);
}
.site-header #mega-panel-solutions .mega-panel__flow-links li {
  padding: 0;
}
.site-header #mega-panel-solutions .mega-panel__flow-links a {
  display: flex;
  min-width: 0;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  color: var(--site-brand-cream);
  line-height: 1.4;
  text-decoration-line: underline;
  text-decoration-color: transparent;
}
.site-header #mega-panel-solutions .mega-panel__flow-links a:focus-visible {
  text-decoration-color: currentColor;
}
.site-header #mega-panel-solutions .mega-panel__flow-links a > span:first-child {
  min-width: 0;
  overflow-wrap: break-word;
}
.site-header #mega-panel-solutions .mega-panel__flow-links a > span:last-child {
  flex: 0 0 auto;
  transition: transform var(--site-feedback-time) var(--site-feedback-ease);
}
@media (hover: hover) and (pointer: fine) {
  .site-header #mega-panel-solutions .mega-panel__flow-links a:hover,
  .site-header #mega-panel-solutions .mega-panel__flow-toggle:hover {
    color: var(--site-dark-muted);
  }
  .site-header #mega-panel-solutions .mega-panel__flow-links a:hover {
    text-decoration-color: currentColor;
  }
  .site-header #mega-panel-solutions .mega-panel__flow-links a:hover > span:last-child,
  .site-header #mega-panel-solutions .mega-panel__flow-toggle:hover > span {
    transform: translateX(3px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-header #mega-panel-solutions .mega-panel__flow-links a > span:last-child,
  .site-header #mega-panel-solutions .mega-panel__flow-toggle > span {
    transition: none;
    transform: none !important;
  }
}

.site-header #mega-panel-technologies .mega-panel__linked-category {
  display: flex;
  min-width: 0;
  align-items: center;
  border-bottom: 1px solid rgba(242, 237, 228, 0.25);
}
.site-header #mega-panel-technologies .mega-panel__robotics-main {
  flex: 1 1 auto;
  min-width: 0;
  border-bottom: 0;
}
.site-header #mega-panel-technologies .mega-panel__robotics-toggle {
  display: inline-flex;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--site-brand-cream);
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 1.2rem;
  cursor: pointer;
}
.site-header #mega-panel-technologies .mega-panel__quick-links li {
  padding: 0;
}
.site-header #mega-panel-technologies .mega-panel__quick-links a {
  display: flex;
  min-width: 0;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  color: var(--site-brand-cream);
  line-height: 1.4;
  text-decoration-line: underline;
  text-decoration-color: transparent;
}
.site-header #mega-panel-technologies .mega-panel__quick-links a:focus-visible {
  text-decoration-color: currentColor;
}
.site-header #mega-panel-technologies .mega-panel__quick-links a > span:first-child {
  min-width: 0;
  overflow-wrap: break-word;
}
.site-header #mega-panel-technologies .mega-panel__quick-links a > span:last-child {
  flex: 0 0 auto;
  transition: transform var(--site-feedback-time) var(--site-feedback-ease);
}
@media (hover: hover) and (pointer: fine) {
  .site-header #mega-panel-technologies .mega-panel__quick-links a:hover,
  .site-header #mega-panel-technologies .mega-panel__robotics-toggle:hover {
    color: var(--site-dark-muted);
  }
  .site-header #mega-panel-technologies .mega-panel__quick-links a:hover {
    text-decoration-color: currentColor;
  }
  .site-header #mega-panel-technologies .mega-panel__quick-links a:hover > span:last-child {
    transform: translateX(3px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-header #mega-panel-technologies .mega-panel__quick-links a > span:last-child {
    transition: none;
    transform: none !important;
  }
}

/* Service sections retain their anchor state; menu layout and triggers are shared. */
.site-header #mega-panel-services .mega-panel__links a[aria-current="location"] {
  color: var(--site-dark-muted);
  text-decoration-color: currentColor;
}
