:root {
  --ink: #050e30;
  --ink-2: #101c43;
  --ink-3: #222f59;
  --paper: #f3f5fc;
  --paper-2: #e5e9f6;
  --white: #ffffff;
  --muted: #566482;
  --line: rgba(5, 14, 48, 0.14);
  --line-dark: rgba(255, 255, 255, 0.12);
  --violet: #aa8bff;
  --violet-bright: #c4aeff;
  --ice: #84d6ff;
  --ice-dark: #30558c;
  --shadow: 0 22px 70px rgba(13, 23, 20, 0.16);
  --radius: 5px;
  font-family: Inter, Avenir, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 77% 7%, rgba(132, 214, 255, 0.17), transparent 27rem),
    var(--paper);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.5;
}

body.drawer-open,
body.dialog-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--white);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 78px;
  padding: 0 3.2vw;
  border-bottom: 1px solid var(--line-dark);
  background: rgba(5, 14, 48, 0.96);
  color: var(--white);
  backdrop-filter: blur(18px);
}

.site-header::before {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, var(--violet) 42%, var(--ice) 73%, transparent 96%);
  content: "";
  opacity: 0.65;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  width: max-content;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(196, 174, 255, 0.5);
  color: var(--violet-bright);
  font-family: Georgia, serif;
  font-size: 1.35rem;
}

.brand-name {
  display: grid;
  letter-spacing: 0.16em;
  line-height: 1;
}

.brand-name strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 500;
}

.brand-name small {
  margin-top: 0.32rem;
  color: var(--violet-bright);
  font-size: 0.62rem;
  letter-spacing: 0.42em;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.1rem, 2.4vw, 2.6rem);
}

.main-nav a,
.main-nav button {
  position: relative;
  padding: 0.5rem 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.88rem;
}

.main-nav a:hover,
.main-nav button:hover,
.main-nav .active {
  color: var(--white);
}

.main-nav .active::after {
  position: absolute;
  right: 0;
  bottom: -0.28rem;
  left: 0;
  height: 1px;
  background: var(--violet-bright);
  content: "";
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.shortlist-button,
.login-button {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.83rem;
}

.shortlist-button span {
  display: inline-grid;
  min-width: 1.45rem;
  height: 1.45rem;
  margin-left: 0.28rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.21);
  border-radius: 50%;
  color: var(--violet-bright);
  font-size: 0.72rem;
}

.primary-button,
.light-button {
  display: inline-flex;
  min-height: 45px;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.15rem;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 650;
  letter-spacing: 0.015em;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.primary-button:hover,
.light-button:hover {
  transform: translateY(-1px);
}

.primary-button:focus-visible,
.light-button:focus-visible,
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(170, 139, 255, 0.42);
  outline-offset: 2px;
}

.header-cta {
  min-height: 41px;
  border-color: var(--violet);
  background: var(--violet);
  color: var(--ink);
}

main {
  width: min(1480px, 100%);
  margin: 0 auto;
  padding: 0 3.2vw 5rem;
}

.catalog-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.65fr);
  gap: 2rem;
  align-items: end;
  padding: clamp(2.6rem, 6vh, 5rem) 0 2rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 0.65rem;
  color: var(--ice-dark);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 22px;
  height: 1px;
  background: var(--violet);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

h1 {
  max-width: 870px;
  margin-bottom: 0;
  font-size: clamp(2.25rem, 4.3vw, 4.55rem);
  letter-spacing: -0.045em;
  line-height: 0.99;
}

.catalog-intro {
  margin-bottom: 0.4rem;
  color: #4b5874;
  font-size: 0.97rem;
  line-height: 1.68;
}

.search-shell {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0;
  min-height: 64px;
  margin-bottom: 1.25rem;
  border: 1px solid var(--ink);
  background: var(--white);
  box-shadow: 0 13px 45px rgba(18, 29, 26, 0.08);
}

.main-search {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 1.25rem;
}

.main-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1.02rem;
}

.main-search input::placeholder {
  color: #717e9c;
}

.search-glyph {
  position: relative;
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
}

.search-glyph::after {
  position: absolute;
  right: -5px;
  bottom: -3px;
  width: 8px;
  height: 1.5px;
  background: var(--ink);
  content: "";
  transform: rotate(45deg);
}

.search-button {
  min-width: 145px;
  border: 0;
  border-left: 1px solid var(--ink);
  border-radius: 0;
}

.filter-toggle {
  display: none;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(1.5rem, 2.6vw, 2.8rem);
  align-items: start;
}

.filters {
  position: sticky;
  top: 101px;
  padding: 1.25rem 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}

.filter-head h2 {
  margin: 0;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.filter-head button {
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--muted);
  background: transparent;
  color: var(--muted);
  font-size: 0.75rem;
}

.filter-field,
.filter-group {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 1rem 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.filter-field > span,
.filter-group legend {
  padding: 0;
  color: #44526e;
  font-size: 0.78rem;
  font-weight: 700;
}

.filter-field select,
.sort-label select {
  width: 100%;
  min-height: 41px;
  padding: 0 2rem 0 0.72rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.65);
  color: var(--ink);
  font-size: 0.84rem;
}

.choice-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.choice {
  min-height: 38px;
  padding: 0.3rem;
  border: 1px solid var(--line);
  border-right: 0;
  background: rgba(255, 255, 255, 0.48);
  color: var(--muted);
  font-size: 0.73rem;
}

.choice:last-child {
  border-right: 1px solid var(--line);
}

.choice.active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.recording-filter label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #495573;
  font-size: 0.82rem;
}

.recording-filter input {
  width: 16px;
  height: 16px;
  accent-color: var(--ice-dark);
}

.filter-mobile-head,
.mobile-apply {
  display: none;
}

.results-head {
  display: flex;
  min-height: 55px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0 1rem;
  border-top: 1px solid var(--ink);
}

