/* page-home.css — converted from home.module.css
   CSS-module local names become `p-home_<name>`; globals from globals.css keep
   their names. */

.p-home_hero {
  position: relative;
  width: 100%;
  height: 100svh;
  overflow: hidden;
}

.p-home_heroBg {
  position: absolute;
  inset: 0;
}

.p-home_heroBg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

.p-home_heroBg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.p-home_heroInner {
  position: relative;
  z-index: 2;
  height: 100%;
}

.p-home_heroCols {
  height: 100%;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.p-home_heroTagline {
  display: flex;
  align-items: flex-end;
  height: 100%;
  min-width: 0;
  padding-top: var(--space-pane);
}

.p-home_heroTagline h1 {
  max-width: 80%;
  font-size: clamp(2rem, 8vw, 5rem);
}

.p-home_heroAside {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  height: 100%;
  padding-top: var(--space-pane);
}

.p-home_asideTop {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3xl);
  width: 100%;
  max-width: 22ch;
}

.p-home_asideBottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-xl);
  width: 100%;
}

@media (max-width: 1000px) {
  .p-home_heroCols {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .p-home_heroTagline {
    align-items: flex-start;
    height: auto;
    padding-top: 15svh;
  }

  .p-home_heroTagline h1 {
    max-width: none;
    font-size: 2rem;
  }

  .p-home_heroAside {
    gap: 6rem;
    height: auto;
  }

  .p-home_asideTop {
    max-width: 32ch;
    gap: 2rem;
  }
}
