/* HERO ARTISTS */
.artists-hero {
    padding: 140px 44px 80px;
    background: radial-gradient(ellipse at 30% 60%, rgba(var(--warm-rgb), .1) 0%, transparent 55%);
    position: relative;
    overflow: hidden;
}

.ah-eyebrow {
    font-size: 8px;
    letter-spacing: .45em;
    color: var(--amber);
    margin-bottom: 20px
}

.ah-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(48px, 7vw, 90px);
    font-weight: 300;
    font-style: italic;
    color: var(--cream);
    line-height: .95;
    margin-bottom: 32px
}

.ah-sub {
    font-size: 10px;
    letter-spacing: .18em;
    color: var(--dim);
    max-width: 480px;
    line-height: 1.8
}

/* ARTISTS LIST */
.artists-section {
    padding: 0 44px 120px
}

.artist-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px;
    margin-bottom: 3px;
    cursor: default;
    position: relative;
}

.artist-row:hover .ar-cta {
    opacity: 1;
    transform: translateY(0)
}

/* MAIN CARD */
.ar-main {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    background: var(--dark);
    cursor: pointer;
    transition: box-shadow .3s;
}

.ar-main:hover,
.ar-main:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px var(--amber);
}

.ar-main-bg {
    position: absolute;
    inset: 0;
    transition: transform .9s cubic-bezier(.22, 1, .36, 1), filter .5s;
    background-size: cover;
    background-position: center top;
}

.artist-row:hover .ar-main-bg {
    transform: scale(1.04);
    filter: brightness(1.06)
}

.ar-main-grad {
    position: absolute;
    inset: 0;
    background: var(--artist-overlay);
    z-index: 1
}

.ar-main-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px 36px;
    z-index: 2
}

.ar-num {
    font-size: 8px;
    letter-spacing: .25em;
    color: rgba(var(--warm-rgb), .4);
    margin-bottom: 12px
}

.ar-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 300;
    font-style: italic;
    color: var(--cream);
    line-height: 1;
    margin-bottom: 8px;
    overflow-wrap: anywhere
}

.ar-tagline {
    font-size: 9px;
    letter-spacing: .15em;
    color: var(--warm);
    overflow-wrap: anywhere
}

/* INFO SIDE */
.ar-info {
    display: flex;
    flex-direction: column;
    background: rgba(var(--dark-rgb), .7);
    border: 1px solid rgba(var(--warm-rgb), .06);
    padding: 36px;
}

.ar-styles {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 28px
}

.ar-style-tag {
    font-size: 7px;
    letter-spacing: .22em;
    color: var(--dim);
    border: 1px solid var(--border);
    padding: 6px 12px
}

.ar-bio {
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.8;
    color: var(--text);
    flex: 1;
    margin-bottom: 28px;
    overflow-wrap: anywhere
}

.ar-bio em {
    color: var(--cream);
    font-style: italic
}

/* AVAILABILITY MINI */
.ar-avail {
    margin-bottom: 28px
}

.ar-avail-title {
    font-size: 7px;
    letter-spacing: .3em;
    color: var(--amber);
    margin-bottom: 12px
}

.ar-avail-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px
}

.ar-avail-day {
    text-align: center
}

.ar-avail-day-name {
    font-size: 7px;
    letter-spacing: .1em;
    color: var(--dim);
    margin-bottom: 4px
}

.ar-avail-dots {
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: center
}

.ar-avail-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(var(--warm-rgb), .12)
}

.ar-avail-dot.on {
    background: var(--warm)
}

/* CTA */
.ar-cta {
    display: block;
    padding: 16px 24px;
    background: var(--cream);
    color: var(--darker);
    border: none;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 8px;
    letter-spacing: .35em;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform .3s;
}

.ar-cta::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--warm);
    transform: translateX(-105%);
    transition: transform .45s cubic-bezier(.76, 0, .24, 1)
}

.ar-cta span {
    position: relative;
    z-index: 1
}

.ar-cta:hover::after {
    transform: translateX(0)
}

/* GALLERY ROW */
.ar-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 3px;
    margin-top: 3px;
}

.ar-gallery-item {
    aspect-ratio: 1;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background: var(--gallery-bg);
}

.ar-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s, filter .4s
}

.ar-gallery-item:hover img {
    transform: scale(1.08);
    filter: brightness(1.1)
}

.ar-gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(var(--dark-rgb), .0);
    transition: background .35s;
    display: flex;
    align-items: flex-end;
    padding: 12px;
}

.ar-gallery-item:hover .ar-gallery-overlay {
    cursor: pointer;
    background: var(--gallery-overlay-hover);
}

.ar-gallery-label {
    font-size: 7px;
    letter-spacing: .18em;
    color: var(--warm);
    opacity: 0;
    transition: opacity .3s
}

.ar-gallery-item:hover .ar-gallery-label {
    opacity: 1
}

/* Focus styles for keyboard users */
.ar-cta:focus-visible, .ar-gallery-item:focus-visible, .po-cta:focus-visible, .po-gallery-item:focus-visible, .po-close:focus-visible {
    outline: 3px solid rgba(var(--warm-rgb), 0.18);
    outline-offset: 4px;
}

/* EMPTY STATE */
.ar-gallery-empty {
    padding: 32px;
    font-size: 9px;
    letter-spacing: .15em;
    color: var(--dim);
    text-align: center;
    background: rgba(var(--dark-rgb), .5);
    grid-column: 1/-1
}