.results-head > div {
  display: grid;
  gap: 0.1rem;
}

.results-head > div > span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
}

.results-head small {
  color: var(--muted);
  font-size: 0.73rem;
}

.sort-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--muted);
  font-size: 0.76rem;
}

.sort-label select {
  width: 125px;
  min-height: 37px;
  background: transparent;
}

.active-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  min-height: 0;
}

.active-filter-row:not(:empty) {
  padding: 0 0 1rem;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 29px;
  padding: 0.25rem 0.55rem;
  border: 1px solid rgba(48, 85, 140, 0.25);
  background: rgba(132, 214, 255, 0.12);
  color: var(--ice-dark);
  font-size: 0.72rem;
}

.filter-pill button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 0.95rem;
  line-height: 1;
}

.talent-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.talent-card {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 360px;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 3px 0 rgba(5, 14, 48, 0.03);
  transition: transform 190ms ease, box-shadow 190ms ease, border-color 190ms ease;
}

.talent-card:hover {
  border-color: rgba(48, 85, 140, 0.42);
  box-shadow: 0 18px 45px rgba(19, 31, 28, 0.11);
  transform: translateY(-3px);
}

.talent-visual {
  position: relative;
  display: grid;
  min-height: 119px;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1.15rem;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(170, 139, 255, 0.13), transparent 45%),
    linear-gradient(145deg, #101b43, #23305b);
  color: var(--white);
}

.talent-visual::after {
  position: absolute;
  right: -2.7rem;
  bottom: -4rem;
  width: 10rem;
  height: 10rem;
  border: 1px solid rgba(196, 174, 255, 0.22);
  border-radius: 50%;
  content: "";
}

.avatar {
  display: grid;
  width: 62px;
  height: 72px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.05);
  color: var(--violet-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  letter-spacing: 0.05em;
}

.visual-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.visual-copy small {
  display: block;
  overflow: hidden;
  margin-bottom: 0.2rem;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.visual-copy strong {
  display: block;
  overflow: hidden;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  margin-top: 0.38rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.68rem;
}

.availability::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ice);
  content: "";
}

.favorite-button {
  position: absolute;
  z-index: 2;
  top: 0.65rem;
  right: 0.65rem;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(5, 14, 48, 0.45);
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  line-height: 1;
}

.favorite-button.selected {
  border-color: var(--violet-bright);
  background: var(--violet);
  color: var(--ink);
}

.talent-body {
  display: grid;
  align-content: start;
  padding: 1rem 1.05rem 0.8rem;
}

.status-row,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.status-badge,
.tag {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  padding: 0.18rem 0.48rem;
  border: 1px solid var(--line);
  color: #4c5874;
  font-size: 0.67rem;
}

.status-badge.remote {
  border-color: rgba(48, 85, 140, 0.28);
  background: rgba(132, 214, 255, 0.13);
  color: var(--ice-dark);
}

.status-badge.studio {
  border-color: rgba(170, 139, 255, 0.34);
  background: rgba(170, 139, 255, 0.1);
  color: #57359a;
}

.voice-description {
  min-height: 2.85rem;
  margin: 0.75rem 0 0.7rem;
  color: #414d69;
  font-size: 0.82rem;
  line-height: 1.48;
}

.audio-player {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.72rem;
  align-items: center;
  min-height: 58px;
  padding: 0.58rem 0.65rem;
  border: 1px solid var(--line);
  background: #f8faff;
}

.play-button {
  position: relative;
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
}

.play-button::before {
  width: 0;
  height: 0;
  margin-left: 2px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid currentColor;
  content: "";
}

.play-button.playing::before {
  width: 8px;
  height: 10px;
  margin: 0;
  border: 0;
  border-right: 3px solid currentColor;
  border-left: 3px solid currentColor;
}

.wave-block {
  min-width: 0;
}

.wave-label {
  display: flex;
  justify-content: space-between;
  gap: 0.4rem;
  margin-bottom: 0.3rem;
  color: var(--muted);
  font-size: 0.62rem;
}

.wave-label span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.waveform {
  position: relative;
  display: flex;
  height: 22px;
  align-items: center;
  gap: 2px;
  overflow: hidden;
}

.waveform span {
  width: 2px;
  height: var(--h);
  flex: 1 1 auto;
  max-width: 3px;
  min-height: 3px;
  background: #b5c0da;
  transition: background 120ms ease;
}

.audio-player.playing .waveform span {
  animation: wavePulse 780ms ease-in-out infinite alternate;
  background: var(--ice-dark);
  animation-delay: calc(var(--i) * -45ms);
}

@keyframes wavePulse {
  to { transform: scaleY(0.58); opacity: 0.55; }
}

.audio-time {
  color: var(--muted);
  font-size: 0.64rem;
  font-variant-numeric: tabular-nums;
}

.talent-card-footer {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  border-top: 1px solid var(--line);
}

.talent-card-footer button {
  min-height: 47px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 650;
}

.talent-card-footer button + button {
  border-left: 1px solid var(--line);
  background: var(--ink);
  color: var(--white);
}

.talent-card-footer button + button.managed {
  background: #49387f;
}

.empty-state {
  padding: 4rem 1rem;
  border: 1px solid var(--line);
  background: var(--white);
  text-align: center;
}

.empty-state > span {
  color: var(--violet);
  font-size: 2rem;
}

.empty-state h2 {
  margin: 0.7rem 0 0.5rem;
  font-size: 1.8rem;
}

.empty-state p {
  max-width: 460px;
  margin: 0 auto 1.2rem;
  color: var(--muted);
}

.casting-strip {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
  overflow: hidden;
  margin-top: 4rem;
  padding: clamp(2rem, 4vw, 3.6rem);
  background:
    radial-gradient(circle at 83% 7%, rgba(132, 214, 255, 0.24), transparent 16rem),
    var(--ink);
  color: var(--white);
}

