/* ===== Contact — Section 1: Hero ===== */
.nav__cta.is-active { border-color: var(--green); color: var(--green); }

.section1 {
  position: relative;
  min-height: clamp(520px, 72vh, 760px);
  display: flex;
  align-items: center;
  padding: 120px 0 60px;
  background: var(--black);
  overflow: hidden;
}

.section1__bg {
  position: absolute;
  inset: -4%;
  background: url("../../images/hero-bg.webp") right center / cover no-repeat;
  animation: ctBgIn 2s var(--ease) both, ctBeams 9s ease-in-out 2s infinite alternate;
}
.section1::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(11, 11, 12, 0.9) 0%, rgba(11, 11, 12, 0.5) 42%, transparent 70%);
  pointer-events: none;
}

.section1__emblem {
  position: absolute;
  z-index: 2;
  right: -8%;
  top: 52%;
  width: min(60vw, 900px);
  transform: translateY(-50%);
  pointer-events: none;
}
.section1__emblem-parallax { transition: transform 0.9s var(--ease); }
.section1__emblem img {
  width: 100%;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6));
  animation: ctEmblemIn 1.6s var(--ease) 0.4s both, ctFloat 7s ease-in-out 2s infinite;
}

.section1 .container { position: relative; z-index: 3; }

.section1__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(52px, 7vw, 108px);
  line-height: 0.95;
  margin-bottom: 26px;
}
.section1__title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.section1__title .line > span { display: inline-block; transform: translateY(105%); animation: ctLineUp 1.1s var(--ease) both; }
.section1__title .line:nth-child(1) > span { animation-delay: 0.55s; }
.section1__title .line:nth-child(2) > span { animation-delay: 0.7s; }

/* "change" underlined by a green stroke that draws in */
.section1__mark { position: relative; display: inline-block; }
.section1__mark::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0.04em;
  width: 100%; height: 0.08em;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  animation: ctDraw 0.9s var(--ease) 1.5s forwards;
}

.section1__text {
  max-width: 460px;
  font-size: clamp(16px, 1.4vw, 20px);
  color: rgba(255, 255, 255, 0.86);
  animation: ctFadeUp 1s var(--ease) 1.1s both;
}

@keyframes ctLineUp { to { transform: translateY(0); } }
@keyframes ctFadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes ctDraw { to { transform: scaleX(1); } }
@keyframes ctBgIn { from { opacity: 0; transform: scale(1.1); } to { opacity: 1; transform: none; } }
@keyframes ctBeams {
  from { filter: brightness(0.9); transform: scale(1); }
  to   { filter: brightness(1.15) saturate(1.2); transform: scale(1.04) translate(-1%, 1%); }
}
@keyframes ctEmblemIn {
  from { opacity: 0; transform: translateX(14%) rotate(-8deg) scale(0.85); filter: blur(10px); }
  to   { opacity: 1; transform: none; }
}
@keyframes ctFloat {
  0%, 100% { transform: translateY(0) rotate(0); }
  50%      { transform: translateY(-16px) rotate(-1.5deg); }
}

@media (max-width: 860px) {
  .section1 { align-items: flex-end; }
  .section1__emblem { width: 110vw; right: -35%; top: 28%; opacity: 0.8; }
  .section1::before { background: linear-gradient(0deg, rgba(11, 11, 12, 0.95) 0%, rgba(11, 11, 12, 0.5) 55%, transparent 100%); }
}
