/* ---------- Hero container ---------- */

.lm-hero {
  --hero-bg: #c3dbff;
  --hero-text: #111111;
  --hero-progress: 0;

  width: 100%;
  /*max-width: 1400px;*/
  margin: 0 auto;
  padding: 12px 26px 20px;
  color: var(--hero-text);
  font-family: "Poppins", Arial, sans-serif;
}

.lm-hero,
.lm-hero *,
.lm-hero *::before,
.lm-hero *::after {
  box-sizing: border-box;
}

.lm-hero__controls {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 8px;
}

.lm-hero .lm-hero__autoplay {
  padding: 5px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #444444;
  font: inherit;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* ---------- Expanding panels ---------- */

.lm-hero__panels {
  display: flex;
  align-items: stretch;
  gap: 10px;
  min-height: 650px;
}

.lm-hero__panel {
  position: relative;
  flex: 0 0 60px;
  min-width: 0;
  overflow: hidden;
  background: var(--hero-bg);
  transition: flex-grow 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

.lm-hero__panel.is-active {
  flex-grow: 1;
}

/* ---------- Collapsed vertical tabs ---------- */

.lm-hero .lm-hero__tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 25px;
  width: 100%;
  height: 100%;
  min-height: 650px;
  margin: 0;
  padding: 28px 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--hero-text);
  font: inherit;
  cursor: pointer;
}

.lm-hero .lm-hero__tab:hover {
  background: rgb(255 255 255 / 15%);
  color: var(--hero-text);
}

.lm-hero__tab-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  line-height: 1.4;
  text-transform: uppercase;
}

.lm-hero__plus {
  display: grid;
  place-items: center;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border: 1px solid rgb(17 17 17 / 30%);
  border-radius: 50%;
  font-size: 16px;
  line-height: 1;
}

/* Keep the active trigger accessible without showing a rail. */
.lm-hero__panel.is-active > .lm-hero__tab {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 3;
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
}

.lm-hero__panel.is-active > .lm-hero__tab:focus-visible {
  width: auto;
  height: auto;
  padding: 8px 12px;
  clip-path: none;
  background: #ffffff;
}

.lm-hero__panel.is-active > .lm-hero__tab .lm-hero__tab-label {
  writing-mode: horizontal-tb;
  transform: none;
}

.lm-hero__panel.is-active > .lm-hero__tab .lm-hero__plus {
  display: none;
}

/* ---------- Expanded content ---------- */

.lm-hero__content[hidden] {
  display: none !important;
}

.lm-hero__content {
  height: 100%;
}

.lm-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  align-items: center;
  gap: 32px;
  min-height: 650px;
  padding: 64px 44px;
}

.lm-hero__panel.is-active .lm-hero__layout {
  animation: lm-hero-reveal 450ms ease both;
}

.lm-hero__copy {
  min-width: 0;
}

.lm-hero .lm-hero__eyebrow {
  margin: 0 0 25px;
  color: #111111;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  line-height: 1.5;
  text-transform: uppercase;
}

.lm-hero .lm-hero__heading {
  margin: 0 0 28px;
  color: #111111;
  font-family: inherit;
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 300 !important;
  letter-spacing: -3px;
  line-height: 1.13;
}
html body .lm-hero .lm-hero__heading,
html body .lm-hero .lm-hero__heading *,
html body .lm-hero .lm-hero__description,
html body .lm-hero .lm-hero__description * {
  font-family: Arial, sans-serif !important;
  font-weight: 400 !important;
}



.lm-hero .lm-hero__description {
  max-width: 490px;
  margin: 0 0 32px;
  color: #37374c;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
}

/* ---------- CTA with sliding hover ---------- */

.lm-hero .lm-hero__cta {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: stretch;
  max-width: 100%;
  overflow: hidden;
  background: #202020;
  color: #ffffff;
  text-decoration: none;
}

.lm-hero__cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #454545;
  transform: translateX(-100%);
  transition: transform 400ms ease;
}

.lm-hero__cta:hover::before,
.lm-hero__cta:focus-visible::before {
  transform: translateX(0);
}

