/* ==========================================================================
   /@handle — an artist's link page.

   Standalone stylesheet, not part of the site's cascade: this page loads on
   its own with no nav and no shared components, and the whole point of it is
   that a fan on a phone gets buttons and nothing else.

   --sl-accent is set per artist in the page head; every colour below either
   uses it or is a neutral, so one custom property re-skins the page.
   ========================================================================== */

:root {
    --sl-accent: #ff0000;
    --sl-bg: #0a0a0a;
    --sl-surface: #141414;
    --sl-border: #262626;
    --sl-text: #f2f2f2;
    --sl-muted: #888;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--sl-bg);
    color: var(--sl-text);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    /* A wash of the artist's colour behind the header, so the page reads as
       theirs before a single word is. */
    background-image: radial-gradient(120% 60% at 50% 0%,
                      color-mix(in srgb, var(--sl-accent) 22%, transparent) 0%,
                      transparent 70%);
    background-repeat: no-repeat;
}

.sl {
    max-width: 520px;
    margin: 0 auto;
    padding: 3rem 1.25rem 4rem;
}

/* --- Header -------------------------------------------------------------- */

.sl-head {
    text-align: center;
    margin-bottom: 2rem;
}

.sl-avatar {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--sl-accent);
    display: block;
    margin: 0 auto 1.25rem;
}

.sl-name {
    font-family: 'Lacquer', cursive;
    font-size: clamp(2rem, 9vw, 2.75rem);
    line-height: 1.1;
    margin: 0 0 .5rem;
    color: #fff;
    word-break: break-word;
}

.sl-headline {
    margin: 0 0 .5rem;
    color: var(--sl-text);
    font-size: 1rem;
    line-height: 1.5;
}

.sl-genres {
    margin: 0;
    color: var(--sl-muted);
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .12em;
}

/* --- Buttons ------------------------------------------------------------- */

.sl-links {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    margin-bottom: 2rem;
}

.sl-link {
    display: flex;
    align-items: center;
    gap: .9rem;
    padding: 1rem 1.15rem;
    background: var(--sl-surface);
    border: 1px solid var(--sl-border);
    border-radius: 8px;
    color: var(--sl-text);
    text-decoration: none;
    font-size: .95rem;
    font-weight: 500;
    transition: transform .12s ease, border-color .12s ease, background .12s ease;
}

.sl-link i {
    width: 20px;
    text-align: center;
    color: var(--sl-accent);
    font-size: 1.05rem;
    flex: 0 0 auto;
}

.sl-link:hover,
.sl-link:focus-visible {
    transform: translateY(-2px);
    border-color: var(--sl-accent);
    background: #1a1a1a;
}

.sl-link--pinned {
    background: var(--sl-accent);
    border-color: var(--sl-accent);
    color: #fff;
}

.sl-link--pinned i { color: #fff; }

.sl-link--pinned:hover,
.sl-link--pinned:focus-visible {
    background: var(--sl-accent);
    filter: brightness(1.12);
}

.sl-link--ghost {
    background: transparent;
    justify-content: center;
    font-size: .85rem;
    color: var(--sl-muted);
}

/* --- Gigs ---------------------------------------------------------------- */

.sl-section { margin-bottom: 2rem; }

.sl-section-title {
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .16em;
    color: var(--sl-muted);
    margin: 0 0 .85rem;
    text-align: center;
}

.sl-gigs {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    margin-bottom: .75rem;
}

.sl-gig {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .8rem 1rem;
    background: var(--sl-surface);
    border: 1px solid var(--sl-border);
    border-radius: 8px;
    text-decoration: none;
    color: var(--sl-text);
    transition: border-color .12s ease;
}

.sl-gig:hover,
.sl-gig:focus-visible { border-color: var(--sl-accent); }

.sl-gig-date {
    flex: 0 0 44px;
    text-align: center;
    line-height: 1.1;
}

.sl-gig-date strong {
    display: block;
    font-size: 1.25rem;
    color: var(--sl-accent);
}

.sl-gig-date span {
    font-size: .65rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--sl-muted);
}

.sl-gig-body {
    flex: 1;
    min-width: 0;
}

.sl-gig-venue,
.sl-gig-city {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sl-gig-venue { font-size: .92rem; }
.sl-gig-city { font-size: .78rem; color: var(--sl-muted); }

.sl-gig > .fa-chevron-right {
    color: #444;
    font-size: .75rem;
}

/* --- Footer -------------------------------------------------------------- */

.sl-foot {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--sl-border);
}

.sl-foot-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: var(--sl-muted);
    text-decoration: none;
    font-size: .82rem;
    margin: 0 .6rem .5rem;
}

.sl-foot-link:hover { color: var(--sl-text); }
.sl-foot-link i { color: var(--sl-accent); }

.sl-credit {
    margin: 1.25rem 0 0;
    font-size: .72rem;
    color: #555;
}

.sl-credit a {
    color: #777;
    text-decoration: none;
}

/* --- Preview bar --------------------------------------------------------- */

.sl-preview-bar {
    background: #ffb300;
    color: #1a1a1a;
    padding: .7rem 1rem;
    text-align: center;
    font-size: .85rem;
    font-weight: 600;
}

.sl-preview-bar a { color: #1a1a1a; }

/* Motion is decoration here; the lift on hover is the only animation and it
   is not worth a vestibular headache. */
@media (prefers-reduced-motion: reduce) {
    .sl-link,
    .sl-gig { transition: none; }
    .sl-link:hover { transform: none; }
}