.casting-strip::after {
  position: absolute;
  top: -140px;
  right: 18%;
  width: 290px;
  height: 290px;
  border: 1px solid rgba(196, 174, 255, 0.18);
  border-radius: 50%;
  content: "";
}

.casting-strip .eyebrow {
  color: var(--ice);
}

.casting-strip h2 {
  margin-bottom: 0.45rem;
  font-size: clamp(1.8rem, 3.2vw, 3.05rem);
  line-height: 1.05;
}

.casting-strip p:not(.eyebrow) {
  max-width: 660px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.65);
}

.light-button {
  position: relative;
  z-index: 1;
  min-width: 175px;
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
  min-height: 132px;
  padding: 2rem 3.2vw;
  border-top: 1px solid var(--line-dark);
  background: #020a24;
  color: var(--white);
}

.site-footer .footer-brand .brand-mark {
  width: 31px;
  height: 36px;
  font-size: 1.1rem;
}

.site-footer > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.42);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.9rem;
  font-style: italic;
}

.site-footer > div {
  display: grid;
  justify-items: end;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.76rem;
}

.drawer-backdrop {
  position: fixed;
  z-index: 79;
  inset: 0;
  background: rgba(4, 9, 8, 0.62);
  backdrop-filter: blur(3px);
}

.shortlist-drawer {
  position: fixed;
  z-index: 80;
  top: 0;
  right: 0;
  display: grid;
  width: min(430px, 100%);
  height: 100dvh;
  grid-template-rows: auto 1fr auto;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--ink);
  color: var(--white);
  box-shadow: -25px 0 70px rgba(5, 11, 9, 0.3);
  transform: translateX(102%);
  transition: transform 230ms ease;
}

.shortlist-drawer.open {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.7rem;
  border-bottom: 1px solid var(--line-dark);
}

.drawer-head small {
  color: var(--violet-bright);
  font-size: 0.67rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.drawer-head h2 {
  margin: 0.25rem 0 0;
  font-size: 1.7rem;
}

.drawer-head button,
.dialog-close,
.filter-mobile-head button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  font-size: 1.35rem;
  font-weight: 300;
}

.shortlist-content {
  overflow-y: auto;
  padding: 0.6rem 1.7rem;
}

.shortlist-empty {
  display: grid;
  min-height: 65vh;
  place-items: center;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

.shortlist-empty span {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--violet-bright);
  font-size: 2rem;
}

.shortlist-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.8rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line-dark);
}

.shortlist-item .mini-avatar {
  display: grid;
  width: 43px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(196, 174, 255, 0.3);
  color: var(--violet-bright);
  font-family: Georgia, serif;
  font-size: 0.85rem;
}

.shortlist-item strong,
.shortlist-item small {
  display: block;
}

.shortlist-item strong {
  font-family: Georgia, serif;
  font-weight: 500;
}

.shortlist-item small {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.68rem;
}

.shortlist-item button {
  padding: 0.25rem;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
}

.drawer-footer {
  display: grid;
  gap: 0.65rem;
  padding: 1.4rem 1.7rem 1.8rem;
  border-top: 1px solid var(--line-dark);
}

.drawer-footer .primary-button {
  border-color: var(--violet);
  background: var(--violet);
  color: var(--ink);
}

.drawer-footer .primary-button:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

.drawer-footer small {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.68rem;
  text-align: center;
}

.full-width {
  width: 100%;
}

.light-outline {
  min-height: 43px;
  padding: 0.65rem 1rem;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: transparent;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 650;
}

dialog {
  max-width: calc(100vw - 2rem);
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);
}

dialog::backdrop {
  background: rgba(4, 9, 8, 0.72);
  backdrop-filter: blur(5px);
}

.dialog-close {
  position: absolute;
  z-index: 5;
  top: 1rem;
  right: 1rem;
  background: rgba(243, 245, 252, 0.76);
}

.profile-dialog {
  width: min(880px, calc(100vw - 2rem));
}

