/* made by baraniewski.com */

@font-face {
  font-family: "Area Inktrap";
  src: url("public/AreaInktrapTrial-Medium-BF65ea75c6638ec-iF663c9153c8cf8.otf")
    format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --text-primary: #d7e9c3;
  --text-muted: #c7d6b1;
  --accent-orange: #f26a12;
  --shadow: rgba(0, 0, 0, 0.4);
  --gutter: 64px;
  --logo-top: 56px;
  --contact-bottom: 56px;
  --rain-width: 28vw;
  --rain-right: 0;
}

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

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

body {
  height: 100vh;
  height: 100svh;
  font-family: "Area Inktrap", "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  background: #101010;
  color: var(--text-primary);
}

.hero {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
  background-image: url("public/rock 1.png");
  background-size: cover;
  background-position: 50% 28%;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      100deg,
      rgba(0, 0, 0, 0.15) 0%,
      rgba(0, 0, 0, 0.35) 55%,
      rgba(0, 0, 0, 0.55) 100%
    ),
    rgba(0, 0, 0, 0.1);
  z-index: 0;
}

.logo {
  position: absolute;
  z-index: 2;
  width: clamp(160px, 18vw, 240px);
  height: auto;
  top: var(--logo-top);
  left: var(--gutter);
}

.content {
  position: relative;
  z-index: 2;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  margin-top: -5vh;
}

.headline {
  font-weight: 500;
  font-size: clamp(32px, 4.5vw, 64px);
  line-height: 1.22;
  letter-spacing: -0.01em;
  text-shadow: 0 6px 24px var(--shadow);
}

.headline .line {
  display: block;
}

.headline .leaf {
  display: inline-block;
  transform: translateY(2px);
}

.contact {
  position: absolute;
  left: var(--gutter);
  bottom: var(--contact-bottom);
  font-size: clamp(13px, 1.2vw, 15px);
  line-height: 1.5;
  color: var(--text-muted);
  text-shadow: 0 8px 22px var(--shadow);
  z-index: 2;
}

.contact p {
  margin-bottom: 14px;
}

.contact p:last-child {
  margin-bottom: 0;
}

.contact a {
  color: var(--text-primary);
  text-decoration: underline;
  text-decoration-color: rgba(215, 233, 195, 0.5);
  text-underline-offset: 2px;
  transition: text-decoration-color 0.2s ease;
}

.contact a:hover,
.contact a:focus {
  text-decoration-color: var(--text-primary);
}

.rain {
  position: absolute;
  top: 0;
  right: var(--rain-right);
  width: var(--rain-width);
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.drop {
  position: absolute;
  top: -60px;
  border-radius: 1px;
  background: var(--accent-orange);
  box-shadow: 0 0 12px rgba(242, 106, 18, 0.5);
  transform: translateZ(0);
  will-change: transform;
  animation-name: fall;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

@keyframes fall {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(0, calc(100vh + 120px), 0);
  }
}

.wave {
  position: absolute;
  right: clamp(24px, 4vw, 56px);
  bottom: clamp(24px, 4vw, 48px);
  width: clamp(140px, 14vw, 180px);
  height: auto;
  z-index: 2;
}

@media (max-width: 1200px) {
  :root {
    --gutter: 48px;
    --logo-top: 48px;
    --contact-bottom: 48px;
    --rain-width: 26vw;
  }

  .headline {
    font-size: clamp(28px, 4.2vw, 52px);
  }
}

@media (max-width: 900px) {
  :root {
    --gutter: 36px;
    --logo-top: 36px;
    --contact-bottom: 36px;
    --rain-width: 28vw;
  }

  .hero {
    background-position: 55% 38%;
  }

  .logo {
    width: clamp(140px, 20vw, 180px);
  }

  .content {
    margin-top: -3vh;
  }

  .headline {
    font-size: clamp(26px, 4.8vw, 42px);
  }

  .wave {
    width: clamp(110px, 16vw, 140px);
  }
}

@media (max-width: 700px) {
  :root {
    --gutter: 20px;
    --logo-top: 20px;
    --contact-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    --rain-width: 30vw;
  }

  .hero {
    background-position: 58% 42%;
  }

  .logo {
    width: clamp(100px, 30vw, 140px);
  }

  .content {
    margin-top: 0;
    padding-right: calc(var(--rain-width) + 12px);
  }

  .headline {
    font-size: clamp(28px, 8.5vw, 44px);
    line-height: 1.25;
  }

  .headline .line {
    display: inline;
  }

  .contact {
    font-size: 13px;
    line-height: 1.4;
    bottom: calc(20px + env(safe-area-inset-bottom, 20px));
  }

  .contact p {
    margin-bottom: 12px;
  }

  .wave {
    width: clamp(70px, 20vw, 90px);
    right: 12px;
    bottom: calc(16px + env(safe-area-inset-bottom, 20px));
  }
}

@media (max-width: 480px) {
  :root {
    --gutter: 16px;
    --logo-top: 16px;
    --rain-width: 25vw;
  }

  .logo {
    width: clamp(90px, 28vw, 120px);
  }

  .headline {
    font-size: clamp(26px, 8vw, 38px);
  }

  .contact {
    font-size: 12px;
    bottom: calc(16px + env(safe-area-inset-bottom, 24px));
  }

  .wave {
    width: 60px;
    right: 10px;
    bottom: calc(12px + env(safe-area-inset-bottom, 24px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .drop {
    animation-duration: 0.001ms;
    animation-iteration-count: 1;
  }
}
