/* ==========================================================================
   AGP — Lawyer identity: blob avatars and the profile sheet (shared)
   ========================================================================== */

.lang-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lang-pills li {
  padding: 3px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   Blob avatar — every lawyer gets their own hand-drawn silhouette
   -------------------------------------------------------------------------- */
.blob-avatar {
  --blob-size: 92px;
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: var(--blob-size);
  height: var(--blob-size);
  background: var(--surface-gold);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4), var(--shadow-gold);
  font-family: var(--font-display);
  font-size: calc(var(--blob-size) * 0.34);
  font-weight: 600;
  line-height: 1;
  color: #2a1f12;
}

.blob-avatar::after {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(169, 122, 60, 0.38);
  border-radius: inherit;
  transform: rotate(16deg);
}

.blob-avatar > span {
  position: relative;
}

.blob-avatar--1 {
  border-radius: 62% 38% 55% 45% / 48% 58% 42% 52%;
}

.blob-avatar--2 {
  border-radius: 42% 58% 38% 62% / 55% 40% 60% 45%;
  background: var(--night-gold-glow), var(--night);
  color: var(--gold-200);
}

.blob-avatar--3 {
  border-radius: 50% 50% 34% 66% / 62% 44% 56% 38%;
}

.blob-avatar--4 {
  border-radius: 36% 64% 58% 42% / 40% 62% 38% 60%;
  background: var(--gold-gradient);
}

.blob-avatar--5 {
  border-radius: 58% 42% 46% 54% / 36% 52% 48% 64%;
  background: var(--night-gold-glow), var(--night);
  color: var(--gold-200);
}

.blob-avatar--6 {
  border-radius: 46% 54% 64% 36% / 58% 38% 62% 42%;
}

.blob-avatar--3::after,
.blob-avatar--6::after {
  transform: rotate(-12deg) scale(1.02);
}

.blob-avatar--lg {
  --blob-size: 112px;
}

[data-theme="dark"] .blob-avatar {
  color: var(--gold-200);
}

[data-theme="dark"] .blob-avatar--4 {
  color: #15120e;
}

/* --------------------------------------------------------------------------
   Profile sheet
   -------------------------------------------------------------------------- */
.profile__head {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 8px;
  padding: 8px 0 0 8px;
}

.profile__id {
  min-width: 0;
}

.profile__id .tag {
  margin: 0;
}

.profile__name {
  margin: 4px 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 5vw, 2.1rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink);
}

.profile__focus {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.profile__label {
  margin: 24px 0 10px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.profile__bio {
  margin: 0;
  color: var(--ink-soft);
}

.profile__cols {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 0 20px;
}

.profile__pillars {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.profile__pillar {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 10px 16px;
  border-radius: 16px 6px 16px 6px;
  background: var(--bg-2);
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  transition: background-color var(--dur-base) ease;
}

.profile__pillar:hover {
  background: var(--bg-3);
}

.profile__pillar svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-left: auto;
  color: var(--accent);
}

.profile__pillar-letter {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 10px 4px 10px 4px;
  background: var(--gold-gradient);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #15120e;
}

.profile__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 28px;
}

.profile__note {
  margin: 16px 0 0;
  font-size: 0.75rem;
  font-style: italic;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 640px) {
  .profile__head {
    gap: 18px;
  }

  .profile__head .blob-avatar--lg {
    --blob-size: 88px;
  }

  .profile__cols,
  .profile__actions {
    grid-template-columns: 1fr;
  }
}
