/* ============================================
   97% Creative — Homepage Wayfinding Blocks
   3-column image blocks: Field Guide, Assessment, Creator Lab
   ============================================ */

.hp-wayfinding {
  padding: 0;
  width: 100%;
}

.hp-wayfinding-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  width: 100%;
}

/* --- Individual Block --- */
.hp-wayblock {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 60vh;
  overflow: hidden;
  text-decoration: none;
  color: var(--raw-cotton, #F5F3EB);
  cursor: pointer;
}

/* Background image layer */
.hp-wayblock-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.hp-wayblock:hover .hp-wayblock-bg {
  transform: scale(1.04);
}

/* Dark overlay */
.hp-wayblock-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26, 26, 26, 0.85) 0%,
    rgba(26, 26, 26, 0.3) 50%,
    rgba(26, 26, 26, 0.1) 100%
  );
  transition: background 0.4s ease;
}

.hp-wayblock:hover .hp-wayblock-overlay {
  background: linear-gradient(
    to top,
    rgba(26, 26, 26, 0.9) 0%,
    rgba(26, 26, 26, 0.4) 50%,
    rgba(26, 26, 26, 0.15) 100%
  );
}

/* Content */
.hp-wayblock-content {
  position: relative;
  z-index: 2;
  padding: 48px 40px;
  width: 100%;
}

.hp-wayblock-title {
  font-family: 'Thunder', var(--font1), sans-serif;
  font-weight: 700;
  font-size: clamp(2.5rem, 4vw, 4rem);
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: normal;
  margin: 0 0 16px 0;
  color: var(--raw-cotton, #F5F3EB);
}

.hp-wayblock-desc {
  font-family: var(--font2), sans-serif;
  font-size: clamp(0.875rem, 1.1vw, 1rem);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: normal;
  color: rgba(245, 243, 235, 0.7);
  margin: 0;
  max-width: 320px;
  transition: color 0.3s ease;
}

.hp-wayblock:hover .hp-wayblock-desc {
  color: rgba(245, 243, 235, 0.9);
}

/* --- Responsive: Tablet --- */
@media screen and (max-width: 1024px) {
  .hp-wayfinding-grid {
    grid-template-columns: 1fr;
  }

  .hp-wayblock {
    min-height: 50vh;
  }

  .hp-wayblock-content {
    padding: 40px 32px;
  }

  .hp-wayblock-title {
    font-size: clamp(2.5rem, 8vw, 4rem);
  }
}

/* --- Responsive: Mobile --- */
@media screen and (max-width: 640px) {
  .hp-wayblock {
    min-height: 40vh;
  }

  .hp-wayblock-content {
    padding: 32px 24px;
  }

  .hp-wayblock-title {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hp-wayblock-desc {
    font-size: 0.875rem;
  }
}
