/* ===== Projects — Section 3: Your brand could be next ===== */
.section3 {
  position: relative;
  background: var(--blue);
  color: var(--white);
  padding: clamp(70px, 8vw, 120px) 0;
  overflow: hidden;
  clip-path: inset(10% 5% 10% 5% round 10px);
  transition: clip-path 1.2s var(--ease);
}
.section3.is-visible { clip-path: inset(0 0 0 0 round 0); }

.section3__title {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(50px, 7vw, 110px);
  line-height: 0.95;
  margin-bottom: 34px;
}
.section3__title .line { display: block; overflow: hidden; }
.section3__title .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease) 0.3s; }
.section3__title .line:nth-child(2) > span { transition-delay: 0.42s; }
.section3.is-visible .section3__title .line > span { transform: none; }

.btn--white { position: relative; z-index: 2; background: var(--white); color: var(--ink); padding: 18px 34px; font-weight: 600; }
.btn--white::before { background: var(--green); }

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

/* chrome W emblem, tinted to sit on the blue */
.section3__emblem {
  position: absolute;
  z-index: 1;
  right: -4%;
  bottom: -12%;
  width: clamp(320px, 42vw, 640px);
  opacity: 0;
  transform: translate(15%, 20%) rotate(25deg);
  transition: opacity 1.2s var(--ease) 0.3s, transform 1.6s var(--ease) 0.3s;
  pointer-events: none;
}
.section3__emblem img {
  width: 100%;
  filter: grayscale(1) contrast(1.2) drop-shadow(0 30px 40px rgba(0, 0, 40, 0.5));
}
.section3.is-visible .section3__emblem { opacity: 1; transform: rotate(-8deg); }
.section3.is-visible .section3__emblem img { animation: nextFloat 7s ease-in-out 2s infinite; }
@keyframes nextFloat {
  0%, 100% { transform: translateY(0) rotate(0); }
  50%      { transform: translateY(-18px) rotate(3deg); }
}

/* soft light sweep across the blue */
.section3::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.12) 45%, transparent 60%);
  background-size: 250% 100%;
  animation: nextSweep 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes nextSweep { from { background-position: 150% 0; } to { background-position: -100% 0; } }

@media (max-width: 760px) {
  .section3__emblem { opacity: 0.35; }
  .section3.is-visible .section3__emblem { opacity: 0.35; }
}
