/* Avision Talents: the pieces a talent roster needs, on top of the Avision Media system (system.css, site.css).
   Same tokens (--ember, --hair, --soft, --card, --ease-out), same Figtree type, same radii. */

.pt-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
button.link { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }

/* 1. Hero additions: the kicker line and the three proof points ------------------------------------------------ */
.kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 clamp(18px, 2.4vw, 28px); font: 500 14px/1.4 var(--font-text); letter-spacing: .01em; color: var(--soft); }
.kicker::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 4px color-mix(in oklab, var(--ember) 22%, transparent); }
.hero-points { list-style: none; margin: clamp(28px, 4.5vh, 48px) 0 0; padding: 20px 0 0; border-top: 1px solid var(--hair); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 32px; font-size: 15px; line-height: 1.5; color: var(--soft); }
.hero-points b { color: var(--ink); font-weight: 500; }
@media (max-width: 767px) { .hero-points { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: no-preference) {
  html.sm-js .hero-x .kicker, html.sm-js .hero-points { animation: at-rise 1s var(--ease-out) both; }
  html.sm-js .hero-points { animation-delay: .9s; }
}
@keyframes at-rise { from { opacity: 0; transform: translateY(14px); } }

/* 2. Nav: the shortlist link and its count --------------------------------------------------------------------- */
.sl-link { display: inline-flex; align-items: center; gap: 8px; font: 500 15px/1 var(--font-text); color: var(--ink); text-decoration: none; white-space: nowrap; transition: color .3s; }
.sl-link:hover { color: var(--ember); }
.sl-count { min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; display: inline-grid; place-items: center; background: var(--ember); color: #0a0a0a; font: 600 12px/1 var(--font-text); font-variant-numeric: tabular-nums; transition: background-color .3s, color .3s; }
.sl-count.is-empty { background: color-mix(in oklab, #f2f1ee 12%, transparent); color: var(--soft); }
.bump { animation: at-bump .5s var(--ease-out); }
@keyframes at-bump { 40% { transform: scale(1.28); } }
@media (max-width: 1199px) { .nav__actions .sl-link { display: none; } }

/* 3. The language strip: words instead of logos ---------------------------------------------------------------- */
.marquee--words .marquee__list { gap: clamp(28px, 3vw, 48px); }
.marquee--words .marquee__item { height: 64px; display: flex; align-items: center; gap: clamp(28px, 3vw, 48px); }
.marquee--words .marquee__item::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ember); opacity: .8; }
.marquee--words .marquee__name { font: 400 clamp(28px, 3.2vw, 46px)/1 var(--font-display); letter-spacing: -0.03em; opacity: .5; }

/* 4. Tables: the comparison column, and labels on a phone where the head row is hidden --------------------------- */
.table-x--vs thead th:nth-child(2) { color: var(--ember); }
.table-x--vs tbody td:nth-child(2) { position: relative; }
@media (max-width: 767px) {
  .table-x--labelled td::before { content: attr(data-label); display: block; margin: 8px 0 2px; font: 500 12px/1.4 var(--font-text); letter-spacing: .02em; color: var(--soft); }
  .table-x--vs td:nth-child(2)::before { color: var(--ember); }
}
.svc-index .count { display: block; margin-top: 8px; font-size: 14px; color: var(--ember); }

/* 5. The talent card and its portrait -------------------------------------------------------------------------- */
.faces { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 16px; }
@media (max-width: 1023px) { .faces { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .faces { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; } }
.faces + .note { margin-top: 32px; }
.face { position: relative; min-width: 0; }
.face__link { display: flex; flex-direction: column; gap: 16px; color: var(--ink); text-decoration: none; border-radius: 14px; }
.face__link:focus-visible { outline: 2px solid var(--ember); outline-offset: 4px; }
.face__meta { display: grid; gap: 3px; min-width: 0; }
.face__name { font: 400 clamp(19px, 1.6vw, 23px)/1.2 var(--font-display); letter-spacing: -0.015em; transition: color .3s; }
.face__facts { font-size: 15px; }
.face__type { font-size: 14px; color: var(--soft); }
.face__langs { margin-top: 8px; font: 500 11px/1.4 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .12em; color: var(--soft); }
@media (max-width: 519px) { .face__facts, .face__type { font-size: 13.5px; } }

.portrait { position: relative; display: block; aspect-ratio: 4 / 5; max-width: 100%; border-radius: 14px; overflow: hidden; isolation: isolate; color: var(--glow, var(--ember)); background: #0b0b0b; }
.portrait::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .82;
  background:
    radial-gradient(40% 32% at 50% 37%, color-mix(in oklab, currentColor 62%, transparent), transparent 100%),
    radial-gradient(120% 55% at 50% 112%, color-mix(in oklab, currentColor 26%, transparent), transparent 70%),
    linear-gradient(180deg, #141414, #0a0a0a);
  transition: opacity .7s var(--ease-out), transform 1.1s var(--ease-out);
}
.portrait::after { content: ""; position: absolute; inset: 12px; z-index: 2; border: 1px solid rgba(255, 255, 255, .12); border-radius: 6px; pointer-events: none; }
.portrait__art { position: absolute; inset: 0; width: 100%; height: 100%; display: block; transform-origin: 50% 100%; transition: transform 1.1s var(--ease-out); }
.portrait__code { position: absolute; z-index: 3; left: 24px; top: 24px; font: 500 11px/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .1em; color: rgba(255, 255, 255, .72); font-variant-numeric: tabular-nums; }
@media (max-width: 519px) { .portrait__code { left: 20px; top: 20px; font-size: 10px; } }
@media (hover: hover) {
  .face__link:hover .face__name { color: var(--ember); }
  .face__link:hover .portrait::before { opacity: 1; transform: scale(1.08); }
  .face__link:hover .portrait__art { transform: scale(1.035); }
}

.pick { position: absolute; z-index: 4; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .2); background: rgba(10, 10, 10, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #f2f1ee; cursor: pointer; transition: background-color .3s, border-color .3s, color .3s, transform .5s var(--ease-out); }
.pick svg { width: 16px; height: 16px; }
.pick:hover { border-color: var(--ember); transform: scale(1.07); }
.pick[aria-pressed="true"] { background: var(--ember); border-color: var(--ember); color: #0a0a0a; }
.pick:focus-visible { outline: 2px solid var(--ember); outline-offset: 2px; }
@media (max-width: 519px) { .pick { top: 14px; right: 14px; width: 34px; height: 34px; } }

/* the profile's viewfinder and portfolio slots */
.viewfinder--portrait { aspect-ratio: 4 / 5; }
.hero-s__side .viewfinder--portrait { max-width: 500px; margin-left: auto; }
@media (max-width: 1023px) { .hero-s__side .viewfinder--portrait { max-width: 440px; margin-left: 0; } }
.viewfinder .portrait { position: absolute; inset: 0; z-index: 0; aspect-ratio: auto; border-radius: 0; font: inherit; letter-spacing: normal; }
.viewfinder .portrait::after, .viewfinder .portrait__code { display: none; }
.shape--slot { position: relative; }
.shape--slot .portrait { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.shape--slot .portrait::before { opacity: .45; }
.portrait--slot .portrait__code { display: none; }
.slot__label { position: absolute; z-index: 3; left: 18px; bottom: 18px; font: 500 11px/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .72); }
.pager { justify-content: space-between; }
.pager a { flex-wrap: wrap; column-gap: 12px; row-gap: 2px; }
.pager__dir { flex-basis: 100%; font: 500 14px/1.4 var(--font-text); letter-spacing: 0; color: var(--soft); }
.pager li:last-child { text-align: right; }
.pager li:last-child a { justify-content: flex-end; }

/* 6. The roster: filters on the left, faces on the right ------------------------------------------------------- */
main.flow > section.sec--roster { padding-top: clamp(16px, 2vw, 32px); }
.roster { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.faces--roster { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 767px) { .faces--roster { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.filters { position: sticky; top: calc(var(--nav) + 24px); max-height: calc(100vh - var(--nav) - 48px); overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; display: flex; flex-direction: column; gap: 28px; padding: 4px 12px 24px 2px; }
.filters__top, .filters__foot { display: none; }
.f-group { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.f-label { padding: 0; font: 500 14px/1.4 var(--font-text); color: var(--soft); }
.f-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.f-row output { font: 500 14px/1 var(--font-text); font-variant-numeric: tabular-nums; }
.f-hint { margin: -6px 0 0; font-size: 13px; line-height: 1.45; color: var(--soft); }
.f-input { width: 100%; height: 44px; padding: 0 14px; border: 1px solid var(--hair); border-radius: 10px; background: var(--card); color: var(--ink); font: 400 15px/1 var(--font-text); transition: border-color .3s; }
.f-input::placeholder { color: var(--soft); opacity: .8; }
.f-input:focus { outline: none; border-color: var(--ember); }
.f-input--sm { height: 38px; font-size: 14px; }

.chips, .chks { display: flex; flex-wrap: wrap; gap: 8px; }
.chip, .chk span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--hair); border-radius: 999px; background: none; color: var(--ink); font: 400 14px/1.2 var(--font-text); cursor: pointer; transition: border-color .3s, color .3s, background-color .3s, opacity .3s; }
.chip .n { font-size: 12px; color: var(--soft); font-variant-numeric: tabular-nums; }
.chip:hover, .chk span:hover { border-color: var(--ember); color: var(--ember); }
.chip[aria-pressed="true"], .chk input:checked + span { background: var(--ember); border-color: var(--ember); color: #0a0a0a; }
.chip[aria-pressed="true"] .n { color: inherit; opacity: .7; }
.chip:focus-visible, .chk input:focus-visible + span { outline: 2px solid var(--ember); outline-offset: 2px; }
.chk { position: relative; }
.chk input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.chk-set { border: 0; margin: 0; padding: 0; min-width: 0; }
.chk-set legend { padding: 0; margin-bottom: 10px; font-size: var(--t-small); font-weight: 500; }
.is-zero { opacity: .36; }

.opts { display: flex; flex-direction: column; max-height: 214px; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; border-top: 1px solid var(--hair); }
.opt { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 9px 2px; border-bottom: 1px solid var(--hair); font-size: 15px; cursor: pointer; transition: color .3s; }
.opt:hover { color: var(--ember); }
.opt input { -webkit-appearance: none; appearance: none; width: 18px; height: 18px; margin: 0; display: grid; place-items: center; border: 1px solid color-mix(in oklab, #f2f1ee 30%, transparent); border-radius: 5px; background: none; cursor: pointer; transition: background-color .2s, border-color .2s; }
.opt input:checked { background: var(--ember); border-color: var(--ember); }
.opt input:checked::after { content: ""; width: 9px; height: 5px; border: solid #0a0a0a; border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg); }
.opt input:focus-visible { outline: 2px solid var(--ember); outline-offset: 2px; }
.opt .n { font-size: 13px; color: var(--soft); font-variant-numeric: tabular-nums; }
.opts__none { margin: 0; font-size: 13px; color: var(--soft); }

.range { position: relative; height: 28px; }
.range__track, .range__fill { position: absolute; top: 13px; height: 2px; border-radius: 2px; pointer-events: none; }
.range__track { left: 10px; right: 10px; background: var(--hair); }
.range__fill { background: var(--ember); }
.range input { position: absolute; inset: 0; width: 100%; height: 28px; margin: 0; background: none; -webkit-appearance: none; appearance: none; pointer-events: none; }
.range input::-webkit-slider-runnable-track { height: 28px; background: none; }
.range input::-moz-range-track { height: 28px; background: none; }
.range input::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; pointer-events: auto; width: 20px; height: 20px; margin-top: 4px; border: 0; border-radius: 50%; background: #f2f1ee; box-shadow: 0 0 0 4px #0a0a0a, 0 0 0 5px var(--ember); cursor: grab; }
.range input::-moz-range-thumb { pointer-events: auto; width: 20px; height: 20px; border: 0; border-radius: 50%; background: #f2f1ee; box-shadow: 0 0 0 4px #0a0a0a, 0 0 0 5px var(--ember); cursor: grab; }
.range input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px #0a0a0a, 0 0 0 7px var(--ember); }
.range input:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px #0a0a0a, 0 0 0 7px var(--ember); }

.results { min-width: 0; }
.results__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-bottom: 18px; margin-bottom: 20px; border-bottom: 1px solid var(--hair); }
.results__count { margin: 0; font-size: 15px; color: var(--soft); }
.results__count b { font: 400 24px/1 var(--font-display); letter-spacing: -0.02em; color: var(--ink); }
.results__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.results__tools .filters-open { display: none; gap: 10px; }
.sort { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--soft); }
.sort select { height: var(--btn-h-sm); padding: 0 36px 0 16px; border: 1px solid var(--hair); border-radius: 999px; background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%23a3a29f' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center / 12px; color: var(--ink); font: 400 14px/1 var(--font-text); -webkit-appearance: none; appearance: none; cursor: pointer; }
.sort select:focus-visible { outline: 2px solid var(--ember); outline-offset: 2px; }
.active { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 24px; }
.active:empty { display: none; }
.active-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px 7px 14px; border: 0; border-radius: 999px; background: color-mix(in oklab, var(--ember) 15%, transparent); color: var(--ink); font: 400 14px/1.2 var(--font-text); cursor: pointer; transition: background-color .3s; }
.active-chip:hover { background: color-mix(in oklab, var(--ember) 28%, transparent); }
.active-chip svg { width: 12px; height: 12px; }
.active .link { font-size: 14px; }
.empty { display: grid; justify-items: start; gap: 14px; padding: clamp(28px, 4vw, 56px); border: 1px dashed var(--hair); border-radius: 14px; }
.empty h2 { margin: 0; font: 400 clamp(24px, 2.4vw, 32px)/1.15 var(--font-display); letter-spacing: -0.02em; }
.empty p { margin: 0; color: var(--soft); max-width: 48ch; }

html.lock { overflow: hidden; }
@media (max-width: 1023px) {
  .roster { grid-template-columns: minmax(0, 1fr); }
  .results__tools .filters-open { display: inline-flex; }
  .filters { position: fixed; inset: 0; z-index: 60; max-height: none; display: none; gap: 28px; background: var(--bg); padding: calc(20px + env(safe-area-inset-top, 0px)) var(--gut) 0; }
  .filters.is-open { display: flex; }
  .filters__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
  .filters__top h2 { margin: 0; font: 400 32px/1.1 var(--font-display); letter-spacing: -0.02em; }
  .filters__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; position: sticky; bottom: 0; margin-top: auto; padding: 16px 0 calc(16px + env(safe-area-inset-bottom, 0px)); background: var(--bg); border-top: 1px solid var(--hair); }
  .opts { max-height: 260px; }
}
.filters__close, .sl-remove { position: relative; flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--hair); background: none; color: var(--ink); cursor: pointer; transition: border-color .3s, color .3s; }
.filters__close::before, .filters__close::after, .sl-remove::before, .sl-remove::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; margin: -0.75px 0 0 -7px; background: currentColor; transform: rotate(45deg); }
.filters__close::after, .sl-remove::after { transform: rotate(-45deg); }
.filters__close:hover, .sl-remove:hover { border-color: var(--ember); color: var(--ember); }

/* 7. The brief: shortlist, note, the prepared email ------------------------------------------------------------ */
.sl-list { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--hair); }
.sl-list:empty { display: none; }
.sl-item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--hair); }
.sl-item .portrait { width: 56px; border-radius: 8px; }
.sl-item .portrait::after, .sl-item .portrait__code { display: none; }
.sl-item a { display: grid; gap: 2px; min-width: 0; color: var(--ink); text-decoration: none; }
.sl-item b { font: 400 21px/1.2 var(--font-display); letter-spacing: -0.015em; transition: color .3s; }
.sl-item a:hover b { color: var(--ember); }
.sl-item span { font-size: 14px; color: var(--soft); }
.sl-remove { width: 36px; height: 36px; }
.sl-empty, .sl-more { margin: 24px 0 0; color: var(--soft); max-width: 40ch; }
.sec--contact .contact-list { margin-top: clamp(32px, 4vw, 48px); }
.sl-note { grid-column: 1 / -1; margin: 0; padding: 14px 16px; border: 1px solid color-mix(in oklab, var(--ember) 26%, transparent); border-radius: 10px; background: color-mix(in oklab, var(--ember) 7%, transparent); font-size: 14px; font-weight: 400; line-height: 1.5; color: var(--soft); }
.sl-note b { color: var(--ink); font-weight: 500; }
.sl-note a { color: var(--ink); text-underline-offset: 3px; }

.ready { display: grid; gap: 16px; justify-items: start; }
.ready .lead-card__sub { margin: 0; }
.ready .addr { color: var(--ink); font-weight: 500; user-select: all; overflow-wrap: anywhere; }
.ready__preview { width: 100%; max-height: 300px; overflow: auto; margin: 0; padding: 16px; border: 1px solid var(--hair); border-radius: 10px; background: #0d0d0d; color: var(--soft); font: 400 13px/1.6 ui-monospace, "SF Mono", Menlo, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.ready__edit { font-size: 15px; }

/* 8. Floating shortlist (stacked above the WhatsApp button, as on the main site) and the toast ---------------------------- */
.sl-float { position: fixed; z-index: 25; right: 20px; bottom: 88px; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--ember); color: #0a0a0a; text-decoration: none; box-shadow: 0 10px 28px rgba(0, 0, 0, .45); transition: transform .4s var(--ease-out); }
.sl-float:hover { transform: translateY(-3px) scale(1.05); }
.sl-float svg { width: 24px; height: 24px; }
.sl-float__n { position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #f2f1ee; color: #0a0a0a; font: 600 12px/22px var(--font-text); text-align: center; font-variant-numeric: tabular-nums; }
@media (max-width: 767px) {
  .sl-float { right: 16px; bottom: 80px; width: 52px; height: 52px; transition: transform .4s var(--ease-out), bottom .5s var(--ease-out); }
  .cta-bar.is-on ~ .sl-float { bottom: calc(148px + env(safe-area-inset-bottom)); }
}
.toast { position: fixed; z-index: 70; inset: auto; left: 50%; bottom: calc(28px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); margin: 0; padding: 12px 18px; border: 0; border-radius: 999px; background: #f2f1ee; color: #0a0a0a; font: 500 14px/1.2 var(--font-text); box-shadow: 0 16px 40px rgba(0, 0, 0, .5); max-width: calc(100% - 32px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.toast:not(.is-on) { display: none; }
@media (prefers-reduced-motion: no-preference) { .toast.is-on { animation: at-toast .45s var(--ease-out); } }
@keyframes at-toast { from { opacity: 0; transform: translate(-50%, 12px); } }
