/* ================================================
   Avaaza — Artist Profile Page
   Design: Shaan Designs · April 2026
   Brand: Cream / Ivory / Black / Gold editorial
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Josefin+Sans:wght@100;200;300;400&family=Jost:wght@200;300;400;500&display=swap');

:root {
    --av-cream:      #FAF8F3;
    --av-ivory:      #F2EDE2;
    --av-black:      #0A0A0A;
    --av-charcoal:   #2C2C2C;
    --av-warm-mid:   #4E4A46;   /* v4.2.1: darkened */
    --av-muted:      #6B6560;   /* v4.2.1: darkened */
    --av-gold:       #B8872A;
    --av-gold-lt:    #D4A54A;
    --av-gold-pale:  #F0E0C0;
    --av-border:     rgba(10,10,10,0.07);
    --av-border-md:  rgba(10,10,10,0.15);
    --av-white:      #ffffff;
    --av-ff-disp:    'Cormorant Garamond', Georgia, serif;
    --av-ff-tag:     'Josefin Sans', sans-serif;
    --av-ff-ui:      'Jost', system-ui, sans-serif;
}

.ftm-profile-page {
    font-family: var(--av-ff-ui);
    color: var(--av-charcoal);
    font-weight: 300;
    background: var(--av-cream);
}

/* ── Hero ── */
.ftm-profile-hero {
    position: relative;
    min-height: 480px;
    background: var(--av-black) top center/cover no-repeat; /* top center: shows subject/face not mid-body */
    display: flex;
    align-items: flex-end;
}
.ftm-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10,10,10,0.05) 0%, rgba(10,10,10,0.78) 100%);
}
.ftm-hero-content {
    position: relative;
    z-index: 2;
    padding: 48px 56px;
    width: 100%;
}

/* Hero eyebrow */
.ftm-hero-eyebrow {
    font-family: var(--av-ff-tag);
    font-size: 9px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--av-gold-lt);
    margin-bottom: 12px;
}

.ftm-hero-name {
    font-family: var(--av-ff-disp);
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 300;
    color: var(--av-white);
    margin: 0 0 6px;
    line-height: 1.05;
}
.ftm-hero-act-type {
    font-family: var(--av-ff-tag);
    font-size: 10px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75); /* v4.2.1: 0.55 → 0.75 */
    margin-bottom: 24px;
}
.ftm-hero-actions { display: flex; gap: 1px; flex-wrap: wrap; }

.ftm-btn-check-availability {
    background: var(--av-white);
    color: var(--av-black);
    border: none;
    padding: 14px 36px;
    font-family: var(--av-ff-tag);
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.ftm-btn-check-availability:hover {
    background: var(--av-gold);
    color: var(--av-white);
}
.ftm-btn-shortlist-hero {
    background: transparent;
    color: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 14px 28px;
    font-family: var(--av-ff-tag);
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
}
.ftm-btn-shortlist-hero:hover,
.ftm-btn-shortlist-hero.ftm-shortlisted {
    background: var(--av-gold-pale);
    color: var(--av-gold);
    border-color: var(--av-gold);
}

/* ── Availability Panel ── */
.ftm-avail-panel {
    background: var(--av-ivory);
    border-bottom: 2px solid var(--av-gold);
    box-shadow: 0 4px 24px rgba(10,10,10,0.1);
    /* Must NOT clip flatpickr calendar popup */
    overflow: visible;
}
.ftm-avail-inner {
    max-width: 560px;
    margin: 0 auto;
    padding: 32px 24px;
    text-align: center;
    /* Must NOT clip flatpickr calendar popup */
    overflow: visible;
}
.ftm-avail-inner h3 {
    font-family: var(--av-ff-disp);
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 300;
    color: var(--av-black);
}
.ftm-avail-inner p { color: var(--av-muted); margin: 0 0 20px; font-size: 14px; font-weight: 400; } /* v4.2.1 */
.ftm-avail-input {
    width: 100%;
    max-width: 300px;
    padding: 14px 16px;
    border: none;
    border-bottom: 2px solid var(--av-border-md);
    font-family: var(--av-ff-ui);
    font-size: 14px;
    font-weight: 300;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
    background: transparent;
    transition: border-color 0.2s;
}
.ftm-avail-input:focus { outline: none; border-color: var(--av-gold); }
.ftm-avail-actions {
    display: flex;
    gap: 1px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}
.ftm-btn-primary {
    display: inline-block;
    padding: 14px 36px;
    background: var(--av-black);
    color: var(--av-white) !important;
    text-decoration: none;
    font-family: var(--av-ff-tag);
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: background 0.2s;
    border: none;
    cursor: pointer;
}
.ftm-btn-primary:hover { background: var(--av-gold); }
.ftm-btn-avail-cancel {
    padding: 14px 24px;
    background: none;
    border: 1px solid var(--av-border-md);
    font-family: var(--av-ff-tag);
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--av-muted);
    cursor: pointer;
    transition: all 0.2s;
}
.ftm-btn-avail-cancel:hover { border-color: var(--av-gold); color: var(--av-gold); }