.profile-hero {
  position: relative;
  display: grid;
  min-height: 260px;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: end;
  overflow: hidden;
  padding: 3rem;
  background:
    radial-gradient(circle at 82% 20%, rgba(132, 214, 255, 0.25), transparent 15rem),
    linear-gradient(145deg, #101c43, #21305f);
  color: var(--white);
}

.profile-hero::after {
  position: absolute;
  top: -150px;
  right: 18%;
  width: 310px;
  height: 310px;
  border: 1px solid rgba(196, 174, 255, 0.2);
  border-radius: 50%;
  content: "";
}

.profile-hero .avatar {
  width: 112px;
  height: 132px;
  font-size: 2rem;
}

.profile-hero-copy {
  position: relative;
  z-index: 1;
}

.profile-hero-copy .profile-code {
  color: var(--violet-bright);
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.profile-hero-copy h2 {
  margin: 0.25rem 0 0.5rem;
  font-size: clamp(2.1rem, 5vw, 3.9rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.profile-hero-copy > p {
  max-width: 560px;
  margin-bottom: 0.85rem;
  color: rgba(255, 255, 255, 0.66);
}

.profile-main {
  display: grid;
  grid-template-columns: 1fr 270px;
  gap: 2.5rem;
  padding: 2.3rem 3rem 3rem;
}

.profile-main h3 {
  margin-bottom: 1rem;
  font-size: 0.79rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.profile-demo-list {
  display: grid;
  gap: 0.6rem;
}

.profile-demo-list .audio-player {
  grid-template-columns: auto 1fr auto;
}

.profile-side {
  display: grid;
  align-content: start;
  gap: 1rem;
}

.profile-facts {
  display: grid;
  margin: 0;
  border-top: 1px solid var(--line);
}

.profile-facts div {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 0.7rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.76rem;
}

.profile-facts dt {
  color: var(--muted);
}

.profile-facts dd {
  margin: 0;
  text-align: right;
}

.project-dialog {
  width: min(900px, calc(100vw - 2rem));
  padding: clamp(1.5rem, 4vw, 3.2rem);
}

.project-head {
  padding-right: 3.5rem;
}

.project-head h2,
.login-dialog h2,
.talent-dialog h2 {
  margin-bottom: 0.55rem;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.project-head > p:last-child,
.login-dialog > p:not(.eyebrow) {
  color: var(--muted);
}

.path-picker {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin: 1.6rem 0;
}

.path-card {
  display: grid;
  min-height: 143px;
  align-content: start;
  padding: 1rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.65);
  color: var(--ink);
  text-align: left;
}

.path-card:hover,
.path-card.selected {
  border-color: var(--ice-dark);
  box-shadow: inset 0 -3px 0 var(--ice-dark);
}

.path-number {
  margin-bottom: 1rem;
  color: var(--violet);
  font-size: 0.69rem;
  letter-spacing: 0.12em;
}

.path-card strong {
  margin-bottom: 0.25rem;
  font-family: Georgia, serif;
  font-size: 1rem;
  font-weight: 500;
}

.path-card small {
  color: var(--muted);
  font-size: 0.71rem;
  line-height: 1.45;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}

.form-grid label,
.login-email {
  display: grid;
  gap: 0.4rem;
}

.form-grid label > span,
.login-email > span {
  color: #495573;
  font-size: 0.75rem;
  font-weight: 700;
}

.form-grid .wide {
  grid-column: 1 / -1;
}

.form-grid input,
.form-grid select,
.form-grid textarea,
.login-email input {
  width: 100%;
  min-height: 48px;
  padding: 0.72rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--white);
  color: var(--ink);
  resize: vertical;
}

.ai-notice {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(170, 139, 255, 0.33);
  background: rgba(170, 139, 255, 0.08);
  color: #4f426b;
}

.ai-notice > span {
  color: var(--violet);
}

.ai-notice p {
  margin: 0;
  font-size: 0.72rem;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.2rem;
}

.form-actions small {
  max-width: 340px;
  color: var(--muted);
  font-size: 0.7rem;
}

.success-panel {
  display: grid;
  min-height: 470px;
  place-items: center;
  align-content: center;
  padding: 2rem;
  text-align: center;
}

.success-mark {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  margin-bottom: 1rem;
  border: 1px solid var(--ice-dark);
  border-radius: 50%;
  color: var(--ice-dark);
  font-size: 1.5rem;
}

.success-panel h2 {
  margin-bottom: 0.5rem;
  font-size: 2.5rem;
}

.success-panel p {
  max-width: 520px;
  margin-bottom: 1.3rem;
  color: var(--muted);
}

.login-dialog,
.talent-dialog {
  width: min(620px, calc(100vw - 2rem));
  padding: clamp(1.5rem, 5vw, 3rem);
}

.login-roles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin: 1.5rem 0;
}

.login-roles button {
  display: grid;
  min-height: 145px;
  align-content: start;
  padding: 1.05rem;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  text-align: left;
}

.login-roles button:hover,
.login-roles button.selected {
  border-color: var(--ice-dark);
  box-shadow: inset 0 -3px 0 var(--ice-dark);
}

.login-roles button > span {
  margin-bottom: 1.2rem;
  color: var(--violet);
  font-size: 0.67rem;
  letter-spacing: 0.13em;
}

.login-roles strong {
  margin-bottom: 0.25rem;
  font-family: Georgia, serif;
  font-size: 1rem;
  font-weight: 500;
}

.login-roles small,
.dialog-footnote {
  color: var(--muted);
  font-size: 0.69rem;
}

.login-email {
  margin-bottom: 0.75rem;
}

.dialog-footnote {
  display: block;
  margin-top: 0.7rem;
  text-align: center;
}

.talent-steps {
  display: grid;
  gap: 0;
  margin: 1.6rem 0;
  border-top: 1px solid var(--line);
}

.talent-steps > div {
  display: grid;
  grid-template-columns: 42px 150px 1fr;
  gap: 0.75rem;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.talent-steps span {
  color: var(--violet);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}

.talent-steps strong {
  font-family: Georgia, serif;
  font-weight: 500;
}

.talent-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.dashboard-dialog {
  width: min(1240px, calc(100vw - 2rem));
  height: min(820px, calc(100dvh - 2rem));
  overflow: hidden;
  background: #edf2fc;
}

.dashboard-dialog[open] {
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
}

.dashboard-dialog:not([open]) {
  display: none;
}

.dashboard-close {
  top: 1.15rem;
  right: 1.15rem;
  color: var(--ink);
}

.dashboard-sidebar {
  display: grid;
  min-height: 0;
  grid-template-rows: auto 1fr auto;
  padding: 1.55rem 1.2rem 1.2rem;
  background:
    radial-gradient(circle at 50% 0, rgba(132, 214, 255, 0.13), transparent 16rem),
    var(--ink);
  color: var(--white);
}

.dashboard-sidebar .brand {
  margin: 0 0.55rem 2.2rem;
}

.dashboard-sidebar nav {
  display: grid;
  align-content: start;
  gap: 0.2rem;
}

.dashboard-sidebar nav button {
  display: flex;
  min-height: 43px;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.7rem;
  border: 0;
  border-left: 2px solid transparent;
  background: transparent;
  color: rgba(255, 255, 255, 0.57);
  font-size: 0.77rem;
  text-align: left;
}

.dashboard-sidebar nav button:hover,
.dashboard-sidebar nav button.active {
  border-left-color: var(--violet-bright);
  background: rgba(255, 255, 255, 0.055);
  color: var(--white);
}

.dashboard-sidebar nav button span {
  display: grid;
  min-width: 25px;
  height: 22px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--violet-bright);
  font-size: 0.65rem;
}

.dashboard-user {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  padding: 0.9rem 0.65rem 0;
  border-top: 1px solid var(--line-dark);
}

.dashboard-user > span {
  display: grid;
  width: 37px;
  height: 41px;
  place-items: center;
  border: 1px solid rgba(196, 174, 255, 0.3);
  color: var(--violet-bright);
  font-family: Georgia, serif;
  font-size: 0.75rem;
}

.dashboard-user strong,
.dashboard-user small {
  display: block;
}

.dashboard-user strong {
  font-family: Georgia, serif;
  font-size: 0.86rem;
  font-weight: 500;
}

.dashboard-user small {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.65rem;
}

.dashboard-main {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0 2rem 2rem;
  overflow-y: auto;
}

.dashboard-top {
  display: flex;
  min-height: 122px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-right: 3.5rem;
  border-bottom: 1px solid var(--line);
}

.dashboard-top .eyebrow {
  margin-bottom: 0.25rem;
}

.dashboard-top h2 {
  margin: 0;
  font-size: 2.2rem;
  line-height: 1;
}

.remote-status {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  min-width: 205px;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(48, 85, 140, 0.24);
  background: rgba(132, 214, 255, 0.11);
}

.remote-status > span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ice-dark);
  box-shadow: 0 0 0 4px rgba(132, 214, 255, 0.19);
}

.remote-status strong,
.remote-status small {
  display: block;
}

.remote-status strong {
  font-size: 0.73rem;
}

.remote-status small {
  color: var(--muted);
  font-size: 0.64rem;
}

.dashboard-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 1.35rem 0 1.8rem;
}

