.profile-panel {
  --profile-ink: #191919;
  --profile-muted: #67645f;
  --profile-line: #dedbd3;
  --profile-orange: #f23719;
}

.profile-about-card,
.profile-community-card,
.profile-service-card {
  box-sizing: border-box;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--profile-line);
  border-radius: 12px;
  color: var(--profile-ink);
  background: rgba(255, 255, 255, .32);
}

.profile-about-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(250px, .95fr);
  align-items: center;
  gap: 30px;
  padding: 18px;
}

.profile-about-copy {
  min-width: 0;
  padding: 12px 10px;
}

.profile-about-name {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 7px 12px;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 750;
  line-height: 1.15;
}

.profile-about-name span {
  font: 400 14px/1.3 'Anton', 'Noto Sans SC', sans-serif;
  letter-spacing: .045em;
}

.profile-about-role {
  margin-top: 13px;
  color: var(--profile-muted);
  font-size: 17px;
  line-height: 1.5;
}

.profile-about-role span {
  padding-inline: 5px;
  color: var(--profile-orange);
}

.profile-about-summary {
  max-width: 34em;
  margin-top: 22px;
  font-size: 17px;
  line-height: 1.75;
}

.profile-about-media,
.profile-service-media {
  display: block;
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
}

.profile-about-media {
  aspect-ratio: 1.35;
}

.profile-community-card,
.profile-service-card {
  appearance: none;
  width: 100%;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

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

.profile-community-card {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px;
}

.profile-service-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
}

.profile-community-title,
.profile-service-title {
  font-size: clamp(26px, 3.7vw, 34px);
  font-weight: 750;
  line-height: 1.2;
}

.profile-community-description,
.profile-service-description {
  margin-top: 11px;
  color: var(--profile-muted);
  font-size: 17px;
  line-height: 1.65;
}

.profile-community-price,
.profile-service-price {
  margin-top: 14px;
  color: var(--profile-ink);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.profile-community-price small,
.profile-service-price small {
  color: var(--profile-muted);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
}

.profile-service-format {
  margin-top: 7px;
  color: var(--profile-muted);
  font-size: 14px;
  line-height: 1.55;
}

.profile-card-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 23px;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.4;
}

.profile-community-card .profile-card-action {
  margin-top: auto;
  padding-top: 22px;
}

.profile-card-action .ui-arrow {
  color: var(--profile-orange);
}

.profile-services-list {
  display: grid;
  gap: 14px;
}

.profile-service-card {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(270px, .92fr);
  align-items: center;
  gap: 26px;
  min-height: 250px;
  padding: 14px;
}

.profile-service-copy {
  padding: 12px 8px 12px 10px;
}

.profile-service-media {
  width: 100%;
  aspect-ratio: 1.55;
}

.profile-qr-placeholder {
  display: grid;
  width: 136px;
  aspect-ratio: 1;
  place-items: center;
  margin-top: 18px;
  border: 1px dashed var(--profile-line);
  border-radius: 8px;
  color: var(--profile-muted);
  background: rgba(25, 25, 25, .02);
  font-size: 13px;
}

@media (max-width: 600px) {
  .profile-about-card,
  .profile-service-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 12px;
  }

  .profile-about-copy,
  .profile-service-copy {
    padding: 8px 6px;
  }

  .profile-about-name {
    font-size: clamp(27px, 8vw, 34px);
  }

  .profile-about-role,
  .profile-about-summary,
  .profile-community-description,
  .profile-service-description {
    font-size: 16px;
  }

  .profile-about-summary {
    margin-top: 16px;
  }

  .profile-about-media,
  .profile-service-media {
    aspect-ratio: 1.75;
  }

  .profile-community-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .profile-community-card {
    min-height: 0;
    padding: 20px;
  }

  .profile-service-card {
    min-height: 0;
  }

  .profile-service-title,
  .profile-community-title {
    font-size: 28px;
  }

  .profile-card-action {
    margin-top: 17px;
  }
}
