/* Портфолио PROSTUDIO.NET — в духе темы: чёрный фон, мятный текст #cff2f0, малиновые кнопки #ee2860,
   заголовки Druk Cyr, текст Feature Mono, рамки с радиусом 20px, подписи разделов — градиентом. */

.pf-hero { padding: 70px 0 30px; }
.pf-kicker {
  font-family: var(--font-family); font-weight: 700; font-size: 16px; letter-spacing: .08em; text-transform: uppercase;
  background: linear-gradient(90deg, #e11394 0%, #8832b6 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  margin: 0 0 18px;
}
.pf-title {
  font-family: var(--second-family); font-weight: 700; font-size: clamp(72px, 15vw, 210px);
  line-height: .82; text-transform: uppercase; color: #cff2f0; margin: 0; white-space: nowrap;
}
/* круг вместо «О», как в логотипе */
.pf-o {
  display: inline-block; width: .6em; height: .6em; border-radius: 50%; background: #ee2860;
  margin: 0 .04em; vertical-align: .01em; animation: pfPulse 3.2s ease-in-out infinite;
}
.pf-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pf-lead { font-size: 18px; line-height: 1.45; max-width: 660px; margin: 30px 0 0; color: #cff2f0; }

.pf-stats { display: flex; flex-wrap: wrap; gap: 20px 56px; margin-top: 44px; }
.pf-stat b { display: block; font-family: var(--second-family); font-weight: 700; font-size: 75px; line-height: .9; color: #cff2f0; }
.pf-stat span { display: block; margin-top: 8px; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; opacity: .75; }

.pf-works { padding: 40px 0 70px; }
.pf-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.pf-chip {
  font-family: var(--font-family); font-size: 15px; color: #cff2f0; background: transparent; cursor: pointer;
  border: 1px solid rgba(207, 242, 240, .4); border-radius: 500px; padding: 11px 18px;
  transition: background-color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.pf-chip sup { font-size: 11px; margin-left: 6px; opacity: .7; }
.pf-chip:hover { border-color: #cff2f0; transform: translateY(-1px); }
.pf-chip.is-active { background: #ee2860; border-color: #ee2860; box-shadow: 0 0 20px rgba(238, 40, 96, .35); }
.pf-chip.is-active sup { opacity: 1; }

.pf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pf-card {
  border: 1px solid rgba(207, 242, 240, .22); border-radius: 20px; overflow: hidden; background: #0a0a0a;
  transition: border-color .25s, box-shadow .25s, transform .25s;
  animation: pfIn .55s ease both; animation-delay: var(--d, 0ms);
}
.pf-card[hidden] { display: none; }
.pf-card:hover { border-color: #cff2f0; box-shadow: 0 0 30px rgba(238, 40, 96, .25); transform: translateY(-4px); }
.pf-card.is-playing { border-color: #ee2860; box-shadow: 0 0 34px rgba(238, 40, 96, .45); transform: none; }

.pf-media { position: relative; aspect-ratio: 16 / 9; background: #111; overflow: hidden; }
.pf-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease, filter .3s; }
.pf-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, .6) 100%);
}
.pf-card:hover .pf-media img { transform: scale(1.06); filter: brightness(.8); }
.pf-playbtn {
  position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center;
  border: 0; padding: 0; background: transparent; cursor: pointer;
}
.pf-play {
  display: flex; align-items: center; justify-content: center; width: 66px; height: 66px; border-radius: 50%;
  background: #ee2860; box-shadow: 0 0 0 0 rgba(238, 40, 96, .5); transition: transform .25s, box-shadow .25s;
}
.pf-play::before {
  content: ""; margin-left: 5px; border-style: solid; border-width: 12px 0 12px 19px;
  border-color: transparent transparent transparent #cff2f0;
}
.pf-card:hover .pf-play, .pf-playbtn:focus-visible .pf-play { transform: scale(1.1); box-shadow: 0 0 0 12px rgba(238, 40, 96, .22); }
.pf-dur {
  position: absolute; right: 12px; bottom: 12px; z-index: 3; pointer-events: none;
  font-size: 13px; line-height: 1; padding: 6px 8px; border-radius: 6px; background: rgba(0, 0, 0, .7); color: #cff2f0;
}
.pf-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 4; }
.pf-card.is-playing .pf-media::after { display: none; }

.pf-info { padding: 16px 18px 20px; }
.pf-cat {
  display: block; margin-bottom: 9px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: linear-gradient(90deg, #e11394 0%, #8832b6 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.pf-name {
  margin: 0; font-family: var(--font-family); font-weight: 700; font-size: 17px; line-height: 1.25;
  text-transform: uppercase; color: #cff2f0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pf-empty { grid-column: 1 / -1; font-size: 18px; opacity: .8; }

.pf-more-wrap { display: flex; justify-content: center; margin-top: 44px; }
.pf-more[hidden] { display: none; }

.pf-cta { padding: 0 0 100px; }
.pf-cta__box {
  position: relative; overflow: hidden; text-align: center; padding: 64px 40px;
  border: 2px solid #cff2f0; border-radius: 20px;
  background: radial-gradient(120% 140% at 50% 120%, rgba(238, 40, 96, .28) 0%, rgba(136, 50, 182, .12) 45%, rgba(0, 0, 0, 0) 70%);
}
.pf-cta__title {
  margin: 0 0 20px; font-family: var(--second-family); font-weight: 700; font-size: clamp(48px, 8vw, 110px);
  line-height: .9; text-transform: uppercase; color: #cff2f0;
}
.pf-cta__text { max-width: 560px; margin: 0 auto 32px; font-size: 18px; line-height: 1.45; }

@keyframes pfIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes pfPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(238, 40, 96, 0); } 50% { box-shadow: 0 0 40px 4px rgba(238, 40, 96, .45); } }

@media (max-width: 1023px) {
  .pf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .pf-stat b { font-size: 56px; }
}
@media (max-width: 640px) {
  .pf-hero { padding: 40px 0 20px; }
  .pf-lead { font-size: 16px; }
  .pf-stats { gap: 18px 32px; }
  .pf-stat b { font-size: 44px; }
  .pf-stat span { font-size: 12px; }
  .pf-works { padding: 24px 0 60px; }
  .pf-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -10px 24px; padding: 0 10px 6px; scrollbar-width: none; }
  .pf-chips::-webkit-scrollbar { display: none; }
  .pf-chip { flex: 0 0 auto; font-size: 14px; padding: 10px 14px; }
  .pf-grid { grid-template-columns: 1fr; }
  .pf-name { font-size: 15px; }
  .pf-cta__box { padding: 44px 20px; }
  .pf-cta__text { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .pf-card, .pf-o { animation: none; }
  .pf-card, .pf-media img, .pf-play, .pf-chip { transition: none; }
}
