/* Keep the content grid and brand palette shared by both language versions. */
.company-story-actions { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.company-story-actions .text-link { margin-top: 6px; }
#company-profile { scroll-margin-top: var(--sticky-navigation-height, 74px); }
.product-buying-guide {
  margin-block: 32px; border-block: 1px solid var(--reading-line);
  scroll-margin-top: calc(var(--sticky-navigation-height, 74px) + 12px);
}
.product-buying-guide > summary { padding-block: 14px; font-weight: 700; color: var(--brand-blue); cursor: pointer; }
.product-buying-guide > .prose { max-width: 100%; overflow-x: auto; padding-bottom: 16px; }
.product-buying-guide img { max-width: 100%; height: auto; }

.corporate-v2 .site-header.compact-header {
  --bar-height: 74px;
  top: calc(-1 * var(--sticky-offset, 0px));
  border-bottom: 1px solid var(--reading-line);
  background: var(--paper);
}
.compact-header .compact-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.4vw, 26px);
  min-height: var(--bar-height);
}
.compact-header .compact-brand { display: inline-flex; align-items: center; flex: none; min-height: 44px; }
.compact-header .compact-brand img { display: block; width: 128px; height: auto; }
.compact-header #main-navigation.compact-primary { margin: 0; padding: 0; }
.compact-header #main-navigation.compact-primary > ul { align-items: center; gap: 2px; margin: 0; }
.compact-header #main-navigation.compact-primary > ul > li { padding: 0; min-height: 44px; }
html body.corporate-v2 .compact-header #main-navigation.compact-primary .nav-link {
  display: inline-flex; width: auto; height: auto; min-height: 46px; align-items: center;
  padding: 0 clamp(8px, .78vw, 14px); margin: 0; border: 0; border-radius: 0;
  font-size: 15px; line-height: 1.35; font-weight: 700; white-space: nowrap; color: var(--ink);
  background: transparent; box-shadow: none; cursor: pointer; list-style: none; position: relative;
}
html body.corporate-v2 .compact-header #main-navigation.compact-primary .nav-link::after { content: none; }
html body.corporate-v2 .compact-header #main-navigation.compact-primary :is(.nav-link:hover, .nav-link[aria-current], .nav-link:has(+ details[open])) {
  color: var(--brand-blue); background: transparent; box-shadow: inset 0 -2px var(--brand-sky);
}
.compact-header :is(.product-menu,.support-menu) { position: static; margin: 0; }
.corporate-v2 .compact-header :is(.product-menu,.support-menu) > .submenu-toggle {
  display: grid; place-items: center; width: 44px; height: 46px; padding: 0; list-style: none;
  background: transparent; color: var(--brand-blue); cursor: pointer;
}
.compact-header .submenu-toggle::-webkit-details-marker { display: none; }
.compact-header .submenu-toggle::before {
  content: ''; width: 8px; height: 8px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg);
}
.compact-header details[open] > .submenu-toggle::before { transform: rotate(225deg); }
@media (min-width: 1024px) and (hover: hover) and (not (any-pointer: coarse)) and (scripting: enabled) {
  .corporate-v2 .compact-header :is(.product-menu,.support-menu) > .submenu-toggle { display: none; }
}
.compact-header .support-nav { align-self: center; }
.corporate-v2 .compact-header .product-panel { top: calc(100% - 1px); left: var(--gutter); right: var(--gutter); width: auto; }
.compact-header .support-panel { top: 100%; inset-inline-start: 0; }
.compact-header .compact-tools { display: flex; align-items: center; flex: none; gap: 6px; margin-inline-start: auto; }
.compact-header .round-contact, .compact-header .compact-toggle, .compact-header .corporate-search > summary {
  position: relative; display: inline-flex; justify-content: center; align-items: center;
  flex: none; width: 44px; height: 44px; padding: 0; background: transparent; border: 0; cursor: pointer;
}
.compact-header .round-contact { color: white; isolation: isolate; }
.compact-header .round-contact::before {
  content: ''; position: absolute; inset: 3px; z-index: -1; border-radius: 50%; background: var(--brand-blue);
}
.compact-header .round-contact:is(:hover,:focus-visible)::before { background: #104b9e; }
.compact-header .round-contact svg { width: 19px; height: 19px; stroke-width: 1.8; }
.compact-header .corporate-search { flex: none; position: relative; display: block; margin: 0; }
.compact-header .corporate-search > summary { gap: 7px; width: auto; min-width: 44px; padding-inline: 6px; color: var(--ink); }
.compact-header .corporate-search > summary > svg { width: 20px; height: 20px; }
.compact-header .corporate-search > summary > span { display: inline; font-size: 15px; }
.compact-header .corporate-search form { z-index: 2; inset-inline: auto 0; top: 100%; }
.corporate-v2 .compact-header .compact-tools .nav-cta {
  display: inline-flex; min-width: 0; min-height: 46px; padding: 0 16px; gap: 14px; font-size: 14px;
}
.compact-header .compact-tools .nav-cta .quote-arrow { width: auto; min-width: 0; }
.compact-header .compact-toggle, .compact-header .compact-mobile-quote { display: none; }
.compact-header :is(.nav-link,.submenu-toggle,.compact-toggle,.round-contact,.compact-brand):focus-visible {
  outline: 2px solid var(--brand-blue); outline-offset: 2px;
}
@media (min-width: 1024px) and (max-width: 1310px) {
  .corporate-v2 .site-header.compact-header { --bar-height: 66px; }
  .compact-header .compact-bar { gap: 11px; }
  .compact-header .compact-brand img { width: 100px; }
  html body.corporate-v2 .compact-header #main-navigation.compact-primary .nav-link { font-size: 13px; padding-inline: 5px; }
  .compact-header .compact-tools { gap: 2px; }
  .compact-header .corporate-search > summary > span { display: none; }
  .corporate-v2 .compact-header .compact-tools .nav-cta { font-size: 13px; padding-inline: 10px; gap: 7px; }
}
@media (min-width: 1024px) and (max-width: 1120px) and ((any-pointer: coarse) or (hover: none) or (scripting: none)) {
  .compact-header .compact-bar { padding-inline: 14px; gap: 8px; }
  .compact-header #main-navigation.compact-primary > ul { gap: 0; }
}
@media (max-width: 1023px) {
  .corporate-v2 .site-header.compact-header { --bar-height: 62px; }
  .compact-header .compact-brand img { width: 104px; }
  .compact-header .compact-bar { gap: 8px; }
  .compact-header .compact-tools { gap: 4px; }
  .compact-header .compact-toggle { display: inline-flex; color: var(--ink); }
  .compact-header .compact-toggle svg { width: 23px; height: 23px; }
  .compact-header #main-navigation.compact-primary {
    position: absolute; z-index: 3; top: 100%; inset-inline: 0; width: auto;
    display: none; max-height: calc(100dvh - var(--site-header-height,130px)); overflow: auto;
    padding: 10px var(--gutter) 18px; background: var(--paper); border-top: 1px solid var(--line);
    box-shadow: 0 14px 24px #08244318;
  }
  .compact-header #main-navigation.compact-primary.is-open { display: block; }
  .compact-header #main-navigation.compact-primary > ul, .compact-header #main-navigation.compact-primary > ul > li { display: block; }
  html body.corporate-v2 .compact-header #main-navigation.compact-primary .nav-link {
    display: flex; position: static; width: 100%; padding: 10px 12px; min-height: 46px; font-size: 16px; justify-content: flex-start;
  }
  .compact-header #main-navigation.compact-primary :is(.product-nav,.support-nav) { position: relative; }
  html body.corporate-v2 .compact-header #main-navigation.compact-primary :is(.product-nav,.support-nav) > .nav-link { width: calc(100% - 44px); }
  .compact-header .submenu-toggle { position: absolute; inset: 0 0 auto auto; }
  html body.corporate-v2 .compact-header #main-navigation.compact-primary :is(.nav-link:hover,.nav-link[aria-current],.nav-link:has(+ details[open])) {
    box-shadow: inset 3px 0 var(--brand-sky); background: #f1f5fb;
  }
  .corporate-v2 .compact-header .product-panel, .compact-header .support-panel {
    position: static; width: 100%; padding: 10px 14px 16px; background: #f7f9fc; box-shadow: none;
  }
  .compact-header .support-panel a { min-height: 44px; }
  .compact-header #main-navigation.compact-primary .mobile-contact {
    display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 10px 12px 0; margin-top: 10px;
  }
  .compact-header #main-navigation.compact-primary .mobile-contact a { display: inline-flex; align-items: center; min-height: 44px; }
  .compact-header .corporate-search { position: static; }
  .compact-header .corporate-search form { top: 100%; left: auto; right: var(--gutter); width: min(360px, calc(100% - 2 * var(--gutter))); }
}
@media (max-width: 650px) {
  .compact-header .compact-brand img { width: 90px; }
  .compact-header .compact-bar { padding-inline: clamp(12px, 4vw, 22px); }
  .compact-header .compact-tools { gap: 2px; }
  .compact-header .round-contact::before { inset: 5px; }
  .compact-header .corporate-search > summary > span, .corporate-v2 .compact-header .compact-tools .nav-cta { display: none; }
  .compact-header .compact-mobile-quote {
    display: flex; align-items: center; justify-content: center; background: var(--brand-blue); color: #fff;
    min-height: 44px; margin-top: 8px; font-weight: 700; padding: 8px 14px;
  }
}

