/* ----------------------------------------
   STRAY DOGS - HERO TWO-COLUMN LAYOUT
---------------------------------------- */
.project-hero .container {
  display: flex;
  align-items: flex-end;
  gap: clamp(2rem, 4vw, 4rem);
}

.stray-hero-text {
  flex: 1;
  min-width: 0;
}

/* ----------------------------------------
   STRAY DOGS - INTERACTIVE GIGAMAP LAUNCHER
   The hero-side visual that opens the full-screen
   gigamap reader, styled the same way the other
   interactive projects surface their interaction
   (phone mockup, walker game) next to the hero copy.
---------------------------------------- */
.stray-hero-visual {
  position: relative;
  flex-shrink: 0;
  width: clamp(280px, 34vw, 420px);
  padding: 0;
  border: none;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  background: none;
  box-shadow: 0 20px 45px rgba(20, 20, 20, 0.14);
  opacity: 0;
  transform: translateY(20px);
}

.stray-hero-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.stray-hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16, 17, 20, 0.55), transparent 55%);
  transition: opacity 0.3s ease;
}

.stray-hero-visual:hover img {
  transform: scale(1.05);
}

.stray-hero-visual-badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border-radius: 100px;
  background: rgba(16, 17, 20, 0.78);
  color: #fbfaf7;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  backdrop-filter: blur(6px);
  transition: transform 0.3s ease, background 0.3s ease;
}

.stray-hero-visual-badge svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.stray-hero-visual:hover .stray-hero-visual-badge {
  transform: translateY(-2px);
  background: var(--color-accent);
}

.stray-hero-visual:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* ----------------------------------------
   RESPONSIVE
---------------------------------------- */
@media (max-width: 900px) {
  .project-hero .container {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .stray-hero-visual {
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .stray-hero-visual-badge {
    font-size: 0.72rem;
    padding: 0.5rem 0.85rem;
  }
}
