/* Styles for the public animator profile page (/animators/<number>). */

.profile-strip { padding: 32px 0 24px; }
.profile-strip h1 { margin: 0 0 6px; }
.profile-headline { font-size: 1.25rem; margin: 0 0 14px; }
.profile-meta { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.profile-meta li { margin: 0; }
.profile-ticks { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.profile-ticks li {
  margin: 0; padding: 4px 12px; border-radius: 999px;
  background: #e6efe9; color: var(--pine, #1e4640); font-size: 0.9rem;
}
.profile-ticks .tick-verified {
  color: var(--pine, #1e4640); font-weight: 600;
  text-decoration: underline; text-underline-offset: 2px;
}
.profile-ticks .tick-verified:hover,
.profile-ticks .tick-verified:focus-visible { text-decoration-thickness: 2px; }

.media-frame {
  position: relative; width: 100%; aspect-ratio: 8 / 5;
  overflow: hidden; border-radius: 12px; background: #e4ded0;
}
.media-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

.video-frame {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  overflow: hidden; border-radius: 12px; background: #1c1b19;
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.piece-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 720px) { .piece-grid { grid-template-columns: 1fr 1fr; } }
.piece h3 { margin: 12px 0 4px; }
.piece-facts { margin: 0 0 6px; color: #4a483f; font-size: 0.95rem; }
.piece-role { margin: 0; }

.facts { margin: 0; display: grid; grid-template-columns: 1fr; gap: 14px 32px; }
@media (min-width: 720px) { .facts { grid-template-columns: 1fr 1fr; } }
.facts dt { font-weight: 600; margin: 0; }
.facts dd { margin: 2px 0 0; }

.profile-text { white-space: pre-line; max-width: 68ch; }
.profile-about summary {
  cursor: pointer; color: var(--cel, #d63a12); font-weight: 600;
  min-height: 44px; display: inline-flex; align-items: center;
}
.profile-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 20px; }
.profile-links li { margin: 0; }
.profile-links a { display: inline-flex; align-items: center; min-height: 44px; }

/* Tighter spacing, profile pages only (normal and example) */
.has-sticky .section,
.example-profile .section { padding-top: 28px; padding-bottom: 28px; }
.has-sticky .section h2,
.example-profile .section h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 16px; }
.has-sticky .jump,
.example-profile .jump { margin-top: 8px; margin-bottom: 32px; }

.contact-sticky { display: none; }
@media (max-width: 719px) {
  .contact-sticky {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    padding: 12px 16px; background: #f3efe6; border-top: 1px solid #d9d2c0;
  }
  .contact-sticky .btn { width: 100%; text-align: center; }
  .has-sticky .site-footer { padding-bottom: 88px; }
}

/* Filters on the browse page (/animators/) */
.filters { display: grid; grid-template-columns: 1fr; gap: 12px 20px; }
@media (min-width: 720px) { .filters { grid-template-columns: repeat(3, 1fr); } }
.filters .actions { grid-column: 1 / -1; margin-top: 4px; }

/* Contact form on the profile page */
#enquiry-root > p { margin: 0 0 20px; }
#enquiry-root textarea {
  width: 100%; box-sizing: border-box; padding: 14px 18px;
  font: inherit; color: inherit; background: transparent;
  border: 1px solid #cfc8b6; border-radius: 12px; resize: vertical;
}

/* Example profile banner (profile #1 only) */
.example-profile .note .eyebrow { margin: 0 0 8px; }
.example-profile .note h2 { max-width: none; font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0 0 12px; }
.example-profile .note p { margin: 0 0 16px; }
.example-profile .note .actions { margin-top: 20px; }
