.homepage-semantic-h1 {
  background: linear-gradient(180deg, #0d1d2b 0%, #060e15 100%);
  color: #fff;
}

.homepage-semantic-h1__inner {
  width: min(
    var(--gilliam-law-homepage-max-width),
    calc(100% - (var(--gilliam-law-page-gutter) * 2))
  );
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gilliam-law-homepage-grid-gap);
  align-items: flex-start;
}

.homepage-semantic-h1__media {
  grid-column: 1 / span 6;
  position: sticky;
  top: 90px;
  height: 70vh;
  min-height: clamp(30rem, 50vw, 42rem);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
  margin-left: calc(50% - 50vw);
  width: calc(100% + (50vw - 50%));
}

.homepage-semantic-h1__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.homepage-semantic-h1__content {
  grid-column: 7 / -1;
  display: grid;
  align-content: start;
  gap: 1.5rem;
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.homepage-semantic-h1__badge-dot {
  width: 8px;
  height: 8px;
  background: #ffd5a9;
  border-radius: 50%;
}

.homepage-semantic-h1__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  gap: 8px;
  min-height: 2rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(251, 163, 70, 0.72);
  border-radius: 999px;
  background: rgba(251, 163, 70, 0.18);
  color: #ffd5a9;
  font-family:
    "Proxima Nova", "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.1;
}

.homepage-semantic-h1__title {
  margin: 0;
  display: grid;
  gap: 0;
  font-family: var(--gilliam-law-font-serif, "novantique-serif", serif);
  font-size: clamp(2.75rem, 4.3vw, 4rem);
  font-weight: 300;
  line-height: 1.08;
}

.homepage-semantic-h1__title-primary {
  color: #5aaaed;
}

.homepage-semantic-h1__title-secondary {
  color: #fff;
}

.homepage-semantic-h1__lead,
.homepage-semantic-h1__expanded {
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.82);
  font-family:
    "Proxima Nova", "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.1875rem;
  font-weight: 400;
  line-height: 1.7;
}

.homepage-semantic-h1__lead a,
.homepage-semantic-h1__expanded a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.homepage-semantic-h1__lead > *,
.homepage-semantic-h1__expanded > * {
  margin: 0;
}

.homepage-semantic-h1__lead > * + *,
.homepage-semantic-h1__expanded > * + * {
  margin-top: 1rem;
}

.homepage-semantic-h1__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  width: fit-content;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fba346;
  font-family:
    "Proxima Nova", "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
}

.homepage-semantic-h1__toggle-icon {
  width: 0.75rem;
  height: 0.75rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-0.05rem);
  transition: transform 0.2s ease;
}

.homepage-semantic-h1__toggle[aria-expanded="true"]
  .homepage-semantic-h1__toggle-icon {
  transform: rotate(-135deg) translateY(-0.05rem);
}

@media (max-width: 1023px) {
  .homepage-semantic-h1__inner {
    grid-template-columns: 1fr;
  }

  .homepage-semantic-h1__media,
  .homepage-semantic-h1__content {
    grid-column: 1 / -1;
  }

  .homepage-semantic-h1__media {
    position: relative;
    top: auto;
    min-height: 26rem;
    height: auto;
    margin-left: calc(50% - 50vw);
    width: 100vw;
  }
}

@media (max-width: 767px) {
  .homepage-semantic-h1__media {
    min-height: 22rem;
    margin-left: calc(50% - 50vw);
    width: 100vw;
  }

  .homepage-semantic-h1__content {
    padding: 2.5rem 1.25rem 3rem;
  }

  .homepage-semantic-h1__title {
    font-size: clamp(2.25rem, 10vw, 3rem);
  }

  .homepage-semantic-h1__lead,
  .homepage-semantic-h1__expanded {
    font-size: 1rem;
    line-height: 1.7;
  }
}
