:root {
    --teal: #2fd4d6;
    --teal-dark: #1fb9bb;
    --navy: #2b2a3d;
    --navy-light: #3a3950;
    --ink: #24232f;
    --muted: #6b6b76;
    --border: #e6e6ec;
    --bg: #f7f7fa;
    --danger: #e0524d;
    --warning: #e0a63c;
    --success: #2fb573;
    --radius: 10px;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'Geist', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--teal); color: #102b2c; }
.btn-primary:hover { background: var(--teal-dark); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-light); }
.btn-outline { background: transparent; border-color: currentColor; }
.btn-outline-light { background: transparent; border-color: #fff; color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.1); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-success { background: var(--success); color: #fff; }
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* Top nav */
.topnav {
    border-bottom: 1px solid var(--border);
    background: #fff;
}
.topnav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 0;
}
.brand {
    font-size: 26px;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -.01em;
    display: inline-flex;
    align-items: center;
}
.brand span { color: var(--teal); }
.brand-logo { height: 42px; width: auto; display: block; }
.nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 15px;
    font-weight: 500;
    color: #3d3c4a;
}
.nav-actions { display: flex; gap: 12px; align-items: center; }
.topnav .btn {
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: 13px;
    font-weight: 600;
    padding: 13px 26px;
}

/* Hero */
.hero {
    position: relative;
    min-height: 86vh;
    display: flex;
    align-items: center;
    background-color: var(--navy);
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,10,14,.45), rgba(10,10,14,.55));
}
.hero .container { position: relative; z-index: 1; }
.hero-kicker {
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,.75);
    margin: 0 0 20px;
}
.hero h1 {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.01em;
    margin: 0 auto 24px;
    max-width: 900px;
}
.hero p.lead {
    font-size: 19px;
    line-height: 1.6;
    color: rgba(255,255,255,.75);
    max-width: 620px;
    margin: 0 auto 44px;
}
.hero-actions {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
}
.hero-actions .btn {
    padding: 17px 34px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    min-width: 232px;
}
.hero-actions .btn-dark {
    background: #4b4a5f;
}
.hero-actions .btn-dark:hover {
    background: #5c5a72;
}

/* Section */
.section { padding: 56px 0; }
.section-title { text-align: center; margin-bottom: 32px; }
.section-title h2 { font-size: 28px; margin: 0 0 8px; color: var(--navy); }
.section-title p { color: var(--muted); margin: 0; }

.section-title-lg h2 { font-size: 46px; font-weight: 800; margin: 0 0 14px; letter-spacing: -.01em; }
.section-title-lg p { font-size: 16px; line-height: 1.6; }

.category-section { padding-top: 24px; }
.section-chevron { display: flex; justify-content: center; margin-bottom: 20px; color: #c7c7d0; }
.section-chevron svg { width: 22px; height: auto; }

/* Category tiles */
.category-tiles {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}
.category-tile {
    width: 150px;
    height: 160px;
    background: var(--teal);
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .02em;
    gap: 16px;
    padding: 12px;
    transition: background .15s;
}
.category-tile:hover { background: var(--teal-dark); }
.category-tile img { width: 36px; height: 36px; }

/* Casting call carousel */
.cc-filters {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}
.cc-filter-pill {
    padding: 11px 24px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--ink);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}
.cc-filter-pill.is-active { background: var(--teal); color: #0d2f30; border-color: var(--teal); }

.cc-carousel { position: relative; overflow: hidden; width: 100%; margin-top: 44px; padding: 8px 0 6px; }
.cc-track { display: flex; align-items: stretch; transition: transform .45s cubic-bezier(.22,.61,.36,1); }
.cc-slide {
    flex-shrink: 0;
    width: min(720px, 84vw);
    margin: 0 14px;
    opacity: .4;
    transform: scale(.92);
    transition: opacity .45s, transform .45s;
    cursor: pointer;
}
.cc-slide.is-active { opacity: 1; transform: scale(1); cursor: default; }
.cc-slide-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    background: var(--bg);
    border-radius: 16px;
    padding: 24px;
    height: 100%;
}
.cc-slide.is-active .cc-slide-inner { background: var(--navy); color: #fff; }
.cc-slide-poster {
    width: 150px;
    height: 190px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--teal), var(--navy));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.cc-slide-poster svg { width: 40px; height: 40px; opacity: .8; }
.cc-slide-poster img { width: 100%; height: 100%; object-fit: cover; }
.cc-slide-body { flex: 1; min-width: 0; }
.cc-slide-eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--teal-dark); margin: 0 0 8px; }
.cc-slide.is-active .cc-slide-eyebrow { color: var(--teal); }
.cc-slide-body h3 { font-size: 22px; margin: 0 0 10px; color: var(--navy); }
.cc-slide.is-active .cc-slide-body h3 { color: #fff; }
.cc-slide-body p.desc { font-size: 14px; line-height: 1.5; color: var(--muted); margin: 0 0 18px; }
.cc-slide.is-active .cc-slide-body p.desc { color: rgba(255,255,255,.75); }
.cc-slide-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: rgba(0,0,0,.05);
    border-radius: 10px;
    padding: 12px 16px;
    min-width: 170px;
    flex-shrink: 0;
}
.cc-slide.is-active .cc-slide-pill { background: rgba(255,255,255,.08); }
.cc-slide-pill strong { display: block; font-size: 13px; font-weight: 700; }
.cc-slide-pill span { font-size: 12px; color: var(--muted); }
.cc-slide.is-active .cc-slide-pill span { color: rgba(255,255,255,.6); }
.cc-slide-pill svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--muted); }
.cc-slide.is-active .cc-slide-pill svg { color: rgba(255,255,255,.6); }

.cc-dots { display: flex; justify-content: center; gap: 8px; margin: 28px 0 32px; }
.cc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); cursor: pointer; padding: 0; border: none; transition: background .15s, width .15s; }
.cc-dot.is-active { background: var(--teal); width: 26px; border-radius: 4px; }

@media (max-width: 640px) {
    .cc-slide-inner { flex-direction: column; text-align: center; }
    .cc-slide-poster { width: 120px; height: 150px; }
}

/* How Castque Works */
.hciw-card {
    background: #f3f3f1;
    border-radius: 24px;
    padding: 56px;
}
.hciw-header { text-align: center; margin-bottom: 40px; }
.hciw-header h2 { font-size: 42px; font-weight: 800; color: var(--navy); margin: 0 0 10px; letter-spacing: -.01em; }
.hciw-header p { color: var(--muted); font-size: 16px; margin: 0; }
.hciw-body { display: flex; align-items: center; gap: 48px; }
.hciw-image { flex: 1; min-width: 0; border-radius: 16px; overflow: hidden; }
.hciw-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hciw-content { flex: 1; min-width: 0; }
.hciw-content h3 { font-size: 28px; font-weight: 800; color: var(--navy); margin: 0 0 14px; }
.hciw-content p.intro { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 0 0 20px; }
.hciw-checklist { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.hciw-checklist li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--ink); }
.hciw-checklist svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--success); }

@media (max-width: 860px) {
    .hciw-card { padding: 32px; }
    .hciw-body { flex-direction: column; }
    .hciw-header h2 { font-size: 32px; }
}

/* Acting Jobs / Post a Casting */
.jobs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.jobs-card {
    position: relative;
    min-height: 340px;
    border-radius: 20px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    padding: 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #fff;
}
.jobs-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,10,14,.55), rgba(10,10,14,.75));
}
.jobs-card > * { position: relative; z-index: 1; }
.jobs-card h3 { font-size: 28px; font-weight: 800; margin: 0; line-height: 1.2; }
.jobs-card p { font-size: 15px; line-height: 1.5; color: rgba(255,255,255,.85); margin: 16px 0 0; max-width: 380px; }
.jobs-card-cta { margin-top: 24px; }