.dashboard-summary > div {
  min-height: 122px;
  padding: 1rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.dashboard-summary small,
.dashboard-summary strong,
.dashboard-summary p {
  display: block;
}

.dashboard-summary small {
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-summary strong {
  margin: 0.25rem 0;
  font-family: Georgia, serif;
  font-size: 1.65rem;
  font-weight: 500;
}

.dashboard-summary p {
  margin: 0;
  color: var(--muted);
  font-size: 0.68rem;
}

.dashboard-summary > div > span {
  display: block;
  height: 3px;
  margin-top: 0.65rem;
  overflow: hidden;
  background: var(--paper-2);
}

.dashboard-summary > div > span i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--violet), var(--ice-dark));
}

.job-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.job-section-head h3 {
  margin: 0 0 0.15rem;
  font-family: Georgia, serif;
  font-size: 1.2rem;
  font-weight: 500;
}

.job-section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.7rem;
}

.job-section-head button {
  padding: 0.2rem 0;
  border: 0;
  border-bottom: 1px solid var(--muted);
  background: transparent;
  color: var(--muted);
  font-size: 0.68rem;
}

.job-list {
  display: grid;
  gap: 0.65rem;
}

.job-card {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr) 205px;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid var(--line);
  background: var(--white);
}

.match-score {
  display: grid;
  width: 59px;
  height: 64px;
  place-items: center;
  align-content: center;
  border: 1px solid rgba(48, 85, 140, 0.3);
  color: var(--ice-dark);
  font-family: Georgia, serif;
  font-size: 1.35rem;
}

