/* Static preview refinements that should survive future rebuilds. */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

html {
  scroll-padding-top: 120px;
}

#main-content {
  scroll-margin-top: 120px;
}

.ll-site :is(a, button, input, select, textarea):focus-visible,
.res-site :is(a, button, input, select, textarea):focus-visible,
.ea11y-skip-to-content-link:focus-visible {
  outline: 3px solid #0a6086 !important;
  outline-offset: 4px !important;
  box-shadow: 0 0 0 2px #fff !important;
}

.ll-site :is(.ll-utility, .ll-hero, .ll-cta, .ll-footer) :is(a, button):focus-visible,
.res-site :is(.res-utility, .res-hero, .res-cta, .res-footer) :is(a, button):focus-visible {
  outline-color: #ffd27a !important;
  box-shadow: 0 0 0 2px #153b55 !important;
}

.ll-menu a[aria-current="page"],
.res-menu a[aria-current="page"] {
  color: #0a6086 !important;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.ll-site :is(.ll-text-link, .ll-card-link, .ll-office-simple a, .office-actions a),
.res-site :is(.res-link, .office-actions a, .contact-form-privacy a, .legal-copy a) {
  text-decoration: underline !important;
  text-decoration-thickness: .09em !important;
  text-underline-offset: .18em !important;
}

.ll-submenu-toggle,
.res-submenu-toggle {
  display: inline-grid !important;
  border: 0 !important;
  background: transparent !important;
  color: #153b55 !important;
  box-shadow: none !important;
  width: 32px;
  min-width: 32px;
  height: 32px;
  place-items: center;
}

.ll-menu-dropdown.is-open .ll-submenu,
.res-menu-dropdown.is-open .res-submenu {
  display: flex;
  flex-direction: column;
}

.contact-form-card .elementor-button,
.contact-form-card button[type="submit"] {
  border-color: #153b55 !important;
  background: linear-gradient(135deg, #1f6f99, #153b55) !important;
  color: #fff !important;
}

.hero-video-toggle {
  position: absolute;
  right: 20px;
  top: 20px;
  bottom: auto;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 50%;
  background: rgba(16, 47, 67, .76);
  color: #fff;
  font: 800 17px/1 "Lato", Arial, sans-serif;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(8, 31, 45, .22);
  backdrop-filter: blur(6px);
}

.ll-hero {
  position: relative;
}

.hero-video-toggle:hover {
  background: rgba(16, 47, 67, .96);
  transform: translateY(-1px);
}

.ll-hero h1,
.res-hero h1 {
  letter-spacing: .015em !important;
}

.static-menu-toggle {
  display: none;
}

.ll-button,
.res-button,
.static-menu-toggle,
.contact-form-card .elementor-button,
.contact-form-card button[type="submit"] {
  border-radius: 999px !important;
}

.ll-footer-column-title,
.res-footer-column-title,
.ll-footer-office strong,
.res-footer-office strong {
  margin-bottom: 10px !important;
  color: #9de0ef !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  letter-spacing: .065em;
  line-height: 1.25;
  text-transform: uppercase;
  white-space: nowrap;
}

.ll-footer-links-column > a,
.res-footer-links-column > a {
  font-weight: 600 !important;
}

@media (max-width: 860px) {
  .ll-nav .ll-wrap,
  .res-nav .res-wrap {
    justify-content: center;
  }

  .static-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    width: auto;
    padding: 0 18px;
    border: 1px solid rgba(21, 59, 85, .2);
    border-radius: 999px;
    background: #153b55;
    color: #fff;
    font: 800 14px/1 "Lato", Arial, sans-serif;
    cursor: pointer;
  }

  .static-menu-toggle:hover,
  .static-menu-toggle:focus,
  .static-menu-toggle:active {
    border-color: rgba(21, 59, 85, .2) !important;
    background: #153b55 !important;
    color: #fff !important;
  }

  .static-menu-toggle-icon {
    font-size: 17px;
    line-height: 1;
  }

  .ll-menu,
  .res-menu {
    display: none !important;
    width: 100%;
    padding: 8px 0 12px !important;
  }

  .ll-menu.is-open,
  .res-menu.is-open {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 11px;
  }

  .ll-menu > a,
  .res-menu > a,
  .ll-menu-dropdown,
  .res-menu-dropdown {
    justify-content: center;
    text-align: center;
  }

  .ll-menu > a:hover,
  .ll-menu > a:focus,
  .ll-menu > a:active,
  .ll-menu > a:visited,
  .ll-menu-dropdown > a:hover,
  .ll-menu-dropdown > a:focus,
  .ll-menu-dropdown > a:active,
  .ll-menu-dropdown > a:visited,
  .res-menu > a:hover,
  .res-menu > a:focus,
  .res-menu > a:active,
  .res-menu > a:visited,
  .res-menu-dropdown > a:hover,
  .res-menu-dropdown > a:focus,
  .res-menu-dropdown > a:active,
  .res-menu-dropdown > a:visited {
    color: #153b55 !important;
  }

  .ll-menu > .ll-button,
  .ll-menu > .ll-button:hover,
  .ll-menu > .ll-button:focus,
  .ll-menu > .ll-button:active,
  .ll-menu > .ll-button:visited,
  .res-menu > .res-button,
  .res-menu > .res-button:hover,
  .res-menu > .res-button:focus,
  .res-menu > .res-button:active,
  .res-menu > .res-button:visited {
    color: #fff !important;
  }

  .ll-submenu-toggle,
  .ll-submenu-toggle:hover,
  .ll-submenu-toggle:focus,
  .ll-submenu-toggle:active,
  .res-submenu-toggle,
  .res-submenu-toggle:hover,
  .res-submenu-toggle:focus,
  .res-submenu-toggle:active {
    border: 0 !important;
    background: transparent !important;
    color: #153b55 !important;
  }
}

/* Desktop and iPad entrance motion. Phone layouts intentionally remain still. */
@media (min-width: 768px) {
  html.static-motion-ready .static-motion-hero,
  html.static-motion-ready .static-motion-reveal {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
    transition:
      opacity .72s cubic-bezier(.22, 1, .36, 1),
      transform .72s cubic-bezier(.22, 1, .36, 1);
    transition-delay: var(--static-motion-delay, 0ms);
    will-change: opacity, transform;
  }

  html.static-motion-ready .static-motion-hero {
    transform: translate3d(0, 18px, 0);
  }

  html.static-motion-ready .static-motion-reveal.static-motion-left {
    transform: translate3d(-28px, 0, 0);
  }

  html.static-motion-ready .static-motion-reveal.static-motion-right {
    transform: translate3d(28px, 0, 0);
  }

  html.static-motion-ready .static-motion-hero.is-visible,
  html.static-motion-ready .static-motion-reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    will-change: auto;
  }
}

