:root {
  --pink: #e40046;
  --hot: #ff1534;
  --text: #262626;
  --muted: #777;
  --page: 1320px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.hero-content {
  width: 50%;
  text-align: center;
  margin: 0 auto;
}
.wrap {
  width: min(var(--page), calc(100% - 48px));
  margin: 0 auto;
}
.intro {
  padding-top: 38px;
}
.intro p {
  max-width: 690px;
  margin: 0 0 34px;
  font-size: 18px;
  line-height: 1.55;
}
.cta {
  display: inline-flex;
  align-items: center;
  gap: 34px;
  padding: 20px 28px;
  border-radius: 5px;
  background: linear-gradient(90deg, #d90048, #ff1734);
  color: #fff;
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 76px;
}
.cta span {
  font-size: 31px;
  line-height: 0;
  font-weight: 300;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
  padding-bottom: 90px;
}
.card {
  position: relative;
  min-width: 0;
  height: 535px;
  border-radius: 10px;
  overflow: visible;
  cursor: pointer;
  transition:
    opacity 0.2s ease,
    transform 0.35s ease;
  --bs-card-border-color: transparent;
  --bs-card-border-width: 0;
}
.portrait {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: #777;
}
.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.56), transparent 36%);
  pointer-events: none;
}
.label {
  position: absolute;
  left: 30px;
  bottom: 27px;
  color: white;
  z-index: 2;
}
.label strong {
  display: block;
  font-size: 25px;
  font-weight: 400;
  margin-bottom: 3px;
}
.label small {
  display: block;
  font-size: 14px;
  font-weight: 400;
}
.corner {
  position: absolute;
  z-index: 0;
  right: 0;
  top: 0;
  width: 66px;
  height: 66px;
  border-radius: 0 10px 0 50%;
  background: #fff;
}
.arrow {
  width: 47px;
  height: 47px;
  display: grid;
  border-radius: 50%;
  background: #e90048;
  position: absolute;
  left: 15px;
  top: 5px;
}
.arrow::after {
  content: "↗";
  position: absolute;
  color: #fff;
  font-size: 50px;
  font-weight: 300;
  top: -22px;
  left: 8px;
}

.team-grid.open {
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.team-grid.open .card:not(.selected) {
  display: none;
}
.team-grid.open .card.selected {
  height: 535px;
}
.team-grid.open .card.selected .portrait {
  border-radius: 10px;
}
.team-grid.open .info {
  display: block;
  height: 535px;
}
.info {
  display: none;
  border-radius: 10px;
  color: #fff;
  padding: 32px 38px;
  background: linear-gradient(105deg, #e00047 0%, #ff1634 100%);
  overflow: auto;
}
.info h2 {
  margin: 0 0 10px;
  font-size: 42px;
  line-height: 1;
  font-weight: 400;
}
.info .role {
  font-size: 15px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.info p {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.43;
}

@media (max-width: 900px) {
  .wrap {
    width: min(100% - 32px, 700px);
  }
  .intro {
    padding-top: 28px;
  }
  h1 {
    font-size: 40px;
    margin-bottom: 45px;
  }
  .team-grid,
  .team-grid.open {
    grid-template-columns: 1fr;
  }
  .card,
  .team-grid.open .card.selected,
  .team-grid.open .info {
    height: 470px;
  }
  .team-grid.open .card.selected {
    display: block;
  }
  .team-grid.open .info {
    display: block;
  }
  .team-grid.open .card:not(.selected) {
    display: none;
  }
}
@media (max-width: 600px) {
  .wrap {
    width: calc(100% - 28px);
  }
  .intro p {
    font-size: 16px;
  }
  .cta {
    margin-bottom: 54px;
  }
  h1 {
    font-size: 34px;
    margin-bottom: 34px;
  }
  .card,
  .team-grid.open .card.selected,
  .team-grid.open .info {
    height: 430px;
  }
  .info {
    padding: 26px;
  }
  .info h2 {
    font-size: 34px;
  }
  .info p {
    font-size: 14px;
  }
  .label {
    left: 22px;
    bottom: 22px;
  }
}

.aboutFingertips {
  margin: 5rem auto;
}

.aboutUs h3 {
  margin: 0 auto 5rem;
}
