/* Site-specific rules supplied after 2.2.3. Rules already present in the
   plugin (animations, responsive grids, image sizing and FAQ title) are not
   duplicated here. */

:root:root:root body .loa-video-section__media-column {
  display: block !important;
  box-sizing: border-box;
  width: 100% !important;
  padding: 0 32px;
  text-align: center;
}

:root:root:root body .loa-columns-section.loa-has-section-background {
  margin-top: 50px !important;
  padding-top: 70px !important;
  padding-bottom: 70px !important;
}

:root:root:root body :is(
  .loa-footer-content,
  .loa-edge-image-content,
  .loa-video-section,
  .loa-columns-section
) {
  margin-top: 50px !important;
}

:root:root:root body .loa-intro__inner {
  margin-top: 0 !important;
}

:root:root:root body .loa-background-columns.loa-has-section-background {
  padding-top: 70px !important;
  padding-bottom: 70px !important;
}

:root:root:root body .loa-two-column:not(.loa-edge-image-content) .loa-two-column__media {
  padding-right: 23px !important;
}

:root:root:root body .loa-two-column:not(.loa-edge-image-content) .loa-two-column__media img {
  border-radius: 12px;
}

:root:root:root body .loa-intro h2.loa-intro-item-motion {
  width: 740px;
  max-width: 100%;
  font-weight: 600;
}

:root:root:root body .loa-testimonials {
  overflow: hidden;
}

@media (max-width: 1000px) {
  :root:root:root body .loa-background-columns__header {
    max-width: 628px;
    margin: 0 auto 30px;
    padding: 0 !important;
  }

  :root:root:root body .loa-intro h2.loa-intro-item-motion {
    width: auto;
  }
}

/* General Hero remains two columns on tablet. This matches the specificity
   of the global responsive contract and is loaded after it. */
@media (min-width: 601px) and (max-width: 900px) {
  :root:root:root body .loa-general-hero.loa-general-hero {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    column-gap: 0 !important;
  }

  :root:root:root body .loa-general-hero.loa-general-hero.loa-image-column-sized {
    grid-template-columns: var(--loa-sized-image-tracks) !important;
  }
}

:root:root:root body .loa-roof-types__item--bg-transparent {
  background: transparent !important;
}

/* Roof Type items control their own optional gray background. The section
   and the empty/default state remain transparent. */
:root:root:root body .loa-roof-types,
:root:root:root body .loa-roof-types__items,
:root:root:root body .loa-roof-types__item--bg-transparent {
  background-color: transparent !important;
}

:root:root:root body .loa-roof-types__items {
  gap: 0 !important;
  row-gap: 0 !important;
}

:root:root:root body .loa-roof-types__item-shell {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}

:root:root:root body .loa-roof-types__header:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Items remain joined on the website, but are visually separated in the
   block canvas so editors can identify each repeater entry. */
:root:root:root body .editor-styles-wrapper .loa-editor.loa-roof-types .loa-roof-types__items {
  gap: 24px !important;
  row-gap: 24px !important;
}

:root:root:root body .editor-styles-wrapper .loa-editor.loa-roof-types .loa-roof-types__item-shell {
  overflow: hidden;
  border: 1px solid #dcdcde !important;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .06) !important;
}

/* Roof Type is intentionally outside .loa-auto-colors. Its default is
   charcoal, while valid manual controls still override each color group. */
