/* ===== Project detail — Section 5: Next project + closing invitation ===== */
.section5 {
  position: relative;
  background: var(--blue);
  color: var(--white);
  overflow: hidden;
}

.section5__next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: clamp(28px, 3vw, 40px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}
.section5__next-label { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.75; }
.section5__next-name {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.6vw, 52px);
  line-height: 1;
  transition: gap 0.4s var(--ease), color 0.3s;
}
.section5__next-name svg { width: 0.8em; height: 0.8em; }
.section5__next-name:hover { gap: 26px; color: var(--green); }

.section5__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  padding: clamp(50px, 6vw, 90px) 0;
}
.section5__title {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(46px, 6vw, 92px);
  line-height: 0.95;
}
.section5__title .line { display: block; overflow: hidden; }
.section5__title .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease) 0.2s; }
.section5__title .line:nth-child(2) > span { transition-delay: 0.32s; }
.section5.is-visible .section5__title .line > span { transform: none; }

.section5 .btn--white { background: var(--white); color: var(--ink); padding: 18px 34px; font-weight: 600; }
.section5 .btn--white::before { background: var(--green); }
.section5__btn { opacity: 0; transform: translateY(20px); transition: opacity 0.8s var(--ease) 0.5s, transform 0.8s var(--ease) 0.5s; }
.section5.is-visible .section5__btn { opacity: 1; transform: none; }

.section5::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.12) 50%, transparent 65%);
  background-size: 250% 100%;
  animation: pdSweep 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes pdSweep { from { background-position: 150% 0; } to { background-position: -100% 0; } }
