.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(34rem, 72vh, 48rem);
  padding-block: clamp(3.5rem, 8vw, 7rem);
  overflow: hidden;
  background: var(--color-cream);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgb(18 62 114 / 7%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(18 62 114 / 7%) 1px, transparent 1px);
  background-size: 2rem 2rem;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--content));
  margin-inline: auto;
}

.hero__copy {
  max-width: 40rem;
}

.hero__eyebrow {
  color: var(--color-navy);
  font-weight: 800;
}

.hero__lead {
  max-width: 36rem;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero__media {
  align-self: center;
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero__media img {
  width: 100%;
  height: auto;
}

.hero--marriage {
  --hero-accent: var(--color-coral);
}

.hero--divorce {
  --hero-accent: var(--color-blue);
}

.hero--adoption {
  --hero-accent: var(--color-teal);
}

.hero[class*="hero--"] {
  border-bottom: 0.5rem solid var(--hero-accent);
}

.knowledge-index {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  border-top: 1px solid var(--color-border);
  border-left: 1px solid var(--color-border);
}

.knowledge-index > * {
  min-width: 0;
  padding: clamp(1rem, 3vw, 1.75rem);
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.knowledge-index h2,
.knowledge-index h3 {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 800;
}

.office-map {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--color-paper);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.office-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.office-map__fallback {
  margin-top: 1rem;
}

.sticky-cta {
  display: none;
}
