.pfp-hero {
  min-height: max(810px, calc(100svh - 56px));
}

.pfp-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.pfp-hero .hero-shade {
  background:
    linear-gradient(90deg, rgba(14, 11, 19, 0.95) 0%, rgba(14, 11, 19, 0.76) 44%, rgba(14, 11, 19, 0.2) 78%),
    linear-gradient(180deg, rgba(14, 11, 19, 0.18) 0%, rgba(14, 11, 19, 0.7) 100%);
}

.pfp-credit-note {
  display: flex;
  max-width: 720px;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  line-height: 1.5;
}

.pfp-credit-note svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin-top: 2px;
  color: #ff82c6;
}

.pfp-credit-note strong { color: #fff; }

.pfp-hero .hero-model-picker { min-width: 216px; }

.pfp-hero .hero-model-trigger { min-width: 216px; }

.pfp-hero .hero-model-menu {
  top: auto;
  bottom: calc(100% + 10px);
  width: min(300px, calc(100vw - 32px));
  max-height: min(292px, 40vh);
  padding: 8px;
}

.pfp-hero .hero-model-menu button {
  min-height: 48px;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
}

.hero-model-option-name {
  min-width: 0;
  overflow: hidden;
  color: inherit;
  font-size: 0.8rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pfp-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: -18px auto 30px;
}

.pfp-filter button {
  min-height: 42px;
  padding: 10px 15px;
  border: 1px solid var(--button-border);
  border-radius: 999px;
  color: #514b57;
  background: var(--button-surface);
  cursor: pointer;
  font: 700 0.82rem/1 "DM Sans", sans-serif;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease, transform 180ms ease;
}

.pfp-filter button:hover,
.pfp-filter button:focus-visible {
  border-color: var(--button-border-hover);
  color: #8c1654;
  background: var(--button-surface-hover);
  transform: translateY(-1px);
}

.pfp-filter button.is-active { border-color: var(--button-primary-border); color: #fff; background: var(--brand-gradient); box-shadow: none; }

.pfp-filter button:focus-visible {
  outline: 2px solid var(--button-focus);
  outline-offset: 2px;
}

.pfp-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  column-count: auto;
}

.pfp-gallery .work-card,
.pfp-gallery .work-card:nth-child(n) {
  display: block;
  grid-column: span 1;
  margin: 0;
}

.pfp-gallery .work-card[hidden] { display: none; }

.pfp-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: #e9e6eb;
}

.pfp-gallery .pfp-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
}

.crop-ring {
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 50%;
  box-shadow: 0 0 0 100vmax rgba(15, 11, 18, 0.08);
  pointer-events: none;
}

.pfp-gallery .work-card:hover .crop-ring,
.pfp-gallery .work-card:focus-visible .crop-ring {
  border-color: rgba(255, 255, 255, 0.92);
}

.pfp-use-cases {
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 16%, rgba(244, 91, 174, 0.08), transparent 28%),
    radial-gradient(circle at 92% 70%, rgba(106, 118, 255, 0.08), transparent 30%),
    #fbfafc;
}

.pfp-story-list {
  display: grid;
  gap: clamp(72px, 8vw, 112px);
}

.pfp-story {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  align-items: center;
  gap: clamp(42px, 7vw, 96px);
}

.pfp-story.is-reversed .pfp-story-media { order: 2; }

.pfp-story-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border: 1px solid rgba(73, 62, 78, 0.12);
  border-radius: 28px;
  background: #e9e6eb;
  box-shadow: 0 24px 70px rgba(45, 33, 51, 0.14);
}

.pfp-story-media::after {
  position: absolute;
  inset: 8% auto 8% 50%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  box-shadow: 0 0 0 100vmax rgba(17, 12, 20, 0.06);
  content: "";
  pointer-events: none;
  transform: translateX(-50%);
}

.pfp-story-media.is-full-artwork::after { display: none; }

.pfp-story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pfp-story-copy h2 {
  max-width: 650px;
  margin: 0 0 22px;
  color: #171419;
  font: 800 var(--type-story-title)/1.08 "Manrope", sans-serif;
  letter-spacing: -0.045em;
}

.pfp-story-copy p {
  max-width: 680px;
  margin: 0;
  color: #625d67;
  font-size: var(--type-story-copy);
  line-height: 1.82;
}

.faq-list a {
  color: #a81765;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.faq-list a:hover { color: #761044; }

@media (max-width: 980px) {
  .pfp-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .pfp-hero { min-height: max(810px, calc(100svh - 44px)); }
  .pfp-story {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .pfp-story.is-reversed .pfp-story-media { order: initial; }
  .pfp-story-media { max-width: 620px; }
  .pfp-story-copy h2 { max-width: 720px; }
  .pfp-story-copy p { max-width: 720px; }
}

@media (max-width: 580px) {
  .pfp-hero { min-height: max(830px, calc(100svh - 36px)); }
  .pfp-hero-image { object-position: 68% center; }
  .pfp-hero .hero-copy h1 em { white-space: normal; font-size: var(--type-hero-title); line-height: 1.05; }
  .pfp-credit-note { margin-top: 12px; font-size: 0.7rem; }
  .pfp-hero .hero-model-picker,
  .pfp-hero .hero-model-trigger { min-width: 0; }
  .pfp-hero .hero-model-menu { width: 100%; max-height: min(340px, 42vh); }
  .pfp-hero .hero-model-menu button { min-height: 48px; }
  .pfp-filter { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; }
  .pfp-filter button { flex: 0 0 auto; }
  .pfp-gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pfp-gallery .work-meta { padding: 13px 12px 14px; }
  .pfp-gallery .work-meta span { font-size: var(--type-gallery-meta); }
  .pfp-gallery .work-meta strong { font-size: var(--type-gallery-title); }
  .pfp-story-list { gap: 64px; }
  .pfp-story { gap: 24px; }
  .pfp-story-media { border-radius: 20px; }
  .pfp-story-copy h2 { margin-bottom: 16px; font-size: var(--type-story-title); line-height: 1.12; }
  .pfp-story-copy p { font-size: var(--type-story-copy); line-height: 1.72; }
}
