/*
  Ported unchanged from /preview/assets/css/components/hero.css.
  Content (.hero__kicker/.hero__title/.hero__lede) moves to Paragraph
  and Heading blocks in patterns/hero.php, but className applies
  directly to those blocks' own tag, so none of these selectors needed
  to change. The decorative visual (.hero__visual-wrap, ghost "8",
  chevron, placeholder tag) has no editable content, so it's authored
  as a single Custom HTML block in the pattern — see the pattern file
  for why that's the deliberate exception rather than Group/Image blocks.
*/

.hero {
  padding-block: var(--wp--preset--spacing--70) var(--wp--preset--spacing--80);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  gap: var(--wp--preset--spacing--70);
  align-items: center;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: var(--wp--preset--spacing--50);
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-size: var(--wp--preset--font-size--sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wp--preset--color--graphite);
}

.hero__kicker::before {
  content: "";
  width: 28px;
  height: 4px;
  background: var(--wp--preset--color--signal-red);
  border-radius: 2px;
}

.hero__title {
  font-size: var(--wp--preset--font-size--display);
  letter-spacing: -0.02em;
}

.hero__lede {
  max-width: 44ch;
  font-size: var(--wp--preset--font-size--md);
  color: var(--wp--preset--color--graphite);
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: var(--wp--preset--spacing--30);
}

.hero__actions .wp-block-button__link {
  padding-block: 1.05rem;
}

.hero__visual-wrap {
  position: relative;
}

.hero__ghost {
  position: absolute;
  top: -10%;
  right: -8%;
  font-size: 18rem;
  font-weight: 800;
  line-height: 1;
  color: var(--wp--preset--color--near-black);
  opacity: 0.05;
  z-index: 0;
  pointer-events: none;
}

.hero__chevron {
  position: absolute;
  width: 20%;
  height: auto;
  left: 5%;
  top: -7%;
  color: var(--wp--preset--color--graphite);
  opacity: 0.12;
  z-index: 0;
  pointer-events: none;
}

.hero__visual {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(11, 11, 12, 0.35);
  background-image:
    radial-gradient(ellipse 60% 45% at 28% 22%, rgba(255, 253, 247, 0.95), transparent 60%),
    radial-gradient(ellipse 50% 40% at 82% 78%, rgba(255, 255, 255, 0.55), transparent 65%),
    repeating-linear-gradient(105deg, rgba(255, 255, 255, 0.35) 0px, rgba(0, 0, 0, 0.03) 3px, transparent 9px, transparent 22px),
    linear-gradient(135deg, #f4f3f1 0%, #e4e3e0 30%, #cfcecb 50%, #efeeeb 68%, #dad9d6 100%),
    radial-gradient(ellipse 90% 90% at 50% 50%, transparent 55%, rgba(11, 11, 12, 0.08) 100%);
}

.hero__visual-tag {
  position: absolute;
  left: var(--wp--preset--spacing--30);
  bottom: var(--wp--preset--spacing--30);
  z-index: 1;
  padding: 0.4em 0.85em;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(2px);
  border-radius: var(--radius-sm);
  font-size: var(--wp--preset--font-size--sm);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--wp--preset--color--graphite);
}

@media (min-width: 768px) {
  .hero__title {
    max-width: 14ch;
  }

  .hero__actions {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: 0.92fr 1.08fr;
  }

  .hero__visual {
    aspect-ratio: 4 / 5;
  }

  .hero__ghost {
    font-size: 22rem;
  }

  .hero__chevron {
    width: 16%;
    left: 6%;
    top: -6%;
  }
}
