/* Hero — 16:6 split layout (dark) */
.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 6;
  min-height: 22rem;
  max-height: 90vh;
  overflow: hidden;
  background: #000;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: var(--layout-max-width);
  height: 100%;
  margin: 0 auto;
  padding: clamp(1.5rem, 3vw, 2.5rem) 1.25rem;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  max-width: 34rem;
}

.hero__title {
  margin: 0;
  color: #fff;
  font-size: clamp(1.65rem, 3.8vw, 3.15rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.hero__title-line {
  display: block;
}

.hero__title-line--accent {
  color: #f77737;
}

.hero__desc {
  margin: 0;
  max-width: 30rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: clamp(0.88rem, 1.35vw, 1.02rem);
  font-weight: 400;
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
  margin-top: 0.35rem;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.hero__cta:hover,
.hero__cta:focus-visible {
  color: #f77737;
  outline: none;
}

.hero__cta--primary {
  padding: 0.8rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.hero__cta--primary:hover,
.hero__cta--primary:focus-visible {
  border-color: rgba(247, 119, 55, 0.45);
  background: rgba(247, 119, 55, 0.08);
  color: #fff;
}

.hero__binary {
  position: absolute;
  top: 0;
  right: 0;
  width: 58%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.hero__binary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.65) 22%, transparent 48%);
}

.hero__binary-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

@media (min-width: 961px) {
  .hero {
    aspect-ratio: 16 / 4;
    min-height: 12rem;
    max-height: 50vh;
  }

  .hero__inner {
    padding: clamp(1.5rem, 2.75vw, 2.25rem) 1.25rem;
  }

  .hero__content {
    gap: 1.05rem;
    max-width: 28rem;
  }

  .hero__title {
    font-size: clamp(1.35rem, 3.2vw, 2.45rem);
    line-height: 1.08;
  }

  .hero__desc {
    max-width: 26rem;
    font-size: clamp(0.8rem, 1.15vw, 0.9rem);
  }

  .hero__actions {
    gap: 0.7rem 1rem;
    margin-top: 0.25rem;
  }

  .hero__cta {
    font-size: 0.84rem;
  }

  .hero__cta--primary {
    padding: 0.65rem 1rem;
  }
}

@media (max-width: 960px) {
  .hero {
    aspect-ratio: auto;
    min-height: 24rem;
    max-height: none;
  }

  .hero__inner {
    align-items: flex-start;
    padding-top: 1.65rem;
    padding-bottom: 1.65rem;
    min-height: 24rem;
  }

  .hero__content {
    max-width: none;
    gap: 1.35rem;
  }

  .hero__title {
    font-size: clamp(2rem, 9vw, 2.65rem);
    line-height: 1.02;
  }

  .hero__binary {
    width: 100%;
    height: 55%;
    top: auto;
    bottom: 0;
    opacity: 0.55;
  }

  .hero__binary::before {
    background: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.4) 35%, transparent 70%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__binary-canvas {
    opacity: 0.35;
  }
}