/* ── Profile Body ── */
.ftm-profile-body {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 40px 80px;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: start;
}

/* ── Genre Tags ── */
.ftm-genre-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 24px;
}
.ftm-genre-icon { font-size: 0.9rem; margin-right: 2px; }
.ftm-genre-tag {
    display: inline-block;
    padding: 5px 14px;
    background: transparent;
    border: 1px solid var(--av-border-md);
    font-family: var(--av-ff-tag);
    font-size: 10px;          /* v4.2.1: 9px → 10px */
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--av-muted);
    transition: all 0.2s;
}
.ftm-genre-tag:hover {
    background: var(--av-gold-pale);
    border-color: var(--av-gold);
    color: var(--av-gold);
}

/* ── Meta List ── */
.ftm-profile-meta-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 36px;
    padding: 24px;
    background: var(--av-ivory);
    border: 1px solid var(--av-border);
}
.ftm-profile-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;          /* v4.2.1: 13px → 14px */
    font-weight: 400;         /* v4.2.1: 300 → 400 */
    color: var(--av-warm-mid);
}
.ftm-meta-icon { font-size: 0.9rem; flex-shrink: 0; }
.ftm-stars-inline { display: flex; gap: 2px; }
.ftm-star { font-size: 0.9rem; }
.ftm-star-full  { color: var(--av-gold); }
.ftm-star-empty { color: rgba(10,10,10,0.12); }
.ftm-review-link {
    color: var(--av-gold);
    text-decoration: none;
    font-weight: 400;
}
.ftm-review-link:hover { text-decoration: underline; }

/* Social links */
.ftm-social-links { gap: 6px; }
.ftm-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px; height: 32px;
    background: transparent;
    border: 1px solid var(--av-border-md);
    color: var(--av-muted);
    text-decoration: none;
    transition: all 0.2s;
}
.ftm-social-link svg { width: 16px; height: 16px; }
.ftm-social-instagram:hover { background: #e1306c; color: var(--av-white); border-color: #e1306c; }
.ftm-social-facebook:hover  { background: #1877f2; color: var(--av-white); border-color: #1877f2; }
.ftm-social-website:hover   { background: var(--av-gold); color: var(--av-white); border-color: var(--av-gold); }

/* ── Bio ── */
.ftm-bio-heading {
    font-family: var(--av-ff-tag);
    font-size: 9px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--av-gold);
    margin: 0 0 20px;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 12px;
}
.ftm-bio-heading::after { content: ''; flex: 1; height: 1px; background: var(--av-border-md); }
.ftm-summary-quote {
    font-family: var(--av-ff-disp);
    font-style: italic;
    color: var(--av-warm-mid);
    font-size: 19px;          /* v4.2.1: 18px → 19px */
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 24px;
    padding: 20px 24px;
    background: var(--av-ivory);
    border-left: 2px solid var(--av-gold-lt);
}
.ftm-bio-content {
    font-size: 14px;          /* v4.2.1: 13px → 14px */
    line-height: 1.9;
    color: var(--av-warm-mid);
    font-weight: 400;         /* v4.2.1: 300 → 400 */
}
.ftm-bio-content p { margin-bottom: 14px; }
.ftm-bio-content a { color: var(--av-gold); }

/* ── Gallery (right column) ── */
.ftm-gallery-heading {
    font-family: var(--av-ff-tag);
    font-size: 9px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--av-gold);
    margin: 0 0 16px;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 12px;
}
.ftm-gallery-heading::after { content: ''; flex: 1; height: 1px; background: var(--av-border-md); }
.ftm-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--av-border);
    border: 1px solid var(--av-border);
}
.ftm-gallery-cell {
    position: relative;
    padding-top: 75%;
    overflow: hidden;
    background: var(--av-ivory);
    cursor: pointer;
}
.ftm-gallery-cell img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}
.ftm-gallery-cell:hover img { transform: scale(1.06); }

