/* Artists index + artist profile (client/artists, client/artist-show). Shared parts live in kw.css. */

.kw-center { text-align: center; }

/* Index: square cut-out portraits on a soft stone tile, square on all four corners like every other card */
.kw-artists { padding-top: 48px; }
.kw-artist-card { text-align: center; }
.kw-artist-card__media { background: var(--se-stone); }
.kw-artist-card__media img {
    object-fit: contain;
    background: center / contain no-repeat;
    padding: 6% 6% 0;
}
.kw-artist-card .se-card__title { margin-top: 14px; }
.kw-artist-card .se-card__credit { margin-top: 4px; }

/* Profile */
.kw-profile {
    display: grid;
    gap: 28px;
    padding: 36px var(--se-gutter) 0;
    animation: se-rise 1.1s var(--se-ease) both;
}
.kw-profile__portrait {
    width: min(78%, 360px);
    margin: 0 auto;
    aspect-ratio: 1 / 1;
    border-radius: 50% 50% 6px 6px;
    background: var(--se-stone);
    overflow: hidden;
}
.kw-profile__portrait img {
    width: 100%; height: 100%;
    object-fit: contain;
    background: center / contain no-repeat;
    padding: 6% 6% 0;
}
.kw-profile__text { text-align: center; }
.kw-profile__name {
    margin: 8px 0 0;
    font-family: var(--se-serif);
    font-size: clamp(16px, 4.2vw, 23px);
    font-style: normal;
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: .012em;
    color: var(--se-title-ink);
}
.kw-profile__rule { margin: 22px auto 24px; }
.kw-profile__bio { max-width: 34em; margin: 0 auto; text-align: left; }
.kw-profile__instagram {
    display: inline-flex; align-items: center; gap: 8px;
    margin-top: 26px;
    padding: 10px 18px;
    border: 1px solid var(--se-line);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .14em;
    color: var(--se-ink);
    transition: border-color .2s, color .2s;
}
.kw-profile__instagram .se-icon { width: 16px; height: 16px; }

/* Favourite things: three captioned tiles */
.kw-favs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kw-fav { margin: 0; text-align: center; }
.kw-fav__media {
    display: block;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    background: var(--se-stone);
}
.kw-fav__media img { width: 100%; height: 100%; object-fit: cover; }
.kw-fav__name {
    margin-top: 12px;
    font-family: var(--se-serif); font-weight: 700;
    font-size: 15px;
    font-style: normal;
    line-height: 1.2;
    letter-spacing: .012em;
    color: var(--se-title-ink);
}

.kw-back .se-link { justify-content: center; }

@media (min-width: 768px) {
    .kw-artists { padding-top: 64px; }
    .kw-profile { padding-top: 64px; }
    .kw-favs { gap: 28px; max-width: 760px; margin: 0 auto; }
    .kw-fav__name { font-size: 15px; margin-top: 16px; }
}

@media (min-width: 1100px) {
    .kw-artist-card__media img { transition: transform 1s var(--se-ease); }
    .kw-profile {
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
        align-items: center;
        gap: 72px;
        padding-top: 96px;
    }
    .kw-profile__portrait { width: 100%; max-width: 460px; }
    .kw-profile__text { text-align: left; }
    .kw-profile__name { font-size: 33px; }
    .kw-profile__rule { margin-left: 0; }
    .kw-profile__bio { margin: 0; }
    .kw-profile__instagram:hover { border-color: var(--se-ink-soft); color: var(--se-accent); }
    .kw-favs { gap: 40px; max-width: 900px; }
    .kw-fav__name { font-size: 15px; }
}
