:root {
  --bd-lime: #c1ed00;
  --bd-ink: #141414;
  --bd-muted: #5c635f;
  --bd-line: rgba(20, 20, 20, .08);
  --bd-off-white: #fafbf5;
}

.desktop-content-container,
.bd-showcase-shell {
  width: min(calc(100% - 48px), 1280px);
  margin-inline: auto;
}

.bd-showcase-eyebrow {
  display: block;
  color: #729300;
  font-family: var(--tp-ff-grotesk);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.bd-about-showcase,
.bd-process-showcase {
  position: relative;
  overflow: clip;
}

/* About */
.bd-about-showcase {
  padding: clamp(90px, 8vw, 116px) 0 clamp(82px, 7vw, 104px);
  background: #fff;
}

.bd-about-showcase__grid {
  display: grid;
  grid-template-areas:
    "media content"
    "media rating";
  grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: clamp(48px, 5vw, 64px);
  row-gap: 32px;
}

.bd-about-showcase__media {
  position: relative;
  isolation: isolate;
  grid-area: media;
  width: 100%;
  max-width: 540px;
  aspect-ratio: 1.15 / 1;
  margin: 0;
  border-radius: 26px;
  background: #f3f5ef;
}

.bd-about-showcase__media::before {
  position: absolute;
  z-index: -1;
  inset: 18% -10% -13% 10%;
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle, rgba(193, 237, 0, .2), rgba(193, 237, 0, 0) 67%);
  filter: blur(12px);
  pointer-events: none;
}

.bd-about-showcase__media img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 24px 55px rgba(20, 20, 20, .12);
  transition: transform .65s cubic-bezier(.2, .7, .2, 1), box-shadow .65s ease;
}

.bd-about-showcase__media:hover img {
  transform: translateY(-3px) scale(1.018);
  box-shadow: 0 30px 65px rgba(20, 20, 20, .15);
}

.bd-about-showcase__content {
  grid-area: content;
  align-self: end;
  min-width: 0;
}

