* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  min-height: 100vh;
  background: #080807;
  color: #ffffff;
  font-family: "Inter", sans-serif;
  overflow: hidden;
}

main {
  position: relative;
  display: grid;
  min-height: 100vh;
  min-height: 100dvh;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.base-layer,
.reveal-layer {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  pointer-events: none;
}

.base-layer {
  z-index: -2;
  background-image: url("https://images.higgs.ai/?default=1&output=webp&url=https%3A%2F%2Fd8j0ntlcm91z4.cloudfront.net%2Fuser_38xzZboKViGWJOttwIXH07lWA1P%2Fhf_20260609_195923_b0ba8ace-1d1d-4f2c-9a28-1ab84b330680.png&w=1280&q=85");
  animation: hero-zoom 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.reveal-layer {
  z-index: -1;
  background-image: url("https://images.higgs.ai/?default=1&output=webp&url=https%3A%2F%2Fd8j0ntlcm91z4.cloudfront.net%2Fuser_38xzZboKViGWJOttwIXH07lWA1P%2Fhf_20260609_201152_bba90a12-bf12-459f-91f0-51f237dbaf3b.png&w=1280&q=85");
  mask-image: radial-gradient(circle 260px at var(--spotlight-x, -999px) var(--spotlight-y, -999px), rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 40%, rgba(255, 255, 255, 0.75) 60%, rgba(255, 255, 255, 0.4) 75%, rgba(255, 255, 255, 0.12) 88%, rgba(255, 255, 255, 0) 100%);
  -webkit-mask-image: radial-gradient(circle 260px at var(--spotlight-x, -999px) var(--spotlight-y, -999px), rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 40%, rgba(255, 255, 255, 0.75) 60%, rgba(255, 255, 255, 0.4) 75%, rgba(255, 255, 255, 0.12) 88%, rgba(255, 255, 255, 0) 100%);
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
}

h1 {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0;
  padding: 0 clamp(16px, 2vw, 36px);
  text-align: center;
  color: #ffffff;
  font-family: "Playfair Display", serif;
  font-size: clamp(48px, 5.2vw, 112px);
  font-weight: 400;
  letter-spacing: -0.08em;
  line-height: 0.95;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.3);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: center;
}

.hero-copy p {
  margin: clamp(18px, 1.7vw, 30px) clamp(16px, 2vw, 36px) 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(0.7rem, 0.9vw, 1rem);
  letter-spacing: 0.02em;
  line-height: 1.4;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}

.corner {
  position: absolute;
  z-index: 2;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(0.64rem, 0.7vw, 0.88rem);
  letter-spacing: 0.02em;
  line-height: 1.4;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}

.corner-top-left {
  top: clamp(20px, 2.2vw, 48px);
  left: clamp(20px, 2.2vw, 48px);
}

.corner-top-right {
  top: clamp(20px, 2.2vw, 48px);
  right: clamp(20px, 2.2vw, 48px);
  color: #ffffff;
  text-decoration: none;
}

.corner-top-right:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.9);
  outline-offset: 5px;
}

.corner-bottom-right {
  right: clamp(20px, 2.2vw, 48px);
  bottom: clamp(20px, 2.2vw, 48px);
  color: rgba(255, 255, 255, 0.58);
}

h1 span {
  display: block;
  animation: hero-reveal 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

h1 span:first-child {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.05em;
  animation-delay: 0.25s;
}

h1 span:last-child {
  animation-delay: 0.42s;
}

@keyframes hero-zoom {
  from {
    transform: scale(1.12);
  }
  to {
    transform: scale(1);
  }
}

@keyframes hero-reveal {
  from {
    opacity: 0;
    filter: blur(12px);
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .base-layer,
  h1 span {
    animation: none;
  }

  h1 span {
    opacity: 1;
  }
}