/* Pill button with an inset circular arrow badge on the right */
.btn-arrow {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    background: #fff;
    color: var(--navy);
    border-radius: 999px;
    padding: 8px 8px 8px 28px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.btn-arrow .jobs-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.btn-arrow .jobs-arrow svg { width: 16px; height: 16px; color: #fff; }

@media (max-width: 860px) {
    .jobs-grid { grid-template-columns: 1fr; }
}

/* Creatives grid */
.creatives-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px 28px;
}
.creative-card-photo {
    aspect-ratio: 1;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg);
    margin-bottom: 16px;
}
.creative-card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.creative-card-photo .no-photo { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 13px; }
.creative-card-body { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.creative-card-body h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin: 0 0 4px; }
.creative-card-body .meta { font-size: 14px; color: var(--muted); margin: 0; }
.creative-card-body .location { font-size: 13px; color: var(--muted); margin: 2px 0 0; }
.creative-card-body .btn { flex-shrink: 0; }

@media (max-width: 1024px) {
    .creatives-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .creatives-grid { grid-template-columns: 1fr; }
}

/* Join CTA */
.join-cta-card {
    background: var(--navy);
    border-radius: 24px;
    padding: 64px 40px;
    text-align: center;
    color: #fff;
}
.join-cta-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 42px;
    font-weight: 800;
    margin: 0 0 18px;
}
.join-cta-icon { height: 46px; width: auto; margin: 0 -4px; }
.join-cta-card p { color: rgba(255,255,255,.75); font-size: 16px; margin: 0 0 32px; }
.join-cta-card .jobs-card-cta { margin-top: 0; }

@media (max-width: 560px) {
    .join-cta-card { padding: 40px 24px; }
    .join-cta-heading { font-size: 30px; }
    .join-cta-icon { height: 32px; }
}

