/* Underskin — Artist card (resident overlay style) */

.artist-card {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    background: #111;
    isolation: isolate;
}

.artist-card:focus-visible {
    color: #fff;
    outline: none;
}

/* Entrance + tilt 3D → assets/css/animations.css */

/* Media */
.artist-card__media {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.artist-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-default);
}

.artist-card:hover .artist-card__media img {
    transform: scale(1.04);
}

.artist-card__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(0, 0, 0, 0.25) 0%,
        rgba(0, 0, 0, 0) 35%,
        rgba(0, 0, 0, 0) 55%,
        rgba(0, 0, 0, 0.55) 100%);
    pointer-events: none;
}

/* Primary style — top left, Claudius stroked caps */
.artist-card__style {
    position: absolute;
    top: clamp(1rem, 2.6vw, 1.5rem);
    left: clamp(1rem, 3vw, 1.75rem);
    z-index: 3;
    margin: 0;
    padding: 0;
    font-family: var(--font-signature);
    font-style: italic;
    font-weight: 800;
    font-size: clamp(1rem, 2.6vw, 1.35rem);
    line-height: 1;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
    pointer-events: none;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .artist-card__style {
        color: transparent;
        -webkit-text-stroke: 1px #fff;
        text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
    }
}

/* Circular badge — top right */
.artist-card__badge {
    position: absolute;
    top: clamp(0.75rem, 2vw, 1.25rem);
    right: clamp(0.75rem, 2vw, 1.25rem);
    width: clamp(66px, 9vw, 96px);
    height: clamp(66px, 9vw, 96px);
    color: #fff;
    pointer-events: none;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.55));
}

.artist-card__badge-ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    animation: artist-card-spin 22s linear infinite;
}

.artist-card__badge-text {
    fill: currentColor;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 6.8px;
    paint-order: stroke fill;
    stroke: rgba(0, 0, 0, 0.6);
    stroke-width: 3;
    stroke-linejoin: round;
}

.artist-card__badge-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 62%;
    height: 62%;
    z-index: 2;
    transform: translate(-50%, -50%);
    object-fit: contain;
    filter: brightness(0) invert(1)
            drop-shadow(0 0 2px rgba(0, 0, 0, 0.9))
            drop-shadow(0 2px 6px rgba(0, 0, 0, 0.7));
}

@keyframes artist-card-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .artist-card__badge-ring { animation: none; }
}

/* Overlay text — bottom left */
.artist-card__overlay {
    position: absolute;
    left: clamp(1rem, 3vw, 1.75rem);
    bottom: clamp(0.75rem, 2vw, 1.25rem);
    right: clamp(3.5rem, 8vw, 5rem);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    pointer-events: none;
}

.artist-card__name {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    font-weight: 800;
    font-style: italic;
    font-size: clamp(1.75rem, 6.5vw, 2.6rem);
    line-height: 0.94;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 1px 20px rgba(0, 0, 0, 0.45);
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
}

@media (min-width: 768px) {
    .artist-card__name {
        color: transparent;
        -webkit-text-stroke: 1.25px #fff;
        text-shadow: 0 1px 20px rgba(0, 0, 0, 0.35);
    }
}

.artist-card__name-line {
    display: block;
}

.artist-card__role {
    margin: 0.4rem 0 0;
    font-size: clamp(0.9rem, 2.8vw, 0.95rem);
    font-weight: 700;
    letter-spacing: var(--letter-spacing-caps, 0.15em);
    color: #fff;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}
