:root {
  --white: #ffffff;
  --warm: #fff1a8;
  --ink: #0b061b;
  --pointer-x: 0px;
  --pointer-y: 0px;
  --shadow: 0 10px 36px rgb(0 0 0 / 52%);
}

* {
  box-sizing: border-box;
}

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

body {
  background: var(--ink);
  color: var(--white);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  place-items: center;
  isolation: isolate;
  background: #0a041b;
}

.hero__image,
.hero__wash,
.hero__vignette {
  position: absolute;
  inset: -2%;
}

.hero__image {
  z-index: -4;
  background-image: url("assets/sunday-girl-live.jpg");
  background-size: cover;
  background-position: center 58%;
  transform: translate3d(var(--pointer-x), var(--pointer-y), 0) scale(1.035);
  transition: transform 700ms cubic-bezier(.2,.7,.2,1);
  animation: slow-push 22s ease-out both;
  will-change: transform;
}

.hero__wash {
  z-index: -3;
  background:
    radial-gradient(ellipse at 50% 36%, rgb(35 10 105 / 6%) 0%, rgb(9 3 32 / 18%) 42%, rgb(5 2 18 / 56%) 100%),
    linear-gradient(to bottom, rgb(3 1 14 / 30%) 0%, rgb(7 2 25 / 10%) 34%, rgb(5 2 18 / 30%) 66%, rgb(3 1 12 / 74%) 100%);
}

.hero__vignette {
  z-index: -2;
  box-shadow: inset 0 0 180px 55px rgb(0 0 0 / 45%);
  pointer-events: none;
}

.hero__content {
  width: min(92vw, 820px);
  min-height: 100svh;
  padding: clamp(24px, 4vh, 46px) 20px clamp(44px, 8vh, 84px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-shadow: var(--shadow);
  transform: translateY(clamp(-54px, -5vh, -24px));
}

.logo {
  display: block;
  width: clamp(250px, 37vw, 450px);
  height: auto;
  margin: 0 0 clamp(22px, 3.2vh, 34px);
  filter: drop-shadow(0 16px 32px rgb(0 0 0 / 55%));
}

.tagline {
  margin-bottom: clamp(30px, 4.5vh, 44px);
}

.tagline p {
  margin: 0;
}

.tagline__lead {
  font-size: clamp(1.45rem, 2.85vw, 2.35rem);
  line-height: 1.13;
  font-weight: 760;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.tagline__sub {
  margin-top: 0.72rem !important;
  font-size: clamp(1.08rem, 2vw, 1.48rem);
  line-height: 1.35;
  font-weight: 430;
  font-style: italic;
  letter-spacing: 0.002em;
  color: rgb(255 255 255 / 96%);
  text-wrap: balance;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.72rem;
  min-height: 60px;
  padding: 1.08rem 1.85rem;
  border: 1.5px solid rgb(255 241 168 / 88%);
  border-radius: 999px;
  color: var(--warm);
  background: rgb(8 3 25 / 46%);
  backdrop-filter: blur(12px) saturate(125%);
  -webkit-backdrop-filter: blur(12px) saturate(125%);
  box-shadow: 0 12px 32px rgb(0 0 0 / 34%), inset 0 1px 0 rgb(255 255 255 / 10%);
  font-size: clamp(0.9rem, 1.55vw, 1.02rem);
  font-weight: 780;
  letter-spacing: 0.085em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 220ms ease, background-color 220ms ease, color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.cta--pinned {
  position: fixed;
  z-index: 10;
  top: max(22px, env(safe-area-inset-top));
  right: max(24px, env(safe-area-inset-right));
  min-height: 52px;
  padding: 0.92rem 1.35rem;
  font-size: clamp(0.76rem, 1.1vw, 0.9rem);
}

.cta__arrow {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 220ms ease;
}

.cta:hover {
  transform: translateY(-3px);
  color: #130b32;
  background: var(--warm);
  border-color: var(--warm);
  box-shadow: 0 18px 40px rgb(0 0 0 / 44%), 0 0 24px rgb(255 241 168 / 18%);
}

.cta:hover .cta--pinned {
  position: fixed;
  z-index: 10;
  top: max(22px, env(safe-area-inset-top));
  right: max(24px, env(safe-area-inset-right));
  min-height: 52px;
  padding: 0.92rem 1.35rem;
  font-size: clamp(0.76rem, 1.1vw, 0.9rem);
}

.cta__arrow {
  transform: translateX(3px);
}

.cta:active {
  transform: translateY(-1px);
}

.cta:focus-visible {
  outline: 3px solid var(--warm);
  outline-offset: 5px;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: reveal 850ms cubic-bezier(.2,.75,.25,1) forwards;
}

.reveal--logo { animation-delay: 100ms; }
.reveal--lead { animation-delay: 430ms; }
.reveal--sub  { animation-delay: 680ms; }
.reveal--cta  { animation-delay: 930ms; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slow-push {
  from { transform: translate3d(var(--pointer-x), var(--pointer-y), 0) scale(1.035); }
  to   { transform: translate3d(var(--pointer-x), var(--pointer-y), 0) scale(1.075); }
}

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

  .hero__wash {
    background:
      radial-gradient(ellipse at 50% 33%, rgb(26 7 84 / 4%) 0%, rgb(7 2 26 / 24%) 47%, rgb(4 2 16 / 62%) 100%),
      linear-gradient(to bottom, rgb(3 1 14 / 35%) 0%, rgb(6 2 22 / 14%) 34%, rgb(5 2 18 / 38%) 66%, rgb(3 1 12 / 80%) 100%);
  }

  .hero__vignette {
    box-shadow: inset 0 0 100px 20px rgb(0 0 0 / 38%);
  }

  .hero__content {
    justify-content: center;
    padding-inline: 20px;
    transform: translateY(-3vh);
  }

  .logo {
    width: min(78vw, 340px);
    margin-bottom: 24px;
  }

  .tagline {
    margin-bottom: 30px;
  }

  .cta--pinned {
    top: max(14px, env(safe-area-inset-top));
    right: max(14px, env(safe-area-inset-right));
    width: auto;
    min-height: 44px;
    padding: 0.76rem 1rem;
    gap: 0.5rem;
    font-size: 0.72rem;
    letter-spacing: 0.045em;
  }

  .cta--pinned .cta__arrow {
    width: 17px;
    height: 17px;
  }
}

@media (max-height: 700px) and (min-width: 701px) {
  .hero__content {
    transform: translateY(-18px);
    padding-block: 22px 34px;
  }

  .logo {
    width: clamp(210px, 30vw, 340px);
    margin-bottom: 16px;
  }

  .tagline {
    margin-bottom: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