/* Video cell */
.ftm-gallery-video .ftm-gallery-video-thumb { position: absolute; inset: 0; }
.ftm-gallery-video .ftm-gallery-video-thumb img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}
.ftm-gallery-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    font-size: 1.6rem;
    color: var(--av-white);
    background: rgba(10,10,10,0.35);
    transition: background 0.2s;
}
.ftm-gallery-video:hover .ftm-gallery-play { background: rgba(184,135,42,0.7); }

/* More overlay */
.ftm-gallery-more-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10,10,10,0.6);
    color: var(--av-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--av-ff-tag);
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    z-index: 3;
}

/* ── Sticky CTA Bar ── */
.ftm-profile-cta-bar {
    position: sticky;
    bottom: 0;
    background: var(--av-black);
    border-top: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 -8px 32px rgba(10,10,10,0.2);
    z-index: 100;
    padding: 16px 24px;
}
.ftm-profile-cta-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.ftm-cta-info strong {
    font-family: var(--av-ff-disp);
    font-size: 20px;
    font-weight: 300;
    color: var(--av-white);
    margin-right: 12px;
}
.ftm-cta-price {
    font-family: var(--av-ff-tag);
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6); /* v4.2.1: 0.4 → 0.6 */
}
.ftm-cta-buttons { display: flex; gap: 1px; align-items: center; }
.ftm-btn-shortlist-outline {
    padding: 12px 24px;
    border: 1px solid rgba(255,255,255,0.2);
    background: transparent;
    font-family: var(--av-ff-tag);
    font-size: 9px;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    color: rgba(255,255,255,0.6);
    transition: all 0.2s;
}
.ftm-btn-shortlist-outline:hover,
.ftm-btn-shortlist-outline.ftm-shortlisted {
    border-color: var(--av-gold);
    color: var(--av-gold);
    background: rgba(184,135,42,0.1);
}

/* ── Lightbox ── */
.ftm-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ftm-lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10,10,10,0.92);
    cursor: pointer;
}
.ftm-lightbox-content {
    position: relative;
    z-index: 2;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ftm-lightbox-close-btn {
    position: absolute;
    top: -48px;
    right: 0;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--av-white);
    font-size: 1rem;
    width: 36px; height: 36px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.ftm-lightbox-close-btn:hover { background: var(--av-gold); border-color: var(--av-gold); }
.ftm-lightbox-media img {
    max-width: 90vw;
    max-height: 85vh;
    display: block;
    box-shadow: 0 8px 60px rgba(10,10,10,0.5);
}
.ftm-lightbox-media iframe {
    width: 800px;
    max-width: 90vw;
    height: 450px;
    border: none;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .ftm-profile-body { grid-template-columns: 1fr; gap: 32px; padding: 32px 24px 60px; }
    .ftm-profile-gallery { order: -1; }
    .ftm-hero-name { font-size: 2rem; }
    .ftm-hero-content { padding: 32px 24px; }
}
@media (max-width: 768px) {
    .ftm-profile-hero { min-height: 320px; }
    .ftm-hero-content { padding: 24px 16px; }
    .ftm-hero-name { font-size: 1.8rem; }
    .ftm-hero-act-type { font-size: 9px; margin-bottom: 16px; }
    .ftm-hero-actions { gap: 1px; }
    .ftm-btn-check-availability { padding: 12px 20px; font-size: 9px; width: 100%; text-align: center; }
    .ftm-btn-shortlist-hero { padding: 12px 16px; font-size: 9px; width: 100%; text-align: center; }
    .ftm-avail-inner { padding: 24px 16px; }
    .ftm-avail-input { max-width: 100%; }
    .ftm-avail-actions { flex-direction: column; }
    .ftm-btn-primary, .ftm-btn-avail-cancel { width: 100%; text-align: center; }
    .ftm-profile-body { grid-template-columns: 1fr; gap: 24px; padding: 24px 16px 48px; }
    .ftm-profile-gallery { order: -1; }
    .ftm-gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .ftm-profile-meta-list { padding: 16px; }
    .ftm-summary-quote { font-size: 16px; }
    .ftm-profile-cta-bar { padding: 12px 16px; }
    .ftm-profile-cta-inner { flex-direction: column; gap: 8px; }
    .ftm-cta-info { text-align: center; }
    .ftm-cta-buttons { width: 100%; justify-content: stretch; }
    .ftm-cta-buttons button, .ftm-cta-buttons a { flex: 1; text-align: center; }
    .ftm-btn-check-availability, .ftm-btn-shortlist-outline { padding: 12px 10px; }
    .ftm-lightbox-media iframe { width: 95vw; height: 54vw; }
}
@media (max-width: 480px) {
    .ftm-hero-name { font-size: 1.5rem; }
    .ftm-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
