.hero-section {
  position: relative;
  width: 100%;
  min-height: calc(100svh - var(--drupal-displace-offset-top, 0px));
  padding: 150px var(--sec-page-gutter) 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  grid-template-rows: 1fr auto;
  gap: 32px 24px;
}

.hero-section .hero-heading {
  grid-column: 1 / -1;
  justify-self: center;
  align-self: center;
  max-width: 100%;
  width: 3.8em;
  font-size: clamp(100px, min(13vw, 18svh), 180px);
  line-height: 0.9;
  font-weight: 300;
  text-align: center;
  color: var(--color-text-alternative);
  z-index: 1;
}

.hero-image-container {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero-image {
  height: 100%;
  max-width: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-paragraph {
  width: min(44vw, 560px);
  max-width: 100%;
  font-size: 18px;
  line-height: 1.1111;
  padding-bottom: 0 !important;
  z-index: 1;
}

.hero-members {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  align-self: end;
  justify-self: stretch;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  z-index: 1;
}

.hero-members-line {
  flex: 0 0 60px;
  height: 2px;
  background-color: var(--color-text-main);
}

.hero-members-paragraph {
  flex: 0 0 auto;
  white-space: nowrap;
  padding-bottom: 0 !important;
}

@media (max-width: 1440px) {
  .hero-section .hero-heading { font-size: clamp(100px, min(13vw, 18svh), 170px); }
}

@media (max-width: 1024px) {
  .hero-paragraph { width: 55vw; }
  .hero-image { width: 100vw; height: auto; }
}

@media (max-width: 769px) {
  .hero-section {
    padding-top: 150px;
    padding-bottom: 30px;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 1fr auto;
    gap: 30px;
  }

  .hero-members { grid-column: 1; grid-row: 1; }
  .hero-section .hero-heading { grid-row: 2; width: 100%; font-size: 140px; }
  .hero-paragraph { grid-row: 3; width: 100%; }
}

@media (max-width: 480px) {
  .hero-section { padding-top: 110px; padding-bottom: 40px; }
  .hero-section .hero-heading { font-size: 28vw; }
  .hero-paragraph { font-size: 16px; line-height: 1.125; }
  .hero-image { width: auto; height: 75vh; top: 45vh; transform: translate(-50%, -50%) rotate(90deg); }
}
