#pilire .section-title::before {
  width: 62px;
  height: 2px;
  margin-bottom: 11px;
}

#pilire .section-title h2 {
  font-size: clamp(37px, 5.1vw, 65px);
}

#pilire .section-title > p {
  margin-top: 10px;
  font-family: var(--display);
  font-size: clamp(16px, 1.6vw, 21px);
  line-height: 1.45;
}

#pilire .cards {
  gap: clamp(12px, 1.5vw, 20px);
  margin-top: clamp(19px, 3vw, 37px);
}

#pilire .card {
  border-color: #f2e2d2;
  border-radius: 23px;
  background: linear-gradient(155deg, #fffbf6, #fbefe2);
  box-shadow: 0 11px 21px #6c361519;
}

/* Show the four illustration regions from the supplied mockup.
   The source stays intact and is downloaded only once per browser. */
#pilire .card-art {
  --source-width: 1672;
  --crop-y: 270;
  --crop-height: 305;
  --crop-width: 381;
  position: relative;
  height: auto;
  aspect-ratio: var(--crop-width) / var(--crop-height);
  overflow: hidden;
  background: #380d20;
}

#pilire .card-art.web { --crop-x: 42; }
#pilire .card-art.search { --crop-x: 446; }
#pilire .card-art.data { --crop-x: 845; }
#pilire .card-art.process { --crop-x: 1249; }

#pilire .card-art img {
  position: absolute;
  top: calc(-100% * var(--crop-y) / var(--crop-height));
  left: calc(-100% * var(--crop-x) / var(--crop-width));
  display: block;
  width: calc(100% * var(--source-width) / var(--crop-width));
  max-width: none;
  height: auto;
  pointer-events: none;
}

#pilire .card-copy {
  padding: 25px clamp(13px, 1.65vw, 24px) 22px;
}

#pilire .card-copy .card-icon {
  top: -23px;
  left: clamp(12px, 1.55vw, 22px);
  display: grid;
  width: 45px;
  height: 45px;
  padding: 0;
  place-items: center;
  border: 1.5px solid #ffd98b;
  background: linear-gradient(150deg, #7e2440, #36091a 83%);
  color: #ffd785;
  box-shadow: 0 2px 4px #52132a40;
}

#pilire .card-copy .card-icon .i {
  width: 23px;
  height: 23px;
}

#pilire .card h3 {
  margin: 4px 0 8px;
  font: 700 clamp(19px, 1.6vw, 21px)/1.18 var(--display);
  letter-spacing: -.035em;
  color: var(--wine);
}

#pilire .card p {
  font: 400 clamp(15px, 1.3vw, 17px)/1.45 var(--display);
  color: #5b3040;
}

@media (max-width: 920px) {
  #pilire .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 540px) {
  #pilire .cards { grid-template-columns: 1fr; }
  #pilire .card { border-radius: 19px; }
  #pilire .card-copy { padding: 25px 17px 18px; }
  #pilire .card h3 { font-size: 22px; }
  #pilire .card p { font-size: 16px; }
}
