/* ===== Contact — Section 3: Brand message band ===== */
.section3 {
  position: relative;
  background: var(--blue);
  color: var(--white);
  padding: clamp(40px, 5vw, 64px) 0;
  overflow: hidden;
}

.brand-msg {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vw, 56px);
  list-style: none;
  flex-wrap: wrap;
}

.brand-msg__item {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 3.6vw, 52px);
  line-height: 1;
  overflow: hidden;
}
.brand-msg__item > span { display: inline-block; transform: translateY(105%); transition: transform 0.9s var(--ease); }
.section3.is-visible .brand-msg__item > span { transform: none; }
.section3.is-visible .brand-msg > :nth-child(3) > span { transition-delay: 0.3s; }
.section3.is-visible .brand-msg > :nth-child(5) > span { transition-delay: 0.6s; }

/* once in, each phrase glows green in turn */
.section3.is-visible .brand-msg__item > span { animation: msgGlow 6s ease-in-out 1.6s infinite; }
.section3.is-visible .brand-msg > :nth-child(3) > span { animation-delay: 3.6s; }
.section3.is-visible .brand-msg > :nth-child(5) > span { animation-delay: 5.6s; }
@keyframes msgGlow {
  0%, 30%, 100% { color: var(--white); }
  10%, 20%      { color: var(--green); }
}

.brand-msg__arrow { width: clamp(40px, 4vw, 56px); height: 16px; }
.brand-msg__arrow svg { width: 100%; height: 100%; overflow: visible; }
.brand-msg__arrow path { stroke-dasharray: 80; stroke-dashoffset: 80; transition: stroke-dashoffset 0.8s var(--ease); }
.section3.is-visible .brand-msg__arrow path { stroke-dashoffset: 0; }
.section3.is-visible .brand-msg > :nth-child(2) path { transition-delay: 0.2s; }
.section3.is-visible .brand-msg > :nth-child(4) path { transition-delay: 0.5s; }

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

@media (max-width: 760px) {
  .brand-msg { flex-direction: column; gap: 12px; }
  .brand-msg__arrow { transform: rotate(90deg); }
}
