/* "Pointer developed one of the most advanced predictive systems" section.
   Figma: desktop node 4039-9182 (1440), mobile node 4002-5107 (390). */

.technology {
  z-index: 10;
  background-image: url('../images/bg.webp');
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: scroll;
  position: relative;
  overflow: hidden;
}

/* Mobile first — Figma 390: text column stacked above the photo. */
.technology-wrapper {
  flex-flow: column;
  align-items: stretch;
  display: flex;
}

.technology-title {
  grid-column-gap: 32rem;
  grid-row-gap: 32rem;
  flex-flow: column;
  align-items: flex-start;
  padding: 80rem 16rem 64rem;
  display: flex;
}

.technology-heading {
  font-family: var(--_colors---family-headings);
  font-feature-settings: "ss01" on, "liga" off;
  margin-top: 0;
  margin-bottom: 0;
  font-size: 32rem;
  font-weight: 500;
  line-height: 38rem;
}

/* Transparent stand-in the Webflow blur reveal animates against. */
.technology-heading.copy {
  color: var(--_colors---transparent);
  position: absolute;
  inset: 0%;
}

.technology-subtitle {
  margin-bottom: 0;
  font-size: 20rem;
  line-height: 26rem;
}

.technology-media {
  flex: none;
  width: 100%;
  height: 600rem;
  position: relative;
}

/* Figma crops the portrait photo from the top in both layouts. Taken out of flow
   so the photo's own aspect ratio never drives the height of the section. */
.technology-image {
  object-fit: cover;
  object-position: 50% 0%;
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  inset: 0%;
}

/* Figma 1440: text column left, photo flush to the right edge at 501/1440 ≈ 35%. */
@media screen and (min-width: 992px) {
  .technology-wrapper {
    flex-flow: row;
    justify-content: space-between;
    align-items: center;
  }

  .technology-title {
    grid-column-gap: 48rem;
    grid-row-gap: 48rem;
    flex: 1;
    min-width: 0;
    /* 736rem of text + the 80/40 gutters — the box is border-box. */
    max-width: 856rem;
    padding: 80rem 40rem 80rem 80rem;
  }

  .technology-heading {
    font-size: 48rem;
    line-height: 56rem;
  }

  .technology-media {
    align-self: stretch;
    width: 34.8%;
    height: auto;
    min-height: 745rem;
  }
}