.lm-hero__cta > span:first-child {
  display: grid;
  place-items: center;
  min-height: 50px;
  padding: 12px 25px;
  color: #ffffff;
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.lm-hero__cta > span:last-child {
  display: grid;
  place-items: center;
  flex: 0 0 50px;
  width: 50px;
  border-left: 3px solid var(--hero-bg);
  color: #ffffff;
  font-size: 22px;
}

/* ---------- Progress, awards and services ---------- */

.lm-hero__footer {
  margin-top: 38px;
}

.lm-hero__progress {
  width: 100%;
  max-width: 490px;
  height: 1px;
  margin-bottom: 20px;
  overflow: hidden;
  background: rgb(17 17 17 / 18%);
}

.lm-hero__progress > span {
  display: block;
  width: 100%;
  height: 100%;
  background: #202020;
  transform: scaleX(var(--hero-progress));
  transform-origin: left center;
}

.lm-hero .lm-hero__caption {
  margin: 0 0 16px;
  color: #616171;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.lm-hero__awards {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.lm-hero__awards img {
  display: block;
  width: auto;
  max-width: 70px;
  height: 58px;
  object-fit: contain;
}

.lm-hero .lm-hero__services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lm-hero__services li {
  margin: 0;
  color: #111111;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

.lm-hero__art {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.lm-hero__art img {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  object-fit: contain;
}

.lm-hero button:focus-visible,
.lm-hero a:focus-visible {
  outline: 2px solid #111111;
  outline-offset: -4px;
}

@keyframes lm-hero-reveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Tablet ---------- */

@media (min-width: 901px) and (max-width: 1150px) {
  .lm-hero__panel {
    flex-basis: 48px;
  }

  .lm-hero__layout {
    gap: 20px;
    padding: 45px 28px;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  }

  .lm-hero .lm-hero__heading {
    font-size: 34px;
  }
}

/* ---------- Mobile: vertical accordion ---------- */

@media (max-width: 900px) {
  .lm-hero {
    padding: 10px 16px 20px;
  }

  .lm-hero__panels {
    flex-direction: column;
    gap: 8px;
    min-height: 0;
  }

  .lm-hero__panel,
  .lm-hero__panel.is-active {
    flex: none;
    width: 100%;
  }

  .lm-hero .lm-hero__tab,
  .lm-hero__panel.is-active > .lm-hero__tab {
    position: relative;
    inset: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    height: auto;
    min-height: 58px;
    padding: 16px 20px;
    overflow: visible;
    clip-path: none;
  }

  .lm-hero__tab-label {
    writing-mode: horizontal-tb;
    transform: none;
    text-align: left;
    font-size: 10px;
    letter-spacing: 1.5px;
  }

  .lm-hero__panel.is-active > .lm-hero__tab .lm-hero__plus {
    display: grid;
    transform: rotate(45deg);
  }

  .lm-hero__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    min-height: 0;
    padding: 22px 24px 34px;
  }

  .lm-hero .lm-hero__heading {
    font-size: clamp(30px, 6vw, 42px);
    letter-spacing: -1px;
  }

  .lm-hero .lm-hero__eyebrow {
    margin-bottom: 18px;
  }

  .lm-hero .lm-hero__description {
    font-size: 15px;
  }

  .lm-hero__art img {
    max-width: 190px;
  }

  .lm-hero__footer {
    margin-top: 30px;
  }
}

@media (max-width: 380px) {
  .lm-hero__layout {
    padding-inline: 18px;
  }

  .lm-hero .lm-hero__services {
    grid-template-columns: 1fr;
  }

  .lm-hero__cta > span:first-child {
    padding-inline: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lm-hero *,
  .lm-hero *::before {
    animation: none !important;
    transition: none !important;
  }
}

/* Smooth accordion expansion */
.lm-hero__panel {
  transition: flex-grow 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* Replace the previous translate animation with a gentle fade */
.lm-hero__panel.is-active .lm-hero__layout {
  animation: lm-hero-soft-fade 500ms ease both;
}

@keyframes lm-hero-soft-fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/*
 * Keep desktop text at its final width while the panel expands.
 * JavaScript calculates --lm-expanded-width.
 */
@media (min-width: 901px) {
  .lm-hero__panel {
    flex-shrink: 0;
  }

  .lm-hero__content {
    width: var(--lm-expanded-width, 100%);
    min-width: var(--lm-expanded-width, 100%);
  }

  .lm-hero__layout {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lm-hero__panel {
    transition: none;
  }

  .lm-hero__panel.is-active .lm-hero__layout {
    animation: none;
  }
}