.match-score small {
  display: block;
  font-family: Inter, Avenir, sans-serif;
  font-size: 0.52rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.job-copy > span {
  color: var(--violet);
  font-size: 0.6rem;
  font-weight: 750;
  letter-spacing: 0.1em;
}

.job-copy h3 {
  margin: 0.15rem 0 0.25rem;
  font-family: Georgia, serif;
  font-size: 1.05rem;
  font-weight: 500;
}

.job-copy p {
  max-width: 580px;
  margin-bottom: 0.55rem;
  color: var(--muted);
  font-size: 0.7rem;
}

.job-copy > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.job-copy > div span {
  padding: 0.16rem 0.38rem;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.59rem;
}

.job-meta {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 0.1rem 0.5rem;
  align-items: baseline;
  padding-left: 1rem;
  border-left: 1px solid var(--line);
}

.job-meta small {
  color: var(--muted);
  font-size: 0.58rem;
}

.job-meta strong {
  font-size: 0.67rem;
  text-align: right;
}

.job-meta .primary-button {
  min-height: 38px;
  grid-column: 1 / -1;
  margin-top: 0.55rem;
  padding: 0.5rem 0.6rem;
  font-size: 0.66rem;
}

.toast {
  position: fixed;
  z-index: 200;
  right: 1.2rem;
  bottom: 1.2rem;
  max-width: min(340px, calc(100vw - 2.4rem));
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--violet);
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
  font-size: 0.78rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .main-nav {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .talent-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 790px) {
  .site-header {
    min-height: 67px;
    padding: 0 1rem;
  }

  .brand-mark {
    width: 31px;
    height: 36px;
    font-size: 1.08rem;
  }

  .brand-name strong {
    font-size: 0.92rem;
  }

  .brand-name small {
    font-size: 0.54rem;
  }

  .login-button {
    display: none;
  }

  .shortlist-button {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    padding: 0;
    overflow: hidden;
    font-size: 0;
  }

  .shortlist-button span {
    margin: 0;
    font-size: 0.68rem;
  }

  .header-cta {
    min-height: 39px;
    padding: 0.55rem 0.75rem;
    font-size: 0.76rem;
  }

  main {
    padding: 0 1rem 3rem;
  }

  .catalog-heading {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 2.3rem 0 1.4rem;
  }

  h1 {
    font-size: clamp(2.3rem, 11vw, 3.4rem);
  }

  .catalog-intro {
    font-size: 0.9rem;
  }

  .search-shell {
    grid-template-columns: 1fr auto;
    min-height: 56px;
  }

  .main-search {
    padding: 0 0.9rem;
  }

  .main-search input {
    font-size: 0.9rem;
  }

  .search-button {
    display: none;
  }

  .filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0 0.85rem;
    border: 0;
    border-left: 1px solid var(--ink);
    background: var(--white);
    font-size: 0.77rem;
    font-weight: 700;
  }

  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .filters {
    position: fixed;
    z-index: 90;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(380px, 100%);
    padding: 0 1.2rem 1.2rem;
    overflow-y: auto;
    border: 0;
    background: var(--paper);
    box-shadow: -25px 0 70px rgba(5, 11, 9, 0.25);
    transform: translateX(103%);
    transition: transform 220ms ease;
  }

  .filters.open {
    transform: translateX(0);
  }

  .filter-mobile-head {
    position: sticky;
    z-index: 2;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    border-bottom: 1px solid var(--ink);
    background: var(--paper);
  }

  .filter-head {
    display: none;
  }

  .mobile-apply {
    display: flex;
    width: 100%;
    margin-top: 1rem;
  }

  .results-head {
    padding-top: 0;
  }

  .talent-grid {
    grid-template-columns: 1fr;
  }

  .talent-card {
    min-height: 0;
  }

  .casting-strip {
    grid-template-columns: 1fr;
    align-items: start;
    margin-top: 2.5rem;
    padding: 2rem 1.4rem;
  }

  .light-button {
    width: 100%;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: start;
    padding: 2rem 1rem;
  }

  .site-footer > p {
    display: none;
  }

  .site-footer > div {
    justify-items: start;
  }

  .profile-hero {
    min-height: 300px;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-content: end;
    padding: 2rem 1.3rem;
  }

  .profile-hero .avatar {
    width: 76px;
    height: 88px;
    font-size: 1.3rem;
  }

  .profile-main {
    grid-template-columns: 1fr;
    padding: 1.5rem 1.3rem 2rem;
  }

  .path-picker,
  .form-grid,
  .login-roles {
    grid-template-columns: 1fr;
  }

  .path-card {
    min-height: 0;
  }

  .path-number {
    margin-bottom: 0.5rem;
  }

  .form-grid .wide {
    grid-column: auto;
  }

  .form-actions {
    display: grid;
  }

  .form-actions .primary-button {
    width: 100%;
  }

  .talent-steps > div {
    grid-template-columns: 36px 1fr;
  }

  .talent-steps p {
    grid-column: 2;
  }

  .dashboard-dialog {
    width: calc(100vw - 1rem);
    height: calc(100dvh - 1rem);
    max-width: calc(100vw - 1rem);
    max-height: calc(100dvh - 1rem);
  }

  .dashboard-dialog[open] {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar {
    display: none;
  }

  .dashboard-main {
    padding: 0 1rem 1.5rem;
  }

  .dashboard-top {
    min-height: 115px;
    padding-right: 3.2rem;
  }

  .dashboard-top h2 {
    font-size: 1.75rem;
  }

  .remote-status {
    display: none;
  }

  .dashboard-summary {
    grid-template-columns: 1fr;
  }

  .dashboard-summary > div {
    min-height: 95px;
  }

  .job-section-head {
    align-items: start;
  }

  .job-section-head button {
    display: none;
  }

  .job-card {
    grid-template-columns: 55px 1fr;
  }

  .match-score {
    width: 50px;
    height: 56px;
  }

  .job-meta {
    grid-column: 1 / -1;
    padding: 0.8rem 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

#talentApplication { margin: 1.5rem 0; }
#talentApplication .primary-button { margin-top: 1rem; }
#openTalentDashboard { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.mail-preview { display: grid; gap: .5rem; margin: 1.25rem 0; }
.mail-preview textarea { padding: .8rem; font: inherit; resize: vertical; }
#mailDialog a { text-decoration: none; }
.play-button:disabled { opacity: .45; cursor: default; }


/* Header wordmark */
.brand-logo {
  display: block;
  width: clamp(6.75rem, 10vw, 9.5rem);
  aspect-ratio: 584 / 198;
  background: url("./assets/bifrost-logo.png") center / contain no-repeat;
}
.catalog-heading {
  position: relative;
  isolation: isolate;
  margin-bottom: 1.25rem;
  padding-inline: clamp(1.25rem, 3vw, 3rem);
  padding-block: clamp(2rem, 4vw, 4rem);
  overflow: hidden;
  background: #020b29;
  color: white;
}
.catalog-heading::before {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 auto;
  width: 48%;
  background: linear-gradient(90deg, #020b29, transparent 58%),
    linear-gradient(0deg, rgba(2, 11, 41, .87), rgba(2, 11, 41, .18)),
    url("./assets/bifrost-banner.jpg") right center / 425% 100% no-repeat;
  content: "";
}
.catalog-heading .eyebrow { color: var(--ice); }
.catalog-intro { color: #edf2ff; }
.header-cta { background: linear-gradient(110deg, var(--violet-bright), var(--ice)); border-color: transparent; }
@media (max-width: 790px) {
  .catalog-heading::before { width: 55%; opacity: .6; }
}

.language-link { display:inline-flex; align-items:center; min-height:2rem; padding:0 .6rem; border:1px solid #7584ac; border-radius:3px; color:#f5f7ff; font-size:.875rem; }
.language-link:hover,.language-link:focus-visible { background:#24325a; }
@media(max-width:480px) {
  .site-header { padding-inline:.55rem; }
  .site-header .brand-logo { width:5rem; }
  .site-header .header-actions { gap:.3rem; }
}

.approved-roster,#review-queue { margin-block:2rem; padding:1.5rem; border:1px solid var(--line); background:white; }
.approved-roster article,#review-queue article {padding-block:1rem;border-bottom:1px solid var(--line);}
.approved-roster audio,#review-queue audio {display:block;max-width:100%;margin-bottom:.7rem;}
.approved-roster a,#review-queue a {text-decoration:underline;}

footer .company-contact {font-style:normal;line-height:1.65}
footer .company-info {line-height:1.65}
footer.site-footer {flex-wrap:wrap}

footer.end,footer.site-footer {display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1.5rem 2rem;padding:clamp(2.5rem,5vw,4rem) max(5%,calc((100vw - 1180px)/2)) 1.6rem}
footer .footer-byline,footer.site-footer .footer-byline {margin:0;font:500 1rem/1.5 system-ui;color:#e6eaf6}
footer .company-contact {font-size:.9375rem}
footer.end .footer-legal,footer.site-footer .footer-legal {flex:1 0 100%;display:flex;flex-wrap:wrap;justify-content:flex-start;align-items:baseline;gap:.55rem 1.6rem;margin-top:1rem;padding-top:1.1rem;border-top:1px solid #36405a;font:.875rem/1.5 system-ui;color:#b9c4da}
.footer-legal span {white-space:nowrap}
.footer-legal a {color:inherit;text-underline-offset:.2em}
.footer-social {display:flex;align-items:center;gap:.5rem}
.footer-social a {width:2.75rem;height:2.75rem;display:grid;place-items:center;border:1px solid #596584;border-radius:50%;color:#e6eaf6}
.footer-social svg {width:1.15rem;height:1.15rem}
.footer-social a:hover,.footer-social a:focus-visible {color:white;background:#27365b;border-color:#adbfef}

/* Voice directory. The list follows its content at every viewport size. */
.results { min-width: 0; container: voice-results / inline-size; scroll-margin-top: 6rem; }
.results-head { min-height: 0; align-items: center; padding: .9rem 0; }
.results-head > div > span { font: 600 .95rem/1.4 system-ui, sans-serif; }
.example-note {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: .35rem 1rem; margin-bottom: .85rem; padding: .75rem 1rem;
  border-inline-start: 3px solid #9470d5; background: #e8e6f7; color: #333456;
  font-size: .875rem;
}
.example-note p { margin: 0; }
.example-note strong { margin-inline-end: .35rem; color: #322350; }
.example-note a, .voice-profile { color: #39496e; text-underline-offset: .23em; }
.voice-list { display: grid; gap: .45rem; }
.voice-row {
  display: grid; grid-template-columns: minmax(10rem, 1fr) minmax(13rem, 1.3fr) auto;
  align-items: center; gap: .75rem clamp(.9rem, 2vw, 1.65rem);
  padding: .8rem 1rem .8rem 1.2rem; border: 1px solid #ccd3e3;
  border-radius: .5rem; background: #fafbff; color: var(--ink);
}
.voice-row:focus-within { border-color: #8999bc; }
.voice-identity { min-width: 0; }
.voice-identity h2 { margin: 0; font-size: clamp(1.15rem, 1.4vw, 1.4rem); line-height: 1.18; overflow-wrap: anywhere; }
.voice-identity p { margin: .18rem 0 0; color: #51607b; font-size: .875rem; overflow-wrap: anywhere; }
.voice-actions { display: flex; align-items: center; justify-content: flex-end; gap: .75rem; }
.voice-profile { min-height: 44px; padding: .2rem; border: 0; background: none; font-size: .9rem; text-decoration: underline; }
.voice-pick, .voice-play {
  display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px;
  border-radius: 50%; cursor: pointer;
}
.voice-pick { border: 1px solid #b5bfd6; background: transparent; color: #354567; font: 400 1.5rem/1 system-ui; }
.voice-pick:hover { border-color: #60518b; background: #e9e4f7; }
.voice-pick[aria-pressed="true"] { background: #dfd5f8; color: #3a2a66; border-color: #b29dd7; }
.voice-player {
  display: flex; align-items: center; min-width: 0; gap: .7rem;
  padding: .35rem .8rem .35rem .38rem; background: #eaf0fa; border-radius: .5rem;
}
.voice-play { background: #152647; color: #fff; border: 0; }
.voice-play:hover { background: #314570; }
.voice-play::before { content: ""; margin-left: .18rem; border-style: solid; border-width: .36rem 0 .36rem .58rem; border-color: transparent transparent transparent currentColor; }
.voice-play.is-playing::before { width: .49rem; height: .7rem; margin: 0; border: 0; border-inline: .16rem solid currentColor; }
.voice-player audio { display: none; }
.voice-track { min-width: 0; flex: 1; }
.voice-track-label { display: flex; align-items: center; justify-content: space-between; gap: .55rem; }
.demo-select {
  max-width: calc(100% - 2.4rem); min-width: 0; padding: .1rem 1rem .1rem 0; border: 0;
  appearance: none; border-radius: 0; background: transparent
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='m1 1 4 4 4-4' fill='none' stroke='%23354567' stroke-width='1.5'/%3E%3C/svg%3E") right .08rem center / .6rem auto no-repeat;
  color: #172a4c; font: 600 .9rem/1.25 system-ui; cursor: pointer; text-overflow: ellipsis;
}
.voice-time { color: #4b5b75; font: 500 .8125rem/1.3 system-ui; font-variant-numeric: tabular-nums; }
.voice-seek {
  display: block; width: 100%; height: 1.15rem; margin: 0; padding: 0; appearance: none;
  border: 0; background: transparent; cursor: pointer;
}
.voice-seek::-webkit-slider-runnable-track { height: 3px; border-radius: 2px; background: linear-gradient(to right, #6259a2 var(--played,0%), #b8c5db var(--played,0%)); }
.voice-seek::-moz-range-track { height: 3px; border-radius: 2px; background: #b8c5db; }
.voice-seek::-moz-range-progress { height: 3px; background: #6259a2; }
.voice-seek::-webkit-slider-thumb { width: .55rem; height: .55rem; margin-top: calc((3px - .55rem) / 2); appearance: none; border-radius: 50%; background: #526689; }
.voice-seek::-moz-range-thumb { width: .55rem; height: .55rem; border: 0; border-radius: 50%; background: #526689; }
.voice-seek:disabled { cursor: default; }
.voice-audio-error { font-size: .8125rem; color: #842904; }
.voice-row :focus-visible, .example-note a:focus-visible { outline: 2px solid #705393; outline-offset: 2px; }
@container voice-results (max-width: 39rem) {
  .voice-row { grid-template-columns: minmax(0, 1fr) auto; gap: .5rem .8rem; padding: .7rem .85rem; }
  .voice-identity { grid-column: 1; grid-row: 1; }
  .voice-actions { grid-column: 2; grid-row: 1; }
  .voice-player { grid-column: 1 / -1; grid-row: 2; }
}
#profileContent audio { display: block; width: 100%; margin: .55rem 0; }
#profileContent {padding:2.5rem 1.5rem;color:#172036}
#profileContent .primary-button {margin-top:1.25rem}
#briefLanguages,.script-fields {min-width:0;margin:.5rem 0;padding:.8rem;border:1px solid var(--line)}
.brief-checks {display:flex;flex-wrap:wrap;gap:.7rem}
.form-grid .brief-check,.script-fields .brief-check {display:flex;align-items:center;gap:.45rem}
.form-grid .brief-check input,.script-fields .brief-check input {width:1.1rem;height:1.1rem;min-height:0;margin:0;flex:none}
.script-fields {display:grid;gap:1rem}
.script-fields label {display:grid;gap:.4rem}
.script-fields textarea {font:inherit;padding:.6rem;max-width:100%}
#briefError {color:#8a2315}
#selectedSummary,#receipt {overflow-wrap:anywhere}
[hidden] {display:none !important}

/* Cast directory and listening folio */
.catalog-heading, .folio-head {
  background:radial-gradient(ellipse at 80% 120%,#335c64 0%,transparent 54%),linear-gradient(115deg,#0e1825,#182435 70%,#10272d);
}
.catalog-heading::before,.folio-head::after {
  content:"";position:absolute;inset:0 0 0 auto;width:55%;pointer-events:none;
  background:repeating-radial-gradient(ellipse at 90% 180%,transparent 0 27px,rgba(215,191,142,.24) 28px,transparent 29px 44px);
  mask-image:linear-gradient(to right,transparent,#000 65%);
}
.catalog-heading .eyebrow {color:#e1c89c}
.voice-row {border-color:#d4d3d1;border-radius:.3rem;background:linear-gradient(110deg,#fcfbf8,#fafbfc);border-inline-start:3px solid #b4a589}
.voice-player {background:#e8edee}.voice-play{background:#203b42}
.voice-pick[aria-pressed="true"] {background:#efe5cf;color:#443b27;border-color:#a2916d}
.profile-dialog {width:min(43rem,calc(100vw - 1.5rem));border:1px solid #95876d;border-radius:.45rem;}
#profileContent {padding:0;background:#f9f8f4;color:#182631}
.folio-head {position:relative;isolation:isolate;overflow:hidden;padding:2rem clamp(1.25rem,5vw,2.6rem) 2rem;color:#faf8ed;border-bottom:2px solid #bca579;}
.folio-head::after {z-index:-1}
.folio-head span,.folio-panel h3 {font:650 .78rem/1.4 system-ui;letter-spacing:.13em;text-transform:uppercase;}
.folio-head span {color:#dfc799}
.folio-head h2 {margin:.15rem 0;font:normal clamp(2.3rem,6vw,3.7rem)/1.08 Georgia,serif}
.folio-head p {margin:.4rem 0 0;color:#dae1dd}
.folio-panel {padding:1.3rem clamp(1.25rem,5vw,2.6rem) 1.65rem;}
.folio-panel h3 {margin:0 0 .7rem;color:#52615e}
.folio-languages {border-bottom:1px solid #d8d5ca;margin-bottom:1.2rem;padding-bottom:1rem}
.folio-languages p {margin:.2rem 0;font-size:.96rem}
.folio-tracks .voice-player {margin:.4rem 0;padding:.45rem .85rem .45rem .45rem}
.folio-actions {display:flex;gap:.65rem;flex-wrap:wrap;margin-top:1.25rem}
.folio-pick {padding:.6rem 1rem;border:1px solid #867559;border-radius:.25rem;background:#fffdf7;color:#323a36;font-weight:600}
.folio-pick[aria-pressed="true"] {background:#e7ddc6}
#profileContent .primary-button {margin:0}
.filter-multi {margin:0 0 1rem;border-bottom:1px solid var(--line);padding-bottom:.6rem}
.filter-multi summary {cursor:pointer;padding:.5rem 0;font-size:.95rem;font-weight:600}
.filter-multi summary small {display:block;padding-left:1rem;color:var(--muted);font-size:.85rem;font-weight:400}
.filter-multi div {max-height:15rem;overflow:auto}
.filter-multi label {display:flex;gap:.6rem;align-items:center;min-height:2.3rem;cursor:pointer}
.filter-multi input {width:1rem;height:1rem;accent-color:#203b42}
.filter-mobile-head #clearMobile {width:auto;height:auto;padding:.45rem;border:0;background:transparent;font:500 .9rem/1.3 system-ui;text-decoration:underline}
.filters .filter-multi {margin:0;padding:0;border-bottom:1px solid var(--line)}
.filter-multi summary {display:grid;grid-template-columns:1fr auto .5rem;align-items:center;gap:.55rem;padding:.95rem .1rem;list-style:none;font:600 .95rem/1.4 system-ui;color:var(--ink)}
.filter-multi summary::-webkit-details-marker {display:none}
.filter-multi summary small {padding:0;font:400 .825rem/1.4 system-ui}
.filter-multi summary::after {content:"";width:.4rem;height:.4rem;border-right:1.5px solid;border-bottom:1.5px solid;transform:rotate(45deg);margin-right:.15rem}
.filter-multi[open] summary::after {transform:rotate(225deg)}
.filter-multi[open] > div {padding:0 .15rem .65rem}
.filter-multi label {font:400 .95rem/1.4 system-ui}
