/* What I bring and Three ways to work together. */
/* where I do my best work (Figma 2139-141): eyebrow and one big paragraph. The four stages that follow live in stages.css. */
.bring {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  padding: 40px 0 96px;
}
.bring-inner {
  width: min(1240px, 100%);
  display: flex;
  flex-direction: column;
  gap: 50px;
}
.bring .eyebrow {
  margin: 0;
  font-weight: 400;
  font-family: var(--font-utility);
  font-size: 14px;
  line-height: 1.4;
}
.bring .big {
  margin: 0;
  font-weight: 400;
  font-size: 34px;
  line-height: 1.4;
}
@media (max-width: 1100px) {
  .bring .big {
    font-size: 28px;
  }
}
@media (max-width: 800px) {
  .bring .big {
    font-size: 22px;
  }
  .bring-inner {
    gap: 32px;
  }
}
/* entrance: the label rises in, the paragraph cascades word by word */
.js .bring .eyebrow {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.6s ease,
    transform 0.8s var(--ease);
}
.js .bring .big .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.5s ease,
    transform 0.9s var(--ease);
  transition-delay: var(--w, 0s);
}
.js .bring.is-in .eyebrow,
.js .bring.is-in .big .w {
  opacity: 1;
  transform: none;
}
.js .bring.is-in .eyebrow:first-of-type {
  transition-delay: 0s;
}
@media (prefers-reduced-motion: reduce) {
  .js .bring .eyebrow,
  .js .bring .big .w {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
.offers-head {
  font-weight: 400;
  width: min(1240px, 100%);
  margin: 0 0 50px;
  font-family: var(--font-utility);
  font-size: 14px;
  line-height: 1.4;
}
.offers-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  padding: 40px 0 96px;
}
/* ---------- offers ---------- */
.offers {
  list-style: none;
  margin: 0;
  padding: 0;
  width: min(1240px, 100%);
  height: 590px;
  display: flex;
  gap: 25px;
  container-type: inline-size;
}
.offer {
  --fs: clamp(20px, 2.742cqw, 34px);
  --pad: clamp(16px, 3.226cqw, 40px);
  --gap: clamp(24px, 8.065cqw, 100px);
  --k: 3.75;
  position: relative;
  box-sizing: border-box;
  min-width: 0;
  flex: 1 1 0;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  overflow: hidden;
  cursor: pointer;
  outline: none;
  transition:
    flex-grow 0.7s var(--ease),
    border-radius 0.7s var(--ease);
}
.offer.is-open {
  flex-grow: 2.76;
  border-radius: 16px;
}
.offer:nth-child(2) {
  --k: 4.95;
}
.offer:nth-child(3) {
  --k: 3.95;
}
.offer-inner {
  position: relative;
  height: 100%;
  box-sizing: border-box;
  padding: var(--pad);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.offer h3 {
  margin: 0;
  white-space: nowrap;
  font-weight: 400;
  font-size: var(--fs);
  line-height: 1.4;
  text-box: trim-both cap alphabetic;
}
.offer .order {
  font-family: var(--font-utility);
  font-size: 14px;
  line-height: 1.4;
  color: var(--mute);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.offer.is-open .order {
  opacity: 1;
  transition-delay: 0.1s;
}
.offer .more {
  position: absolute;
  top: var(--pad);
  bottom: var(--pad);
  left: calc(var(--pad) + var(--fs) * var(--k) + var(--gap));
  width: calc((100cqw - 50px) * 0.57983 - 4px - 2 * var(--pad) - var(--fs) * var(--k) - var(--gap));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  opacity: 0;
  transform: translateX(24px);
  transition:
    opacity 0.5s var(--ease),
    transform 0.6s var(--ease);
}
.offer.is-open .more {
  opacity: 1;
  transform: none;
  transition-delay: 0.08s;
}
.offer .lede {
  margin: 0;
  font-size: 22px;
  line-height: 1.35;
}
.offer .fact {
  margin: 0;
  font-family: var(--font-utility);
  font-size: 14px;
  line-height: 1.4;
  max-width: 420px;
}
.offer .cta {
  display: flex;
  justify-content: flex-start;
}
@media (max-width: 1100px) {
  .offer .lede {
    font-size: 19px;
  }
}
@media (max-width: 900px) {
  .offers {
    flex-direction: column;
    height: auto;
    gap: 16px;
  }
  .offer {
    flex: 0 0 auto;
    height: 112px;
    transition:
      height 0.7s var(--ease),
      border-radius 0.7s var(--ease);
    --fs: 28px;
    --pad: 28px;
  }
  .offer.is-open {
    flex-grow: 0;
    height: 520px;
  }
  .offer-inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
    justify-content: flex-start;
  }
  .offer .more {
    position: static;
    flex: 1 1 auto;
    width: auto;
    min-height: 0;
    transform: translateY(14px);
  }
  .offer.is-open .more {
    transform: none;
  }
}
@media (max-width: 560px) {
  .offer.is-open {
    height: 600px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .offer,
  .offer .more {
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }
}
