/* Header language control: red text and a red trace replace navy on hover. */
.header #navigation a.wj-language-switch {
  --wj-language-base: var(--wj-navy, #002B49);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--wj-language-base);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: color .35s ease;
}
.header #navigation a.wj-language-switch::before,
.header #navigation a.wj-language-switch::after { content: none; display: none; }
.header .wj-language-switch .wj-language-ring {
  position: absolute;
  inset: 0;
  display: block;
  width: 48px;
  height: 48px;
  fill: none;
  stroke-width: 2.5;
  pointer-events: none;
  transform: rotate(-90deg);
}
.wj-language-ring-base {
  stroke: var(--wj-language-base);
  opacity: 1;
  transition: opacity .85s cubic-bezier(.45, 0, .2, 1);
}
.wj-language-ring-hover {
  stroke: var(--wj-red, #D92333);
  stroke-width: 2.5;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset .85s cubic-bezier(.45, 0, .2, 1);
}
.header #navigation a.wj-language-switch:hover,
.header #navigation a.wj-language-switch:focus-visible {
  color: var(--wj-red, #D92333);
  background: none;
  text-decoration: none;
}
.header .wj-language-switch:is(:hover, :focus-visible) .wj-language-ring-base { opacity: 0; }
.header .wj-language-switch:is(:hover, :focus-visible) .wj-language-ring-hover { stroke-dashoffset: 0; }
.header .wj-language-switch:focus-visible { outline: 2px solid var(--wj-red, #D92333); outline-offset: 4px; }
.header #navigation a.wj-language-mobile { display: none; }
/* Footer language link uses light text for contrast on navy. */
.footer .wj-language-ring { display: none; }
footer.footer .footer-bottom > a.wj-language-switch[hreflang][lang] {
  margin-left: 16px;
  color: #fff;
  font-weight: 600;
}
footer.footer .footer-bottom > a.wj-language-switch[hreflang][lang]::after {
  background: #fff;
}
@media (max-width: 960px) {
  .header #navigation,
  .header #navigation a,
  .header #navigation summary,
  .header .menu { -webkit-tap-highlight-color: transparent !important; }
  html .header #navigation.open {
    --wj-menu-heading: 32px;
    --wj-menu-detach: clamp(0px, calc(100dvh - var(--wj-menu-top, 80px) - env(safe-area-inset-bottom) - 488px), 40px);
    --wj-menu-air: clamp(0px, calc((100dvh - var(--wj-menu-top, 80px) - env(safe-area-inset-bottom) - 488px - var(--wj-menu-detach)) / 7), 8px);
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 68px;
    grid-template-rows: repeat(3, max-content) minmax(max-content, 1fr);
    column-gap: 22px !important;
    row-gap: 0 !important;
    align-content: start;
    align-items: center;
    height: calc(100dvh - var(--wj-menu-top, 80px)) !important;
    max-height: calc(100dvh - var(--wj-menu-top, 80px)) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: calc(16px + 1.5 * var(--wj-menu-air)) 18px calc(18px + var(--wj-menu-air) + env(safe-area-inset-bottom)) !important;
    background: var(--navy, #002B49) !important;
    color: var(--cream, #F6F2E9);
  }
  .header #navigation.open > .expertise-menu { grid-column: 1 / -1; grid-row: 1; }
  .header #navigation.open .expertise-menu > summary {
    display: flex;
    justify-content: space-between;
    min-height: 36px !important;
    margin: 0 0 calc(8px + .5 * var(--wj-menu-air)) !important;
    padding: 0 !important;
    font: 700 var(--wj-menu-heading)/1 Barlow, 'Arial Narrow', sans-serif !important;
    letter-spacing: -.02em !important;
    text-transform: uppercase !important;
    color: #fff !important;
  }
  .header #navigation.open .expertise-menu > summary::after {
    content: '01 — 05';
    width: auto;
    height: auto;
    margin: 0;
    border: 0;
    transform: none;
    font: 400 11px/1 DM, Arial, sans-serif;
    letter-spacing: .1em;
    color: #fff;
  }
  .header #navigation.open .expertise-dropdown { margin: 0 !important; padding: 0 !important; }
  .header #navigation.open .expertise-dropdown ul { gap: 0 !important; }
  .header #navigation.open .expertise-dropdown li a {
    gap: 14px !important;
    min-height: calc(44px + .25 * var(--wj-menu-air)) !important;
    padding: 7px 0 !important;
    font: 400 18px/1.16 DM, Arial, sans-serif !important;
    letter-spacing: -.02em !important;
  }
  .header #navigation.open .expertise-dropdown li a > span {
    min-width: 23px !important;
    font: 600 11px/1 DM, Arial, sans-serif !important;
    color: var(--red, #D92333) !important;
  }
  .header #navigation.open > a:not(.button):not(.wj-language-switch) {
    grid-column: 1 / -1;
    min-height: 44px !important;
    padding: 0 !important;
    margin: 0 !important;
    font: 700 var(--wj-menu-heading)/1 Barlow, 'Arial Narrow', sans-serif !important;
    letter-spacing: -.03em !important;
    text-transform: uppercase !important;
    color: var(--cream, #F6F2E9) !important;
  }
  .header #navigation.open > .expertise-menu + a:not(.button) { grid-row: 2; margin-top: calc(14px + var(--wj-menu-air)) !important; }
  .header #navigation.open > .expertise-menu + a:not(.button) + a:not(.button) { grid-row: 3; margin-top: calc(8px + .75 * var(--wj-menu-air)) !important; }
  .header #navigation.open .expertise-menu:not([open]) > summary { min-height: 44px !important; margin-bottom: 0 !important; }
  .header #navigation.open > .expertise-menu:not([open]) + a:not(.button) { margin-top: calc(8px + .75 * var(--wj-menu-air)) !important; }
  .header #navigation.open .wj-menu-motion,
  .header #navigation.open .wj-menu-motion:is(:active, :focus-visible, .wj-menu-tap) {
    position: relative;
    color: var(--cream, #F6F2E9) !important;
    animation: none !important;
    transform: none !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  .header #navigation.open .wj-menu-motion::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 10px;
    height: 2px;
    background: var(--red, #D92333);
    transform: scaleX(0);
    transform-origin: left center;
    opacity: 0;
    transition: transform .12s ease, opacity .10s ease !important;
  }
  .header #navigation.open .wj-menu-motion > .wj-menu-label { display: inline-block; transition: transform .12s cubic-bezier(.2, .7, .2, 1) !important; }
  .header #navigation.open .wj-menu-motion:is(:active, :focus-visible, .wj-menu-tap)::before { opacity: 1; transform: scaleX(1); }
  .header #navigation.open .wj-menu-motion:is(:active, :focus-visible, .wj-menu-tap) > .wj-menu-label { transform: translateX(18px); }
  .header #navigation.open > .wj-mobile-contact {
    grid-column: 1;
    grid-row: 4;
    align-self: end;
    display: flex !important;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
    width: 100% !important;
    min-height: 60px !important;
    margin: calc(16px + var(--wj-menu-air) + var(--wj-menu-detach)) 0 2px !important;
    padding: 10px 20px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--red, #D92333) !important;
    font: 700 var(--wj-menu-heading)/1 Barlow, 'Arial Narrow', sans-serif !important;
    letter-spacing: -.02em !important;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--cream, #F6F2E9) !important;
    animation: none !important;
    transform: none !important;
  }
  .header #navigation.open > .wj-mobile-contact span { font-size: 29px !important; flex-shrink: 0; transform: none !important; }
  .header #navigation .wj-mobile-contact svg { display: block; width: 1em; height: 1em; }
  .header #navigation > a.wj-language-switch:not(.wj-language-mobile) { display: none; }
  .header #navigation.open > a.wj-language-mobile {
    grid-column: 2;
    grid-row: 4;
    position: relative;
    inset: auto;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: end;
    justify-content: center;
    box-sizing: border-box;
    width: 68px;
    min-width: 0;
    height: 64px;
    min-height: 64px !important;
    margin: calc(16px + var(--wj-menu-air) + var(--wj-menu-detach)) 0 0 !important;
    padding: 6px 14px 6px 8px !important;
    border: 0;
    border-radius: 0;
    background: transparent !important;
    color: #fff !important;
    text-align: left;
    text-transform: none;
    letter-spacing: 0;
    text-decoration: none;
    overflow-wrap: normal;
    animation: none !important;
    transform: none !important;
  }
  .header #navigation.open .wj-language-mobile strong { font: 700 35px/1 Barlow, 'Arial Narrow', sans-serif; color: #fff; }
  .header #navigation.open .wj-language-mobile .wj-language-name { font: 400 11px/1.3 DM, Arial, sans-serif; color: #fff; }
  .header #navigation.open .wj-language-mobile .wj-language-arrow { position: absolute; right: 0; top: 7px; font: 400 24px/1 DM, Arial, sans-serif; color: var(--red, #D92333); }
  .header #navigation.open .wj-mobile-contact svg,
  .header #navigation.open .wj-language-mobile .wj-language-arrow { transition: transform .12s ease !important; }
  .header #navigation.open .wj-mobile-contact:is(:active, :focus-visible, .wj-menu-tap) svg,
  .header #navigation.open .wj-language-mobile:is(:active, :focus-visible, .wj-menu-tap) .wj-language-arrow { transform: translate(2px, -2px); }
}
@media (max-width: 960px) and (hover: hover) {
  .header #navigation.open .wj-menu-motion:hover::before { opacity: 1; transform: scaleX(1); }
  .header #navigation.open .wj-menu-motion:hover > .wj-menu-label { transform: translateX(18px); }
  .header #navigation.open .wj-mobile-contact:hover svg,
  .header #navigation.open .wj-language-mobile:hover .wj-language-arrow { transform: translate(2px, -2px); }
}
@media (max-width: 960px) and (prefers-reduced-motion: reduce) {
  .header #navigation.open .wj-menu-motion::before,
  .header #navigation.open .wj-menu-motion > .wj-menu-label,
  .header #navigation.open .wj-mobile-contact svg,
  .header #navigation.open .wj-language-mobile .wj-language-arrow { transition: none !important; }
}
@media (max-width: 370px) {
  html .header #navigation.open { --wj-menu-heading: 30px; padding-inline: 14px !important; column-gap: 18px !important; }
  .header #navigation.open .expertise-dropdown li a { gap: 8px !important; font-size: 17px !important; }
  .header #navigation.open > .wj-mobile-contact { padding-inline: 14px !important; }
}
@media (max-width: 999px) {
  footer.footer .footer-bottom > a.wj-language-switch[hreflang][lang] {
    margin: 0;
    justify-self: start;
    width: max-content;
    min-width: 44px;
  }
  footer.footer .footer-bottom a:not(.wj-language-switch):is(:hover, :focus-visible, :active),
  footer.footer .footer-bottom a.wj-language-switch:is(:hover, :focus-visible, :active) > span {
    text-decoration: underline;
    text-decoration-color: var(--red, #D92333);
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
  }
}
/* Give the longer English anniversary lettering room beside the copy. */
@media (min-width: 761px) {
  html[lang^="en"] .home #apropos .wj-business-years > strong {
    font-size: clamp(96px, 11vw, 188px);
  }
}

