/* ExoticExpansion talent page (/talent/) and the home page's talent + live rows.
 * Tokens from ee2-brand.css (loaded after this file). Rules: app/exoticexpansion2/design.md.
 * Marketing family: one hero, then the roster grid. No washes, no looping animation.
 */

/* ── Hero ── */
.talent-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
    gap: 28px 40px;
    align-items: center;
    margin: 0 0 44px;
    padding: 40px 40px 36px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
}
.talent-hero__bg { display: none; }
.talent-hero__content { min-width: 0; }
.talent-hero__title {
    font-size: clamp(1.9rem, 4.4vw, 3rem);
    line-height: 1.06;
    color: var(--text-primary);
    margin: 0 0 16px;
}
.talent-hero__sub {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 26px;
    max-width: 52ch;
}
.talent-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Right column: the logo over a ledger of live roster numbers */
.talent-hero__aside {
    display: flex; flex-direction: column; gap: 18px;
    padding-left: 32px;
    border-left: 1px solid var(--border);
}
.talent-hero__logo { width: 72px; height: 72px; display: block; }
.talent-hero__stats { display: grid; gap: 0; margin: 0; }
.hero-stat {
    display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
    padding: 10px 0;
    border-top: 1px solid var(--border);
}
.hero-stat:last-child { border-bottom: 1px solid var(--border); }
.hero-stat__val {
    order: 2;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}
.hero-stat__lbl { order: 1; font-size: .85rem; color: var(--text-muted); }

/* Buttons used across talent + home */
.btn-talent-primary,
.btn-talent-ghost {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 20px;
    border-radius: 12px;
    font-weight: 700; font-size: .9rem;
    white-space: nowrap;
    text-decoration: none;
}
.btn-talent-ghost {
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    background: transparent;
    font-weight: 600;
    transition: border-color .2s ease, background-color .2s ease;
}
.btn-talent-ghost:hover { border-color: var(--accent); background: rgba(52, 211, 166, .06); }

/* ── Section headers ── */
.talent-section-header {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: 6px 16px; margin-bottom: 18px; flex-wrap: wrap;
}
.talent-section-title {
    display: flex; align-items: center; gap: 10px;
    font-size: 1.3rem; color: var(--text-primary); margin: 0;
}
.talent-section-title i { color: var(--accent); font-size: .85em; }
.talent-section-sub { font-size: .85rem; color: var(--text-muted); }

/* Tier marks: one family of the logo's hues, overriding the helper's inline colours */
.tier-elite    { --tier: var(--logo-lime); }
.tier-premium  { --tier: var(--logo-teal); }
.tier-standard { --tier: var(--text-muted); }
.tfc-tier-badge,
.tc-tier-badge {
    background: var(--bg) !important;
    color: var(--tier, var(--text-secondary));
    border: 1px solid var(--tier, var(--border-light));
    font-family: var(--mono);
    font-size: .62rem; font-weight: 500;
    letter-spacing: .06em; text-transform: uppercase;
    padding: 2px 7px; border-radius: 999px;
}

/* ── Featured strip ── */
.talent-featured-strip { margin-bottom: 44px; }
.talent-featured-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 168px), 1fr));
    gap: 12px;
}
.talent-featured-card {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    padding: 20px 14px 16px; min-width: 0;
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px;
    text-decoration: none;
    transition: transform .2s cubic-bezier(0.16, 1, 0.3, 1), border-color .2s ease;
}
.talent-featured-card:hover { transform: translateY(-2px); border-color: var(--border-light); }
.tfc-avatar-wrap { position: relative; margin-bottom: 12px; }
.tfc-avatar { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; border: 1px solid var(--border-light); display: block; }
.tfc-tier-badge { position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%); white-space: nowrap; }
.tfc-verified { position: absolute; top: 0; right: -2px; color: var(--accent); font-size: .9rem; }
.tfc-name   { font-weight: 600; font-size: .92rem; color: var(--text-primary); margin: 4px 0 2px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tfc-handle { font-size: .76rem; color: var(--text-muted); margin-bottom: 6px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tfc-niche  { font-size: .76rem; color: var(--accent); font-weight: 600; margin-bottom: 4px; }
.tfc-reach  { font-family: var(--mono); font-size: .72rem; color: var(--text-muted); }

/* ── Filters ── */
.talent-filters { margin-bottom: 22px; }
.talent-filter-form { display: flex; min-width: 0; }
.talent-filter-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; min-width: 0; }
.talent-chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: .82rem; font-weight: 600;
    text-decoration: none; white-space: nowrap;
    transition: border-color .2s ease, color .2s ease;
}
.talent-chip:hover { border-color: var(--border-light); color: var(--text-primary); }
.talent-chip.active { background: rgba(52, 211, 166, .12); border-color: var(--logo-teal); color: var(--text-primary); }
.talent-chip-divider { width: 1px; height: 20px; background: var(--border); margin: 0 4px; }

