/* ===== About — Section 5: Closing invitation ===== */
.section5 {
  position: relative;
  min-height: clamp(380px, 40vw, 560px);
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 80% 50%, rgba(47, 91, 255, 0.16), transparent 45%),
    radial-gradient(circle at 70% 90%, rgba(46, 232, 111, 0.14), transparent 40%),
    #f4f4f4;
  overflow: hidden;
}

/* placeholder ring until the dedicated background arrives */
.section5__ring {
  position: absolute;
  right: -8%;
  top: 50%;
  width: clamp(380px, 46vw, 720px);
  transform: translateY(-50%) rotate(-18deg);
  opacity: 0;
  transition: opacity 1.4s var(--ease), transform 1.6s var(--ease);
  pointer-events: none;
}
.section5__ring img {
  width: 100%;
  filter: drop-shadow(0 40px 60px rgba(47, 91, 255, 0.3));
  animation: ringSpin 18s ease-in-out infinite alternate;
}
.section5.is-visible .section5__ring { opacity: 1; transform: translateY(-50%) rotate(0deg); }
@keyframes ringSpin {
  from { transform: rotate(0deg) scale(1); }
  to   { transform: rotate(14deg) scale(1.05); }
}

.section5__content { position: relative; z-index: 1; }

.section5__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(50px, 6.2vw, 96px);
  line-height: 0.95;
  margin-bottom: 34px;
}
.section5__title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.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; }

.btn--blue { background: var(--blue); color: var(--white); padding: 18px 26px; }
.btn--blue::before { background: var(--ink); }

.section5__cta { opacity: 0; transform: translateY(20px); transition: opacity 0.8s var(--ease) 0.55s, transform 0.8s var(--ease) 0.55s; }
.section5.is-visible .section5__cta { opacity: 1; transform: none; }

@media (max-width: 760px) {
  .section5 { align-items: flex-end; padding: 220px 0 60px; }
  .section5__ring { top: 30%; right: -25%; width: 80vw; }
}
