/* StageOS Actors "glass" look (Steve 29 Nov 2026 06:14: visually stunning, the calm feel of a phone settings
   screen, our own design). StageOS's own font, colours and Bootstrap Icons only: no Apple fonts, icons or layouts.
   One accent (the acting violet). Light on the phone: no web fonts, no images, CSS only. */
.ag {
    --ag-accent-rgb: 183, 148, 244;
    --ag-on-accent: #1a1026;
    --ag-accent: #B794F4;
    --ag-accent-soft: rgba(var(--ag-accent-rgb), 0.16);
    --ag-card: rgba(255, 255, 255, 0.055);
    --ag-card-border: rgba(255, 255, 255, 0.10);
    --ag-muted: rgba(255, 255, 255, 0.68);
    --ag-radius: 24px;
    position: relative;
    isolation: isolate;
}
.ag::before {
    content: "";
    position: absolute;
    inset: -40px 0 auto 0;
    height: 420px;
    z-index: -1;
    background: radial-gradient(60% 70% at 50% 0%, rgba(var(--ag-accent-rgb), 0.22), transparent 70%);
    pointer-events: none;
}
.ag-eyebrow { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ag-accent); font-weight: 600; }
.ag-hero h1 { font-size: clamp(2rem, 6vw, 3.25rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.08; }
.ag-lead { font-size: clamp(1.05rem, 2.6vw, 1.3rem); color: var(--ag-muted); max-width: 40rem; margin-inline: auto; }
.ag-card {
    background: var(--ag-card);
    border: 1px solid var(--ag-card-border);
    border-radius: var(--ag-radius);
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}
.ag-group { border-radius: var(--ag-radius); overflow: hidden; border: 1px solid var(--ag-card-border); background: var(--ag-card); }
.ag-row { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.25rem; }
.ag-row + .ag-row { border-top: 1px solid var(--ag-card-border); }
.ag-icon {
    flex: 0 0 2.5rem; height: 2.5rem; border-radius: 12px; display: grid; place-items: center;
    background: var(--ag-accent-soft); color: var(--ag-accent); font-size: 1.2rem;
}
.ag-row h3, .ag-row h2 { font-size: 1.05rem; font-weight: 700; margin: 0 0 .2rem; }
.ag-row p { margin: 0; color: var(--ag-muted); }
.ag-btn {
    display: inline-flex; align-items: center; gap: .5rem; border-radius: 999px; padding: .85rem 1.6rem;
    font-weight: 700; font-size: 1.05rem; background: var(--ag-accent); color: var(--ag-on-accent); text-decoration: none;
    box-shadow: 0 8px 24px rgba(var(--ag-accent-rgb), 0.35); transition: transform .15s ease, box-shadow .15s ease;
}
.ag-btn:hover, .ag-btn:focus-visible { color: var(--ag-on-accent); transform: translateY(-1px); box-shadow: 0 10px 28px rgba(var(--ag-accent-rgb), 0.45); }
.ag-chip {
    display: inline-flex; align-items: center; gap: .4rem; border-radius: 999px; padding: .45rem 1rem;
    border: 1px solid var(--ag-card-border); background: rgba(255, 255, 255, 0.06); color: inherit; text-decoration: none;
}
.ag-chip:hover { background: rgba(255, 255, 255, 0.12); color: inherit; }
.ag-faq details { padding: 1rem 1.25rem; }
.ag-faq details + details { border-top: 1px solid var(--ag-card-border); }
.ag-faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.ag-faq summary::-webkit-details-marker { display: none; }
.ag-faq summary::after { content: "+"; color: var(--ag-accent); font-weight: 800; }
.ag-faq details[open] summary::after { content: "\2212"; }
.ag-faq details p { margin: .6rem 0 0; color: var(--ag-muted); }
.ag-fade { animation: ag-fade .6s ease both; }
.ag-fade-2 { animation-delay: .08s; }
.ag-fade-3 { animation-delay: .16s; }
@keyframes ag-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ag-fade { animation: none; } .ag-btn { transition: none; } }

