/* Home browse paths — high-contrast destination tiles */

#home-browse.home-screen {
  background:
    radial-gradient(ellipse 80% 60% at 10% -10%, rgba(110, 182, 255, 0.18), transparent 50%),
    linear-gradient(165deg, #0f2438 0%, #122033 42%, #0a1a2a 100%);
  border-top: 0;
  color: #e8eef4;
}

#home-browse .home-section-kicker {
  color: #8ec5ef;
}

#home-browse .home-section-title {
  color: #f4f7fb;
}

#home-browse .home-screen-lead {
  color: rgba(232, 238, 244, 0.72);
}

#home-browse .btn-outline-primary {
  color: #e8eef4;
  border-color: rgba(232, 238, 244, 0.35);
  background: rgba(255, 255, 255, 0.04);
}

#home-browse .btn-outline-primary:hover {
  color: #0f2438;
  background: #f4f7fb;
  border-color: #f4f7fb;
}

.home-paths {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

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

@media (max-width: 520px) {
  .home-paths { grid-template-columns: 1fr; }
}

.home-path {
  --hp-ink: #1a4f78;
  --hp-ink-deep: #0e3554;
  --hp-glow: rgba(142, 197, 239, 0.35);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.4rem;
  min-height: 11.5rem;
  padding: 1.35rem 1.25rem 1.3rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  background:
    radial-gradient(circle at 100% 0%, var(--hp-glow), transparent 45%),
    linear-gradient(160deg, var(--hp-ink) 0%, var(--hp-ink-deep) 100%);
  text-decoration: none;
  color: #f4f7fb;
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.home-path:nth-child(2) {
  --hp-ink: #1f5c48;
  --hp-ink-deep: #12382c;
  --hp-glow: rgba(126, 200, 168, 0.32);
}

.home-path:nth-child(3) {
  --hp-ink: #7a4a1f;
  --hp-ink-deep: #4a2c10;
  --hp-glow: rgba(232, 196, 120, 0.3);
}

.home-path:nth-child(4) {
  --hp-ink: #3a4560;
  --hp-ink-deep: #222a3c;
  --hp-glow: rgba(170, 186, 220, 0.28);
}

.home-path:hover {
  transform: translateY(-8px);
  color: #f4f7fb;
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow:
    0 26px 48px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.home-path-index {
  position: relative;
  z-index: 1;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 247, 251, 0.72);
}

.home-path-icon {
  position: absolute;
  right: 1.05rem;
  top: 1.05rem;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.2rem;
  backdrop-filter: blur(6px);
  transition: transform 0.35s ease, background 0.35s ease;
}

.home-path:hover .home-path-icon {
  transform: scale(1.08);
  background: rgba(255, 255, 255, 0.2);
}

.home-path-wash {
  position: absolute;
  right: -0.2rem;
  bottom: -0.65rem;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 6rem;
  font-weight: 700;
  line-height: 0.8;
  color: #fff;
  opacity: 0.08;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-path:hover .home-path-wash {
  opacity: 0.14;
  transform: translateX(-4px);
}

.home-path strong {
  position: relative;
  z-index: 1;
  margin-top: auto;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(1.3rem, 2vw, 1.55rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
}

.home-path > span:not(.home-path-icon):not(.home-path-index):not(.home-path-wash):not(.home-path-go) {
  position: relative;
  z-index: 1;
  font-size: 0.88rem;
  color: rgba(244, 247, 251, 0.78);
  line-height: 1.35;
}

.home-path-go {
  position: relative;
  z-index: 1;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  opacity: 0.85;
}

.home-path:hover .home-path-go {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .home-path,
  .home-path-icon,
  .home-path-wash {
    transition: none;
  }
  .home-path:hover {
    transform: none;
  }
  .home-path:hover .home-path-icon {
    transform: none;
  }
}
