.home-hero {
  position: relative;
}

.home-hero-grid {
  align-items: center;
}

.home-hero-content {
  min-width: 0;
}

.home-hero-media {
  min-width: 0;
}

.home-hero-figure {
  min-height: 260px;
  max-height: 520px;
}

.home-hero-image {
  width: 100%;
  height: 100%;
}

.home-hero-floating {
  position: absolute;
  left: 1.4rem;
  right: 1.4rem;
  bottom: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.96);
  color: var(--color-text-inverse);
  box-shadow: var(--shadow-elevated);
}

.home-hero-floating-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.home-formats-row {
  align-items: stretch;
}

.home-formats-text,
.home-formats-media,
.home-brand-media,
.home-brand-content {
  min-width: 0;
}

.home-formats-figure,
.home-brand-figure {
  max-height: 460px;
}

.home-formats-image,
.home-brand-image {
  width: 100%;
  height: 100%;
}

.home-list {
  margin-top: var(--space-2);
  margin-bottom: 0;
}

.home-why-grid {
  margin-top: var(--space-6);
}

.home-why-footer {
  margin-top: var(--space-6);
  display: flex;
  justify-content: center;
}

.home-invite-card {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
}

.home-invite-footer {
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
}

.home-invite-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

@media (max-width: 1023px) {
  .home-hero-floating {
    padding: var(--space-3);
  }

  .home-invite-card {
    padding: var(--space-4);
  }
}

@media (max-width: 767px) {
  .home-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-hero-floating {
    position: static;
    margin-top: var(--space-3);
  }

  .home-formats-figure,
  .home-brand-figure {
    max-height: 360px;
  }

  .home-invite-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .home-invite-links {
    align-items: flex-start;
  }
}