/* Cards grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}
.talent-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
}
.talent-card .photo {
    aspect-ratio: 1;
    background: var(--bg) center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 13px;
}
.talent-card .body { padding: 14px; }
.talent-card .name { font-weight: 700; margin: 0 0 2px; }
.talent-card .meta { color: var(--muted); font-size: 13px; margin: 0 0 10px; }

.cc-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    background: #fff;
}
.cc-card h3 { margin: 0 0 6px; }
.cc-card .badge-row { margin-bottom: 10px; }

.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    background: var(--bg);
    color: var(--navy);
}
.badge-success { background: #e3f8ee; color: var(--success); }
.badge-warning { background: #fbf0dd; color: #a06a1a; }
.badge-danger { background: #fbe6e5; color: var(--danger); }
.badge-teal { background: #e2fafa; color: var(--teal-dark); }

/* Footer */
.footer {
    background: var(--navy);
    color: #cfcfe0;
    padding: 72px 0 32px;
    margin-top: 60px;
}
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-bottom: 60px;
}
.footer-top h2 {
    color: #fff;
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    margin: 0;
    letter-spacing: -.01em;
}
.footer-top img { width: 190px; height: auto; flex-shrink: 0; }
.footer h4 { color: #fff; font-size: 15px; margin: 0 0 16px; }
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 56px;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 12px; font-size: 14px; }
.footer li a:hover { color: #fff; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 24px;
    font-size: 13px;
    color: #9a99ad;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-bottom-links {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: .03em;
}
.footer-bottom-links a:hover { color: #fff; }

@media (max-width: 860px) {
    .footer-top { flex-direction: column; align-items: flex-start; }
    .footer-top h2 { font-size: 34px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Auth pages */
.auth-page {
    position: relative;
    min-height: 100vh;
    background: url('../images/hero-banner.jpg') center/cover no-repeat, var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}
.auth-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(6,6,10,.82);
}
.auth-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
    color: #fff;
    text-align: center;
}
.auth-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 28px;
}
.auth-brand img { height: 38px; width: auto; margin: 0 -3px; }
.auth-card h1 { font-size: 28px; font-weight: 800; margin: 0 0 6px; }
.auth-card p.subtitle { color: #c7c7d6; margin: 0 0 28px; }
.auth-field { text-align: left; margin-bottom: 16px; }
.auth-field label { display: block; font-size: 13px; margin-bottom: 6px; color: #d8d8e4; }
.auth-field input, .auth-field select, .auth-field textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,.2);
    background: rgba(255,255,255,.05);
    color: #fff;
    font-size: 14px;
}
.auth-field input::placeholder { color: #8c8ba0; }
.role-toggle { display: flex; gap: 10px; margin-bottom: 18px; }
.role-toggle label {
    flex: 1;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 8px;
    padding: 10px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
}
.role-toggle input { display: none; }
.role-toggle input:checked + span { color: #10312f; }
.role-toggle label:has(input:checked) { background: var(--teal); border-color: var(--teal); color: #10312f; }
.auth-divider { display: flex; align-items: center; gap: 10px; color: #8c8ba0; font-size: 12px; margin: 18px 0; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,.15); }
.auth-footer { margin-top: 18px; font-size: 13px; color: #c7c7d6; }
.field-error { color: #ff9b93; font-size: 12px; margin-top: 4px; }
.status-message {
    background: #e2fafa;
    color: var(--teal-dark);
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 16px;
}

/* Dashboard shell */
.dash-shell { display: flex; min-height: 100vh; background: var(--bg); padding: 16px; gap: 16px; }
.dash-sidebar {
    width: 252px;
    background: var(--navy);
    color: #fff;
    flex-shrink: 0;
    padding: 24px 16px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 12px 30px rgba(20,19,35,.18);
}
.dash-sidebar .brand { color: #fff; padding: 0 4px 20px; font-size: 20px; }
.dash-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    margin-bottom: 20px;
    background: rgba(255,255,255,.06);
    border-radius: 14px;
}
.dash-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    color: #0d2f30;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 15px;
    flex-shrink: 0;
    overflow: hidden;
}
.dash-avatar img { width: 100%; height: 100%; object-fit: cover; }
.dash-user-info { min-width: 0; }
.dash-user-info strong { display: block; font-size: 14px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-user-info span { font-size: 12px; color: rgba(255,255,255,.55); text-transform: capitalize; }
.dash-sidebar nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.dash-sidebar nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
    border-radius: 12px;
    font-size: 14px;
    color: #b6b5c8;
    font-weight: 600;
}
.dash-sidebar nav a svg { width: 18px; height: 18px; flex-shrink: 0; opacity: .8; }
.dash-sidebar nav a.active, .dash-sidebar nav a:hover { background: rgba(255,255,255,.1); color: #fff; }
.dash-sidebar nav a.active svg { opacity: 1; color: var(--teal); }
.dash-sidebar nav a.active { box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.dash-logout {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.1);
}
.dash-logout button {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #ff9b93;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}
.dash-logout button:hover { background: rgba(224,82,77,.12); }
.dash-logout svg { width: 18px; height: 18px; }
.dash-main { flex: 1; min-width: 0; }
.dash-topbar {
    background: #fff;
    border-radius: 16px;
    padding: 14px 22px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 16px rgba(20,19,35,.05);
}
.dash-content { padding: 0 2px 28px; }
.status-pill {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}
.status-pill.active, .status-pill.approved, .status-pill.accepted, .status-pill.open { background: #e3f8ee; color: var(--success); }
.status-pill.pending, .status-pill.applied, .status-pill.requested, .status-pill.draft { background: #fbf0dd; color: #a06a1a; }
.status-pill.rejected, .status-pill.blocked, .status-pill.declined, .status-pill.closed { background: #fbe6e5; color: var(--danger); }
.status-pill.shortlisted, .status-pill.scheduled { background: #e2fafa; color: var(--teal-dark); }

/* Dashboard: stat cards, chart, lists */
.stat-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.stat-card {
    display: block;
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 16px rgba(20,19,35,.05);
    transition: transform .15s ease, box-shadow .15s ease;
}
a.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(20,19,35,.12);
}
.stat-card-arrow { color: var(--muted); transition: color .15s, transform .15s; }
a.stat-card:hover .stat-card-arrow { color: var(--teal-dark); transform: translateX(2px); }
.stat-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.stat-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.stat-card-icon svg { width: 20px; height: 20px; }
.stat-card-icon.teal { background: #e2fafa; color: var(--teal-dark); }
.stat-card-icon.navy { background: #e9e9f2; color: var(--navy); }
.stat-card-icon.success { background: #e3f8ee; color: var(--success); }
.stat-card-icon.warning { background: #fbf0dd; color: #a06a1a; }
.stat-card-trend { font-size: 12px; font-weight: 700; display: flex; align-items: center; gap: 3px; }
.stat-card-trend.up { color: var(--success); }
.stat-card-trend svg { width: 13px; height: 13px; }
.stat-card .value { font-size: 30px; font-weight: 800; color: var(--navy); margin: 0 0 4px; line-height: 1; }
.stat-card .label { font-size: 13px; color: var(--muted); margin: 0; }

.chart-card { background: #fff; border-radius: 16px; padding: 24px; box-shadow: 0 4px 16px rgba(20,19,35,.05); }
.chart-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.chart-card-header h2 { font-size: 16px; margin: 0; color: var(--navy); }
.chart-card-header span { font-size: 12px; color: var(--muted); }
.chart-canvas-wrap { position: relative; height: 220px; margin-top: 12px; }

.panel { background: #fff; border-radius: 16px; padding: 22px; box-shadow: 0 4px 16px rgba(20,19,35,.05); }
.panel-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.panel-header h2 { font-size: 16px; margin: 0; color: var(--navy); }

.mini-list { list-style: none; margin: 0; padding: 0; }
.mini-list li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.mini-list li:last-child { border-bottom: none; padding-bottom: 0; }
.mini-list .mini-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg);
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--muted);
}
.mini-list .mini-avatar img { width: 100%; height: 100%; object-fit: cover; }
.mini-list .mini-body { flex: 1; min-width: 0; }
.mini-list .mini-body strong { display: block; font-size: 14px; color: var(--navy); }
.mini-list .mini-body span { font-size: 12px; color: var(--muted); }
.mini-list form .btn { flex-shrink: 0; }

/* Profile completion ring */
.completion-card { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.completion-ring { position: relative; width: 112px; height: 112px; flex-shrink: 0; }
.completion-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.completion-ring circle { fill: none; stroke-width: 10; }
.completion-ring .ring-bg { stroke: var(--bg); }
.completion-ring .ring-progress { stroke: var(--teal); stroke-linecap: round; transition: stroke-dashoffset .8s ease; }
.completion-ring .ring-percent {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    color: var(--navy);
}
.completion-body { flex: 1; min-width: 220px; }
.completion-body h2 { font-size: 16px; margin: 0 0 4px; color: var(--navy); }
.completion-body p { font-size: 13px; color: var(--muted); margin: 0 0 14px; }
.completion-checklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 20px; }
.completion-checklist li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.completion-checklist li.done { color: var(--ink); }
.completion-checklist .dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--bg);
    color: var(--muted);
}
.completion-checklist li.done .dot { background: #e3f8ee; color: var(--success); }
.completion-checklist .dot svg { width: 11px; height: 11px; }

@media (max-width: 1024px) {
    .stat-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .dash-shell { flex-direction: column; padding: 10px; }
    .dash-sidebar { width: 100%; }
    .stat-cards { grid-template-columns: 1fr; }
    .completion-card { flex-direction: column; align-items: flex-start; }
}

/* Forms */
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--navy); }
.form-row input, .form-row select, .form-row textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid var(--border);
    font-size: 14px;
    font-family: inherit;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); font-size: 14px; }
.table th { color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; margin-top: 12px; }
.media-thumb { position: relative; border-radius: 8px; overflow: hidden; border: 1px solid var(--border); aspect-ratio: 1; background: var(--bg); }
.media-thumb img, .media-thumb video { width: 100%; height: 100%; object-fit: cover; }
.media-thumb .actions { position: absolute; inset: auto 0 0 0; background: rgba(0,0,0,.55); padding: 6px; display: flex; gap: 6px; justify-content: center; }
.media-thumb .actions button, .media-thumb .actions a { font-size: 11px; color: #fff; background: none; border: none; cursor: pointer; }
.empty-state { text-align: center; padding: 40px 20px; color: var(--muted); }
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mb-16 { margin-bottom: 16px; }
.text-muted { color: var(--muted); }
.pagination { margin-top: 20px; display: flex; gap: 6px; flex-wrap: wrap; }
.pagination a, .pagination span { padding: 6px 12px; border: 1px solid var(--border); border-radius: 6px; font-size: 13px; }

@media (max-width: 860px) {
    .dash-shell { flex-direction: column; }
    .dash-sidebar { width: 100%; }
    .form-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 38px; }
    .hero p.lead { font-size: 16px; }
    .nav-links { display: none; }
}

/* ===== Home page motion ===== */
@keyframes fade-up { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes float-chevron { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@keyframes icon-pop { 0% { transform: scale(.6) rotate(-12deg); opacity: 0; } 70% { transform: scale(1.12) rotate(3deg); opacity: 1; } 100% { transform: none; opacity: 1; } }

.hero { overflow: hidden; isolation: isolate; }
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    background-size: cover;
    background-position: center;
    z-index: -1;
    animation: hero-zoom 2.4s cubic-bezier(.22,.61,.36,1) both;
}
.hero .hero-kicker,
.hero h1,
.hero p.lead,
.hero .hero-actions { animation: fade-up .9s cubic-bezier(.22,.61,.36,1) both; }
.hero .hero-kicker { animation-delay: .15s; }
.hero h1 { animation-delay: .3s; }
.hero p.lead { animation-delay: .5s; }
.hero .hero-actions { animation-delay: .7s; }

.section-chevron svg { animation: float-chevron 2.2s ease-in-out infinite; }

.js [data-reveal] {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .8s cubic-bezier(.22,.61,.36,1), transform .8s cubic-bezier(.22,.61,.36,1);
    transition-delay: var(--reveal-delay, 0ms);
}
.js [data-reveal="left"] { transform: translateX(-40px); }
.js [data-reveal="right"] { transform: translateX(40px); }
.js [data-reveal="zoom"] { transform: scale(.94); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

.category-tile { transition: background .15s, transform .25s cubic-bezier(.22,.61,.36,1), box-shadow .25s; }
.category-tile:hover { transform: translateY(-6px); box-shadow: 0 14px 28px rgba(15,23,42,.14); }
.category-tile img { transition: transform .3s cubic-bezier(.22,.61,.36,1); }
.category-tile:hover img { transform: scale(1.15) rotate(-4deg); }
.js .category-tiles .is-visible img { animation: icon-pop .6s cubic-bezier(.22,.61,.36,1) both; animation-delay: calc(var(--reveal-delay, 0ms) + 250ms); }

.creative-card-photo { overflow: hidden; }
.creative-card-photo img { transition: transform .6s cubic-bezier(.22,.61,.36,1); }
.creatives-grid > div { transition: transform .3s cubic-bezier(.22,.61,.36,1); }
.creatives-grid > div:hover { transform: translateY(-6px); }
.creatives-grid > div:hover .creative-card-photo img { transform: scale(1.07); }

.jobs-card { transition: transform .35s cubic-bezier(.22,.61,.36,1), box-shadow .35s; }
.jobs-card:hover { transform: translateY(-8px); box-shadow: 0 22px 40px rgba(15,23,42,.22); }
.btn-arrow .jobs-arrow { transition: transform .25s cubic-bezier(.22,.61,.36,1); }
.btn-arrow:hover .jobs-arrow { transform: rotate(45deg) scale(1.08); }
.btn-arrow:hover { box-shadow: 0 8px 20px rgba(47,212,214,.35); }

.hciw-image img { transition: transform .8s cubic-bezier(.22,.61,.36,1); }
.hciw-card:hover .hciw-image img { transform: scale(1.04); }
.js .hciw-checklist li[data-reveal] svg { transition: transform .5s cubic-bezier(.34,1.56,.64,1) .2s; transform: scale(.4); }
.js .hciw-checklist li.is-visible svg { transform: none; }

.join-cta-icon { animation: float-chevron 3s ease-in-out infinite; }
.cc-slide .btn { transition: transform .2s, background .15s; }
.cc-slide .btn:hover { transform: translateY(-2px); }

@media (prefers-reduced-motion: reduce) {
    .hero::after, .hero .hero-kicker, .hero h1, .hero p.lead, .hero .hero-actions,
    .section-chevron svg, .join-cta-icon { animation: none !important; }
    .js [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
    .category-tile, .creatives-grid > div, .jobs-card { transition: none; }
}

/* ===== Contact page ===== */
.page-hero {
    position: relative;
    isolation: isolate;
    padding: 96px 0 150px;
    background-color: var(--navy);
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(43,42,61,.82), rgba(43,42,61,.92));
}
.page-hero .hero-kicker { animation: fade-up .8s cubic-bezier(.22,.61,.36,1) .1s both; }
.page-hero h1 { font-size: 52px; font-weight: 800; margin: 8px 0 14px; letter-spacing: -.02em; animation: fade-up .8s cubic-bezier(.22,.61,.36,1) .2s both; }
.page-hero p.lead { max-width: 620px; margin: 0 auto; font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.8); animation: fade-up .8s cubic-bezier(.22,.61,.36,1) .35s both; }

.contact-section { padding-top: 0; margin-top: -90px; position: relative; z-index: 2; }
.contact-layout { display: grid; grid-template-columns: 360px 1fr; gap: 28px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 16px; animation: fade-up .8s cubic-bezier(.22,.61,.36,1) .45s both; }
.contact-info-card {
    display: flex;
    gap: 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(43,42,61,.08);
    transition: transform .25s cubic-bezier(.22,.61,.36,1), box-shadow .25s;
}
.contact-info-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(43,42,61,.14); }
.contact-icon {
    width: 48px; height: 48px; flex-shrink: 0;
    border-radius: 14px;
    background: rgba(47,212,214,.14);
    color: var(--teal-dark);
    display: flex; align-items: center; justify-content: center;
}
.contact-icon svg { width: 24px; height: 24px; }
.contact-info-card h3 { margin: 2px 0 4px; font-size: 17px; color: var(--navy); }
.contact-info-card p { margin: 0 0 6px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.contact-info-card a { font-size: 14px; font-weight: 600; color: var(--teal-dark); }
.contact-info-card a:hover { text-decoration: underline; }

.contact-form-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 18px 50px rgba(43,42,61,.12);
    animation: fade-up .8s cubic-bezier(.22,.61,.36,1) .5s both;
}
.contact-form-card h2 { margin: 0 0 6px; font-size: 28px; color: var(--navy); }
.contact-form-sub { margin: 0 0 26px; color: var(--muted); font-size: 15px; }
.contact-form-card .form-row label { font-size: 13px; margin-bottom: 8px; }
.contact-form-card .form-row input,
.contact-form-card .form-row select,
.contact-form-card .form-row textarea {
    padding: 13px 16px;
    border-radius: 12px;
    background: #fafafc;
    font-size: 15px;
    transition: border-color .15s, box-shadow .15s, background .15s;
}
.contact-form-card .form-row input:focus,
.contact-form-card .form-row select:focus,
.contact-form-card .form-row textarea:focus {
    outline: none;
    background: #fff;
    border-color: var(--teal);
    box-shadow: 0 0 0 4px rgba(47,212,214,.18);
}
.contact-form-card textarea { resize: vertical; min-height: 140px; }
.contact-success {
    display: flex; align-items: center; gap: 10px;
    background: #e6f7ef; color: #1c7a4d;
    border-radius: 12px; padding: 14px 16px; margin-bottom: 22px; font-size: 14px; font-weight: 500;
}
.contact-success svg { width: 22px; height: 22px; flex-shrink: 0; }

button.btn-arrow { border: none; cursor: pointer; font-family: inherit; }
.btn-arrow-dark { background: var(--navy); color: #fff; }
.btn-arrow-dark .jobs-arrow { background: var(--teal); }
.btn-arrow-dark .jobs-arrow svg { color: var(--navy); }
.btn-arrow-dark:hover { box-shadow: 0 8px 20px rgba(43,42,61,.3); }

.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--border);
    padding: 0 24px;
    transition: box-shadow .2s;
}
.faq-item[open] { box-shadow: 0 10px 26px rgba(43,42,61,.08); }
.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 28px 20px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--navy);
    position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    position: absolute; right: 0; top: 50%; transform: translateY(-50%);
    width: 28px; height: 28px; border-radius: 50%;
    background: rgba(47,212,214,.16); color: var(--teal-dark);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; font-weight: 500; line-height: 1;
    transition: transform .2s, background .2s;
}
.faq-item[open] summary::after { content: '\2212'; background: var(--teal); color: var(--navy); }
.faq-item p { margin: 0; padding: 0 0 22px; color: var(--muted); font-size: 15px; line-height: 1.65; }

@media (max-width: 900px) {
    .contact-layout { grid-template-columns: 1fr; }
    .page-hero { padding: 64px 0 120px; }
    .page-hero h1 { font-size: 38px; }
    .contact-form-card { padding: 26px 20px; }
    .contact-form-card .form-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .page-hero .hero-kicker, .page-hero h1, .page-hero p.lead, .contact-info, .contact-form-card { animation: none !important; }
}
main:has(.faq-section) + .footer { margin-top: 0; }

/* ===== How it works page ===== */
.page-hero:has(.hiw-tabs) { padding-bottom: 84px; }
.hiw-tabs {
    display: inline-flex;
    gap: 6px;
    margin-top: 34px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.18);
    backdrop-filter: blur(6px);
    animation: fade-up .8s cubic-bezier(.22,.61,.36,1) .5s both;
}
.hiw-tab {
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 26px;
    border-radius: 999px;
    background: transparent;
    color: rgba(255,255,255,.85);
    transition: background .2s, color .2s, transform .2s;
}
.hiw-tab:hover { color: #fff; }
.hiw-tab.is-active { background: var(--teal); color: #102b2c; box-shadow: 0 6px 18px rgba(47,212,214,.35); }

.hiw-section { padding: 80px 0 64px; }
.hiw-panel.is-switching { animation: fade-up .6s cubic-bezier(.22,.61,.36,1) both; }
.hiw-steps { --fill: 0%; position: relative; display: flex; flex-direction: column; gap: 40px; max-width: 980px; margin: 0 auto; }
.hiw-steps::before, .hiw-steps::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 20px;
    width: 4px;
    margin-left: -2px;
    border-radius: 4px;
}
.hiw-steps::before { bottom: 20px; background: var(--border); }
.hiw-steps::after { height: min(var(--fill), calc(100% - 40px)); background: linear-gradient(180deg, var(--teal), var(--teal-dark)); transition: height .15s linear; }

.hiw-step { display: grid; grid-template-columns: 1fr 64px 1fr; align-items: center; }
.hiw-step .hiw-card { grid-row: 1; }
.hiw-step.is-left .hiw-card { grid-column: 1; text-align: right; }
.hiw-step.is-left .hiw-card-icon { margin-left: auto; }
.hiw-step.is-right .hiw-card { grid-column: 3; }
.hiw-marker { grid-column: 2; grid-row: 1; display: flex; justify-content: center; position: relative; z-index: 1; }
.hiw-marker span {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--border);
    color: var(--muted);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 17px;
    transition: background .35s, border-color .35s, color .35s, box-shadow .35s, transform .35s cubic-bezier(.34,1.56,.64,1);
}
.hiw-marker.is-reached span {
    background: var(--teal);
    border-color: var(--teal);
    color: #102b2c;
    transform: scale(1.1);
    box-shadow: 0 0 0 8px rgba(47,212,214,.2);
}

.hiw-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px 30px;
    box-shadow: 0 10px 30px rgba(43,42,61,.07);
    transition: transform .3s cubic-bezier(.22,.61,.36,1), box-shadow .3s;
}
.hiw-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(43,42,61,.14); }
.hiw-card-num { position: absolute; top: 18px; right: 24px; font-size: 44px; font-weight: 800; line-height: 1; color: rgba(47,212,214,.18); }
.hiw-step.is-left .hiw-card-num { right: auto; left: 24px; }
.hiw-card-icon {
    width: 52px; height: 52px;
    border-radius: 15px;
    background: rgba(47,212,214,.14);
    color: var(--teal-dark);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
    transition: background .25s, color .25s, transform .3s cubic-bezier(.34,1.56,.64,1);
}
.hiw-card-icon svg { width: 26px; height: 26px; }
.hiw-card:hover .hiw-card-icon, .hiw-feature:hover .hiw-card-icon { background: var(--teal); color: #102b2c; transform: rotate(-8deg) scale(1.08); }
.hiw-card h3, .hiw-feature h3 { margin: 0 0 8px; font-size: 20px; color: var(--navy); }
.hiw-card p, .hiw-feature p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--muted); }
.hiw-panel-cta { text-align: center; margin-top: 56px; }

.hiw-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.hiw-feature {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    border: 1px solid var(--border);
    transition: transform .3s cubic-bezier(.22,.61,.36,1), box-shadow .3s;
}
.hiw-feature:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(43,42,61,.12); }