:root:root:root body .loa-roof-types,
:root:root:root body .loa-roof-colors .loa-roof-types {
  color: var(--loa-roof-body-color, #231f20) !important;
}

:root:root:root body .loa-roof-types :is(p, li, blockquote, td, th),
:root:root:root body .loa-roof-colors .loa-roof-types :is(p, li, blockquote, td, th) {
  color: var(--loa-roof-body-color, #231f20) !important;
}

:root:root:root body .loa-roof-types :is(h1, h2, h3, [class$="__title"]),
:root:root:root body .loa-roof-colors .loa-roof-types :is(h1, h2, h3, [class$="__title"]) {
  color: var(--loa-title-color, #231f20) !important;
}

:root:root:root body .loa-roof-types :is(h4, [class*="__subtitle"], [class*="__eyebrow"]),
:root:root:root body .loa-roof-colors .loa-roof-types :is(h4, [class*="__subtitle"], [class*="__eyebrow"]) {
  color: var(--loa-subtitle-color, #231f20) !important;
}

/* Image Links: canonical layout and hover. */
:root:root:root body .loa-image-links > div {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 64px 24px !important;
  width: min(calc(100% - 40px), 1300px) !important;
  max-width: 1300px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

:root:root:root body .loa-image-links .loa-image-links__card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 9px;
  text-decoration: none;
}

:root:root:root body .loa-image-links .loa-image-links__card img {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  aspect-ratio: 1.78 / 1;
  object-fit: cover;
  transition: transform .4s cubic-bezier(.22, 1, .36, 1);
}

:root:root:root body .loa-image-links .loa-image-links__card::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  transform: translateY(100%);
  background: rgb(0 0 0 / .75) !important;
  content: "";
  pointer-events: none;
  transition: transform .4s cubic-bezier(.22, 1, .36, 1);
}

:root:root:root body .loa-image-links .loa-image-links__card::before {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 60%);
  color: #fff;
  content: attr(data-title);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease, transform .4s cubic-bezier(.22, 1, .36, 1);
}

:root:root:root body .loa-image-links .loa-image-links__card:hover::after,
:root:root:root body .loa-image-links .loa-image-links__card:focus-visible::after {
  transform: translateY(0);
}

:root:root:root body .loa-image-links .loa-image-links__card:hover::before,
:root:root:root body .loa-image-links .loa-image-links__card:focus-visible::before {
  transform: translate(-50%, -50%);
  opacity: 1;
}

:root:root:root body .loa-image-links .loa-image-links__card:hover img,
:root:root:root body .loa-image-links .loa-image-links__card:focus-visible img {
  transform: scale(1.03);
}

:root:root:root body .loa-image-links .loa-image-links__title {
  display: block;
  margin-top: 16px;
  color: #231f20 !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.3;
  text-decoration: none;
}

@media (max-width: 650px) {
  :root:root:root body .loa-image-links > div {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 36px !important;
  }
}

/* General Hero: optional small title above the main heading. */
.loa-general-hero__small-title {
  max-width: 550px;
  margin: 0 0 12px;
  color: var(--loa-subtitle-color, #fff) !important;
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  font-weight: 500;
  line-height: 1.35;
}

/* Video Gallery: large 16:9 videos stacked like the supplied reference. */
:root:root:root body .loa-video-gallery.loa-video-gallery--stacked {
  padding-top: 70px !important;
  padding-bottom: 70px !important;
  background: #fff !important;
}

/* A gallery can be much taller than the viewport. Never leave it hidden while
   waiting for a section-wide reveal threshold that it cannot reach. */
:root:root:root body .loa-video-gallery.loa-reveal-ready {
  opacity: 1 !important;
  transform: none !important;
}

:root:root:root body .loa-video-gallery--stacked .loa-video-gallery__title {
  box-sizing: border-box;
  width: 100% !important;
  max-width: none !important;
  margin: 0 0 28px !important;
  padding-right: var(--loa-column-padding, 50px) !important;
  padding-left: var(--loa-column-padding, 50px) !important;
  color: #231f20;
  font-size: clamp(42px, 4vw, 64px) !important;
  font-weight: 600 !important;
  line-height: 1.08 !important;
}

:root:root:root body .loa-video-gallery--stacked .loa-video-gallery__grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 4px !important;
  width: 100% !important;
  max-width: none !important;
}

:root:root:root body .loa-video-gallery--stacked .loa-video-gallery__item {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  visibility: visible !important;
  opacity: 1 !important;
}

:root:root:root body .loa-video-gallery--stacked .loa-video-gallery__player,
:root:root:root body .editor-styles-wrapper .loa-editor.loa-video-gallery--stacked video {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #000 !important;
  object-fit: contain !important;
  visibility: visible !important;
  opacity: 1 !important;
}

:root:root:root body .loa-video-gallery--stacked figcaption {
  display: none !important;
}

@media (max-width: 782px) {
  :root:root:root body .loa-video-gallery.loa-video-gallery--stacked {
    padding-top: 70px !important;
    padding-bottom: 70px !important;
  }

  :root:root:root body .loa-video-gallery--stacked .loa-video-gallery__title {
    margin-bottom: 20px !important;
    font-size: clamp(34px, 9vw, 46px) !important;
  }
}

/* Gallery grid: two supplied images remain large and centered, matching the
   two-card reference on desktop and tablet. */
:root:root:root body .loa-gallery--grid.loa-gallery--count-2 .loa-gallery__track {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 36px !important;
  width: 100% !important;
  max-width: 1600px !important;
  margin-right: auto !important;
  margin-left: auto !important;
  overflow: visible !important;
}

:root:root:root body .loa-gallery--grid.loa-gallery--count-2 .loa-gallery__item {
  min-width: 0 !important;
  border-radius: 12px;
}

:root:root:root body .loa-gallery--grid.loa-gallery--count-2 .loa-gallery__item img {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  aspect-ratio: 1.72 / 1 !important;
  border-radius: 12px;
  object-fit: cover !important;
}

@media (max-width: 900px) and (min-width: 601px) {
  :root:root:root body .loa-gallery--grid.loa-gallery--count-2 .loa-gallery__track {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }

  :root:root:root body .loa-gallery--grid.loa-gallery--count-2 .loa-gallery__item img {
    aspect-ratio: 4 / 3 !important;
  }
}

@media (max-width: 600px) {
  :root:root:root body .loa-gallery--grid.loa-gallery--count-2 .loa-gallery__track {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 20px !important;
  }
}

/* Gallery carousel: 3 cards on desktop, 2 on tablet and 1 below 768px. */
:root:root:root body .loa-gallery--carousel .loa-gallery__inner {
  position: relative !important;
  overflow: visible !important;
}

:root:root:root body .loa-gallery--carousel .loa-gallery__viewport {
  width: 100%;
  overflow: hidden;
}

:root:root:root body .loa-gallery--carousel .loa-gallery__track {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 20px !important;
  width: 100% !important;
  margin: 0 !important;
  overflow: visible !important;
  touch-action: pan-y;
  transition: transform .55s cubic-bezier(.22, 1, .36, 1) !important;
  will-change: transform;
}

:root:root:root body .loa-gallery--carousel .loa-gallery__track.is-resizing {
  transition: none !important;
}

:root:root:root body .loa-gallery--carousel .loa-gallery__item,
:root:root:root body .loa-gallery--carousel .loa-gallery__item.is-hidden {
  display: block !important;
  flex: 0 0 calc((100% - 40px) / 3) !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  overflow: hidden;
  border-radius: 10px;
  background: #e9edf2;
}

:root:root:root body .loa-gallery--carousel .loa-gallery__item img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  aspect-ratio: 1.42 / 1 !important;
  border-radius: 10px;
  object-fit: cover !important;
  user-select: none;
}

:root:root:root body .loa-gallery--carousel .loa-gallery__arrow {
  position: absolute !important;
  z-index: 4 !important;
  top: 50% !important;
  display: grid !important;
  width: 48px !important;
  height: 48px !important;
  margin: 0 !important;
  padding: 0 0 5px !important;
  transform: translateY(-50%) !important;
  place-items: center !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #000 !important;
  color: #fff !important;
  font-size: 40px !important;
  font-weight: 300 !important;
  line-height: 1 !important;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
}

:root:root:root body .loa-gallery--carousel .loa-gallery__arrow--prev {
  left: calc(var(--loa-column-padding, 50px) - 24px) !important;
}

:root:root:root body .loa-gallery--carousel .loa-gallery__arrow--next {
  right: calc(var(--loa-column-padding, 50px) - 24px) !important;
}

:root:root:root body .loa-gallery--carousel .loa-gallery__dots {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 5px;
  min-height: 8px;
  margin-top: 10px;
}

:root:root:root body .loa-gallery--carousel .loa-gallery__status {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

:root:root:root body .loa-gallery--carousel .loa-gallery__dot {
  display: block;
  width: 6px;
  height: 6px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #c8c8c8;
  cursor: pointer;
  transition: width .25s ease, background-color .25s ease;
}

:root:root:root body .loa-gallery--carousel .loa-gallery__dot.is-active {
  width: 12px;
  background: #231f20;
}

:root:root:root body .loa-gallery--carousel.loa-gallery--static .loa-gallery__arrow,
:root:root:root body .loa-gallery--carousel.loa-gallery--static .loa-gallery__dots {
  display: none !important;
}

@media (max-width: 1099px) and (min-width: 768px) {
  :root:root:root body .loa-gallery--carousel .loa-gallery__item,
  :root:root:root body .loa-gallery--carousel .loa-gallery__item.is-hidden {
    flex-basis: calc((100% - 20px) / 2) !important;
  }
}

@media (max-width: 767px) {
  :root:root:root body .loa-gallery--carousel .loa-gallery__item,
  :root:root:root body .loa-gallery--carousel .loa-gallery__item.is-hidden {
    flex-basis: 100% !important;
  }

  :root:root:root body .loa-gallery--carousel .loa-gallery__arrow {
    width: 42px !important;
    height: 42px !important;
    font-size: 34px !important;
  }

  :root:root:root body .loa-gallery--carousel .loa-gallery__arrow--prev {
    left: calc(var(--loa-column-padding, 20px) - 21px) !important;
  }

  :root:root:root body .loa-gallery--carousel .loa-gallery__arrow--next {
    right: calc(var(--loa-column-padding, 20px) - 21px) !important;
  }

  :root:root:root body .loa-gallery--carousel .loa-gallery__dots {
    display: flex;
  }
}

/* Two Column Section: optional small title above the main heading. */
:root:root:root body .loa-two-column__small-title,
:root:root:root body .editor-styles-wrapper .loa-editor .loa-two-column__small-title {
  margin: 0 0 12px !important;
  color: var(--loa-subtitle-color, #264a9e) !important;
  font-size: 24px !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
}

:root:root:root body .loa-auto-colors .loa-two-column__small-title:not([style*="color"]) {
  color: var(--loa-subtitle-color, #264a9e) !important;
}

/* Optional per-block radius for foreground images. Backgrounds and the Home
   Hero poster remain edge-to-edge because they are section backgrounds. */
:root:root:root body .loa-has-image-border-radius img:not(.loa-home-hero__poster),
:root:root:root body .loa-has-image-border-radius video[poster],
:root:root:root body .loa-editor-has-image-border-radius .loa-editor img:not(.loa-home-hero__poster),
:root:root:root body .loa-editor-has-image-border-radius .loa-editor video[poster] {
  border-radius: var(--loa-image-border-radius, 0) !important;
}

:root:root:root body .loa-has-image-border-radius :is(
  .loa-general-hero__visual,
  .loa-two-column__media,
  .loa-roof-types__media,
  .loa-image-links__card,
  .loa-gallery__item,
  .loa-gallery__open,
  .loa-team__photo,
  .loa-image-faq__image,
  .loa-edge-image-content__image,
  .loa-image-content-cta__image
),
:root:root:root body .loa-editor-has-image-border-radius .loa-editor :is(
  .loa-general-hero__visual,
  .loa-two-column__media,
  .loa-roof-types__media,
  .loa-image-links__card,
  .loa-gallery__item,
  .loa-gallery__open,
  .loa-team__photo,
  .loa-image-faq__image,
  .loa-edge-image-content__image,
  .loa-image-content-cta__image
) {
  border-radius: var(--loa-image-border-radius, 0) !important;
}

:root:root:root body .loa-has-image-border-radius .loa-image-links__card::before,
:root:root:root body .loa-has-image-border-radius .loa-image-links__card::after,
:root:root:root body .loa-editor-has-image-border-radius .loa-editor .loa-image-links__card::before,
:root:root:root body .loa-editor-has-image-border-radius .loa-editor .loa-image-links__card::after {
  border-radius: inherit !important;
}

/* Testimonial arrows use the original LOA theme asset. */
:root:root:root body .loa-testimonials__arrow {
  overflow: hidden !important;
  text-indent: -9999px !important;
}

:root:root:root body .loa-testimonials__arrow::before {
  position: absolute;
  inset: 0;
  display: block;
  background: url("https://www.loaconstruction.com/wp-content/themes/loaconstruction/assets/img/1679598090-arrow-right.svg") center / contain no-repeat;
  content: "";
  text-indent: 0;
}

:root:root:root body .loa-testimonials__arrow--prev::before {
  transform: rotate(180deg);
}

/* Trust Two Columns Home ---------------------------------------------- */
:root:root:root body .loa-trust-home {
  position: relative;
  box-sizing: border-box;
  padding: 0 !important;
  overflow: hidden;
  background-color: #231f20;
  background-position: center;
  background-size: cover;
  color: #ffffff;
}

:root:root:root body .loa-trust-home:not(.loa-editor) {
  width: var(--loa-viewport-width, 100%) !important;
  max-width: none !important;
  margin-right: calc((100% - var(--loa-viewport-width, 100%)) / 2) !important;
  margin-left: calc((100% - var(--loa-viewport-width, 100%)) / 2) !important;
}

:root:root:root body .loa-trust-home__shell {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  box-sizing: border-box;
  width: 100%;
  min-height: clamp(620px, 47vw, 760px);
  margin: 0 auto;
  overflow: hidden;
  background-color: #231f20;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

:root:root:root body .loa-trust-home__overlay {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  pointer-events: none;
}

:root:root:root body .loa-trust-home--contained {
  background-color: transparent !important;
  background-image: none !important;
}

:root:root:root body .loa-trust-home--contained .loa-trust-home__shell {
  width: min(100%, var(--loa-trust-home-contained-width, 1200px));
  background-image: var(--loa-section-background-image);
}

:root:root:root body .loa-trust-home__column {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  padding: clamp(70px, 5.2vw, 96px) clamp(30px, 4.8vw, 88px);
  flex-direction: column;
  justify-content: center;
}

:root:root:root body .loa-trust-home__left-inner,
:root:root:root body .loa-trust-home__right-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 680px;
}

:root:root:root body .loa-trust-home__subtitle {
  margin: 0 0 30px !important;
  color: var(--loa-subtitle-color, #ffffff) !important;
  font-size: clamp(22px, 2vw, 38px) !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
}

:root:root:root body .loa-trust-home__title {
  margin: 0 !important;
  color: var(--loa-title-color, #ffffff) !important;
  font-size: clamp(44px, 4.15vw, 78px) !important;
  font-weight: 700 !important;
  line-height: 1.22 !important;
}

:root:root:root body .loa-trust-home__divider {
  display: block;
  width: 150px;
  height: 1px;
  margin-top: clamp(42px, 5vw, 72px);
  background: currentColor;
  content: "";
}

:root:root:root body .loa-trust-home__left-content {
  margin-top: 28px;
}

:root:root:root body .loa-trust-home__left-content > :first-child,
:root:root:root body .loa-trust-home__right-content > :first-child {
  margin-top: 0 !important;
}

:root:root:root body .loa-trust-home__left-content > :last-child,
:root:root:root body .loa-trust-home__right-content > :last-child {
  margin-bottom: 0 !important;
}

:root:root:root body .loa-trust-home__right-overlay {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  pointer-events: none;
}

:root:root:root body .loa-trust-home__right-content {
  margin: auto;
  color: #ffffff;
  font-size: clamp(18px, 1.5vw, 26px);
  font-weight: 400;
  line-height: 1.78;
}

:root:root:root body .loa-trust-home :is(.loa-trust-home__left-content, .loa-trust-home__right-content) :is(p, li, blockquote, h1, h2, h3, h4, h5, h6):not([style*="color"]) {
  color: inherit !important;
}

@media (max-width: 900px) {
  :root:root:root body .loa-trust-home__shell {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  :root:root:root body .loa-trust-home__column {
    min-height: 430px;
    padding: 70px max(30px, var(--loa-column-padding, 30px));
  }

  :root:root:root body .loa-trust-home__left-inner,
  :root:root:root body .loa-trust-home__right-content {
    max-width: none;
  }
}

@media (max-width: 650px) {
  :root:root:root body .loa-trust-home__column {
    min-height: 0;
    padding: 70px 24px;
  }

  :root:root:root body .loa-trust-home__right {
    min-height: 420px;
  }

  :root:root:root body .loa-trust-home__subtitle {
    margin-bottom: 20px !important;
  }

  :root:root:root body .loa-trust-home__divider {
    margin-top: 34px;
  }
}

/* Content Section: full viewport or centered contained canvas. */
:root:root:root body .loa-content-section {
  background-color: var(--loa-content-background, #ffffff) !important;
}

:root:root:root body .loa-content-section--full .loa-content-section__inner {
  width: 100% !important;
  max-width: none !important;
}

:root:root:root body .loa-content-section--contained {
  width: min(100%, var(--loa-content-contained-width, 1200px)) !important;
  max-width: var(--loa-content-contained-width, 1200px) !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

:root:root:root body .loa-content-section--contained:not(.loa-editor) {
  width: min(var(--loa-viewport-width, 100%), var(--loa-content-contained-width, 1200px)) !important;
  margin-right: calc((100% - min(var(--loa-viewport-width, 100%), var(--loa-content-contained-width, 1200px))) / 2) !important;
  margin-left: calc((100% - min(var(--loa-viewport-width, 100%), var(--loa-content-contained-width, 1200px))) / 2) !important;
}

@media (max-width: 650px) {
  :root:root:root body .loa-content-section--contained {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Work Showcase Home -------------------------------------------------- */
:root:root:root body .loa-work-home {
  position: relative;
  box-sizing: border-box;
  padding: 70px 0 !important;
  overflow: hidden;
  background-color: var(--loa-work-home-background, #ffffff) !important;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #231f20;
}

:root:root:root body .loa-work-home:not(.loa-editor) {
  width: var(--loa-viewport-width, 100%) !important;
  max-width: none !important;
  margin-right: calc((100% - var(--loa-viewport-width, 100%)) / 2) !important;
  margin-left: calc((100% - var(--loa-viewport-width, 100%)) / 2) !important;
}

:root:root:root body .loa-work-home__inner {
  box-sizing: border-box;
  width: 100%;
  max-width: 1560px;
  margin: 0 auto;
  padding-right: var(--loa-column-padding, 50px);
  padding-left: var(--loa-column-padding, 50px);
}

:root:root:root body .loa-work-home__header {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto clamp(54px, 5vw, 78px);
  text-align: center;
}

:root:root:root body .loa-work-home__eyebrow {
  margin: 0 0 10px !important;
  color: var(--loa-subtitle-color, var(--loa-auto-color, #536075)) !important;
  font-size: clamp(16px, 1.2vw, 20px) !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
}

:root:root:root body .loa-work-home__title {
  margin: 0 0 24px !important;
  color: var(--loa-title-color, var(--loa-auto-color, #231f20)) !important;
  font-size: clamp(38px, 3.2vw, 58px) !important;
  font-weight: 600 !important;
  line-height: 1.15 !important;
}

:root:root:root body .loa-work-home__button {
  display: inline-flex;
  min-height: 44px;
  padding: 10px 24px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: #264a9e !important;
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none !important;
  transition: transform .25s ease, background-color .25s ease;
}

:root:root:root body .loa-work-home__button:hover,
:root:root:root body .loa-work-home__button:focus-visible {
  transform: translateY(-2px);
  background: #1d3c87 !important;
}

:root:root:root body .loa-work-home__projects {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  gap: clamp(12px, 1.4vw, 24px);
  align-items: stretch;
}

:root:root:root body .loa-work-home__project {
  position: relative;
  display: block;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: var(--loa-image-border-radius, 8px);
  background: #e8ebf0;
  color: #231f20;
  cursor: zoom-in;
  flex: 1 1 0;
  text-decoration: none !important;
}

:root:root:root body .loa-work-home__project img {
  display: block;
  width: var(--loa-work-image-width, 100%) !important;
  max-width: 100% !important;
  aspect-ratio: 1.55 / 1;
  margin: 0 auto !important;
  border-radius: inherit;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.22, 1, .36, 1), filter .35s ease;
}

/* Content Section can use the same compact leading image as Intro. */
:root:root:root body .loa-content-section__image {
  display: block !important;
  width: auto !important;
  max-width: 120px !important;
  max-height: 64px !important;
  margin: 0 auto 24px !important;
  object-fit: contain !important;
}

/* Small title for Video Section; the shared subtitle color control may
   override the brand-blue default. */
:root:root:root body .loa-video-section__small-title {
  margin: 0 0 12px !important;
  color: var(--loa-subtitle-color, #264a9e) !important;
  font-size: 24px !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
}

/* Optional decorative image above the Testimonials heading. */
:root:root:root body .loa-testimonials__title-icon {
  display: block !important;
  width: auto !important;
  max-width: 112px !important;
  max-height: 72px !important;
  margin: 0 auto 24px !important;
  object-fit: contain !important;
}

:root:root:root body .loa-work-home__project:hover img,
:root:root:root body .loa-work-home__project:focus-visible img {
  transform: scale(1.055);
  filter: brightness(.88);
}

:root:root:root body .loa-work-home__project-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

:root:root:root body .loa-work-home__project--empty {
  display: grid;
  min-height: 220px;
  padding: 24px;
  place-items: center;
  text-align: center;
}

:root:root:root body .loa-work-home__side-label {
  display: flex;
  width: clamp(68px, 5vw, 92px);
  min-width: clamp(68px, 5vw, 92px);
  align-items: center;
  justify-content: center;
  color: #231f20;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
}

:root:root:root body .loa-editor .loa-work-home__side-label {
  flex-direction: column;
}

:root:root:root body .loa-work-home--motion:not(.loa-work-home--visible) .loa-work-home__header > * {
  opacity: 0;
  transform: translateY(24px);
}

:root:root:root body .loa-work-home--motion:not(.loa-work-home--visible) .loa-work-home__project,
:root:root:root body .loa-work-home--motion:not(.loa-work-home--visible) .loa-work-home__side-label {
  opacity: 0;
  transform: translateY(34px) scale(.97);
}

:root:root:root body .loa-work-home--motion.loa-work-home--visible .loa-work-home__header > * {
  animation: loa-work-home-rise .7s cubic-bezier(.22, 1, .36, 1) both;
}

:root:root:root body .loa-work-home--motion.loa-work-home--visible .loa-work-home__header > :nth-child(2) {
  animation-delay: .1s;
}

:root:root:root body .loa-work-home--motion.loa-work-home--visible .loa-work-home__header > :nth-child(3) {
  animation-delay: .2s;
}

:root:root:root body .loa-work-home--motion.loa-work-home--visible .loa-work-home__project,
:root:root:root body .loa-work-home--motion.loa-work-home--visible .loa-work-home__side-label {
  animation: loa-work-home-card .8s cubic-bezier(.22, 1, .36, 1) calc(.28s + var(--loa-project-index, 0) * .09s) both;
}

:root:root:root body .loa-work-home--motion.loa-work-home--visible .loa-work-home__side-label {
  --loa-project-index: 4;
}

@keyframes loa-work-home-rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes loa-work-home-card {
  from { opacity: 0; transform: translateY(34px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.loa-work-home-transition {
  position: fixed;
  z-index: 2147483646;
  display: block;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: #111;
  cursor: zoom-out;
  transition: top .7s cubic-bezier(.76, 0, .24, 1), right .7s cubic-bezier(.76, 0, .24, 1), bottom .7s cubic-bezier(.76, 0, .24, 1), left .7s cubic-bezier(.76, 0, .24, 1), width .7s cubic-bezier(.76, 0, .24, 1), height .7s cubic-bezier(.76, 0, .24, 1), border-radius .7s ease;
}

.loa-work-home-transition.is-expanded {
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  border-radius: 0 !important;
}

.loa-work-home-transition img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  object-fit: cover;
}

.loa-work-home-transition__close {
  position: absolute;
  z-index: 2;
  top: 22px;
  right: 22px;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgb(255 255 255 / .8);
  border-radius: 50%;
  background: rgb(0 0 0 / .45);
  color: #ffffff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  place-items: center;
  transition: opacity .25s ease .5s;
}

.loa-work-home-transition.is-expanded .loa-work-home-transition__close {
  opacity: 1;
}

html.loa-work-home-preview-open,
html.loa-work-home-preview-open body {
  overflow: hidden !important;
}

@media (max-width: 900px) {
  :root:root:root body .loa-work-home__projects {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  :root:root:root body .loa-work-home__project img {
    aspect-ratio: 1.6 / 1;
  }

  :root:root:root body .loa-work-home__side-label {
    width: 100%;
    min-width: 0;
    padding-top: 4px;
  }
}

@media (max-width: 650px) {
  :root:root:root body .loa-work-home {
    padding: 70px 0 !important;
  }

  :root:root:root body .loa-work-home__inner {
    padding-right: 20px;
    padding-left: 20px;
  }

  :root:root:root body .loa-work-home__header {
    margin-bottom: 42px;
  }

  :root:root:root body .loa-work-home__project img {
    aspect-ratio: 1.45 / 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root:root:root body .loa-work-home--motion :is(.loa-work-home__header > *, .loa-work-home__project, .loa-work-home__side-label) {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  .loa-work-home-transition {
    transition-duration: .01ms !important;
  }
}

/* LOA 2.3.18: visual alignment and block controls. ---------------------- */
:root {
  --loa-reference-blue: #264a9e;
  --loa-reference-blue-light: #7a90c8;
  --loa-reference-text: #231f20;
  --loa-reference-radius: 10px;
}

/* Body Menu mirrors the reference navigation: four columns on desktop and
   two inset columns on tablet/mobile. Long labels wrap inside their track. */
:root:root:root body .loa-body-menu > div,
:root:root:root body .editor-styles-wrapper .loa-editor.loa-body-menu > div {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 1300px !important;
  margin-right: auto !important;
  margin-left: auto !important;
  padding-right: 50px !important;
  padding-left: 50px !important;
  gap: 20px 30px !important;
}

:root:root:root body .loa-body-menu :is(a, span),
:root:root:root body .editor-styles-wrapper .loa-editor.loa-body-menu :is(a, span) {
  display: block !important;
  box-sizing: border-box !important;
  min-width: 0 !important;
  width: 100% !important;
  overflow-wrap: anywhere;
  text-align: center !important;
}

/* The two Home Hero calls to action use the exact gradient of the reference. */
:root:root:root body .loa-home-hero .loa-home-hero__button,
:root:root:root body .loa-home-hero .loa-home-hero__button--secondary,
:root:root:root body .editor-styles-wrapper .loa-editor.loa-home-hero .loa-home-hero__button,
:root:root:root body .editor-styles-wrapper .loa-editor.loa-home-hero .loa-home-hero__button--secondary {
  border: 0 !important;
  border-radius: 30px !important;
  background-color: var(--loa-reference-blue) !important;
  background-image: linear-gradient(to right, #264a9e, #7a90c8) !important;
  color: #fff !important;
}

/* Shared proportions observed in the reference: generous headings, readable
   16px copy, 30px pill buttons and 10px foreground-media corners. Explicit
   per-block color and radius choices continue to take precedence. */
:root:root:root body :is(
  .loa-two-column__content,
  .loa-content-section__inner,
  .loa-columns-section__column,
  .loa-roof-types__item-content,
  .loa-info-cards__card,
  .loa-video-section__content,
  .loa-image-faq__content,
  .loa-edge-image-content__content,
  .loa-location-map__content,
  .loa-trust-home__column
) :is(p, li):not([style*="font-size"]) {
  font-size: 16px;
  line-height: 1.9;
}

:root:root:root body :is(
  .loa-two-column__content,
  .loa-video-section__content,
  .loa-image-faq__content,
  .loa-edge-image-content__content,
  .loa-location-map__content
) > :is(h2, .loa-image-faq__title):not([style*="font-size"]) {
  font-size: clamp(38px, 3.8vw, 60px) !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
}

:root:root:root body :is(.loa-general-hero, .loa-one-column-hero) h1:not([style*="font-size"]) {
  font-size: clamp(42px, 4.75vw, 60px) !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
}

:root:root:root body :is(
  .loa-intro h2,
  .loa-roof-types__header h2,
  .loa-info-cards__header h2
):not([style*="font-size"]) {
  font-size: clamp(38px, 3.8vw, 48px) !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
}

:root:root:root body .loa-trust-home__title:not([style*="font-size"]) {
  font-size: clamp(44px, 4.25vw, 60px) !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
}

:root:root:root body .loa-work-home__title:not([style*="font-size"]) {
  font-size: clamp(44px, 4.75vw, 60px) !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
}

:root:root:root body :is(
  .loa-general-hero__button,
  .loa-one-column-hero__button,
  .loa-intro__button,
  .loa-two-column__button,
  .loa-content-section__button,
  .loa-roof-types__button,
  .loa-info-cards__button,
  .loa-video-section__button,
  .loa-footer-content__button,
  .loa-edge-image-content__button,
  .loa-background-cta__button
) {
  min-height: 47px;
  padding: 16px 30px !important;
  border-radius: 30px !important;
  font-size: 15px !important;
  line-height: 1 !important;
}

:root:root:root body :is(
  .loa-two-column__media,
  .loa-video-section__video,
  .loa-roof-types__media,
  .loa-gallery__item,
  .loa-image-links__card,
  .loa-team__photo
) {
  overflow: hidden;
  border-radius: var(--loa-image-border-radius, var(--loa-reference-radius));
}

@media (max-width: 900px) {
  :root:root:root body .loa-body-menu > div,
  :root:root:root body .editor-styles-wrapper .loa-editor.loa-body-menu > div {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    padding-right: 30px !important;
    padding-left: 30px !important;
    gap: 20px !important;
  }
}

@media (max-width: 600px) {
  :root:root:root body .loa-body-menu > div,
  :root:root:root body .editor-styles-wrapper .loa-editor.loa-body-menu > div {
    padding-right: 20px !important;
    padding-left: 20px !important;
    gap: 18px 16px !important;
  }

  :root:root:root body .loa-body-menu :is(a, span),
  :root:root:root body .editor-styles-wrapper .loa-editor.loa-body-menu :is(a, span) {
    font-size: 15px !important;
  }

  :root:root:root body :is(
    .loa-two-column__content,
    .loa-video-section__content,
    .loa-image-faq__content,
    .loa-edge-image-content__content,
    .loa-location-map__content
  ) > :is(h2, .loa-image-faq__title):not([style*="font-size"]) {
    font-size: clamp(34px, 10vw, 46px) !important;
  }
}

/* Shared section width control (all LOA blocks except Heroes). */
:root:root:root body .loa-section-width-full:not(.loa-editor) {
  width: var(--loa-viewport-width, 100%) !important;
  max-width: none !important;
  margin-right: calc((100% - var(--loa-viewport-width, 100%)) / 2) !important;
  margin-left: calc((100% - var(--loa-viewport-width, 100%)) / 2) !important;
}

:root:root:root body .loa-section-width-contained:not(.loa-editor) {
  left: auto !important;
  right: auto !important;
  width: min(var(--loa-viewport-width, 100%), var(--loa-section-contained-width, 1200px)) !important;
  max-width: var(--loa-section-contained-width, 1200px) !important;
  margin-right: calc((100% - min(var(--loa-viewport-width, 100%), var(--loa-section-contained-width, 1200px))) / 2) !important;
  margin-left: calc((100% - min(var(--loa-viewport-width, 100%), var(--loa-section-contained-width, 1200px))) / 2) !important;
}

:root:root:root body .loa-section-width-contained.loa-roof-types .loa-roof-types__item-shell {
  width: 100% !important;
  max-width: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

:root:root:root body .loa-editor-section-width-contained .loa-editor {
  width: min(100%, var(--loa-section-contained-width, 1200px)) !important;
  max-width: var(--loa-section-contained-width, 1200px) !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

/* Embed / Iframe ----------------------------------------------------- */
:root:root:root body .loa-embed-section {
  box-sizing: border-box;
  padding: 70px 0 !important;
}

:root:root:root body .loa-embed-section--blue {
  background-color: #243594 !important;
}

:root:root:root body .loa-embed-section--transparent {
  background-color: transparent !important;
}

:root:root:root body .loa-embed-section__inner {
  box-sizing: border-box;
  width: 100%;
  margin: 0 auto;
  padding-right: var(--loa-column-padding, 50px);
  padding-left: var(--loa-column-padding, 50px);
}

:root:root:root body .loa-embed-section__inner > :is(iframe, embed, video),
:root:root:root body .loa-embed-section__inner > div > :is(iframe, embed, video) {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  min-height: min(70vh, 720px);
  margin: 0 !important;
  border: 0 !important;
  background: #000;
  aspect-ratio: 16 / 9;
}

:root:root:root body .loa-editor.loa-embed-section iframe {
  pointer-events: none;
}

:root:root:root body .loa-embed-section__placeholder {
  display: grid;
  min-height: 260px;
  padding: 30px;
  border: 1px dashed rgb(255 255 255 / .55);
  color: inherit;
  text-align: center;
  place-items: center;
}

@media (max-width: 650px) {
  :root:root:root body .loa-embed-section__inner > :is(iframe, embed, video),
  :root:root:root body .loa-embed-section__inner > div > :is(iframe, embed, video) {
    min-height: 260px;
  }
}

/* Intro: smaller leading image and configurable section width. */
:root:root:root body .loa-intro__image {
  width: auto !important;
  max-width: 120px !important;
  max-height: 64px !important;
  margin-right: auto !important;
  margin-bottom: 24px !important;
  margin-left: auto !important;
}

:root:root:root body .loa-intro--full {
  width: var(--loa-viewport-width, 100%) !important;
  max-width: none !important;
}

:root:root:root body .loa-intro--contained {
  width: min(100%, var(--loa-intro-contained-width, 1200px)) !important;
  max-width: var(--loa-intro-contained-width, 1200px) !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

:root:root:root body .loa-intro--contained:not(.loa-editor) {
  width: min(var(--loa-viewport-width, 100%), var(--loa-intro-contained-width, 1200px)) !important;
  margin-right: calc((100% - min(var(--loa-viewport-width, 100%), var(--loa-intro-contained-width, 1200px))) / 2) !important;
  margin-left: calc((100% - min(var(--loa-viewport-width, 100%), var(--loa-intro-contained-width, 1200px))) / 2) !important;
}

/* Roofing Process Home ----------------------------------------------- */
:root:root:root body .loa-process-home {
  position: relative;
  isolation: isolate;
  display: block;
  box-sizing: border-box;
  width: var(--loa-viewport-width, 100%) !important;
  max-width: none !important;
  min-height: var(--loa-process-height, 690px);
  margin-top: 0 !important;
  margin-right: calc((100% - var(--loa-viewport-width, 100%)) / 2) !important;
  margin-bottom: 0 !important;
  margin-left: calc((100% - var(--loa-viewport-width, 100%)) / 2) !important;
  padding: 0 !important;
  overflow: hidden;
  background: #151515;
  color: #ffffff;
}

:root:root:root body .loa-editor.loa-process-home {
  width: 100% !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

:root:root:root body .loa-process-home__backgrounds,
:root:root:root body .loa-process-home__background,
:root:root:root body .loa-process-home__overlay {
  position: absolute;
  inset: 0;
  display: block;
}

:root:root:root body .loa-process-home__backgrounds {
  z-index: -3;
  background-image: var(--loa-section-background-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

:root:root:root body .loa-process-home__background {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity .8s ease, transform 1.15s cubic-bezier(.22, 1, .36, 1);
}

:root:root:root body .loa-process-home__background.is-active {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
}

:root:root:root body .loa-process-home__overlay {
  z-index: -2;
  background: var(--loa-process-overlay, #000000);
  opacity: var(--loa-process-overlay-opacity, .58);
  pointer-events: none;
}

:root:root:root body .loa-process-home__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(250px, 1fr) auto;
  box-sizing: border-box;
  width: 100%;
  max-width: 1600px;
  min-height: var(--loa-process-height, 690px);
  margin: 0 auto;
  padding: 70px var(--loa-column-padding, 50px);
}

:root:root:root body .loa-process-home__title {
  width: min(100%, 900px);
  margin: 0 !important;
  color: var(--loa-title-color, #ffffff) !important;
  font-size: clamp(44px, 5vw, 76px) !important;
  font-weight: 600 !important;
  letter-spacing: -.035em;
  line-height: 1.03 !important;
}

:root:root:root body .loa-process-home__panels {
  position: relative;
  display: grid;
  min-height: 300px;
  align-items: center;
}

:root:root:root body .loa-process-home__panel {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(28px);
  transition: opacity .48s ease, transform .58s cubic-bezier(.22, 1, .36, 1);
}

:root:root:root body .loa-process-home__panel.is-active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

:root:root:root body .loa-process-home__copy {
  position: relative;
  z-index: 2;
  width: min(52%, 650px);
  padding: 44px 0;
}

:root:root:root body .loa-process-home__step-title {
  margin: 0 0 22px !important;
  color: var(--loa-title-color, #ffffff) !important;
  font-size: clamp(24px, 2.3vw, 36px) !important;
  font-weight: 600 !important;
  line-height: 1.15 !important;
}

:root:root:root body .loa-process-home__text {
  color: #ffffff;
  font-size: clamp(16px, 1.2vw, 20px);
  font-weight: 400;
  line-height: 1.7;
}

:root:root:root body .loa-process-home__text :is(p, li, blockquote):not([style*="color"]) {
  color: inherit !important;
}

:root:root:root body .loa-process-home__text > :first-child {
  margin-top: 0 !important;
}

:root:root:root body .loa-process-home__text > :last-child {
  margin-bottom: 0 !important;
}

:root:root:root body .loa-process-home__number {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: 2%;
  color: rgb(255 255 255 / .16);
  font-size: clamp(180px, 24vw, 390px);
  font-weight: 700;
  letter-spacing: -.08em;
  line-height: .72;
  pointer-events: none;
  transform: translateY(-50%);
  user-select: none;
}

:root:root:root body .loa-process-home__tabs {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  width: 100%;
  border-top: 0;
}

:root:root:root body .loa-process-home__tab {
  position: relative;
  min-height: 58px;
  margin: 0 !important;
  padding: 18px 16px 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: rgb(255 255 255 / .62) !important;
  font: inherit;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: .12em;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
  transition: color .3s ease;
}

:root:root:root body .loa-process-home__tab::before {
  position: absolute;
  top: -2px;
  right: 16px;
  left: 16px;
  height: 3px;
  background: #ffffff;
  content: "";
  opacity: 0;
  transform: scaleX(.2);
  transform-origin: left;
  transition: opacity .3s ease, transform .4s cubic-bezier(.22, 1, .36, 1);
}

:root:root:root body .loa-process-home__tab:is(:hover, :focus-visible, .is-active) {
  color: #ffffff !important;
}

:root:root:root body .loa-process-home__tab.is-active::before {
  opacity: 1;
  transform: scaleX(1);
}

:root:root:root body .loa-process-home:not(.loa-process-home--visible):not(.loa-editor) .loa-process-home__title,
:root:root:root body .loa-process-home:not(.loa-process-home--visible):not(.loa-editor) .loa-process-home__panels,
:root:root:root body .loa-process-home:not(.loa-process-home--visible):not(.loa-editor) .loa-process-home__tabs {
  opacity: 0;
  transform: translateY(34px);
}

:root:root:root body .loa-process-home.loa-process-home--visible :is(.loa-process-home__title, .loa-process-home__panels, .loa-process-home__tabs),
:root:root:root body .loa-editor.loa-process-home :is(.loa-process-home__title, .loa-process-home__panels, .loa-process-home__tabs) {
  animation: loa-process-home-rise .75s cubic-bezier(.22, 1, .36, 1) both;
}

:root:root:root body .loa-process-home.loa-process-home--visible .loa-process-home__panels {
  animation-delay: .08s;
}

:root:root:root body .loa-process-home.loa-process-home--visible .loa-process-home__tabs {
  animation-delay: .16s;
}

@keyframes loa-process-home-rise {
  from { opacity: 0; transform: translateY(34px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  :root:root:root body .loa-process-home__copy {
    width: min(72%, 610px);
  }

  :root:root:root body .loa-process-home__number {
    right: 0;
    font-size: clamp(160px, 36vw, 300px);
  }

  :root:root:root body .loa-process-home__tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  :root:root:root body .loa-intro--contained {
    width: 100% !important;
    max-width: 100% !important;
  }

  :root:root:root body .loa-process-home {
    min-height: max(650px, var(--loa-process-height, 690px));
  }

  :root:root:root body .loa-process-home__inner {
    grid-template-rows: auto minmax(300px, 1fr) auto;
    min-height: inherit;
    padding: 70px 20px;
  }

  :root:root:root body .loa-process-home__title {
    font-size: clamp(38px, 11vw, 54px) !important;
  }

  :root:root:root body .loa-process-home__copy {
    width: 100%;
    padding: 42px 0;
  }

  :root:root:root body .loa-process-home__number {
    top: 30%;
    right: 4px;
    font-size: clamp(130px, 48vw, 230px);
  }

  :root:root:root body .loa-process-home__tab {
    min-height: 52px;
    padding: 16px 10px 0 !important;
    font-size: 11px !important;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root:root:root body .loa-process-home__background,
  :root:root:root body .loa-process-home__panel {
    transition: none !important;
  }

  :root:root:root body .loa-process-home :is(.loa-process-home__title, .loa-process-home__panels, .loa-process-home__tabs) {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}