/* ── Roster grid ── */
.talent-roster-section { margin-bottom: 52px; scroll-margin-top: calc(var(--header-h, 60px) + 16px); }
.talent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr));
    gap: 16px;
}
.talent-card {
    display: flex; flex-direction: column; min-width: 0;
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px;
    overflow: hidden;
    transition: transform .2s cubic-bezier(0.16, 1, 0.3, 1), border-color .2s ease;
}
.talent-card:hover { transform: translateY(-2px); border-color: var(--border-light); }
.tc-banner { position: relative; height: 76px; overflow: hidden; background: var(--bg-hover); border-bottom: 1px solid var(--border); }
.tc-banner-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tc-tier-badge { position: absolute; top: 10px; right: 10px; }
.tc-body { padding: 0 18px 18px; flex: 1; display: flex; flex-direction: column; min-width: 0; }
.tc-avatar-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; margin: -28px 0 12px; }
.tc-avatar-link { position: relative; display: inline-block; }
.tc-avatar { width: 58px; height: 58px; border-radius: 50%; border: 3px solid var(--bg-card); object-fit: cover; display: block; }
.tc-verified { position: absolute; bottom: 0; right: -2px; font-size: .82rem; color: var(--accent); }
.tc-avail {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: .74rem; font-weight: 600;
    padding: 3px 10px; border-radius: 999px; margin-bottom: 2px;
}
.tc-avail.avail-open   { color: var(--logo-lime); background: rgba(169, 239, 91, .1); }
.tc-avail.avail-closed { color: var(--text-muted); background: var(--bg-hover); }
.avail-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tc-name { font-family: var(--font); font-size: 1.02rem; font-weight: 700; letter-spacing: -.01em; margin: 0 0 2px; overflow-wrap: anywhere; }
.tc-name a { color: var(--text-primary); text-decoration: none; }
.tc-name a:hover { color: var(--accent); }
.tc-handle { font-size: .8rem; color: var(--text-muted); margin-bottom: 10px; overflow-wrap: anywhere; }
.tc-headline {
    font-size: .86rem; color: var(--text-secondary); line-height: 1.45; margin: 0 0 10px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tc-niche-tag {
    align-self: flex-start;
    font-size: .74rem; font-weight: 600; color: var(--accent);
    background: rgba(52, 211, 166, .1);
    padding: 2px 10px; border-radius: 999px; margin-bottom: 12px;
}
.tc-reach-grid { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.tc-reach-item { display: flex; align-items: center; gap: 5px; font-family: var(--mono); font-size: .75rem; color: var(--text-secondary); }
.tc-reach-item i { font-size: .82rem; }
.tc-rates {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
    margin-bottom: 14px;
    border: 1px solid var(--border); border-radius: 8px; overflow: hidden;
}
.tc-rate-item { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; border-left: 1px solid var(--border); min-width: 0; }
.tc-rate-item:first-child { border-left: 0; }
.tc-rate-lbl { font-size: .7rem; color: var(--text-muted); }
.tc-rate-val { font-family: var(--mono); font-size: .84rem; font-weight: 500; color: var(--text-primary); }
.tc-ext-links { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; min-width: 0; }
.tc-ext-link {
    display: inline-flex; align-items: center; gap: 6px; max-width: 100%;
    padding: 4px 10px; border-radius: 8px;
    font-size: .74rem; font-weight: 600; text-decoration: none;
    border: 1px solid var(--border-light); color: var(--text-secondary);
    transition: border-color .2s ease, color .2s ease;
}
.tc-ext-link span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tc-ext-link:hover { border-color: var(--accent); color: var(--text-primary); }
.tc-ext-link i { font-size: .82rem; }
.tc-actions { display: flex; gap: 8px; margin-top: auto; }
.tc-btn-channel,
.tc-btn-book {
    flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    padding: 9px 12px; border-radius: 12px;
    font-size: .84rem; font-weight: 700; white-space: nowrap; cursor: pointer;
    font-family: var(--font);
}
.tc-btn-channel { border: 1px solid var(--border-light); color: var(--text-primary); text-decoration: none; transition: border-color .2s ease; }
.tc-btn-channel:hover { border-color: var(--accent); }
.tc-btn-book {
    border: 0;
    background: linear-gradient(135deg, var(--logo-lime), var(--logo-teal));
    color: var(--cta-ink);
    transition: transform .12s cubic-bezier(0.16, 1, 0.3, 1), filter .2s ease;
}
.tc-btn-book i { color: var(--cta-ink); }
.tc-btn-book:hover { transform: translateY(-1px); filter: brightness(1.06); }

/* ── Empty filter result ── */
.talent-empty {
    display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; align-items: start;
    max-width: 600px; padding: 22px;
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px;
    color: var(--text-secondary);
}
.talent-empty i {
    grid-row: span 2;
    width: 44px; height: 44px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg-hover); color: var(--accent); font-size: 1.1rem;
}
.talent-empty p { margin: 2px 0 12px; }
.talent-empty .btn-talent-ghost { justify-self: start; }

/* ── Book a creator ── */
.talent-book-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 52px;
    scroll-margin-top: calc(var(--header-h, 60px) + 16px);
}
.talent-book-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.talent-book-copy { padding: 40px 36px; border-right: 1px solid var(--border); background: var(--bg-elevated); }
.talent-book-title { font-size: 1.55rem; color: var(--text-primary); margin: 0 0 12px; line-height: 1.15; }
.talent-book-sub { font-size: .95rem; color: var(--text-secondary); line-height: 1.6; margin: 0 0 22px; max-width: 46ch; }
.talent-book-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.talent-book-points li { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; color: var(--text-secondary); }
.talent-book-points i { color: var(--accent); margin-top: 3px; }
.talent-book-form-wrap { padding: 36px; min-width: 0; }

