.page-hero {
  background: var(--black);
  padding: 160px 64px 100px;
  position: relative;
  overflow: hidden;
}
.page-hero-orb {
  position: absolute;
  width: 700px;
  height: 700px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    rgba(232, 98, 10, 0.08),
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}
.page-hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: -2.5px;
  color: white;
}
.page-hero-title .o {
  color: var(--orange);
}
.page-hero-desc {
  margin-top: 20px;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.45);
  max-width: 560px;
  line-height: 1.75;
}
.port-filter {
  padding: 56px 64px 0;
  background: var(--white);
}
.port-filter-inner {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--gray2);
  padding-bottom: 24px;
}
.pf-btn {
  padding: 9px 22px;
  border-radius: 100px;
  border: 1.5px solid var(--gray2);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
  background: white;
  color: var(--dark4);
}
.pf-btn:hover,
.pf-btn.active {
  background: var(--orange);
  border-color: var(--orange);
  color: white;
}
.portfolio-main {
  padding: 56px 64px 110px;
}
.port-masonry {
  columns: 3;
  gap: 20px;
}
.port-item {
  text-decoration: none;
  break-inside: avoid;
  margin-bottom: 20px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  display: block;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s;
}
.port-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.14);
}
.port-thumb-wrap {
  position: relative;
  overflow: hidden;
}
.port-img {
  width: 100%;
  display: block;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  object-fit: cover;
}
.port-bg {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  font-size: 5rem;
}
.port-item:hover .port-bg,
.port-item:hover .port-img {
  transform: scale(1.06);
}
.port-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.88) 0%,
    rgba(0, 0, 0, 0) 55%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  opacity: 0;
  transition: opacity 0.3s;
}
.port-item:hover .port-overlay {
  opacity: 1;
}
.port-tag-list {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.port-tag {
  display: inline-block;
  background: var(--orange);
  color: white;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.5px;
}
.port-proj-name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: white;
  margin-bottom: 4px;
}
.port-proj-client {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
}
.port-view-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 42px;
  height: 42px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  opacity: 0;
  transform: translateY(-8px) scale(0.85);
  transition: 0.3s;
  box-shadow: var(--shadow-lg);
  color: var(--orange);
  font-weight: 700;
}
.port-item:hover .port-view-btn {
  opacity: 1;
  transform: none;
}
.port-feat {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--orange);
  color: white;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.port-skeleton {
  break-inside: avoid;
  margin-bottom: 20px;
  border-radius: var(--radius);
  overflow: hidden;
}
.skeleton-box {
  background: linear-gradient(
    90deg,
    var(--gray) 25%,
    var(--gray2) 50%,
    var(--gray) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}
@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
.stats-strip {
  background: var(--orange);
  padding: 56px 64px;
}
.stats-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}
.ss-item {
  padding: 0 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}
.ss-item:last-child {
  border-right: none;
}
.ss-num {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 800;
  font-size: 2.8rem;
  color: white;
  line-height: 1;
}
.ss-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 6px;
}
.port-empty {
  text-align: center;
  padding: 80px 20px;
}
.port-empty-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}
.port-empty-title {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
@media (max-width: 1100px) {
  .page-hero,
  .port-filter,
  .portfolio-main,
  .stats-strip {
    padding-left: 32px;
    padding-right: 32px;
  }
  .page-hero {
    padding-top: 140px;
  }
  .port-masonry {
    columns: 2;
  }
  .stats-strip-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .ss-item {
    border-right: none;
  }
}
@media (max-width: 640px) {
  .page-hero,
  .port-filter,
  .portfolio-main,
  .stats-strip {
    padding-left: 20px;
    padding-right: 20px;
  }
  .page-hero {
    padding-top: 120px;
  }
  .port-masonry {
    columns: 1;
  }
}
