/* Selected direction: the Presence composition, with the portrait from study 17. */
.presence-field { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.presence-motion .wordmark { pointer-events: auto; }
.selectable-title { fill: transparent; cursor: text; user-select: text; -webkit-user-select: text; }
.selectable-title::selection { color: transparent; fill: transparent; background: rgba(241, 232, 220, .28); }
.presence-motion [data-backend="initial"] .presence-image,
.presence-motion [data-backend="pending"] .presence-image { visibility: hidden; background-image: none; }
.presence-motion .presence-image {
  background: #0b0909 url("assets/presence-placeholder.webp") right bottom / contain no-repeat;
  z-index: auto;
}
.presence-motion [data-artwork-ready] .presence-image,
.presence-motion [data-backend="live"] .presence-image,
.presence-motion [data-backend="canvas"] .presence-image { background-image: none; }
.presence-canvas { position: absolute; inset: 0; opacity: 0; }
.presence-canvas canvas { display: block; width: 100%; height: 100%; }
.presence-recording { display: none; }
.presence-motion [data-backend="live"] .figure,
.presence-motion [data-backend="canvas"] .figure { opacity: 0; }
.presence-motion [data-backend="live"] .presence-canvas,
.presence-motion [data-backend="canvas"] .presence-canvas { opacity: .87; }
.presence-motion .film-header { min-height: 38px; }
.presence-controls {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  display: flex; align-items: center; gap: 18px;
}
.presence-controls button {
  border: 0; background: none; color: #d5b8b4; font: inherit; font-size: 11px;
  padding: 0; min-width: 60px; min-height: 44px; cursor: pointer; white-space: nowrap;
}
.presence-controls button:hover { color: #fff; }
.presence-controls button:focus-visible { outline: 1px solid #fb4d40; outline-offset: 5px; }
.presence-controls[hidden], .presence-controls [hidden] { display: none; }
.presence-status:empty { display: none; }
.presence-status { margin-top: 14px; font-size: 12px; line-height: 1.5; color: #d5b8b4; }
.presence-motion .presence-watch {
  min-height: 54px; min-width: 186px; padding: 0 22px; border: 1px solid #f1e8dc;
  border-radius: 999px; background: #f1e8dc; color: #191110;
  justify-content: center; gap: 13px; font-size: 13px; font-weight: 600;
  transition: background .2s, border-color .2s, transform .2s;
}
.presence-motion .presence-watch svg { order: 0; width: 17px; height: 17px; }
.presence-motion .presence-watch:hover { background: #fff8ef; border-color: #fff8ef; transform: translateY(-2px); }
.presence-motion .presence-watch:active { transform: translateY(0); }
.presence-motion .presence-watch:focus-visible { outline: 2px solid #ff7465; outline-offset: 5px; }
.presence-motion .support-film {
  min-height: 54px; padding: 0 22px; border: 1px solid rgba(241, 232, 220, .55);
  border-radius: 999px; background: transparent; color: #f1e8dc;
  justify-content: center; gap: 12px; font-size: 13px; font-weight: 500;
  transition: background .2s, border-color .2s, color .2s;
}
.presence-motion .support-film:hover { background: rgba(241, 232, 220, .08); border-color: #f1e8dc; color: #fff8ef; }
.director-imdb { display: block; transition: opacity .2s; }
.director-imdb:hover { opacity: .75; }
.director-imdb:focus-visible { outline: 2px solid #ff7465; outline-offset: 5px; }
/* Partner enquiries sit with the companies already behind the film. */
.presence-partners { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 30px; min-width: 0; }
.partner-link {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  font-size: 12px; color: #d9c7c2; white-space: nowrap; transition: color .2s;
}
.partner-link:hover { color: #fff; }
.partner-link:focus-visible { outline: 2px solid #ff7465; outline-offset: 5px; }
@media (max-width: 700px) {
  .presence-partners { flex-direction: column; gap: 6px; }
  .partner-link { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { .partner-link { transition: none; } }
@media (max-width: 700px) {
  .presence-motion .presence-image { background-position: center; }
  .presence-controls { gap: 14px; }
  .presence-controls button { min-height: 44px; font-size: 10px; }
  .presence-motion .film-header { min-height: 30px; }
  .presence-motion [data-backend="live"] .presence-canvas,
  .presence-motion [data-backend="canvas"] .presence-canvas { opacity: .6525; }
  .presence-motion .presence-watch { min-width: 175px; min-height: 52px; padding-inline: 18px; }
  .presence-motion .film-actions { gap: 12px 18px; }
  .presence-motion .support-film { min-height: 52px; padding-inline: 18px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .presence-motion .presence-watch, .director-imdb { transition: none; }
}