/* ── Forms ── */
.talent-inquiry-form { display: flex; flex-direction: column; gap: 14px; }
.talent-form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.talent-form-group { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.talent-form-group label { font-size: .82rem; font-weight: 600; color: var(--text-secondary); }
.talent-input {
    width: 100%; box-sizing: border-box;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 12px;
    color: var(--text-primary);
    font-size: .9rem; font-family: var(--font);
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.talent-input:focus { border-color: var(--logo-teal); box-shadow: 0 0 0 3px rgba(52, 211, 166, .18); }
.talent-input option { background: var(--bg-card); color: var(--text-primary); }
.talent-textarea { resize: vertical; min-height: 90px; }
.talent-submit-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; padding: 13px 24px;
    border: 0; border-radius: 12px;
    background: linear-gradient(135deg, var(--logo-lime), var(--logo-teal));
    color: var(--cta-ink);
    font-family: var(--font); font-weight: 700; font-size: .92rem;
    cursor: pointer;
    transition: transform .12s cubic-bezier(0.16, 1, 0.3, 1), filter .2s ease;
}
.talent-submit-btn i { color: var(--cta-ink); }
.talent-submit-btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.talent-alert-error {
    background: rgba(248, 113, 113, .1);
    border: 1px solid rgba(248, 113, 113, .35);
    color: var(--red);
    padding: 10px 14px; border-radius: 8px; font-size: .88rem;
}
.talent-inquiry-success { text-align: center; padding: 36px 16px; color: var(--logo-lime); }
.talent-inquiry-success i { font-size: 2.2rem; margin-bottom: 12px; display: block; }
.talent-inquiry-success h3 { color: var(--text-primary); margin: 0 0 8px; }
.talent-inquiry-success p { color: var(--text-secondary); font-size: .9rem; }

/* ── Booking modal ── */
.talent-modal-overlay {
    position: fixed; inset: 0; z-index: 950;
    display: flex; align-items: center; justify-content: center;
    padding: 16px;
    background: var(--bg-modal);
}
.talent-modal-overlay[hidden] { display: none; }
.talent-modal {
    position: relative;
    width: 100%; max-width: 560px; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
    overflow-y: auto;
    padding: 30px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    animation: talentModalIn .22s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes talentModalIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.talent-modal-close {
    position: absolute; top: 12px; right: 12px;
    width: 40px; height: 40px; border-radius: 10px;
    background: none; border: 0; color: var(--text-muted); cursor: pointer; font-size: 1.05rem;
}
.talent-modal-close:hover { color: var(--text-primary); background: var(--bg-hover); }
.talent-modal-title { font-size: 1.2rem; color: var(--text-primary); margin: 0 44px 4px 0; }

/* ── Home: talent teaser row ── */
.talent-teaser-section { margin-bottom: 40px; }
.talent-teaser-strip {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr));
    gap: 10px;
    margin-bottom: 16px;
}
.talent-teaser-card {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    padding: 16px 10px 14px; min-width: 0;
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px;
    text-decoration: none; text-align: center;
    transition: transform .2s cubic-bezier(0.16, 1, 0.3, 1), border-color .2s ease;
}
.talent-teaser-card:hover { transform: translateY(-2px); border-color: var(--border-light); }
.talent-teaser-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 1px solid var(--border-light); margin-bottom: 6px; }
.talent-teaser-name   { font-size: .86rem; font-weight: 600; color: var(--text-primary); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.talent-teaser-handle { font-size: .74rem; color: var(--text-muted); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.talent-teaser-niche  { font-size: .72rem; color: var(--accent); font-weight: 600; }
.talent-teaser-cta { display: flex; justify-content: flex-start; }
.talent-teaser-cta .btn-talent-primary { padding: 10px 18px; font-size: .86rem; }

/* ── Home: live row (lime = live, the gradient ring marks live creators) ── */
.live-now-section { margin-bottom: 40px; }
.live-people-strip {
    display: flex; gap: 8px;
    overflow-x: auto; scrollbar-width: none;
    padding: 2px 0 10px; margin-bottom: 12px;
}
.live-people-strip::-webkit-scrollbar { display: none; }
.live-person-pill {
    flex: 0 0 auto;
    display: inline-flex; align-items: center; gap: 8px;
    min-height: 44px; padding: 6px 14px 6px 6px;
    border-radius: 999px;
    background: var(--bg-card); border: 1px solid var(--border);
    color: var(--text-primary); text-decoration: none; white-space: nowrap;
    transition: border-color .2s ease;
}
.live-person-pill:hover { border-color: var(--logo-lime); }
.live-person-avatar {
    width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
    border: 2px solid transparent;
    background: linear-gradient(var(--bg-card), var(--bg-card)) padding-box, var(--logo-grad) border-box;
}
.live-person-name { font-size: .85rem; font-weight: 600; }
.live-person-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--logo-lime); box-shadow: none; animation: none; }