@media (max-width: 900px) {
    .hiw-section { padding: 56px 0 40px; }
    .hiw-steps::before, .hiw-steps::after { left: 24px; }
    .hiw-step { grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
    .hiw-marker { grid-column: 1; align-self: start; }
    .hiw-step.is-left .hiw-card, .hiw-step.is-right .hiw-card { grid-column: 2; text-align: left; }
    .hiw-step.is-left .hiw-card-icon { margin-left: 0; }
    .hiw-step.is-left .hiw-card-num { left: auto; right: 24px; }
    .js .hiw-card[data-reveal="left"] { transform: translateX(40px); }
    .hiw-features { grid-template-columns: 1fr 1fr; }
    .hiw-tabs { flex-direction: column; border-radius: 24px; width: 100%; max-width: 340px; }
}
@media (max-width: 560px) { .hiw-features { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
    .hiw-tabs, .hiw-panel.is-switching { animation: none !important; }
    .hiw-steps::after { transition: none; }
}
.hiw-section { overflow-x: clip; }

.talent-card .photo { aspect-ratio: 4 / 5; overflow: hidden; }
.talent-card .photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }

/* ===== Browse talent page ===== */
.page-hero-compact { padding: 72px 0 120px; }
.page-hero-compact h1 { font-size: 46px; }
.talents-section { padding-top: 0; margin-top: -64px; position: relative; z-index: 2; }

.talent-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-end;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 22px 24px;
    box-shadow: 0 18px 50px rgba(43,42,61,.12);
    margin-bottom: 40px;
}
.talent-filter { min-width: 170px; }
.talent-filter-search { flex: 1; min-width: 240px; }
.talent-filter label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.talent-filter select, .talent-search-input input {
    width: 100%;
    padding: 13px 16px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #fafafc;
    font-size: 15px;
    font-family: inherit;
    transition: border-color .15s, box-shadow .15s, background .15s;
}
.talent-search-input { position: relative; }
.talent-search-input svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 19px; height: 19px; color: var(--muted); }
.talent-search-input input { padding-left: 42px; }
.talent-filter select:focus, .talent-search-input input:focus { outline: none; background: #fff; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(47,212,214,.18); }
.talent-filter-actions { display: flex; align-items: center; gap: 14px; }
.talent-filter-actions .btn { padding: 14px 30px; border-radius: 999px; }
.talent-clear { font-size: 14px; font-weight: 600; color: var(--muted); }
.talent-clear:hover { color: var(--navy); text-decoration: underline; }

.talent-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 24px; }
.talent-tile { display: block; color: inherit; transition: transform .3s cubic-bezier(.22,.61,.36,1); }
.talent-tile:hover { transform: translateY(-6px); }
.talent-tile-photo { position: relative; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: var(--bg); box-shadow: 0 10px 28px rgba(43,42,61,.10); }
.talent-tile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; transition: transform .6s cubic-bezier(.22,.61,.36,1); }
.talent-tile:hover .talent-tile-photo img { transform: scale(1.07); }
.talent-tile-photo .no-photo { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 13px; }
.talent-tile-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(43,42,61,.72)); opacity: 0; transition: opacity .3s; }
.talent-tile:hover .talent-tile-photo::after { opacity: 1; }
.talent-tile-age { position: absolute; top: 12px; left: 12px; z-index: 1; background: rgba(255,255,255,.92); color: var(--navy); font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px; backdrop-filter: blur(4px); }
.talent-tile-view {
    position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 1;
    display: flex; align-items: center; justify-content: space-between;
    background: var(--teal); color: #102b2c; font-size: 13px; font-weight: 700;
    padding: 11px 16px; border-radius: 999px;
    opacity: 0; transform: translateY(10px);
    transition: opacity .3s, transform .3s cubic-bezier(.22,.61,.36,1);
}
.talent-tile-view svg { width: 16px; height: 16px; }
.talent-tile:hover .talent-tile-view { opacity: 1; transform: none; }
.talent-tile-body { padding: 14px 4px 0; }
.talent-tile-body h3 { margin: 0 0 3px; font-size: 18px; font-weight: 700; color: var(--navy); }
.talent-tile-meta { margin: 0; font-size: 14px; color: var(--muted); }
.talent-tile-skills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.talent-tile-skills span { font-size: 12px; font-weight: 600; color: var(--teal-dark); background: rgba(47,212,214,.14); padding: 4px 10px; border-radius: 999px; }

