/* =========================================================
   SINGLE PROJECT HERO — LOCKED DESIGN
========================================================= */
.nf-single-project-hero {
  --nf-blue: #1E90FF;
  --nf-cyan: #4DDCFF;
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 60px 0;
  background: linear-gradient(180deg, #05070B 0%, #06090F 100%);
  color: #FFFFFF;
  font-family: "Manrope", sans-serif;
}

.nf-single-project-hero__shell {
  width: min(calc(100% - 64px), 1200px);
  margin: 0 auto;
}

.nf-single-project-hero__media {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  background: #080B11;
}

.nf-single-project-hero__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.92) contrast(1.04) brightness(.76);
  transform: scale(1.002);
  transition: transform 1.2s cubic-bezier(.22,1,.36,1);
}

.nf-single-project-hero__media:hover .nf-single-project-hero__image {
  transform: scale(1.02);
}

.nf-single-project-hero__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5,7,11,.28) 0%, rgba(5,7,11,.04) 32%, rgba(5,7,11,.12) 48%, rgba(5,7,11,.94) 100%),
    linear-gradient(90deg, rgba(5,7,11,.34) 0%, transparent 55%);
}

.nf-single-project-hero__top {
  position: absolute;
  z-index: 3;
  top: 28px;
  left: 30px;
  right: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nf-single-project-hero__number {
  color: rgba(255,255,255,.46);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .08em;
}

.nf-single-project-hero__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.nf-single-project-hero__tags span {
  min-height: 29px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(5,8,14,.45);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: rgba(255,255,255,.67);
  font-size: 8px;
  font-weight: 500;
}

.nf-single-project-hero__content {
  position: absolute;
  z-index: 3;
  left: 36px;
  bottom: 150px;
  max-width: 850px;
}

.nf-single-project-hero h1 {
  margin: 0;
  color: #FFFFFF;
  font-size: clamp(48px,6vw,78px);
  font-weight: 620;
  line-height: .98;
  letter-spacing: -.055em;
}

.nf-single-project-hero h1 span {
  display: block;
  color: var(--nf-blue);
}

.nf-single-project-hero__content p {
  max-width: 560px;
  margin: 22px 0 0;
  color: rgba(220,227,236,.67);
  font-size: 13px;
  line-height: 1.75;
}

.nf-single-project-hero__details {
  position: absolute;
  z-index: 3;
  left: 36px;
  right: 36px;
  bottom: 30px;
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  border-top: 1px solid rgba(255,255,255,.10);
  padding-top: 22px;
}

.nf-project-detail {
  min-width: 0;
  padding-right: 28px;
}

.nf-project-detail + .nf-project-detail {
  padding-left: 28px;
  border-left: 1px solid rgba(255,255,255,.08);
}

.nf-project-detail span {
  display: block;
  margin-bottom: 6px;
  color: rgba(220,227,236,.38);
  font-size: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .10em;
}

.nf-project-detail strong {
  display: block;
  color: rgba(255,255,255,.83);
  font-size: 12px;
  font-weight: 550;
  line-height: 1.4;
}

@media (max-width: 1024px) {
  .nf-single-project-hero { padding: 60px 0; }
  .nf-single-project-hero__shell { width: min(calc(100% - 40px),1200px); }
  .nf-single-project-hero__media { min-height: 640px; }
}

@media (max-width: 767px) {
  .nf-single-project-hero { padding: 60px 0; }
  .nf-single-project-hero__shell { width: calc(100% - 32px); }
  .nf-single-project-hero__media { min-height: 640px; border-radius: 16px; }
  .nf-single-project-hero__top { top: 20px; left: 20px; right: 20px; }
  .nf-single-project-hero__tags { max-width: 75%; }
  .nf-single-project-hero__content { left: 20px; right: 20px; bottom: 210px; }
  .nf-single-project-hero h1 { font-size: clamp(42px,12vw,58px); }
  .nf-single-project-hero__content p { font-size: 12px; }
  .nf-single-project-hero__details {
    left: 20px;
    right: 20px;
    bottom: 24px;
    grid-template-columns: 1fr;
    gap: 13px;
    padding-top: 18px;
  }
  .nf-project-detail,
  .nf-project-detail + .nf-project-detail { padding: 0; border: 0; }
}

@media (max-width: 480px) {
  .nf-single-project-hero__media { min-height: 620px; }
  .nf-single-project-hero__tags span:nth-child(3) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .nf-single-project-hero *,
  .nf-single-project-hero *::before,
  .nf-single-project-hero *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
