/* Peraoke — talents on the public site.

   Additive. peraoke.css is the design and is not touched here: this file adds
   the pieces a talent page needs that a catalogue artist page does not — an
   Instagram identity instead of an A–Z catalogue strip, a follow button, a
   Support sign that is honest about not being open, and the publish-rights
   switch a talent owns.

   Same palette, same type, same radii as the rest of the site. */

/* --- the index ---------------------------------------------------------- */

.talent-find {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1rem;
  align-items: center;
  margin-top: 1.25rem;
}
.talent-find .search { flex: 1 1 22rem; max-width: 30rem; }

.grid-talents {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: clamp(.75rem, 1.6vw, 1.15rem);
}

.talent-card {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .09);
  border-radius: 14px;
  overflow: hidden;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.talent-card:hover,
.talent-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(30, 209, 207, .55);
  box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .45);
}
.talent-card__art {
  aspect-ratio: 1;
  background: var(--tile);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.talent-card__art img { width: 100%; height: 100%; object-fit: cover; }
/* No photograph yet is the normal state on day one, so it gets a mark of its
   own rather than a broken image or an empty grey square. */
.talent-card__initial {
  font-weight: 800;
  font-size: 2.1rem;
  letter-spacing: -.02em;
  color: var(--teal-ink);
}
.talent-card__body { padding: .7rem .8rem .8rem; }
.talent-card__n {
  font-weight: 700;
  font-size: .95rem;
  line-height: 1.25;
  margin: 0;
}
.talent-card__fa {
  font-family: Vazirmatn, var(--font);
  direction: rtl;
  font-size: .82rem;
  color: var(--muted);
  margin: .1rem 0 0;
}
.talent-card__meta {
  display: flex;
  align-items: center;
  gap: .4rem;
  margin: .45rem 0 0;
  font-size: .74rem;
  color: var(--muted);
}
.talent-card__ig {
  display: inline-flex;
  align-items: center;
  gap: .28rem;
  font-weight: 600;
  color: var(--teal-ink);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.talent-card__bar { height: 4px; background: var(--logo-teal); }

.talent-empty {
  border: 1px dashed rgba(0, 0, 0, .18);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 4vw, 2.25rem);
  text-align: center;
  color: var(--muted);
  max-width: 44rem;
}
.talent-empty h3 { margin: 0 0 .4rem; color: var(--text); font-size: 1.05rem; }
.talent-empty p { margin: 0 auto; max-width: 34rem; font-size: .9rem; }

/* --- the profile -------------------------------------------------------- */

.talent-head {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2.25rem);
  align-items: start;
}
@media (max-width: 640px) {
  .talent-head { grid-template-columns: 1fr; }
}
.talent-head__art {
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255, 255, 255, .08);
  display: grid;
  place-items: center;
  max-width: 220px;
}
.talent-head__art img { width: 100%; height: 100%; object-fit: cover; }
.talent-head__art span {
  font-size: 3.4rem;
  font-weight: 800;
  color: var(--mint);
}
.talent-head h1 { margin: .35rem 0 .2rem; }
.talent-head__fa {
  font-family: Vazirmatn, var(--font);
  direction: rtl;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, .72);
  margin: 0 0 .5rem;
}
.talent-head__bio {
  color: rgba(255, 255, 255, .8);
  max-width: 52ch;
  white-space: pre-line;
  margin: .6rem 0 0;
}
.talent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1rem;
}
.ig-btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .5rem .85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .28);
  color: #fff;
  text-decoration: none;
  font-size: .84rem;
  font-weight: 600;
}
.ig-btn:hover { border-color: var(--teal); color: var(--teal); }
.follow-btn[aria-pressed="true"] {
  background: transparent;
  color: var(--teal);
  border: 1px solid var(--teal);
}
.talent-stats {
  display: flex;
  gap: 1.4rem;
  margin: .9rem 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, .7);
  font-size: .78rem;
}
.talent-stats b {
  display: block;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
}