.talent-empty { text-align: center; padding: 70px 20px; background: #fff; border: 1px dashed var(--border); border-radius: 20px; }
.talent-empty svg { width: 54px; height: 54px; color: var(--teal-dark); margin-bottom: 12px; }
.talent-empty h3 { margin: 0 0 8px; font-size: 22px; color: var(--navy); }
.talent-empty p { margin: 0 0 22px; color: var(--muted); }

@media (max-width: 1024px) { .talent-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) {
    .talent-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
    .page-hero-compact h1 { font-size: 34px; }
    .talent-filter, .talent-filter-search { flex: 1 1 100%; }
}
@media (max-width: 420px) { .talent-grid { grid-template-columns: 1fr; } }

/* Pagination (shared by every paginated list) */
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 44px; }
.pager-summary { margin: 0; font-size: 14px; color: var(--muted); }
.pager-summary strong { color: var(--navy); }
.pager-list { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.pager-link {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 40px; height: 40px; padding: 0 12px;
    border-radius: 12px; border: 1px solid var(--border);
    background: #fff; color: var(--navy); font-size: 14px; font-weight: 600; line-height: 1;
    transition: background .15s, color .15s, border-color .15s, transform .15s;
}
a.pager-link:hover { border-color: var(--teal); color: var(--teal-dark); transform: translateY(-2px); }
.pager-link.is-current { background: var(--navy); border-color: var(--navy); color: #fff; }
.pager-link.is-disabled { color: #b9b9c4; background: var(--bg); }
.pager-link.is-gap { border-color: transparent; background: transparent; min-width: 24px; padding: 0; }
.pagination { display: block; margin-top: 0; }
.pagination .pager { margin-top: 24px; }
@media (max-width: 760px) { .pager { justify-content: center; } }

/* Profile visibility choice */
.visibility-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.visibility-title { grid-column: 1 / -1; margin: 0; font-size: 13px; font-weight: 600; color: var(--navy); }
.visibility-option { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 1.5px solid var(--border); border-radius: 14px; cursor: pointer; background: #fff; transition: border-color .15s, background .15s, box-shadow .15s; }
.visibility-option:hover { border-color: var(--teal); }
.visibility-option input { margin-top: 4px; accent-color: var(--teal-dark); }
.visibility-option strong { display: block; font-size: 15px; color: var(--navy); margin-bottom: 3px; }
.visibility-option small { display: block; font-size: 13px; line-height: 1.5; color: var(--muted); }
.visibility-option:has(input:checked) { border-color: var(--teal); background: rgba(47,212,214,.08); box-shadow: 0 0 0 3px rgba(47,212,214,.15); }
@media (max-width: 700px) { .visibility-choice { grid-template-columns: 1fr; } }

/* ===== Individual talent profile ===== */
.profile-hero { padding: 36px 0 150px; }
.profile-back { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,.85); font-size: 14px; font-weight: 600; padding: 8px 16px 8px 10px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); transition: background .2s; }
.profile-back:hover { background: rgba(255,255,255,.2); color: #fff; }
.profile-back svg { width: 18px; height: 18px; }
.profile-section { padding-top: 0; margin-top: -110px; position: relative; z-index: 2; }
.profile-layout { display: grid; grid-template-columns: 360px 1fr; gap: 32px; align-items: start; }
.profile-side { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 20px; }

.profile-photo-card { background: #fff; border-radius: 24px; padding: 12px; box-shadow: 0 18px 50px rgba(43,42,61,.14); border: 1px solid var(--border); }
.profile-photo-main { position: relative; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: var(--bg); }
.profile-photo-main img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; cursor: zoom-in; transition: transform .6s cubic-bezier(.22,.61,.36,1); }
.profile-photo-main:hover img { transform: scale(1.03); }
.profile-photo-main .no-photo { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--muted); }
.profile-verified { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.94); color: #1c7a4d; font-size: 12px; font-weight: 700; padding: 6px 12px 6px 8px; border-radius: 999px; box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.profile-verified svg { width: 16px; height: 16px; }
.profile-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.profile-thumb { flex: 0 0 64px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; cursor: pointer; background: var(--bg); opacity: .65; transition: opacity .2s, border-color .2s; }
.profile-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.profile-thumb:hover, .profile-thumb.is-active { opacity: 1; }
.profile-thumb.is-active { border-color: var(--teal); }

.profile-cta-card { background: var(--navy); color: #fff; border-radius: 24px; padding: 26px; box-shadow: 0 18px 40px rgba(43,42,61,.25); }
.profile-cta-card h3 { margin: 0 0 8px; font-size: 20px; color: #fff; }
.profile-cta-card p { margin: 0 0 18px; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.75); }
.profile-cta-card .btn-block { display: block; text-align: center; padding: 14px 20px; border-radius: 999px; }
.profile-cta-link { display: block; text-align: center; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--teal); }
.profile-cta-link:hover { text-decoration: underline; }
.profile-share { display: flex; gap: 10px; margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); }
.profile-share-btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 12px; border-radius: 12px; border: 1px solid rgba(255,255,255,.22); background: transparent; color: #fff; font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: background .2s, border-color .2s; }
.profile-share-btn:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.4); }
.profile-share-btn svg { width: 17px; height: 17px; }