/* Keep the English anniversary lettering inside the mobile content margin. */
@media (max-width: 760px) {
  html[lang^="en"] .home #apropos .wj-business-years > strong {
    font-size: clamp(64px, 22vw, 125px);
  }
}
/* Mobile footer: navigation, language and return control, then copyright. */
.footer .wj-language-footer-name,
.footer .wj-language-footer-arrow { display: none; }
@media (max-width: 760px) {
  footer.footer {
    position: relative;
    padding: 24px 22px 48px;
    padding-bottom: calc(48px + env(safe-area-inset-bottom, 0px));
    row-gap: 8px;
  }
  footer.footer .footer-identity { padding-bottom: 14px; }
  footer.footer .footer-bottom {
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 0 18px;
    padding-top: 4px;
  }
  footer.footer .footer-bottom .wp-footer { display: contents; }
  footer.footer .footer-bottom a {
    min-width: 0;
    min-height: 40px !important;
    margin: 0 !important;
    white-space: nowrap;
  }
  footer.footer .footer-bottom > a.wj-language-switch[hreflang][lang] {
    position: relative;
    grid-column: 1 / -1;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    justify-self: start;
    gap: 12px;
    width: max-content;
    min-width: 44px;
    min-height: 44px !important;
    margin: 10px 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0;
    background: none !important;
    color: #fff !important;
    font: 400 11px/1.6 DM, Arial, sans-serif !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    -webkit-tap-highlight-color: transparent;
  }
  footer.footer .footer-bottom > a.wj-language-switch[hreflang][lang]::before,
  footer.footer .footer-bottom > a.wj-language-switch[hreflang][lang]::after { content: none !important; display: none !important; }
  footer.footer .wj-language-code,
  footer.footer .wj-language-ring { display: none; }
  footer.footer .wj-language-footer-name { display: inline; }
  footer.footer .wj-language-footer-arrow {
    display: block;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    color: #fff;
    pointer-events: none;
  }
  footer.footer .footer-bottom > a.wj-language-switch:is(:hover, :focus-visible, :active) > .wj-language-footer-name {
    text-decoration: underline;
    text-decoration-color: var(--red, #D92333);
    text-underline-offset: 5px;
    text-decoration-thickness: 1px;
  }
  footer.footer .wj-language-switch:focus-visible { outline: 2px solid var(--red, #D92333); outline-offset: 4px; }
  footer.footer > a.footer-top[href] {
    position: static;
    grid-column: 2;
    grid-row: 2;
    align-self: end;
    justify-self: end;
    margin: 0 0 7px;
    transform: none;
  }
  footer.footer p.wj-copyright {
    grid-column: 1 / -1;
    grid-row: 3;
    margin: 4px 0 0;
    padding-top: 12px;
    border-top: 1px solid #ffffff30;
  }
}
@media (prefers-reduced-motion: reduce) {
  .header #navigation a.wj-language-switch,
  .wj-language-switch .wj-language-ring-base,
  .wj-language-switch .wj-language-ring-hover { transition: none; }
}
