*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  background-image: url('bg.jpg');
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* Subtle dark vignette on the right so logo always reads clearly */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to left,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.20) 50%,
    transparent 100%
  );
  pointer-events: none;
}

.logo-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6vw;
  max-width: 50%;
  animation: fadeSlideIn 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.logo-wrap img {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 32px rgba(0,0,0,0.7));
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ── Responsive ── */

/* Tablet */
@media (max-width: 900px) {
  .hero {
    background-position: 30% center;
    justify-content: flex-end;
  }

  .logo-wrap {
    padding: 0 5vw;
    max-width: 60%;
  }

  .logo-wrap img {
    max-width: 340px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  html, body {
    overflow: auto;
  }

  .hero {
    height: 100svh;
    background-position: 25% center;
    align-items: flex-end;
    justify-content: center;
  }

  .logo-wrap {
    max-width: 88%;
    padding: 0 0 10vw;
    justify-content: center;
  }

  .logo-wrap img {
    max-width: 280px;
  }

  /* On very small screens lighten the bottom overlay so logo pops */
  .hero::after {
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.65) 0%,
      rgba(0, 0, 0, 0.15) 60%,
      transparent 100%
    );
  }
}

/* Very small phones */
@media (max-width: 380px) {
  .logo-wrap img {
    max-width: 230px;
  }
}