/* DIVIDER */
.artist-sep {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border), transparent);
    margin: 60px 0
}

/* ── PROFILE OVERLAY ── */
.profile-overlay {
    position: fixed;
    inset: 0;
    z-index: 800;
    background: var(--darker);
    transform: translateX(100%);
    transition: transform .7s cubic-bezier(.76, 0, .24, 1);
    overflow-y: auto;
}

.profile-overlay.open {
    transform: translateX(0)
}

.po-close {
    position: fixed;
    top: 24px;
    right: 32px;
    z-index: 810;
    font-size: 9px;
    letter-spacing: .3em;
    color: var(--dim);
    background: none;
    border: none;
    cursor: none;
    transition: color .3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.po-close:hover {
    color: var(--cream)
}

.po-close::after {
    content: '✕'
}

.po-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

.po-hero-vis {
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at 50% 40%, var(--hero-bg-1), var(--darker));
}

.po-hero-vis img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .85
}

.po-hero-vis-grad {
    position: absolute;
    inset: 0;
    background: var(--artist-gallery-hover);
}

.po-hero-content {
    padding: 100px 56px 60px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: var(--dark)
}

.po-num {
    font-size: 8px;
    letter-spacing: .3em;
    color: var(--amber);
    margin-bottom: 16px
}

.po-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(44px, 6vw, 80px);
    font-weight: 300;
    font-style: italic;
    color: var(--cream);
    line-height: .9;
    margin-bottom: 12px;
    overflow-wrap: anywhere
}

.po-tagline {
    font-size: 10px;
    letter-spacing: .2em;
    color: var(--warm);
    margin-bottom: 32px;
    overflow-wrap: anywhere
}

.po-styles {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 40px
}

.po-style {
    font-size: 7px;
    letter-spacing: .22em;
    color: var(--dim);
    border: 1px solid var(--border);
    padding: 7px 14px
}

/* PO BODY */
.po-body {
    padding: 80px 44px;
    max-width: 1100px;
    margin: 0 auto
}

.po-section-title {
    font-size: 8px;
    letter-spacing: .4em;
    color: var(--amber);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border)
}

.po-bio {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.85;
    color: var(--text);
    margin-bottom: 60px;
    overflow-wrap: anywhere
}

.po-bio em {
    color: var(--cream);
    font-style: italic
}

.po-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 3px;
    margin-bottom: 60px
}

.po-gallery-item {
    aspect-ratio: 1;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background: var(--dark)
}

.po-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s, filter .4s
}

.po-gallery-item:hover img {
    transform: scale(1.08);
    filter: brightness(1.1)
}

.po-gallery-item-lbl {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 14px;
    background: linear-gradient(transparent, rgba(var(--dark-rgb), .8));
    font-size: 7px;
    letter-spacing: .15em;
    color: var(--warm)
}

.po-avail {
    margin-bottom: 60px
}

.po-avail-grid {
    display: grid;
    grid-template-columns: auto repeat(3, 1fr);
    gap: 2px
}

.po-avail-h {
    font-size: 7px;
    letter-spacing: .22em;
    color: var(--amber);
    padding: 10px 14px;
    background: rgba(var(--warm-rgb), .08);
    text-align: center
}

.po-avail-day {
    font-size: 8px;
    letter-spacing: .12em;
    color: var(--cream);
    padding: 10px 14px;
    background: rgba(var(--dark-rgb), .6)
}

.po-avail-cell {
    padding: 14px;
    background: rgba(var(--dark-rgb), .4);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent
}

.po-avail-cell.on {
    cursor: pointer;
    background: rgba(var(--warm-rgb), .15);
    border-color: rgba(var(--warm-rgb), .3)
}

.po-avail-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border)
}

.po-avail-cell.on .po-avail-dot {
    background: var(--warm)
}

.po-cta {
    display: block;
    width: 100%;
    padding: 20px;
    background: var(--cream);
    color: var(--darker);
    border: none;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 10px;
    letter-spacing: .4em;
    font-weight: 400;
    cursor: none;
    text-decoration: none;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: color .3s;
}

.po-cta::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--warm);
    transform: translateX(-105%);
    transition: transform .5s cubic-bezier(.76, 0, .24, 1)
}

.po-cta span {
    position: relative;
    z-index: 1
}

.po-cta:hover::after {
    transform: translateX(0)
}

/* Improve CTA visibility on focus/hover */
.po-cta:hover,
.ar-cta:hover {
    color: var(--darker);
    transform: translateY(-2px);
}

/* Ensure interactive labels are readable */
.ah-sub {
    color: var(--text-dim);
}

/* RESPONSIVE */
@media(max-width:720px) {

    .artist-row,
    .po-hero {
        grid-template-columns: 1fr
    }

    .ar-main {
        min-height: 380px
    }

    .ar-info {
        padding: 28px 24px;
    }

    .ar-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .po-hero-content {
        padding: 80px 28px 40px
    }
}

@media(max-width:480px) {
    .topbar {
        padding: 14px 20px
    }

    .artists-hero,
    .artists-section {
        padding-left: 20px;
        padding-right: 20px
    }

    .artist-row {
        gap: 10px;
    }

    .ar-main {
        min-height: 320px;
    }

    .ar-info {
        padding: 22px 18px;
    }

    .ar-gallery {
        grid-template-columns: 1fr;
    }

    .po-body {
        padding: 48px 20px
    }
}