.live-now-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px 18px; }
@media (min-width: 740px)  { .live-now-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1120px) { .live-now-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.live-now-card { display: flex; flex-direction: column; gap: 10px; min-width: 0; text-decoration: none; }
.live-now-thumb {
    position: relative; aspect-ratio: 16 / 9; overflow: hidden;
    border-radius: 12px; background: var(--bg-card);
    box-shadow: inset 0 0 0 1px var(--border);
}
.live-now-card:hover .live-now-thumb { box-shadow: 0 0 0 1px var(--logo-lime); }
.live-now-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.live-now-badge {
    position: absolute; top: 8px; left: 8px;
    padding: 3px 8px; border-radius: 6px;
    background: var(--logo-lime); color: var(--logo-navy);
    font-family: var(--mono); font-size: .68rem; font-weight: 500; letter-spacing: .08em;
}
.live-now-meta { padding: 0 4px 0 0; min-width: 0; }
.live-now-name { display: flex; align-items: center; gap: 6px; color: var(--text-primary); font-weight: 600; font-size: .95rem; }
.live-now-name i { color: var(--accent); font-size: .78rem; }
.live-now-sub { color: var(--text-muted); font-size: .8rem; margin-top: 2px; }
.live-now-title {
    color: var(--text-secondary); font-size: .86rem; margin-top: 4px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .talent-hero { grid-template-columns: minmax(0, 1fr); padding: 30px 24px; }
    .talent-hero__aside { padding: 20px 0 0; border-left: 0; border-top: 1px solid var(--border); flex-direction: row; align-items: center; gap: 20px; }
    .talent-hero__logo { width: 56px; height: 56px; flex-shrink: 0; }
    .talent-hero__stats { flex: 1; min-width: 0; }
    .talent-book-inner { grid-template-columns: minmax(0, 1fr); }
    .talent-book-copy { border-right: 0; border-bottom: 1px solid var(--border); padding: 28px 22px; }
    .talent-book-form-wrap { padding: 24px 22px; }
}
@media (max-width: 600px) {
    .talent-hero { padding: 24px 18px; margin-bottom: 32px; }
    .talent-hero__aside { flex-direction: column; align-items: stretch; }
    .talent-hero__logo { display: none; }
    .talent-hero__cta > a { flex: 1 1 auto; }
    .talent-form-row { grid-template-columns: minmax(0, 1fr); }
    .talent-featured-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .talent-filter-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
    .talent-filter-chips::-webkit-scrollbar { display: none; }
    .talent-chip-divider { flex: 0 0 1px; }
    .talent-modal { padding: 22px 18px; }
    .talent-teaser-strip { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 140px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
    .talent-teaser-strip::-webkit-scrollbar { display: none; }
    .talent-teaser-cta .btn-talent-primary { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .talent-modal { animation: none; }
    .talent-card, .talent-featured-card, .talent-teaser-card { transition: none; }
}
.talent-modal-sub { color: var(--text-secondary); font-size: .9rem; margin: 0 0 20px; }
.talent-inquiry-success--compact { padding: 16px; }
.hero-stat__val, .hero-stat__lbl { margin: 0; }
