:root {
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.76);
  --accent: #8fbd57;
}

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

html {
  min-height: 100%;
  background: #05080d;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--white);
  background: #05080d;
  font-family: Arial, Helvetica, sans-serif;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding:
    max(28px, env(safe-area-inset-top))
    max(20px, env(safe-area-inset-right))
    max(86px, calc(env(safe-area-inset-bottom) + 70px))
    max(20px, env(safe-area-inset-left));
  background:
    url("background.jpg") center center / cover no-repeat;
}

.shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(0,0,0,.05), rgba(0,0,0,.28) 78%),
    linear-gradient(to bottom, rgba(0,0,0,.08), rgba(0,0,0,.26));
}

.content {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  text-align: center;
  animation: intro .9s ease-out both;
}

.logo {
  display: block;
  width: min(580px, 86vw);
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 38px rgba(0, 0, 0, .34));
}

.divider {
  width: 76px;
  height: 2px;
  margin: clamp(28px, 5vw, 46px) auto;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 5vw, 4.6rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.025em;
  text-wrap: balance;
}

p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(.95rem, 1.8vw, 1.18rem);
  line-height: 1.6;
  letter-spacing: .10em;
  text-transform: uppercase;
  text-wrap: balance;
}

footer {
  position: absolute;
  z-index: 1;
  left: 20px;
  right: 20px;
  bottom: max(24px, env(safe-area-inset-bottom));
  text-align: center;
  color: rgba(255,255,255,.48);
  font-size: .86rem;
}

@keyframes intro {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .content {
    width: min(94vw, 620px);
  }

  .logo {
    width: min(92vw, 540px);
  }

  .divider {
    margin-top: 30px;
    margin-bottom: 28px;
  }

  h1 {
    font-size: clamp(2rem, 10vw, 3.4rem);
  }

  p {
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    font-size: .9rem;
    letter-spacing: .08em;
  }
}

@media (max-width: 430px) {
  .hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  .logo {
    width: 94vw;
  }

  h1 {
    font-size: clamp(1.9rem, 11vw, 2.7rem);
  }

  p {
    max-width: 310px;
    font-size: .82rem;
    line-height: 1.7;
  }
}

@media (max-height: 580px) and (orientation: landscape) {
  .hero {
    padding-top: 26px;
    padding-bottom: 60px;
  }

  .logo {
    width: min(520px, 68vw);
  }

  .divider {
    margin: 20px auto;
  }

  h1 {
    font-size: clamp(1.8rem, 5vw, 3rem);
  }

  p {
    margin-top: 10px;
  }

  footer {
    bottom: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .content {
    animation: none;
  }
}