.bd-about-showcase__title {
  max-width: 640px;
  margin: 14px 0 24px;
  color: var(--bd-ink);
  font-family: var(--tp-ff-grotesk);
  font-size: clamp(38px, 4vw, 55px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.045em;
}

.bd-about-showcase__title > .p-relative,
.bd-about-showcase__title > span {
  position: relative;
  z-index: 0;
  display: inline-block;
}

.bd-about-showcase__title > span::after {
  position: absolute;
  z-index: -1;
  inset-inline: 0;
  bottom: .04em;
  height: .15em;
  border-radius: 999px;
  content: "";
  background: var(--bd-lime);
  transform: rotate(-1deg);
}

.bd-about-showcase__title .tp-section-title-shape,
.bd-about-showcase__title .tp-section-title-shape svg {
  width: 100%;
  max-width: 100%;
}

.bd-about-showcase__title .bd-title-highlight,
.bd-about-showcase__title u {
  color: inherit;
  text-decoration-color: var(--bd-lime);
  text-decoration-thickness: .15em;
  text-underline-offset: -.04em;
}

.bd-about-showcase__description,
.bd-about-showcase__description p {
  max-width: 575px;
}

.bd-about-showcase__description p {
  margin: 0;
  color: #353a38;
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.65;
  letter-spacing: -.01em;
}

.bd-about-showcase__actions {
  display: flex;
  align-items: center;
  margin-top: 30px;
}

.bd-about-showcase__actions .tp-btn-yellow-green,
.bd-process-showcase__intro .tp-btn-yellow-green {
  border-radius: 13px;
  white-space: nowrap;
  transition: transform .3s ease, box-shadow .3s ease;
}

.bd-about-showcase__actions .tp-btn-yellow-green:hover,
.bd-process-showcase__intro .tp-btn-yellow-green:hover {
  transform: translateY(-3px);
  box-shadow: 0 13px 26px rgba(103, 134, 0, .18);
}

.bd-about-showcase__rating {
  grid-area: rating;
  align-self: start;
  display: flex;
  width: min(100%, 360px);
  align-items: center;
  gap: 15px;
  padding-top: 24px;
  border-top: 1px solid var(--bd-line);
}

.bd-about-showcase__rating > strong {
  color: var(--bd-ink);
  font-family: var(--tp-ff-grotesk);
  font-size: 31px;
  font-weight: 700;
  line-height: .9;
  letter-spacing: -.04em;
}

.bd-about-showcase__rating-copy {
  display: grid;
  gap: 5px;
  color: #505653;
  font-size: 11px;
  line-height: 1.2;
}

.bd-about-showcase__stars {
  color: var(--bd-lime);
  font-size: 14px;
  line-height: 1;
  letter-spacing: 2px;
}

/* Process */
.bd-process-showcase {
  padding: 0 0 clamp(90px, 8vw, 112px);
  background: #fff;
}

.bd-process-showcase__panel {
  display: grid;
  grid-template-columns: minmax(210px, 22fr) minmax(0, 78fr);
  min-height: 280px;
  gap: clamp(30px, 3.5vw, 48px);
  padding: 38px;
  border: 1px solid rgba(20, 20, 20, .06);
  border-radius: 27px;
  background: linear-gradient(135deg, #fcfdf8 0%, var(--bd-off-white) 100%);
  box-shadow: 0 18px 50px rgba(20, 20, 20, .05);
}

.bd-process-showcase__intro {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-inline-end: clamp(24px, 3vw, 42px);
  border-inline-end: 1px solid rgba(20, 20, 20, .1);
}

.bd-process-showcase__intro .bd-showcase-eyebrow {
  color: #262b28;
}

.bd-process-showcase__intro h2 {
  max-width: 190px;
  margin: 7px 0 0;
  color: var(--bd-ink);
  font-family: var(--tp-ff-grotesk);
  font-size: clamp(30px, 2.8vw, 40px);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -.045em;
}

.bd-process-showcase__intro .tp-btn-yellow-green {
  margin-top: 26px;
}

.bd-process-showcase__steps {
  display: grid;
  grid-template-columns: repeat(var(--bd-process-count, 4), minmax(0, 1fr));
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
}

.bd-process-showcase__step {
  position: relative;
  min-width: 0;
  align-self: center;
}

.bd-process-showcase__step-copy {
  min-width: 0;
  transition: transform .3s ease;
}

.bd-process-showcase__step:not(:last-child)::after {
  position: absolute;
  z-index: 0;
  top: 20px;
  inset-inline-start: 52px;
  width: calc(100% - 24px);
  border-top: 1px dashed rgba(138, 175, 15, .42);
  content: "";
  transition: border-color .3s ease;
}

.bd-process-showcase__number {
  position: relative;
  z-index: 1;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--bd-lime);
  border-radius: 50%;
  color: var(--bd-ink);
  background: #fff;
  font-family: var(--tp-ff-grotesk);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  transition: background-color .3s ease, border-color .3s ease, transform .3s ease;
}

.bd-process-showcase__step h3 {
  margin: 15px 0 8px;
  color: #242824;
  font-family: var(--tp-ff-grotesk);
  font-size: clamp(16px, 1.35vw, 18px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.02em;
  overflow-wrap: anywhere;
  transition: color .3s ease;
}

.bd-process-showcase__step p {
  max-width: 215px;
  margin: 0;
  color: var(--bd-muted);
  font-size: 13px;
  line-height: 1.55;
}

.bd-process-showcase__step:hover::after {
  border-color: rgba(138, 175, 15, .78);
}

.bd-process-showcase__step:hover .bd-process-showcase__number {
  border-color: var(--bd-lime);
  background: var(--bd-lime);
  transform: translateY(-3px) scale(1.04);
}

.bd-process-showcase__step:hover .bd-process-showcase__step-copy {
  transform: translateY(-3px);
}

.bd-process-showcase__step:hover h3 {
  color: #090a09;
}

/* Tablet */
@media (max-width: 1199px) {
  .bd-about-showcase {
    padding: 86px 0 82px;
  }

  .bd-about-showcase__grid {
    grid-template-columns: minmax(380px, 45fr) minmax(0, 55fr);
    column-gap: 40px;
  }

  .bd-about-showcase__media {
    aspect-ratio: 1.05 / 1;
  }

  .bd-process-showcase {
    padding-bottom: 88px;
  }

  .bd-process-showcase__panel {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 0;
    padding: 36px;
  }

  .bd-process-showcase__intro {
    display: grid;
    grid-template-columns: minmax(180px, .8fr) minmax(0, 1fr);
    align-items: end;
    column-gap: 30px;
    padding: 0 0 30px;
    border-inline-end: 0;
    border-bottom: 1px solid rgba(20, 20, 20, .1);
  }

  .bd-process-showcase__intro .bd-showcase-eyebrow {
    grid-column: 1;
  }

  .bd-process-showcase__intro h2 {
    grid-column: 1;
  }

  .bd-process-showcase__intro .tp-btn-yellow-green {
    grid-column: 2;
    grid-row: 1 / 3;
    justify-self: end;
    margin-top: 0;
  }

  .bd-process-showcase__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 48px;
    padding-top: 34px;
  }

  .bd-process-showcase__step:nth-child(2n)::after {
    display: none;
  }

  .bd-process-showcase__step p {
    max-width: 360px;
  }

}

@media (max-width: 991px) {
  .bd-about-showcase__grid {
    grid-template-areas:
      "content"
      "media"
      "rating";
    grid-template-columns: minmax(0, 1fr);
    row-gap: 38px;
  }

  .bd-about-showcase__content,
  .bd-about-showcase__media,
  .bd-about-showcase__rating {
    width: min(100%, 720px);
  }

  .bd-about-showcase__media {
    max-width: 640px;
    aspect-ratio: 1.14 / 1;
  }

  .bd-about-showcase__rating {
    margin-top: -4px;
  }

}

/* Mobile */
@media (max-width: 767px) {
  .desktop-content-container,
  .bd-showcase-shell {
    width: min(calc(100% - 32px), 640px);
  }

  .bd-about-showcase {
    padding: 68px 0 62px;
  }

  .bd-about-showcase__grid {
    row-gap: 30px;
  }

  .bd-about-showcase__title {
    margin: 11px 0 19px;
    font-size: clamp(35px, 11vw, 48px);
    line-height: 1.02;
  }

  .bd-about-showcase__description p {
    font-size: 15px;
    line-height: 1.6;
  }

  .bd-about-showcase__actions {
    margin-top: 25px;
  }

  .bd-about-showcase__media {
    width: 100%;
    max-width: none;
    aspect-ratio: 1.05 / 1;
    border-radius: 23px;
  }

  .bd-about-showcase__rating {
    width: 100%;
    padding-top: 20px;
  }

  .bd-process-showcase {
    padding-bottom: 70px;
  }

  .bd-process-showcase__panel {
    padding: 28px 22px;
    border-radius: 24px;
  }

  .bd-process-showcase__intro {
    display: flex;
    align-items: flex-start;
    padding-bottom: 27px;
  }

  .bd-process-showcase__intro h2 {
    font-size: 34px;
  }

  .bd-process-showcase__intro .tp-btn-yellow-green {
    margin-top: 22px;
  }

  .bd-process-showcase__steps {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 28px;
  }

  .bd-process-showcase__step {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 15px;
    padding-bottom: 28px;
  }

  .bd-process-showcase__step:last-child {
    padding-bottom: 0;
  }

  .bd-process-showcase__step:not(:last-child)::after,
  .bd-process-showcase__step:nth-child(2n)::after {
    display: block;
    top: 44px;
    bottom: 4px;
    inset-inline-start: 20px;
    width: 0;
    border-top: 0;
    border-inline-start: 1px dashed rgba(138, 175, 15, .52);
  }

  .bd-process-showcase__step h3 {
    margin: 1px 0 7px;
  }

  .bd-process-showcase__step p {
    max-width: none;
  }

}

@media (max-width: 430px) {
  .desktop-content-container,
  .bd-showcase-shell {
    width: calc(100% - 28px);
  }

  .bd-about-showcase__media {
    aspect-ratio: 1 / 1;
  }

  .bd-process-showcase__panel {
    padding-inline: 19px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .bd-about-showcase__media img,
  .bd-about-showcase__actions .tp-btn-yellow-green,
  .bd-process-showcase__intro .tp-btn-yellow-green,
  .bd-process-showcase__step-copy,
  .bd-process-showcase__number {
    transition: none !important;
  }

  .bd-about-showcase__media:hover img,
  .bd-about-showcase__actions .tp-btn-yellow-green:hover,
  .bd-process-showcase__intro .tp-btn-yellow-green:hover,
  .bd-process-showcase__step:hover .bd-process-showcase__number,
  .bd-process-showcase__step:hover .bd-process-showcase__step-copy {
    transform: none;
  }
}
