/* ---------------------------------------------
   DiPStrategy -- Portfolio Page
   style/portfolio.css
   --------------------------------------------- */

.pf-page {
  background: #f3f3ea;
  color: #093564;
  min-height: 100vh;
}

.pf-hero {
  position: relative;
  background:
    radial-gradient(circle at 82% 18%, #b77cf0 0%, rgba(183,124,240,0) 30%),
    linear-gradient(135deg, #6f35a8 0%, #a060dc 48%, #4d2576 100%);
  color: #fff;
  overflow: hidden;
}

.pf-pattern {
  position: absolute;
  inset: 0;
  background-image: url('../assets/pattern-02.png');
  background-repeat: repeat;
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}

.pf-hero-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.28) 48%, rgba(0,0,0,0) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.36) 0%, rgba(0,0,0,0.08) 52%, rgba(0,0,0,0.22) 100%);
  z-index: 1;
  pointer-events: none;
}

.pf-hero-inner {
  position: relative;
  z-index: 10;
  max-width: 1180px;
  margin: 0 auto;
  padding: 118px 56px 38px;
}

.pf-accent-line {
  width: 160px;
  height: 4px;
  background: var(--lime, #DEFF2D);
  margin-bottom: 18px;
}

.pf-kicker,
.pf-label {
  font-family: 'Barlow', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.pf-kicker {
  color: rgba(255,255,255,0.6);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.pf-label-star {
  width: 14px;
  height: 14px;
  animation: spin 12s linear infinite;
  flex-shrink: 0;
}

.pf-headline {
  font-family: 'Montserrat', sans-serif;
  font-weight: 200;
  font-size: clamp(32px, 4.2vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 760px;
  margin: 0 0 16px;
}

.pf-headline strong {
  display: block;
  font-weight: 900;
  color: #DEFF2D;
}

.pf-subline {
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.55;
  color: rgba(255,255,255,0.72);
  max-width: 780px;
  margin: 0;
}

.pf-primary,
.pf-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 999px;
  padding: 0 20px;
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
}

.pf-primary {
  background: #DEFF2D;
  color: #080808;
}

.pf-secondary {
  border: 1px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.78);
}

.pf-selected-section {
  padding: 36px 56px 96px;
  max-width: 1400px;
  margin: 0 auto;
}

.pf-label {
  color: rgba(9,53,100,0.52);
}

.pf-private-inner h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(28px, 3vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0;
}

.pf-trust-item p,
.pf-private-inner p,
.pf-work-body p {
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.7;
}

.pf-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.pf-filter-row span {
  border: 1px solid rgba(9,53,100,0.14);
  border-radius: 999px;
  padding: 7px 11px;
  font-family: 'Barlow', sans-serif;
  font-weight: 500;
  font-size: 12px;
  color: rgba(9,53,100,0.72);
  background: rgba(255,255,255,0.52);
}

.pf-work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.pf-work-card {
  background: #fff;
  border: 1px solid rgba(9,53,100,0.12);
  display: grid;
  grid-template-rows: auto 1fr;
}

.pf-work-img-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #093564;
}

.pf-work-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.pf-work-card:hover .pf-work-img-wrap img {
  transform: scale(1.04);
}

.pf-work-body {
  padding: 28px;
}

.pf-work-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.pf-work-meta span {
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(9,53,100,0.58);
}

.pf-work-body h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(22px, 2vw, 32px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}

.pf-work-body p {
  color: rgba(9,53,100,0.68);
  margin: 0;
}

.pf-client-basis {
  margin-top: 20px;
}

.pf-client-basis-label {
  display: block;
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(9,53,100,0.42);
  margin-bottom: 8px;
}

.pf-client-basis-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pf-client-basis-list span {
  border: 1px solid rgba(9,53,100,0.14);
  border-radius: 999px;
  padding: 6px 9px;
  font-family: 'Barlow', sans-serif;
  font-weight: 500;
  font-size: 11px;
  color: rgba(9,53,100,0.68);
  background: rgba(9,53,100,0.04);
}

.pf-scope-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 18px;
}

.pf-scope-list span {
  background: #093564;
  color: #DEFF2D;
  border-radius: 999px;
  padding: 6px 9px;
  font-family: 'Barlow', sans-serif;
  font-weight: 500;
  font-size: 11px;
}

.pf-work-body small {
  display: block;
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(9,53,100,0.42);
}

.pf-trust-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(9,53,100,0.12);
  border-bottom: 1px solid rgba(9,53,100,0.12);
  background: #fff;
}

.pf-trust-item {
  padding: 42px 40px;
  border-right: 1px solid rgba(9,53,100,0.12);
}

.pf-trust-item:last-child { border-right: none; }

.pf-trust-item span {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  color: rgba(9,53,100,0.18);
}

.pf-trust-item h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 18px;
  margin: 14px 0 10px;
}

.pf-trust-item p {
  color: rgba(9,53,100,0.62);
}

.pf-private-section {
  background: #080808;
  padding: 96px 56px;
  color: #fff;
}

.pf-private-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.pf-private-inner .pf-label {
  display: block;
  color: #DEFF2D;
  margin-bottom: 16px;
}

.pf-private-inner p {
  color: rgba(255,255,255,0.68);
  margin: 20px 0 32px;
}

@media (max-width: 900px) {
  .pf-hero-inner,
  .pf-selected-section,
  .pf-private-section {
    padding-left: 24px;
    padding-right: 24px;
  }

  .pf-hero-inner {
    padding-top: 104px;
    padding-bottom: 40px;
  }

  .pf-work-grid,
  .pf-trust-section {
    grid-template-columns: 1fr;
  }

  .pf-selected-section,
  .pf-private-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .pf-trust-item {
    border-right: none;
    border-bottom: 1px solid rgba(9,53,100,0.12);
    padding: 32px 24px;
  }

  .pf-trust-item:last-child { border-bottom: none; }
}