.profile-main { display: flex; flex-direction: column; gap: 20px; }
.profile-head { background: #fff; border-radius: 24px; padding: 32px; box-shadow: 0 18px 50px rgba(43,42,61,.10); border: 1px solid var(--border); }
.profile-head-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.profile-head h1 { margin: 0; font-size: 38px; letter-spacing: -.02em; color: var(--navy); }
.profile-unlisted { font-size: 12px; font-weight: 700; color: var(--warning); background: #fbf0dd; padding: 5px 12px; border-radius: 999px; }
.profile-location { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; color: var(--muted); font-size: 15px; }
.profile-location svg { width: 18px; height: 18px; color: var(--teal-dark); flex-shrink: 0; }
.profile-skills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.profile-skills span { font-size: 13px; font-weight: 600; color: var(--teal-dark); background: rgba(47,212,214,.14); padding: 7px 14px; border-radius: 999px; }

.profile-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.profile-stat { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 18px 20px; text-align: center; box-shadow: 0 8px 22px rgba(43,42,61,.06); transition: transform .25s, box-shadow .25s; }
.profile-stat:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(43,42,61,.12); }
.profile-stat strong { display: block; font-size: 22px; font-weight: 800; color: var(--navy); }
.profile-stat span { font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }

.profile-block { background: #fff; border: 1px solid var(--border); border-radius: 24px; padding: 28px 32px; box-shadow: 0 8px 22px rgba(43,42,61,.05); }
.profile-block h2 { margin: 0 0 12px; font-size: 20px; color: var(--navy); }
.profile-block p { margin: 0; font-size: 15.5px; line-height: 1.75; color: #4a4a58; }
.profile-block-split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; }
.profile-languages { display: flex; flex-wrap: wrap; gap: 8px; }
.profile-languages span { font-size: 13px; font-weight: 600; color: var(--navy); background: var(--bg); border: 1px solid var(--border); padding: 7px 14px; border-radius: 999px; }

.profile-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.profile-gallery-item { padding: 0; border: none; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 5; cursor: zoom-in; background: var(--bg); }
.profile-gallery-item img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; transition: transform .5s cubic-bezier(.22,.61,.36,1); }
.profile-gallery-item:hover img { transform: scale(1.08); }
.profile-videos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.profile-videos video { width: 100%; border-radius: 14px; background: #000; }

.profile-similar { margin-top: 72px; }
.profile-similar .section-title { margin-bottom: 28px; }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(15,15,25,.92); display: flex; align-items: center; justify-content: center; padding: 40px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(92vw, 900px); max-height: 88vh; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox-close, .lightbox-nav { position: absolute; background: rgba(255,255,255,.12); border: none; color: #fff; cursor: pointer; border-radius: 50%; width: 46px; height: 46px; font-size: 28px; line-height: 1; transition: background .2s; }
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255,255,255,.25); }
.lightbox-close { top: 20px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }

@media (max-width: 960px) {
    .profile-layout { grid-template-columns: 1fr; }
    .profile-side { position: static; }
    .profile-photo-card { max-width: 420px; margin: 0 auto; width: 100%; }
    .profile-cta-card { max-width: 420px; margin: 0 auto; width: 100%; }
    .profile-stats { grid-template-columns: repeat(2, 1fr); }
    .profile-block-split { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 560px) {
    .profile-head { padding: 24px 20px; }
    .profile-head h1 { font-size: 30px; }
    .profile-block { padding: 22px 20px; }
    .profile-gallery { grid-template-columns: repeat(2, 1fr); }
    .profile-videos { grid-template-columns: 1fr; }
}
.profile-hero .container { text-align: left; }
.profile-section { overflow-x: clip; }

/* ===== Casting calls: listing + detail ===== */
.cl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px; }
.cl-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: 22px; overflow: hidden; color: inherit; box-shadow: 0 8px 24px rgba(43,42,61,.06); transition: transform .3s cubic-bezier(.22,.61,.36,1), box-shadow .3s; }
.cl-card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(43,42,61,.14); }
.cl-card-poster { position: relative; aspect-ratio: 16 / 10; background: var(--navy); overflow: hidden; }
.cl-card-poster img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.22,.61,.36,1); }
.cl-card:hover .cl-card-poster img { transform: scale(1.06); }
.cl-card-fallback { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.35); background: radial-gradient(circle at 30% 20%, var(--navy-light), var(--navy)); }
.cl-card-fallback svg { width: 64px; height: 64px; }
.cl-card-flags { position: absolute; top: 12px; right: 12px; display: flex; gap: 6px; }
.cl-flag { font-size: 11px; font-weight: 700; padding: 5px 11px; border-radius: 999px; }
.cl-flag-new { background: var(--teal); color: #102b2c; }
.cl-flag-soon { background: #fbf0dd; color: #a06a1a; }
.cl-card-role { position: absolute; left: 12px; bottom: 12px; background: rgba(255,255,255,.94); color: var(--navy); font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.cl-card-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.cl-card-body h3 { margin: 0 0 8px; font-size: 19px; line-height: 1.3; color: var(--navy); }
.cl-card-desc { margin: 0 0 14px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.cl-card-meta { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.cl-card-meta li { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: #4a4a58; }
.cl-card-meta svg { width: 17px; height: 17px; color: var(--teal-dark); flex-shrink: 0; }
.cl-card-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cl-card-deadline { font-size: 13px; font-weight: 600; color: var(--muted); }
.cl-card-apply { display: inline-flex; align-items: center; gap: 8px; background: var(--navy); color: #fff; font-size: 13px; font-weight: 700; padding: 9px 9px 9px 18px; border-radius: 999px; transition: background .2s; }
.cl-card-apply svg { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: var(--teal); color: var(--navy); transition: transform .25s cubic-bezier(.22,.61,.36,1); }
.cl-card:hover .cl-card-apply svg { transform: rotate(45deg); }

.cd-layout { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }
.cd-main { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.cd-head { background: #fff; border: 1px solid var(--border); border-radius: 24px; overflow: hidden; box-shadow: 0 18px 50px rgba(43,42,61,.10); }
.cd-poster { aspect-ratio: 16 / 7; background: var(--bg); }
.cd-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cd-head-body { padding: 28px 32px 30px; }
.cd-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.cd-badge { font-size: 12px; font-weight: 700; padding: 6px 13px; border-radius: 999px; background: var(--bg); color: var(--navy); border: 1px solid var(--border); }
.cd-badge-teal { background: rgba(47,212,214,.14); color: var(--teal-dark); border-color: transparent; }
.cd-badge-open { background: #e3f8ee; color: #1c7a4d; border-color: transparent; }
.cd-badge-closed { background: #fbe6e5; color: var(--danger); border-color: transparent; }
.cd-head h1 { margin: 0 0 8px; font-size: 36px; line-height: 1.2; letter-spacing: -.02em; color: var(--navy); }
.cd-posted { margin: 0; font-size: 14px; color: var(--muted); }
.cd-posted strong { color: var(--navy); }

.cd-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.cd-fact { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 18px 20px; box-shadow: 0 8px 22px rgba(43,42,61,.05); }
.cd-fact-icon { width: 46px; height: 46px; flex-shrink: 0; border-radius: 14px; background: rgba(47,212,214,.14); color: var(--teal-dark); display: flex; align-items: center; justify-content: center; }
.cd-fact-icon svg { width: 23px; height: 23px; }
.cd-fact span { display: block; }
.cd-fact div span { font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.cd-fact strong { font-size: 16px; color: var(--navy); }

.cd-side { position: sticky; top: 24px; }
.cd-deadline { display: inline-block; margin-bottom: 16px; font-size: 12px; font-weight: 700; padding: 6px 13px; border-radius: 999px; background: rgba(47,212,214,.18); color: var(--teal); }
.cd-deadline.is-closed { background: rgba(224,82,77,.2); color: #ff9a96; }
.cd-label { display: block; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.85); margin-bottom: 8px; }
.cd-apply textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: #fff; font-family: inherit; font-size: 14px; resize: vertical; margin-bottom: 14px; }
.cd-apply textarea::placeholder { color: rgba(255,255,255,.45); }
.cd-apply textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(47,212,214,.25); }
.cd-apply form { margin: 0; }

@media (max-width: 1024px) { .cl-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 960px) {
    .cd-layout { grid-template-columns: 1fr; }
    .cd-side { position: static; order: -1; }
}
@media (max-width: 640px) {
    .cl-grid { grid-template-columns: 1fr; }
    .cd-facts { grid-template-columns: 1fr; }
    .cd-head-body { padding: 22px 20px 24px; }
    .cd-head h1 { font-size: 28px; }
}

/* ===== Talent profile editor (tabs) ===== */
.pf-header { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: 24px 28px; margin-bottom: 18px; box-shadow: 0 10px 30px rgba(43,42,61,.06); }
.pf-avatar { width: 84px; height: 84px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--teal); color: #102b2c; display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 800; border: 4px solid #fff; box-shadow: 0 0 0 2px var(--teal); }
.pf-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.pf-header-info { flex: 1; min-width: 200px; }
.pf-header-info h1 { margin: 0 0 8px; font-size: 26px; color: var(--navy); }
.pf-pills { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.pf-vis-pill { font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: var(--bg); color: var(--navy); border: 1px solid var(--border); }
.pf-view-link { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--teal-dark); }
.pf-view-link:hover { text-decoration: underline; }
.pf-strength { width: 260px; max-width: 100%; }
.pf-strength-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.pf-strength-top strong { font-size: 20px; color: var(--navy); }
.pf-bar { height: 8px; background: var(--border); border-radius: 999px; overflow: hidden; }
.pf-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), var(--teal-dark)); border-radius: 999px; transition: width .8s cubic-bezier(.22,.61,.36,1); }
.pf-strength p { margin: 8px 0 0; font-size: 12.5px; color: var(--muted); }

.pf-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 6px; background: #fff; border: 1px solid var(--border); border-radius: 18px; margin-bottom: 18px; box-shadow: 0 6px 18px rgba(43,42,61,.05); }
.pf-tab { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; border: none; background: transparent; font-family: inherit; font-size: 14px; font-weight: 600; color: var(--muted); padding: 11px 16px; border-radius: 13px; cursor: pointer; transition: background .2s, color .2s; }
.pf-tab svg { width: 19px; height: 19px; }
.pf-tab:hover { background: var(--bg); color: var(--navy); }
.pf-tab.is-active { background: var(--navy); color: #fff; box-shadow: 0 6px 16px rgba(43,42,61,.25); }
.pf-tab em { font-style: normal; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: rgba(47,212,214,.18); color: var(--teal-dark); }
.pf-tab.is-active em { background: var(--teal); color: #102b2c; }

.pf-panel { background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: 30px 32px; box-shadow: 0 10px 30px rgba(43,42,61,.06); margin-bottom: 18px; }
.pf-panel[hidden] { display: none; }
.pf-panel.is-switching { animation: fade-up .45s cubic-bezier(.22,.61,.36,1) both; }
.pf-panel-head { margin-bottom: 24px; }
.pf-panel-head h2 { margin: 0 0 4px; font-size: 21px; color: var(--navy); }
.pf-panel-head p { margin: 0; font-size: 14px; color: var(--muted); }
.pf-panel-head-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.pf-count { font-size: 13px; font-weight: 700; padding: 6px 14px; border-radius: 999px; background: rgba(47,212,214,.14); color: var(--teal-dark); }

.pf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.pf-full { grid-column: 1 / -1; }
.pf-field label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.pf-field input, .pf-field select, .pf-field textarea { width: 100%; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--border); background: #fafafc; font-family: inherit; font-size: 15px; transition: border-color .15s, box-shadow .15s, background .15s; }
.pf-field textarea { resize: vertical; line-height: 1.6; }
.pf-field input:focus, .pf-field select:focus, .pf-field textarea:focus { outline: none; background: #fff; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(47,212,214,.18); }
.pf-field small { display: block; margin-top: 6px; font-size: 12px; color: var(--muted); }

.pf-savebar { position: sticky; bottom: 16px; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--navy); color: rgba(255,255,255,.8); font-size: 13.5px; padding: 12px 14px 12px 24px; border-radius: 999px; box-shadow: 0 14px 34px rgba(43,42,61,.3); margin-bottom: 18px; }
.pf-savebar[hidden] { display: none; }
.pf-savebar .btn { padding: 12px 28px; border-radius: 999px; }

.pf-upload { display: flex; gap: 14px; align-items: stretch; margin-bottom: 24px; }
.pf-drop { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 26px 16px; border: 2px dashed var(--border); border-radius: 16px; background: #fafafc; text-align: center; cursor: pointer; transition: border-color .2s, background .2s; }
.pf-drop:hover, .pf-drop.has-file { border-color: var(--teal); background: rgba(47,212,214,.06); }
.pf-drop svg { width: 30px; height: 30px; color: var(--teal-dark); }
.pf-drop strong { font-size: 15px; color: var(--navy); }
.pf-drop span { font-size: 13px; color: var(--muted); word-break: break-all; }
.pf-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.pf-upload .btn { align-self: center; padding: 14px 30px; border-radius: 999px; }

.pf-media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.pf-media-grid-video { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.pf-media { position: relative; border-radius: 16px; overflow: hidden; background: var(--bg); border: 1px solid var(--border); aspect-ratio: 4 / 5; }
.pf-media-grid-video .pf-media { aspect-ratio: 16 / 10; }
.pf-media img, .pf-media video { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.pf-cover-badge { position: absolute; top: 10px; left: 10px; background: var(--teal); color: #102b2c; font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.pf-media-status { position: absolute; top: 10px; right: 10px; }
.pf-media-actions { position: absolute; left: 0; right: 0; bottom: 0; display: flex; gap: 6px; justify-content: center; padding: 28px 10px 10px; background: linear-gradient(180deg, transparent, rgba(43,42,61,.85)); opacity: 0; transition: opacity .25s; }
.pf-media:hover .pf-media-actions, .pf-media:focus-within .pf-media-actions { opacity: 1; }
.pf-media-actions button { border: none; cursor: pointer; font-family: inherit; font-size: 12px; font-weight: 700; padding: 7px 12px; border-radius: 999px; background: #fff; color: var(--navy); }
.pf-media-actions button.is-danger { background: var(--danger); color: #fff; }
.pf-empty { margin: 0; text-align: center; padding: 34px 16px; border-radius: 14px; background: var(--bg); color: var(--muted); font-size: 14px; }

@media (max-width: 760px) {
    .pf-grid { grid-template-columns: 1fr; }
    .pf-panel { padding: 22px 18px; }
    .pf-upload { flex-direction: column; }
    .pf-strength { width: 100%; }
    .pf-savebar { border-radius: 18px; padding: 12px 14px; }
    .pf-savebar span { display: none; }
    .pf-savebar .btn { width: 100%; }
    .pf-media-actions { opacity: 1; }
}
.pf-tabs { scrollbar-width: thin; }

/* ===== Photo source choice, camera and crop modals ===== */
.pf-photo-form { margin-bottom: 24px; }
.pf-source { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pf-source-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 26px 16px; border: 2px dashed var(--border); border-radius: 18px; background: #fafafc; cursor: pointer; font-family: inherit; text-align: center; transition: border-color .2s, background .2s, transform .2s, box-shadow .2s; }
.pf-source-card:hover:not(:disabled) { border-color: var(--teal); background: rgba(47,212,214,.07); transform: translateY(-3px); box-shadow: 0 12px 26px rgba(43,42,61,.08); }
.pf-source-card:disabled { opacity: .5; cursor: not-allowed; }
.pf-source-icon { width: 52px; height: 52px; border-radius: 16px; background: rgba(47,212,214,.16); color: var(--teal-dark); display: flex; align-items: center; justify-content: center; margin-bottom: 8px; transition: background .2s, color .2s; }
.pf-source-icon svg { width: 26px; height: 26px; }
.pf-source-card:hover:not(:disabled) .pf-source-icon { background: var(--teal); color: #102b2c; }
.pf-source-card strong { font-size: 16px; color: var(--navy); }
.pf-source-card span:last-child { font-size: 13px; color: var(--muted); }
.pf-hint { margin: 12px 0 0; font-size: 13px; color: var(--muted); text-align: center; }

.pf-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(15,15,25,.78); backdrop-filter: blur(3px); }
.pf-modal[hidden] { display: none; }
.pf-modal-card { width: 100%; max-width: 560px; max-height: calc(100vh - 40px); overflow-y: auto; background: #fff; border-radius: 22px; box-shadow: 0 30px 80px rgba(0,0,0,.45); animation: fade-up .35s cubic-bezier(.22,.61,.36,1) both; }
.pf-modal-wide { max-width: 760px; }
.pf-modal-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--border); }
.pf-modal-head h3 { margin: 0; font-size: 18px; color: var(--navy); }
.pf-modal-close { width: 36px; height: 36px; border: none; border-radius: 50%; background: var(--bg); color: var(--navy); font-size: 24px; line-height: 1; cursor: pointer; }
.pf-modal-close:hover { background: var(--border); }
.pf-modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 22px 20px; }
.pf-modal-foot .btn { padding: 12px 26px; border-radius: 999px; }

.pf-camera { position: relative; background: #0f0f19; aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; }
.pf-camera video { width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-camera video.is-mirrored { transform: scaleX(-1); }
.pf-camera-msg { margin: 0; padding: 24px; text-align: center; color: rgba(255,255,255,.85); font-size: 14px; line-height: 1.6; }
.pf-camera-foot { justify-content: space-between; align-items: center; }
.pf-shutter { width: 66px; height: 66px; border-radius: 50%; border: 4px solid var(--navy); background: #fff; padding: 4px; cursor: pointer; transition: transform .15s; }
.pf-shutter span { display: block; width: 100%; height: 100%; border-radius: 50%; background: var(--teal); }
.pf-shutter:hover { transform: scale(1.06); }
.pf-shutter:active { transform: scale(.94); }
.pf-camera-foot .pf-tool:first-child { visibility: visible; }

.pf-crop-stage { height: min(52vh, 460px); background: #1c1c28; }
.pf-crop-stage img { display: block; max-width: 100%; }
.pf-crop-tools { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 16px 22px 4px; }
.pf-tool-group { display: flex; flex-wrap: wrap; gap: 6px; }
.pf-tool { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--border); background: #fff; color: var(--navy); font-family: inherit; font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 999px; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.pf-tool svg { width: 17px; height: 17px; }
.pf-tool:hover { border-color: var(--teal); color: var(--teal-dark); }
.pf-tool.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.pf-tool-icon { padding: 8px 10px; }
.pf-crop-note { margin: 10px 22px 0; font-size: 12.5px; color: var(--muted); }
.cropper-view-box { outline: 2px solid var(--teal); outline-color: var(--teal); }
.cropper-line, .cropper-point { background-color: var(--teal); }
.cropper-point { width: 9px; height: 9px; opacity: 1; }
.cropper-point.point-e { margin-top: -4px; right: -4px; } .cropper-point.point-w { margin-top: -4px; left: -4px; }
.cropper-point.point-n { margin-left: -4px; top: -4px; } .cropper-point.point-s { margin-left: -4px; bottom: -4px; }
.cropper-point.point-ne { top: -4px; right: -4px; } .cropper-point.point-nw { top: -4px; left: -4px; }
.cropper-point.point-se { bottom: -4px; right: -4px; } .cropper-point.point-sw { bottom: -4px; left: -4px; }

@media (max-width: 560px) {
    .pf-source { grid-template-columns: 1fr; }
    .pf-crop-stage { height: 46vh; }
    .pf-modal { padding: 10px; }
    .pf-modal-foot .btn { flex: 1; }
}
.pf-tool[hidden] { display: none; }
.pf-shutter:disabled { opacity: .35; cursor: not-allowed; transform: none; }

/* ===== Small screens: keep the header on one row and shrink button text ===== */
@media (max-width: 600px) {
    .topnav-inner { padding: 14px 16px; gap: 10px; }
    .brand-logo { height: 30px; }
    .nav-actions { gap: 8px; flex-shrink: 0; }
    .topnav .btn {
        font-size: 11px;
        height: 36px;
        padding: 0 14px;
        letter-spacing: .02em;
        white-space: nowrap;
    }
    .nav-actions form { margin: 0; display: flex; }

    .btn { font-size: 13px; padding: 9px 18px; }
    .btn-sm { font-size: 12px; padding: 6px 12px; }

    .hero-actions { gap: 12px; }
    .hero-actions .btn { font-size: 12px; padding: 14px 24px; min-width: 210px; }
    .hero h1 { font-size: 32px; }

    .btn-arrow { font-size: 12px; padding: 6px 6px 6px 22px; gap: 14px; }
    .btn-arrow .jobs-arrow { width: 36px; height: 36px; }
    .cl-card-apply { font-size: 12px; }
}