/* ---- Actor profile (FR-ACT-LOOK-001) ---- */
.ag-profile-hero { position: relative; border-radius: 32px; overflow: hidden; padding: 1.25rem; isolation: isolate; }
.ag-profile-hero .ag-backdrop {
    position: absolute; inset: -40px; z-index: -1; background-size: cover; background-position: center 25%;
    filter: blur(40px) saturate(1.3); opacity: .45; transform: scale(1.1);
}
.ag-profile-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 8, 18, .15), rgba(10, 8, 18, .75)); }
.ag-headshot { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 24px; box-shadow: 0 18px 40px rgba(0, 0, 0, .45); display: block; }
.ag-name { font-size: clamp(2.1rem, 7vw, 3.4rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.02; margin: 0 0 .35rem; }
.ag-sub { color: var(--ag-muted); font-size: 1.05rem; }
.ag-sub a { color: inherit; text-decoration-color: rgba(255, 255, 255, .35); }
.ag-facts { margin: 0; }
.ag-facts .ag-row { justify-content: space-between; align-items: center; padding: .8rem 1.1rem; }
.ag-facts dt { font-weight: 600; color: var(--ag-muted); font-size: .95rem; margin: 0; }
.ag-facts dd { margin: 0; font-weight: 600; text-align: right; }
.ag-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.ag-actions .ag-btn { padding: .7rem 1.3rem; font-size: 1rem; }
.ag-section-title { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.01em; margin: 0 0 .75rem; }
.ag-media { border-radius: 20px; overflow: hidden; background: #000; }
.ag-media video, .ag-media iframe { display: block; width: 100%; border: 0; }
.ag-credit .ag-credit-title { font-weight: 700; font-size: 1.05rem; }
.ag-credit .ag-credit-meta { color: var(--ag-muted); font-size: .95rem; }
.ag-credit .ag-year { flex: 0 0 3.5rem; font-weight: 700; color: var(--ag-accent); font-variant-numeric: tabular-nums; }
.ag-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; display: block; }
.ag-sticky-bar { display: none; }
@media (max-width: 767.98px) {
    .ag-sticky-bar {
        display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 1030; padding: .5rem;
        border-radius: 999px; background: rgba(20, 16, 32, .72); border: 1px solid var(--ag-card-border);
        -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
    }
    .ag-sticky-bar .ag-btn { flex: 1; justify-content: center; }
    .ag-has-sticky { padding-bottom: 5.5rem !important; }
}

/* ---- Forms: join, start step, CV upload (FR-ACT-LOOK-001) ---- */
.ag .form-control, .ag .form-select {
    border-radius: 14px; padding: .75rem 1rem; background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--ag-card-border); color: inherit;
}
.ag .form-control:focus, .ag .form-select:focus { border-color: var(--ag-accent); box-shadow: 0 0 0 4px var(--ag-accent-soft); background: rgba(255, 255, 255, 0.08); color: inherit; }
.ag .form-control::placeholder { color: rgba(255, 255, 255, 0.4); }
.ag .form-label { font-weight: 600; font-size: .95rem; margin-bottom: .35rem; }
.ag .form-text { color: var(--ag-muted); }
.ag .form-check-input { width: 1.35em; height: 1.35em; margin-top: .1em; border-radius: 7px; }
.ag .form-check-input:checked { background-color: var(--ag-accent); border-color: var(--ag-accent); }
.ag-steps { display: inline-flex; gap: .4rem; align-items: center; color: var(--ag-muted); font-size: .85rem; font-weight: 600; }
.ag-steps .ag-dot { width: .55rem; height: .55rem; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.ag-steps .ag-dot.on { background: var(--ag-accent); width: 1.4rem; border-radius: 999px; }
.ag-btn-block { width: 100%; justify-content: center; border: 0; }
.ag-btn-ghost {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border-radius: 999px; padding: .75rem 1.4rem;
    font-weight: 700; border: 1px solid var(--ag-card-border); background: rgba(255, 255, 255, 0.06); color: inherit;
}
.ag-btn-ghost:hover { background: rgba(255, 255, 255, 0.12); color: inherit; }
.ag-divider { display: flex; align-items: center; gap: .75rem; color: var(--ag-muted); font-size: .9rem; margin: 1.25rem 0; }
.ag-divider::before, .ag-divider::after { content: ""; flex: 1; height: 1px; background: var(--ag-card-border); }
.ag-perks { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin: 0; padding: 0; list-style: none; }
.ag-perks li { display: inline-flex; align-items: center; gap: .35rem; font-size: .9rem; color: var(--ag-muted); }
.ag-perks i { color: var(--ag-accent); }
.ag .form-label, .ag .form-check-label { text-transform: none; letter-spacing: 0; }
.ag .form-check-label { margin-left: .35rem; }

/* ---- Actor cards, directory, acting home (FR-ACT-LOOK-001) ---- */
.ag-actor-card {
    display: block; height: 100%; border-radius: 22px; overflow: hidden; text-decoration: none; color: inherit;
    background: var(--ag-card); border: 1px solid var(--ag-card-border); box-shadow: 0 10px 26px rgba(0, 0, 0, .25);
    transition: transform .18s ease, box-shadow .18s ease;
}
.ag-actor-card:hover, .ag-actor-card:focus-visible { color: inherit; transform: translateY(-2px); box-shadow: 0 16px 34px rgba(0, 0, 0, .35); }
.ag-actor-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.ag-actor-card .ag-card-body { padding: .75rem .9rem .9rem; }
.ag-actor-card .ag-card-name { font-weight: 700; font-size: 1.02rem; line-height: 1.2; }
.ag-actor-card .ag-card-meta { color: var(--ag-muted); font-size: .85rem; }
.ag-place-chip { margin: 0 .35rem .45rem 0; }
.ag-step { display: flex; gap: 1rem; align-items: flex-start; }
.ag-panel { background: var(--ag-accent-soft); border: 1px solid rgba(var(--ag-accent-rgb), .4); border-radius: var(--ag-radius); padding: 1.25rem 1.4rem; }
@media (prefers-reduced-motion: reduce) { .ag-actor-card { transition: none; } }
.ag-btn-ghost, .ag-chip, .ag-btn { text-decoration: none; }

/* ---- Auditions (FR-ACT-LOOK-001) ---- */
.ag-call { text-decoration: none; color: inherit; align-items: center; }
.ag-call:hover { background: rgba(255, 255, 255, 0.04); color: inherit; }
.ag-call .ag-call-title { font-weight: 700; font-size: 1.08rem; }
.ag-call .ag-call-meta { color: var(--ag-muted); font-size: .92rem; }
.ag-call .ag-call-date { margin-left: auto; text-align: right; font-size: .85rem; color: var(--ag-muted); white-space: nowrap; }
.ag-call .ag-call-date strong { display: block; color: inherit; font-size: 1rem; }
.ag-pill { display: inline-block; border-radius: 999px; padding: .15rem .6rem; font-size: .78rem; font-weight: 700; background: var(--ag-accent-soft); color: var(--ag-accent); }
.ag-pill-muted { background: rgba(255, 255, 255, .08); color: var(--ag-muted); }
.ag-chip.active { background: var(--ag-accent); color: var(--ag-on-accent); border-color: var(--ag-accent); }
/* Music side (FR-MUS-LOOK-001, 29 Nov 2026): the same look in StageOS green. Pages add "ag-music" next to "ag". */
.ag.ag-music { --ag-accent: #39ff14; --ag-accent-rgb: 57, 255, 20; --ag-on-accent: #04140a; }
.ag-music .stageos-step-one [data-testid="register-terms"] a { color: var(--ag-accent); }
