.profile-gateway {
  padding: 58px 0 24px;
  background: linear-gradient(180deg, #fff 0%, #fbfcfe 100%);
}

.profile-gateway .wrap {
  max-width: 1180px;
}

.profile-title {
  text-align: center;
  margin: 0 auto 26px;
}

.profile-title h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: 0;
}

.profile-title h2 span {
  color: var(--red);
}

.profile-title p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.profile-grid.secondary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 760px;
  margin: 18px auto 0;
}

.profile-card {
  --accent: var(--red);
  min-height: 244px;
  padding: 18px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .06);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.profile-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
  box-shadow: 0 24px 56px rgba(15, 23, 42, .1);
}

.profile-art {
  width: 100%;
  min-height: 162px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.profile-art img {
  width: 96%;
  max-height: 164px;
  object-fit: contain;
  filter: drop-shadow(0 18px 22px rgba(15, 23, 42, .12));
}

.profile-card strong {
  display: block;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.15;
  text-align: center;
}

.profile-card::after {
  content: "";
  width: 38px;
  height: 4px;
  border-radius: 99px;
  background: var(--accent);
}

.profile-card.blue { --accent: #1f6fb2; }
.profile-card.green { --accent: #56a33f; }
.profile-card.purple { --accent: #8750bd; }
.profile-card.coral { --accent: #f36c6c; }
.profile-card.gold { --accent: #f4b323; }

.profile-strip {
  min-height: 68px;
  margin: 28px auto 0;
  max-width: 840px;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--ink);
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .05);
}

.profile-strip .rocket {
  color: var(--red);
  font-size: 25px;
  line-height: 1;
}

.profile-strip span:nth-child(2) {
  flex: 1;
}

.profile-strip strong {
  color: var(--red);
  white-space: nowrap;
}

@media (max-width: 980px) {
  .profile-grid,
  .profile-grid.secondary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
  }
}

@media (max-width: 640px) {
  .profile-gateway {
    padding-top: 40px;
  }

  .profile-grid,
  .profile-grid.secondary {
    grid-template-columns: 1fr;
  }

  .profile-card {
    min-height: 190px;
  }

  .profile-strip {
    align-items: flex-start;
    flex-direction: column;
  }
}
