/* ===== Project detail — Section 1: Hero (name, industry, cover) ===== */
.section1 {
  position: relative;
  padding: clamp(130px, 14vw, 180px) 0 clamp(40px, 5vw, 70px);
  background: #1c1c1f;
  overflow: hidden;
}

.section1__back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 30px;
  animation: pdFadeUp 0.8s var(--ease) 0.3s both;
  transition: color 0.3s, gap 0.4s var(--ease);
}
.section1__back svg { width: 16px; height: 16px; }
.section1__back:hover { color: var(--green); gap: 16px; }

.section1__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-bottom: clamp(30px, 4vw, 50px); }

.section1__title {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(56px, 9vw, 140px);
  line-height: 0.92;
  overflow: hidden;
}
.section1__title > span { display: inline-block; transform: translateY(105%); animation: pdLineUp 1.1s var(--ease) 0.45s both; }

.section1__tags { display: flex; gap: 10px; flex-wrap: wrap; list-style: none; animation: pdFadeUp 0.8s var(--ease) 0.9s both; }
.section1__tags li { font-size: 14px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); color: rgba(255, 255, 255, 0.8); }
.section1__tags li:first-child { border-color: var(--blue); color: var(--white); background: var(--blue); }

/* cover image: wipe up + slow zoom */
.section1__cover {
  position: relative;
  aspect-ratio: 16 / 8;
  overflow: hidden;
  background: var(--ink);
  clip-path: inset(100% 0 0 0);
  animation: pdWipe 1.4s var(--ease) 0.7s forwards;
}
.section1__cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.2) translateY(var(--parallax, 0px));
  animation: pdZoom 2.4s var(--ease) 0.7s forwards;
}

@keyframes pdLineUp { to { transform: translateY(0); } }
@keyframes pdFadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes pdWipe { to { clip-path: inset(0 0 0 0); } }
@keyframes pdZoom { to { transform: scale(1.05) translateY(var(--parallax, 0px)); } }

@media (max-width: 760px) {
  .section1__cover { aspect-ratio: 1 / 1; }
}
