.hero {
  position: relative;
  min-height: 720px;
  height: 100svh;
  overflow: hidden;
  padding-top: var(--header-h);
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  filter: saturate(0.95) contrast(1.05);
}

.hero__blur {
  position: absolute;
  inset: 0;
  z-index: 2;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  background: rgba(0, 0, 0, 0.5);
}

.hero__video--cutout {
  position: absolute;
  inset: 0;
  z-index: 3;
  -webkit-mask-image: url("../../images/mark_white.svg");
  mask-image: url("../../images/mark_white.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: 88% 68%;
  mask-position: 88% 68%;
  -webkit-mask-size: clamp(480px, 42vw, 720px) auto;
  mask-size: clamp(480px, 42vw, 720px) auto;
}

.hero__inner {
  position: relative;
  z-index: 5;
  width: min(1440px, calc(100% - clamp(32px, 4vw, 64px)));
  margin: 0 auto;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.hero__left {
  padding-top: clamp(20px, 3vw, 48px);
  max-width: 760px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: clamp(34px, 2.6vw, 38px);
  padding: 0 clamp(14px, 1.4vw, 18px);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
}

.hero__badgeText {
  font-size: clamp(13px, 1vw, 16px);
  letter-spacing: 0.08em;
  opacity: 0.7;
}

.hero__badgeIcon {
  font-size: 14px;
  opacity: 0.9;
}

.hero__badgeIcon img {
  width: 14px;
  height: 14px;
  display: block;
}

.hero__title {
  max-width: 10.5em;
  margin: clamp(14px, 1.8vw, 18px) 0 clamp(18px, 2vw, 24px);
  font-size: clamp(52px, 5.2vw, 80px);
  line-height: 1.18;
  letter-spacing: 0.01em;
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
  white-space: normal;
  word-break: normal;
  text-wrap: balance;
}

.hero__titleLine {
  display: inline-block;
  white-space: nowrap;
}

.hero__lead {
  margin: 0;
  max-width: min(100%, 720px);
  font-size: clamp(16px, 1.45vw, 22px);
  line-height: 1.75;
  color: var(--muted);
}

.scroll {
  position: absolute;
  bottom: clamp(20px, 2.4vw, 34px);
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  gap: 10px;
  place-items: center;
  animation: floatY 2.6s ease-in-out infinite;
  will-change: transform;
}

.scroll__text {
  font-size: clamp(14px, 1.2vw, 20px);
  letter-spacing: 0.22em;
  color: #6d6d6f;
}

.scroll__line {
  width: 1px;
  height: clamp(40px, 4vw, 54px);
  background: linear-gradient(180deg, #d1d1d5 0%, #6d6d6f 100%);
  opacity: 0.95;
  animation: floatLine 2s ease-in-out infinite;
  will-change: transform, opacity;
}

.gnav__link:hover {
  opacity: 0.85;
}

.pill:hover,
.btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

@keyframes floatY {
  0% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(-10px);
  }

  100% {
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes floatLine {
  0% {
    transform: translateY(0);
    opacity: 0.75;
  }

  50% {
    transform: translateY(-6px);
    opacity: 1;
  }

  100% {
    transform: translateY(0);
    opacity: 0.75;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll,
  .scroll__line {
    animation: none !important;
  }
}

.hero-chip--eff {
  animation-delay: 0s;
}

.hero-chip--secured {
  animation-delay: 1.8s;
}

.hero__actions {
  margin-top: clamp(36px, 6vw, 88px);
  display: flex;
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  flex-wrap: wrap;
}

.heroLink {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  padding: 0 0 10px;
  width: auto;
  height: auto;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #fff;
  text-decoration: none;
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.1;
  transition: color 0.3s ease;
}

.heroLink::before {
  content: "";
  position: absolute;
  left: -18px;
  right: -18px;
  top: -12px;
  bottom: -12px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease;
  z-index: -1;
}

.heroLink::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.7);
  transform-origin: left;
  transition:
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.3s ease;
}

.heroLink__arrow {
  display: inline-block;
  transform: translateY(-0.02em);
  opacity: 0.9;
  transition:
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s ease;
}

.heroLink--primary {
  color: #fff;
}

.heroLink--ghost {
  color: #fff;
}

.heroLink--ghost::after {
  background: rgba(255, 255, 255, 0.55);
}

.heroLink:hover {
  opacity: 0.9;
  color: #ffffff;
}

.heroLink:hover::before {
  opacity: 1;
  transform: translateY(0);
}

.heroLink:hover::after {
  background: rgba(255, 255, 255, 0.95);
  transform: scaleX(1);
}

.heroLink:hover .heroLink__arrow {
  transform: translateX(6px);
  opacity: 1;
}

.heroLink:focus-visible::before {
  opacity: 1;
  transform: translateY(0);
  border-color: rgba(255, 255, 255, 0.28);
}

@media (max-width: 767px) {
  .hero {
    height: 100svh;
    min-height: 680px;
    padding-top: 96px;
    overflow: hidden;
  }

  .hero__video {
    object-fit: cover;
    object-position: center center;
    transform: none;
  }

  .hero__blur {
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    background: rgba(0, 0, 0, 0.34);
  }

  .hero__video--cutout {
    display: none;
  }

  .hero__inner {
    position: relative;
    z-index: 5;
    width: calc(100% - 32px);
    margin: 0 auto;
    height: calc(100svh - 96px);
    display: block;
  }

  .hero__left {
    padding-top: 120px;
  }

  .hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 34px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin-bottom: 28px;
  }

  .hero__badgeText {
    font-size: 12px;
    letter-spacing: 0.06em;
    opacity: 0.78;
  }

  .hero__badgeIcon {
    font-size: 12px;
    opacity: 0.9;
  }

  .hero__badgeIcon img {
    width: 12px;
    height: 12px;
  }

  .hero__title {
    margin: 0 0 28px;
    font-size: 40px;
    line-height: 1.22;
    letter-spacing: 0.01em;
    text-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  }

  .hero__lead {
    display: block;
    margin: 0;
    max-width: 100%;
    font-size: 14px;
    line-height: 1.95;
    color: var(--muted);
  }

  .hero__actions {
    display: none;
  }

  .scroll {
    display: grid;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    gap: 8px;
    place-items: center;
  }

  .scroll__text {
    font-size: 12px;
    letter-spacing: 0.18em;
    color: #bfbfc4;
  }

  .scroll__line {
    width: 1px;
    height: 42px;
  }
}

@media (min-width: 768px) and (max-width: 1280px) {
  .hero {
    height: 100svh;
    min-height: clamp(620px, 78svh, 760px);
    padding-top: clamp(72px, 6vw, 84px);
    overflow: hidden;
  }

  .hero__video {
    object-fit: cover;
    object-position: center center;
    transform: none;
  }

  .hero__blur {
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);

    background: rgba(0, 0, 0, 0.3);
  }

  .hero__video--cutout {
    display: none;
  }

  .hero__inner {
    position: relative;
    z-index: 5;
    width: calc(100% - clamp(24px, 4vw, 48px));
    margin: 0 auto;
    height: calc(100svh - clamp(72px, 6vw, 84px));
    display: block;
  }

  .hero__left {
    padding-top: clamp(72px, 10vw, 120px);
    max-width: min(62vw, 620px);
  }

  .hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: clamp(32px, 3.4vw, 38px);
    padding: 0 clamp(12px, 1.6vw, 16px);
    margin-bottom: clamp(18px, 2.4vw, 28px);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .hero__badgeText {
    font-size: clamp(11px, 1.2vw, 13px);
    letter-spacing: 0.06em;
    opacity: 0.8;
  }

  .hero__badgeIcon {
    font-size: clamp(11px, 1.1vw, 12px);
    opacity: 0.9;
  }

  .hero__badgeIcon img {
    width: clamp(10px, 1.1vw, 12px);
    height: clamp(10px, 1.1vw, 12px);
    display: block;
  }

  .hero__title {
    margin: 0 0 clamp(18px, 2.6vw, 28px);
    font-size: clamp(36px, 4.8vw, 54px);
    line-height: 1.18;
    letter-spacing: 0.01em;
    text-shadow: 0 8px 20px rgba(0, 0, 0, 0.36);
    max-width: 10em;
  }

  .hero__lead {
    display: block;
    margin: 0;
    max-width: min(60vw, 620px);
    font-size: clamp(14px, 1.5vw, 18px);
    line-height: clamp(1.75, 1.8, 1.9);
    color: var(--muted);
  }

  .hero__actions {
    display: none;
  }

  .scroll {
    display: grid;
    position: absolute;
    bottom: clamp(18px, 2.2vw, 28px);
    left: 50%;
    transform: translateX(-50%);
    gap: 8px;
    place-items: center;
  }

  .scroll__text {
    font-size: clamp(11px, 1.1vw, 13px);
    letter-spacing: 0.18em;
    color: #bfbfc4;
  }

  .scroll__line {
    width: 1px;
    height: clamp(38px, 4vw, 52px);
    background: linear-gradient(180deg, #d1d1d5 0%, #6d6d6f 100%);
    opacity: 0.95;
  }
}