/* The brand and the two message lines form one accessible heading in both languages. */
.corporate-v2 .corporate-hero #home-title .hero-brand {
  display: block; margin: 0 0 12px; font: 700 clamp(16px,1.15vw,21px)/1.25 'Manrope Variable',sans-serif; letter-spacing: .025em;
}
.corporate-v2 .corporate-hero #home-title .hero-line { display: block; margin: 0; }
@media (max-width: 767px) {
  html body.corporate-v2 .corporate-hero .corporate-hero-panel #home-title {
    font-size: clamp(21px, 6.15vw, 36px); line-height: 1.16; margin-bottom: 20px;
  }
  .corporate-v2 .corporate-hero #home-title .hero-brand { margin-bottom: 9px; }
}

.floating-actions {
  position: fixed; z-index: var(--layer-utility); right: 0;
  top: min(49%, calc(100dvh - 252px)); display: flex; flex-direction: column; align-items: flex-end;
}
.corporate-v2 .floating-actions .contact-rail { position: static; width: 46px; }
.corporate-v2 .floating-actions .contact-rail > a { width: 100%; }
.floating-actions .back-to-top {
  position: static; flex-direction: column; gap: 6px; width: 46px; height: 58px; margin: 0;
  font: 600 10px/1.2 'Manrope Variable',sans-serif; border: 1px solid #ffffff59; border-radius: 0;
  color: #fff; background: var(--brand-blue);
}
.floating-actions .back-to-top:hover { background: #104b9e; }
.floating-actions .back-to-top:focus-visible { outline-offset: -3px; outline-color: white; }
.floating-actions .back-to-top > svg { width: 20px; height: 20px; }
@media (max-width: 1023px) {
  .floating-actions { top: auto; bottom: max(14px,env(safe-area-inset-bottom)); right: max(10px,env(safe-area-inset-right)); }
  .corporate-v2 .floating-actions .contact-rail { display: none; }
  .floating-actions .back-to-top { height: 48px; }
}

@keyframes veady-photo-enter {
  from { translate: 0 12px; }
  to { translate: 0 0; }
}
@keyframes veady-quick-fade {
  from { opacity: .65; }
  to { opacity: 1; }
}
@media (prefers-reduced-motion:no-preference) {
  img[data-entry="photo"] { animation: veady-photo-enter 420ms linear; }
  [data-company-gallery] .company-gallery-photo img[data-entry="photo"] { animation-duration: 800ms; }
  [data-entry="fade"],
  .compact-header .compact-tools, .floating-actions .contact-rail,
  .compact-header :is(.product-menu,.support-menu)[open] > :is(.product-panel,.support-panel),
  .compact-header .corporate-search[open] form,
  .compact-header .compact-primary.is-open,
  .image-lightbox[open] .image-lightbox-bar, .inspector-preview:not([hidden]) {
    animation: veady-quick-fade 140ms ease-out;
  }
  .top-control-ready .floating-actions .back-to-top {
    transform: none;
    transition: opacity 140ms ease-out, visibility 0s linear 140ms;
  }
  .top-control-ready .floating-actions .back-to-top.is-visible { transition-delay: 0s; }
}
.corporate-v2 :is(button,.button,.text-link,.round-contact,.back-to-top):hover svg,
.corporate-v2 .compact-header .nav-cta:hover svg,
.corporate-v2 .floating-actions .contact-rail a:hover > svg { transform: none; }
.corporate-v2 .application-list > a:hover { padding-inline: 0; }
.company-gallery-track[data-slides-ready] { display: block; overflow: hidden; scroll-snap-type: none; touch-action: pan-y pinch-zoom; }
.company-gallery-track[data-slides-ready] > figure[hidden] { display: none; }
@media print {
  .floating-actions, .site-header.compact-header { display: none !important; }
}
