:root {
  --black: #000;
  --white: #fff;
  --pink: #ff27a7;
  --cyan: #1cc7ef;
  --line: rgba(255, 255, 255, 0.24);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--white);
  background: var(--black);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.grain {
  position: fixed;
  z-index: 30;
  inset: 0;
  opacity: 0.08;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.site-header,
.site-footer {
  position: fixed;
  z-index: 20;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: clamp(20px, 3.1vw, 48px);
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.site-header {
  top: 0;
  height: 88px;
  border-bottom: 1px solid var(--line);
}

.site-footer {
  bottom: 0;
  height: 52px;
  border-top: 1px solid var(--line);
}

.wordmark {
  display: flex;
  align-items: baseline;
  gap: 7px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.wordmark span:first-child { color: var(--pink); }
.wordmark span:last-child { color: var(--cyan); font-weight: 400; }

.header-status { display: flex; align-items: center; gap: 9px; }

.status-dot {
  width: 7px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 5px rgba(255, 39, 167, 0.14);
  animation: pulse 2s ease-in-out infinite;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  isolation: isolate;
  overflow: hidden;
  padding: 118px clamp(20px, 3.1vw, 48px) 80px;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 88px 0 52px 54%;
  background: var(--pink);
  clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
}

.eyebrow {
  position: absolute;
  z-index: 5;
  top: 112px;
  left: clamp(20px, 3.1vw, 48px);
  right: clamp(20px, 3.1vw, 48px);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.eyebrow span:nth-child(2) { text-align: center; }
.eyebrow span:last-child { text-align: right; }

.hero-title {
  position: relative;
  z-index: 5;
  width: min-content;
  margin: 1vh 0 5vh;
  text-transform: uppercase;
  font-size: clamp(74px, 11.4vw, 178px);
  font-weight: 900;
  letter-spacing: -0.085em;
  line-height: 0.78;
}

.title-line { display: block; width: max-content; }

.title-line--one {
  color: var(--white);
  text-shadow: 0.035em 0.035em 0 var(--cyan);
}

.title-line--two {
  position: relative;
  color: var(--black);
  -webkit-text-stroke: clamp(1.5px, 0.14vw, 3px) var(--white);
}

.asterisk {
  position: absolute;
  top: -0.18em;
  right: -0.42em;
  color: var(--cyan);
  -webkit-text-stroke: 0;
  font-size: 0.25em;
  letter-spacing: 0;
  animation: spin 12s linear infinite;
}

.hero-footer {
  position: relative;
  z-index: 6;
  width: min(50%, 710px);
}

.intro {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 1.45vw, 25px);
  font-style: italic;
  line-height: 1.08;
}

.logo-stage {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: clamp(-92px, -3.5vw, -42px);
  width: min(55vw, 760px);
  aspect-ratio: 1;
  transform: translateY(-48%) rotate(3deg);
}

.brand-art {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(18px 24px 0 rgba(0, 0, 0, 0.18));
  animation: float 7s ease-in-out infinite;
}

.logo-halo {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}

.logo-halo--pink {
  width: 31%;
  aspect-ratio: 1;
  top: -2%;
  left: 2%;
  background: var(--cyan);
}

.logo-halo--blue {
  width: 23%;
  aspect-ratio: 1;
  right: -1%;
  bottom: 5%;
  background: var(--black);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  animation: reveal 760ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.eyebrow.reveal { animation-delay: 70ms; }
.title-line--one.reveal { animation-delay: 150ms; }
.title-line--two.reveal { animation-delay: 280ms; }
.hero-footer.reveal { animation-delay: 440ms; }

@keyframes reveal { to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translate3d(0, -5px, 0); } 50% { transform: translate3d(-5px, 8px, 0) rotate(-1deg); } }

@media (max-width: 900px) {
  .site-header { height: 74px; }
  .site-footer { position: absolute; height: 48px; }
  .footer-note { display: none; }

  .hero {
    min-height: 100svh;
    justify-content: flex-start;
    padding-top: 106px;
    padding-bottom: 74px;
  }

  .hero::before {
    inset: 57% 0 48px;
    clip-path: polygon(0 14%, 100% 0, 100% 100%, 0 100%);
  }

  .eyebrow { top: 92px; grid-template-columns: 1fr auto; }
  .eyebrow span:nth-child(2) { display: none; }

  .hero-title {
    margin: 8vh 0 0;
    font-size: clamp(58px, 17.6vw, 126px);
  }

  .hero-footer {
    position: absolute;
    right: 20px;
    bottom: 75px;
    left: 20px;
    width: auto;
  }

  .intro { color: var(--black); }

  .logo-stage {
    top: 59%;
    right: -10vw;
    width: min(80vw, 560px);
    transform: translateY(-50%) rotate(4deg);
  }
}

@media (max-width: 520px) {
  .site-header, .site-footer { font-size: 9px; }
  .header-status { gap: 7px; }
  .hero-title { margin-top: 7vh; font-size: clamp(54px, 20vw, 88px); line-height: 0.8; }
  .title-line--two { white-space: normal; width: 4.8em; }
  .asterisk { right: 0.05em; }
  .logo-stage { top: 57%; right: -16vw; width: 90vw; }
  .intro { font-size: 17px; }
}

@media (max-height: 700px) and (min-width: 901px) {
  .hero-title { font-size: clamp(68px, 9.8vw, 132px); margin-bottom: 3vh; }
}

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