@media (min-width: 768px) and (hover: hover) {
  .ll-site :is(.ll-trust-item, .ll-office-simple),
  .res-site :is(.res-card, .res-note) {
    transition:
      transform .24s ease,
      box-shadow .24s ease,
      border-color .24s ease;
  }

  .ll-site :is(.ll-trust-item, .ll-office-simple):hover,
  .res-site :is(.res-card, .res-note):hover {
    transform: translateY(-4px);
    border-color: rgba(31, 111, 153, .3);
    box-shadow: 0 16px 34px rgba(21, 59, 85, .12);
  }
}

@media (prefers-reduced-motion: reduce) {
  html.static-motion-ready .static-motion-hero,
  html.static-motion-ready .static-motion-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .ll-hero-video,
  .hero-video-toggle {
    display: none !important;
  }
}

@media (max-width: 600px) {
  .ll-site,
  .res-site {
    text-align: center;
  }

  .ll-site :is(.ll-lead, .ll-hero-content, .ll-intro-copy, .ll-heading-row > *, .ll-cta .ll-wrap > *, .ll-card, .ll-office-simple, .ll-footer-top, .ll-footer-bottom, .ll-footer-office),
  .res-site :is(.res-hero-inner, .res-intro > *, .res-cta .res-wrap > *, .res-card, .res-note, .res-footer-top, .res-footer-bottom, .res-footer-office, .contact-form-intro, .contact-form-card) {
    margin-left: auto;
    margin-right: auto;
  }

  .ll-site :is(.ll-nav .ll-wrap, .ll-actions, .ll-eyebrow, .ll-heading-row, .ll-cta .ll-wrap, .ll-footer-top, .ll-footer-bottom, .ll-footer-right, .ll-footer-legal),
  .res-site :is(.res-nav .res-wrap, .res-intro, .res-cta .res-wrap, .res-footer-top, .res-footer-bottom, .res-footer-right, .res-footer-legal, .office-actions) {
    align-items: center !important;
    justify-content: center !important;
  }

  .ll-site :is(.ll-card, .ll-footer-links-column),
  .res-site :is(.res-card, .res-footer-links-column) {
    align-items: center;
  }

  .ll-site :is(.ll-lead, .ll-hero p),
  .res-site :is(.res-hero p, .res-intro > p) {
    margin-left: auto;
    margin-right: auto;
  }

  .ll-bullet {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .ll-site :is(ul, ol),
  .res-site :is(ul, ol) {
    padding-left: 0;
    list-style-position: inside;
  }

  .ll-site .ll-button,
  .res-site .res-button,
  .contact-form-card .elementor-button,
  .contact-form-card button[type="submit"] {
    display: inline-flex !important;
    width: auto !important;
    max-width: calc(100% - 28px);
    padding-left: 22px !important;
    padding-right: 22px !important;
    align-self: center;
  }

  .ll-home-offices {
    grid-auto-rows: 1fr;
  }

  .ll-office-simple {
    display: flex;
    width: 100%;
    height: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
    flex-direction: column;
    justify-content: center;
  }

  .ll-cta .ll-button,
  .res-cta .res-button {
    min-width: 178px;
    min-height: 46px;
    border-radius: 999px !important;
    box-shadow: 0 7px 18px rgba(16, 47, 67, .2) !important;
    font-size: 14px;
  }

  .contact-form-card :is(input, textarea, select) {
    text-align: left;
  }

  .contact-form-card .elementor-field-type-submit {
    display: flex;
    width: 100% !important;
    justify-content: center;
  }

  .contact-form-card .elementor-button,
  .contact-form-card button[type="submit"] {
    width: min(210px, 82%) !important;
    min-width: 190px;
    min-height: 48px !important;
    margin: 2px auto 0;
    border: 0 !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #1f6f99, #153b55) !important;
    box-shadow: 0 7px 18px rgba(16, 47, 67, .2) !important;
    font-size: 15px !important;
  }

  .contact-form-card .elementor-button:hover,
  .contact-form-card .elementor-button:focus,
  .contact-form-card button[type="submit"]:hover,
  .contact-form-card button[type="submit"]:focus {
    background: #153b55 !important;
    transform: translateY(-1px);
  }

  .std-affiliations,
  .contact-login {
    align-items: center !important;
  }

  .ll-footer-right,
  .res-footer-right {
    margin-left: 0 !important;
  }

  .ll-site-credit,
  .res-site-credit {
    padding-left: 0 !important;
    border-left: 0 !important;
  }

  .hero-video-toggle {
    display: none;
  }
}

@media (max-width: 860px) {
  .ll-footer-top,
  .res-footer-top {
    width: 100%;
    align-items: center !important;
    justify-content: center !important;
    text-align: center;
  }

  .ll-footer-top > a,
  .res-footer-top > a {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .ll-footer-top img,
  .res-footer-top img {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}
