.hero {
  position: relative;
  background: linear-gradient(
    135deg,
    var(--tiller-color-green, #1a3d2e) 0%,
    var(--tiller-color-green-dark, #0f2a1f) 100%
  );
  padding: clamp(3rem, 8vw, 5rem) 0;
  color: #ffffff;
  overflow: hidden;
  perspective: 1600px;
  transform-style: preserve-3d;
}

.hero__crosshatch-pattern,
.crosshatch-hero__pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(90deg, rgb(201 162 39 / 8%) 1px, transparent 1px),
    linear-gradient(rgb(201 162 39 / 8%) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  opacity: 60%;
  z-index: 0;
  animation: pattern-shimmer 20s linear infinite;
  transform: translateZ(-40px);
}

@keyframes pattern-shimmer {
  0% {
    transform: translateX(0) translateY(0);
  }

  100% {
    transform: translateX(60px) translateY(60px);
  }
}

.hero__content,
.crosshatch-hero__content {
  position: relative;
  z-index: 1;
  transform: translateZ(60px);
  filter: drop-shadow(0 10px 28px rgb(0 0 0 / 40%));
}

.crosshatch-hero {
  position: relative;
  background: linear-gradient(
    135deg,
    var(--tiller-bg-dark, #1a1c1a) 0%,
    var(--tiller-bg-stone, #222524) 100%
  );
  padding: clamp(3rem, 8vw, 5rem) 0;
  color: #ffffff;
  overflow: hidden;
}

.crosshatch-hero__content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.crosshatch-hero__eyebrow {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--tiller-color-gold, #c9a227);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  padding: 0.5rem 1rem;
  background: rgb(201 162 39 / 10%);
  border: 1px solid rgb(201 162 39 / 30%);
  border-radius: 999px;
}

.crosshatch-hero__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #ffffff;
  text-shadow: 0 0 40px rgb(16 185 129 / 30%);
}

.crosshatch-hero__summary {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  line-height: 1.7;
  color: rgb(255 255 255 / 90%);
  margin-bottom: 2rem;
}

.crosshatch-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.crosshatch-hero__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  background: rgb(16 185 129 / 15%);
  border: 1px solid rgb(16 185 129 / 30%);
  color: var(--tiller-color-emerald, #10b981);
}

.crosshatch-hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__crosshatch-pattern--fine,
.crosshatch-hero__pattern--fine {
  background-size: 30px 30px;
}

.hero__crosshatch-pattern--coarse,
.crosshatch-hero__pattern--coarse {
  background-size: 90px 90px;
}

.hero__crosshatch-pattern--diagonal,
.crosshatch-hero__pattern--diagonal {
  background-image:
    linear-gradient(45deg, rgb(201 162 39 / 8%) 1px, transparent 1px),
    linear-gradient(-45deg, rgb(201 162 39 / 8%) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero__crosshatch-pattern--emerald,
.crosshatch-hero__pattern--emerald {
  background-image:
    linear-gradient(90deg, rgb(16 185 129 / 8%) 1px, transparent 1px),
    linear-gradient(rgb(16 185 129 / 8%) 1px, transparent 1px);
}

@media (max-width: 768px) {
  .hero,
  .crosshatch-hero {
    padding: 2.5rem 0;
  }

  .hero__crosshatch-pattern,
  .crosshatch-hero__pattern {
    background-size: 40px 40px;
    opacity: 50%;
  }

  .crosshatch-hero__eyebrow {
    font-size: 0.75rem;
    padding: 0.375rem 0.875rem;
  }

  .crosshatch-hero__badges {
    gap: 0.5rem;
  }

  .crosshatch-hero__badge {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
  }

  .crosshatch-hero__actions {
    flex-direction: column;
  }

  .crosshatch-hero__actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__crosshatch-pattern,
  .crosshatch-hero__pattern {
    animation: none;
  }
}

@media (prefers-contrast: high) {
  .hero__crosshatch-pattern,
  .crosshatch-hero__pattern {
    background-image:
      linear-gradient(90deg, rgb(201 162 39 / 20%) 2px, transparent 2px),
      linear-gradient(rgb(201 162 39 / 20%) 2px, transparent 2px);
    opacity: 80%;
  }
}

@media print {
  .hero__crosshatch-pattern,
  .crosshatch-hero__pattern {
    display: none;
  }

  .hero,
  .crosshatch-hero {
    background: #1a3d2e !important;
  }
}
