/* Homepage "Fabric-Reinforced Inflatable Seals" section (2026). Replaces front-2. */
.sm-seals {
  position: relative;
  overflow: hidden;
  background-color: #171717;
}

.sm-seals__inner {
  position: relative;
  max-width: 1512px;
  min-height: 640px;
  margin: 0 auto;
}

/* Text column */
.sm-seals__text {
  position: relative;
  z-index: 2;
  /* 474px at the 1512px design width; narrows so it never runs into the art */
  width: calc(33.34% - 30px);
  margin-left: calc(8.33% + 29px);
  padding-top: 108px;
  color: #fff;
  font-family: "Source Sans Pro", sans-serif;
}

.sm-seals .sm-seals__title {
  max-width: 451px;
  margin: 0;
  color: #fff;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 36px;
  font-weight: 900;
  line-height: 40px;
  text-transform: uppercase;
}

.sm-seals .sm-seals__subtitle {
  margin: 7px 0 0;
  color: #fff;
  font-size: 28px;
  font-weight: 300;
  line-height: 32px;
}

.sm-seals .sm-seals__body {
  max-width: 466px;
  margin: 17px 0 0;
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
}

.sm-seals .sm-seals__btn {
  display: inline-block;
  min-width: 0;
  margin-top: 21px;
}

.sm-seals .sm-seals__btn:before {
  background-color: #d33a31;
}

/* Art: red photo, mesh and tagline, positioned from the Figma frame */
.sm-seals__art {
  position: absolute;
  z-index: 1;
  left: calc(41.67% + 16px);
  top: 55px;
  width: 43.12%;
  aspect-ratio: 652 / 434;
  container-type: inline-size;
}

.sm-seals__mesh {
  position: absolute;
  z-index: -1;
  left: 24.08%;
  top: -8.99%;
  width: 127.6%;
  height: 122.8%;
  background: url("../images/sm-seals-mesh.jpg") center / cover no-repeat;
  pointer-events: none;
}

.sm-seals__photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
  isolation: isolate;
  background-color: #ec2224;
}

.sm-seals__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.58;
  mix-blend-mode: multiply;
  transform: scaleX(-1);
}

.sm-seals .sm-seals__tagline {
  position: absolute;
  left: 36.66%;
  top: 35.71%;
  margin: 0;
  color: #fff;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 7.67cqw;
  font-weight: 300;
  line-height: 1.92em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0.75;
}

.sm-seals__tagline span {
  display: block;
}

/* Tablet and phone: stack the art above the text, as in the mobile design */
@media screen and (max-width: 74.9375em) {
  .sm-seals__inner {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 43px 0 56px;
  }

  .sm-seals__art {
    position: relative;
    left: auto;
    top: auto;
    order: -1;
    display: grid;
    width: min(77.6%, 652px);
    aspect-ratio: auto;
  }

  .sm-seals__mesh {
    left: -13.14cqw;
    top: -15.7cqw;
    width: 164.1cqw;
    height: 105.1cqw;
  }

  .sm-seals__photo {
    position: relative;
    grid-area: 1 / 1;
    inset: auto;
    aspect-ratio: 312 / 243;
  }

  .sm-seals__photo img {
    object-position: left center;
  }

  .sm-seals .sm-seals__tagline {
    position: relative;
    grid-area: 1 / 1;
    left: auto;
    top: auto;
    padding: 29.8% 0 0 18px;
    font-size: min(9.6cqw, 50px);
    line-height: 1.667em;
  }

  .sm-seals__text {
    width: auto;
    max-width: 640px;
    margin: 14px 0 0;
    padding: 0 18px;
  }

  .sm-seals .sm-seals__subtitle,
  .sm-seals .sm-seals__body {
    margin-top: 9px;
  }

  .sm-seals .sm-seals__btn {
    margin-top: 15px;
  }
}

/* Tablet: roomier side margins than phone */
@media screen and (min-width: 48em) and (max-width: 74.9375em) {
  .sm-seals__text {
    padding: 0 40px;
  }

  .sm-seals .sm-seals__tagline {
    padding-left: 40px;
  }
}
