:root {
  --text: #ffffff;
  --shadow: rgba(0, 0, 0, 0.55);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, Arial, Helvetica, sans-serif;
  background: #000;
}

body {
  min-height: 100vh;
}

.hero {
  position: relative;
  min-height: 100vh;
  background-image: url('./wuorikarhu-hero-bg.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.18) 26%, rgba(0,0,0,0.32) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.24) 38%, rgba(0,0,0,0.08) 64%, rgba(0,0,0,0.2) 100%);
}

.content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  min-height: 100vh;
  padding: clamp(36px, 8vh, 84px) clamp(24px, 6vw, 88px);
  max-width: min(52vw, 760px);
}

h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(3.2rem, 8vw, 6.8rem);
  line-height: 0.92;
  font-weight: 800;
  letter-spacing: -0.06em;
  text-shadow: 0 8px 28px var(--shadow);
}

p {
  margin: 20px 0 0;
  color: rgba(255,255,255,0.95);
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  line-height: 1.45;
  font-weight: 500;
  text-shadow: 0 6px 22px var(--shadow);
}

@media (max-width: 900px) {
  .hero {
    background-position: 68% center;
  }

  .content {
    max-width: 100%;
    padding-top: 44px;
  }
}

@media (max-width: 640px) {
  .overlay {
    background:
      linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.18) 28%, rgba(0,0,0,0.38) 100%),
      linear-gradient(90deg, rgba(0,0,0,0.56) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.2) 100%);
  }

  .hero {
    background-position: 72% center;
  }

  h1 {
    font-size: clamp(2.8rem, 13vw, 4.6rem);
  }

  p {
    max-width: 18rem;
  }
}