/* Support. A sign, not a checkout: there is no field here and nothing to
   press, because it is not open. The Farsi slot is left empty on purpose —
   Mahan names it. */
.support-card {
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: var(--radius);
  padding: clamp(1rem, 2.5vw, 1.5rem);
  background: #fff;
  max-width: 40rem;
}
.support-card__top {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  flex-wrap: wrap;
}
.support-card h2 { margin: 0; font-size: 1.15rem; }
.support-card__fa {
  font-family: Vazirmatn, var(--font);
  direction: rtl;
  color: var(--muted);
  font-size: 1rem;
}
.support-card__soon {
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid rgba(0, 0, 0, .16);
  border-radius: 999px;
  padding: .18rem .5rem;
}
.support-card p { margin: .6rem 0 0; font-size: .9rem; color: var(--muted); }

/* --- account / apply ---------------------------------------------------- */

.acct-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr));
  gap: clamp(1rem, 2.5vw, 1.75rem);
  align-items: start;
}
.card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: var(--radius);
  padding: clamp(1rem, 2.5vw, 1.5rem);
}
.card > h2 { margin: 0 0 .25rem; font-size: 1.1rem; }
.card > p.sub { margin: 0 0 1rem; color: var(--muted); font-size: .86rem; }

.field { display: block; margin: 0 0 .85rem; }
.field > span {
  display: block;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .3rem;
}
.field input[type="text"],
.field input[type="email"],
.field input[type="password"],
.field textarea {
  width: 100%;
  font: inherit;
  font-size: .92rem;
  color: var(--text);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .2);
  border-radius: 10px;
  padding: .55rem .7rem;
}
.field textarea { min-height: 6.5rem; resize: vertical; }
.field input:focus-visible,
.field textarea:focus-visible { outline: none; box-shadow: var(--focus); border-color: var(--teal); }
.field .hint { display: block; margin-top: .3rem; font-size: .76rem; color: var(--muted); text-transform: none; letter-spacing: 0; font-weight: 400; }

/* The two ticks. Publish rights is on when the form loads, which is what the
   copy next to it says; the policy tick is not. */
.tick {
  display: grid;
  grid-template-columns: 1.1rem 1fr;
  gap: .6rem;
  align-items: start;
  margin: 0 0 .85rem;
  font-size: .88rem;
  line-height: 1.45;
}
.tick input { margin-top: .22rem; width: 1.05rem; height: 1.05rem; accent-color: var(--teal-ink); }
.tick .small { display: block; color: var(--muted); font-size: .78rem; margin-top: .15rem; }

.note {
  border-left: 3px solid var(--teal);
  background: rgba(30, 209, 207, .08);
  border-radius: 0 8px 8px 0;
  padding: .6rem .8rem;
  font-size: .86rem;
  margin: 0 0 1rem;
}
.note--warn { border-left-color: #C9761E; background: rgba(201, 118, 30, .08); }
.note--bad { border-left-color: #B3261E; background: rgba(179, 38, 30, .08); }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: .2rem .55rem;
  border: 1px solid rgba(0, 0, 0, .14);
  color: var(--muted);
}
.status-pill--live { color: #0B7C7B; border-color: rgba(11, 124, 123, .4); background: rgba(30, 209, 207, .1); }
.status-pill--wait { color: #8A5A12; border-color: rgba(138, 90, 18, .35); background: rgba(201, 118, 30, .1); }
.status-pill--no { color: #8C1D18; border-color: rgba(140, 29, 24, .3); background: rgba(179, 38, 30, .08); }

.follow-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.follow-list li {
  display: flex;
  align-items: center;
  gap: .7rem;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 10px;
  padding: .5rem .6rem;
}
.follow-list a { font-weight: 600; text-decoration: none; color: var(--text); }
.follow-list a:hover { color: var(--teal-ink); }
.follow-list .ig { margin-left: auto; font-size: .78rem; color: var(--muted); }
