/* Four distinct entrances beneath the approved homepage hero. */
.home-focus {
  padding-top: 28px;
  padding-bottom: 0;
}

.home-focus .home-focus-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
}

.home-focus .home-window {
  --window-bg: #18334c;
  --window-ink: #f9f6f0;
  --window-copy: #dce4ec;
  --window-accent: #ddc393;
  --window-line: #ddc39366;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  min-height: 345px;
  padding: 26px 24px 24px;
  color: var(--window-ink);
  background: var(--window-bg);
  border: 1px solid transparent;
  border-top: 3px solid var(--window-accent);
  box-shadow: 0 4px 12px #142d4808;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.home-focus .window-diaspora {
  --window-bg: #21514f;
  --window-ink: #f9f6f0;
  --window-copy: #e1ece6;
  --window-accent: #e2d3aa;
  --window-line: #e2d3aa66;
}

.home-focus .window-business {
  --window-bg: #decba4;
  --window-ink: #172c3e;
  --window-copy: #344451;
  --window-accent: #684d20;
  --window-line: #684d2066;
}

.home-focus .window-practice {
  --window-bg: #40566e;
  --window-ink: #f9f6f0;
  --window-copy: #e6edf3;
  --window-accent: #ead6a8;
  --window-line: #ead6a866;
}

.home-focus .home-window > .eyebrow {
  width: 100%;
  min-height: 34px;
  padding-right: 54px;
  color: var(--window-accent);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 1.2px;
}

.home-focus .window-emblem {
  position: absolute;
  top: 25px;
  right: 23px;
  width: 42px;
  height: 42px;
  color: var(--window-accent);
  pointer-events: none;
}

.home-focus .window-emblem svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-focus .home-window h3 {
  margin: 25px 0 14px;
  color: var(--window-ink);
  font: 400 26px/1.25 Georgia, serif;
  letter-spacing: -.2px;
  overflow-wrap: break-word;
}

.home-focus .home-window p {
  margin: 0 0 26px;
  color: var(--window-copy);
  font-size: 14.5px;
  line-height: 1.75;
}

.home-focus .home-window .text-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin-top: auto;
  padding: 17px 0 0;
  color: var(--window-accent);
  border: 0;
  border-top: 1px solid var(--window-line);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
}

.home-focus .home-window:hover {
  color: var(--window-ink);
  background: var(--window-bg);
  border-color: var(--window-accent);
  transform: translateY(-3px);
  box-shadow: 0 10px 22px #142d481c;
}

.home-focus .home-window:focus-visible {
  outline: 3px solid #84662f;
  outline-offset: 4px;
}

@media (max-width: 1050px) {
  .home-focus .home-focus-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .home-focus .home-window {
    min-height: 305px;
    padding: 26px;
  }

  .home-focus .home-window h3 {
    margin-top: 21px;
    font-size: 27px;
  }

  .home-focus .window-emblem {
    right: 25px;
  }
}

@media (max-width: 560px) {
  .home-focus {
    padding-top: 22px;
  }

  .home-focus .home-focus-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .home-focus .home-window {
    min-height: 276px;
    padding: 25px 26px 24px;
  }

  .home-focus .home-window > .eyebrow {
    min-height: 28px;
    font-size: 10px;
  }

  .home-focus .home-window h3 {
    margin-top: 20px;
    margin-bottom: 13px;
    font-size: 27px;
  }

  .home-focus .home-window p {
    margin-bottom: 22px;
    font-size: 15px;
  }

  .home-focus .window-emblem {
    top: 23px;
    right: 25px;
    width: 40px;
    height: 40px;
  }

  .home-focus .home-window .text-link {
    font-size: 13px;
    padding-top: 15px;
  }
}

@media (max-width: 380px) {
  .home-focus .home-window {
    padding-left: 22px;
    padding-right: 22px;
  }

  .home-focus .window-emblem {
    right: 21px;
  }

  .home-focus .home-window h3 {
    font-size: 25px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-focus .home-window {
    transition: none;
  }

  .home-focus .home-window:hover {
    transform: none;
  }
}
