/* Authored \n breaks are desktop-only; below the site's mobile breakpoint
   (navbar switch, 1280px) the text reflows naturally. */
@media (max-width: 1280px) {
  br.multiline-br {
    display: none;
  }
}

.footprint-sources,
.footprint-sources *,
.footprint-sources *::before,
.footprint-sources *::after,
.footprint-source-row,
.footprint-source-row *,
.footprint-source-row *::before,
.footprint-source-row *::after {
  box-sizing: border-box;
}

.footprint-sources {
  position: relative;
  z-index: 0;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  background: #fcfcfc;
  color: #fcfcfc;
  font-family: "Mona Sans", "Helvetica Neue", Arial, sans-serif;
  margin-top: 56px;
  margin-bottom: 56px;
}

.footprint-sources__frame {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 1440px;
  min-width: 0;
  margin-inline: auto;
  overflow: hidden;
  border-radius: 20px;
  background: var(--footprint-sources-background-color, #8c8880);
}

.footprint-sources__background-media,
.footprint-sources__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.footprint-sources__background-media {
  z-index: 0;
  display: block;
  object-fit: cover;
  object-position: center;
}

.footprint-sources__overlay {
  z-index: 1;
  background: rgba(0, 0, 0, 0.1);
  pointer-events: none;
}

.footprint-sources__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  min-width: 0;
  padding: 30px;
}

.footprint-sources__rows,
.footprint-sources__rows > slot[name="children"] {
  display: flex !important;
  width: 100%;
  min-width: 0;
  flex-direction: column !important;
  gap: 48px;
}

/* Webflow assigns ONE wrapper div to the slot; display: contents collapses
   it so the slot's flex column and 48px gap reach the rows directly. */
.footprint-sources__rows > slot[name="children"]::slotted(*) {
  display: contents !important;
}

:host {
  display: block;
  width: 100%;
  min-width: 0;
  height: auto !important;
  order: var(--footprint-source-priority, 1);
}

.footprint-source-row {
  width: 100%;
  min-width: 0;
  color: #fcfcfc;
  font-family: "Mona Sans", "Helvetica Neue", Arial, sans-serif;
  order: var(--footprint-source-priority, 1);
}

.footprint-source-row__badge {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  min-height: 29px;
  align-items: center;
  margin: 0 0 17px;
  padding: 6px 18px;
  border-radius: 999px;
  background: #e6ece9;
  color: #18141e;
  font-size: 13px;
  font-weight: 500;
  line-height: 16.25px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footprint-source-row__title {
  margin: 0 0 40px;
  color: #fcfcfc;
  font-family: inherit;
  font-size: 28px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

/* The 554 / 723 split is the design ratio, held at every width. */
.footprint-source-row__cards {
  display: grid;
  width: 100%;
  min-width: 0;
  grid-template-columns: minmax(0, 554fr) minmax(0, 723fr);
  gap: 30px;
}

.footprint-source-row__card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 22px;
  overflow: hidden;
  border-radius: 20px;
  background:
    linear-gradient(
      155.46deg,
      rgba(252, 252, 252, 0.2) -50.09%,
      rgba(24, 20, 30, 0.2) 106.94%
    ),
    linear-gradient(
      155.46deg,
      rgba(252, 252, 252, 0.3) -50.09%,
      rgba(230, 236, 233, 0.3) 106.94%
    );
  -webkit-backdrop-filter: blur(40px);
  backdrop-filter: blur(40px);
}

.footprint-source-row__description,
.footprint-source-row__list-item {
  margin: 0;
  color: #fcfcfc;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.footprint-source-row__description {
  white-space: pre-line;
}

.footprint-source-row__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Hairlines sit between entries only, never above the first or below the last. */
.footprint-source-row__list-item + .footprint-source-row__list-item {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(24, 20, 30, 0.2);
}

@keyframes footprint-sources-reveal {
  from {
    opacity: 0;
    transform: translateY(36px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footprint-sources-reveal .footprint-sources__rows {
  opacity: 0;
}

.footprint-sources-reveal.is-revealed .footprint-sources__rows {
  animation: footprint-sources-reveal 850ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

@media (max-width: 991px) {
  .footprint-source-row__cards {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 767px) {
  .footprint-sources__frame {
    border-radius: 16px;
  }

  .footprint-sources__inner {
    padding: 24px;
  }

  .footprint-sources__rows,
  .footprint-sources__rows > slot[name="children"] {
    gap: 40px;
  }

  .footprint-source-row__badge {
    margin-bottom: 14px;
  }

  .footprint-source-row__title {
    margin-bottom: 24px;
    font-size: 24px;
    line-height: 28px;
  }

  .footprint-source-row__cards {
    gap: 20px;
  }

  .footprint-source-row__card {
    padding: 20px;
    border-radius: 16px;
  }

  .footprint-source-row__description,
  .footprint-source-row__list-item {
    font-size: 15px;
    line-height: 19px;
  }

  .footprint-source-row__list-item + .footprint-source-row__list-item {
    margin-top: 14px;
    padding-top: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footprint-sources-reveal .footprint-sources__rows {
    opacity: 1;
    animation: none;
  }
}


@keyframes footprint-source-row-reveal {
  from {
    opacity: 0;
    transform: translateY(36px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.footprint-source-row--reveal {
  opacity: 0;
}

.footprint-source-row--reveal.is-revealed {
  animation: footprint-source-row-reveal 850ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

@media (prefers-reduced-motion: reduce) {
  .footprint-source-row--reveal {
    opacity: 1;
    animation: none;
  }
}

/* Waterfall: siblings entering together stagger left-to-right */

/* waterfall-footprint-source-row */
:host(:nth-child(2)) .footprint-source-row--reveal.is-revealed,
.footprint-source-row--reveal.is-revealed:nth-child(2) {
  animation-delay: 160ms;
}
:host(:nth-child(3)) .footprint-source-row--reveal.is-revealed,
.footprint-source-row--reveal.is-revealed:nth-child(3) {
  animation-delay: 260ms;
}
:host(:nth-child(4)) .footprint-source-row--reveal.is-revealed,
.footprint-source-row--reveal.is-revealed:nth-child(4) {
  animation-delay: 360ms;
}
:host(:nth-child(5)) .footprint-source-row--reveal.is-revealed,
.footprint-source-row--reveal.is-revealed:nth-child(5) {
  animation-delay: 460ms;
}
:host(:nth-child(6)) .footprint-source-row--reveal.is-revealed,
.footprint-source-row--reveal.is-revealed:nth-child(6) {
  animation-delay: 560ms;
}
:host(:nth-child(7)) .footprint-source-row--reveal.is-revealed,
.footprint-source-row--reveal.is-revealed:nth-child(7) {
  animation-delay: 660ms;
}

/* waterfall-ext-footprint-source-row: items 8+ keep cascading instead of snapping to the base delay */
:host(:nth-child(8)) .footprint-source-row--reveal.is-revealed,
.footprint-source-row--reveal.is-revealed:nth-child(8) {
  animation-delay: 760ms;
}
:host(:nth-child(9)) .footprint-source-row--reveal.is-revealed,
.footprint-source-row--reveal.is-revealed:nth-child(9) {
  animation-delay: 860ms;
}
:host(:nth-child(n + 10)) .footprint-source-row--reveal.is-revealed,
.footprint-source-row--reveal.is-revealed:nth-child(n + 10) {
  animation-delay: 960ms;
}

