:root {
  color-scheme: dark;
  --night: #0b0a17;
  --ink: #161124;
  --lavender: #c8baf6;
  --pale: #f3edff;
  --muted: #978cae;
  --pink: #f2b9d4;
  --acid: #d9ff8f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: linear-gradient(145deg, #080711 0%, var(--night) 52%, #100914 100%);
  color: var(--pale);
  font-family: "Noto Sans SC", sans-serif;
  font-weight: 300;
}

body::before,
body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
}

body::before {
  background-image:
    radial-gradient(circle at 12% 19%, rgba(255, 255, 255, 0.82) 0 0.7px, transparent 1px),
    radial-gradient(circle at 67% 30%, rgba(255, 255, 255, 0.55) 0 0.7px, transparent 1px),
    radial-gradient(circle at 84% 69%, rgba(255, 255, 255, 0.45) 0 0.7px, transparent 1px),
    radial-gradient(circle at 34% 77%, rgba(255, 255, 255, 0.32) 0 0.7px, transparent 1px);
  background-size: 370px 280px, 420px 390px, 310px 350px, 500px 430px;
  opacity: 0.62;
}

body::after {
  background:
    linear-gradient(rgba(200, 186, 246, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 186, 246, 0.026) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

a {
  color: inherit;
  text-decoration: none;
}

.glow {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
}

.glow-one {
  top: 10%;
  right: -12rem;
  width: 31rem;
  height: 31rem;
  border: 1px solid rgba(200, 186, 246, 0.09);
  box-shadow: inset 0 0 0 70px rgba(200, 186, 246, 0.012);
}

.glow-two {
  bottom: -19rem;
  left: -14rem;
  width: 39rem;
  height: 39rem;
  border: 1px solid rgba(242, 185, 212, 0.07);
  box-shadow: inset 0 0 0 90px rgba(242, 185, 212, 0.01);
}

.site-header,
main,
footer {
  width: min(100% - 64px, 1280px);
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 31px 0;
  border-bottom: 1px solid rgba(200, 186, 246, 0.18);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 11px;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.wordmark-star {
  color: var(--acid);
  animation: twinkle 3.5s ease-in-out infinite;
}

.status {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 12px var(--pink);
  animation: pulse 2.5s ease-in-out infinite;
}

.hero {
  min-height: 680px;
  padding: clamp(70px, 10vw, 136px) 0 76px;
}

.eyebrow {
  margin: 0 0 28px;
  color: var(--lavender);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow span {
  display: inline-grid;
  width: 27px;
  height: 27px;
  margin-right: 10px;
  place-items: center;
  border: 1px solid rgba(200, 186, 246, 0.42);
  border-radius: 50%;
  letter-spacing: 0;
}

h1 {
  max-width: 1100px;
  margin: 0;
  font-size: clamp(48px, 8.2vw, 112px);
  font-weight: 300;
  letter-spacing: -0.065em;
  line-height: 1.09;
}

h1 .line {
  display: block;
}

.line-one {
  color: rgba(243, 237, 255, 0.92);
}

.line-two {
  margin-left: clamp(0px, 9vw, 118px);
  color: var(--lavender);
}

.serif {
  position: relative;
  margin-left: 0.08em;
  color: var(--pink);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.14em;
  font-style: italic;
  letter-spacing: -0.045em;
}

.serif::after {
  position: absolute;
  right: 0;
  bottom: 0.07em;
  left: 0;
  height: 2px;
  background: var(--pink);
  content: "";
  opacity: 0.45;
  transform: rotate(-1.4deg);
}

.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  max-width: 975px;
  margin: 58px 0 0 clamp(0px, 9vw, 118px);
}

.intro {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.07em;
  line-height: 2;
}

.orbit {
  position: relative;
  display: grid;
  width: 116px;
  height: 116px;
  place-items: center;
}

.orbit-type {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  animation: orbit 18s linear infinite;
}

.orbit-ring {
  fill: none;
  stroke: rgba(200, 186, 246, 0.32);
  stroke-width: 0.8;
}

.orbit-type text {
  fill: var(--muted);
  font-family: "Cormorant Garamond", serif;
  font-size: 6.6px;
  letter-spacing: 1.15px;
}

.moon {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 30px rgba(217, 255, 143, 0.18);
}

.moon::after {
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--night);
  content: "";
  transform: translate(11px, -6px);
}

.threshold {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(270px, 340px) 1fr;
  align-items: center;
  min-height: 360px;
  border-top: 1px solid rgba(200, 186, 246, 0.18);
}

.side-note {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
}

.side-note span {
  display: grid;
  width: 29px;
  height: 29px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(200, 186, 246, 0.32);
  border-radius: 50%;
  color: var(--lavender);
  font-size: 9px;
}

.side-note p {
  margin: 0;
  font-size: 8px;
  letter-spacing: 0.2em;
  line-height: 1.8;
}

.note-card {
  position: relative;
  z-index: 1;
  padding: 46px 39px 34px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: #ebe3f3;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3), 9px 9px 0 rgba(200, 186, 246, 0.06);
  color: #332b42;
  transform: rotate(-1.4deg);
  transition: transform 400ms ease;
}

.note-card:hover {
  transform: rotate(0.5deg) translateY(-6px);
}

.tape {
  position: absolute;
  top: -13px;
  left: calc(50% - 45px);
  width: 90px;
  height: 27px;
  border-right: 1px solid rgba(255, 255, 255, 0.35);
  border-left: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(217, 255, 143, 0.72);
  transform: rotate(1.5deg);
}

.note-date {
  margin: 0 0 20px;
  color: #756985;
  font-size: 9px;
  letter-spacing: 0.2em;
}

.note-text {
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.85;
}

.signature {
  margin: 21px 0 0;
  color: #8c5670;
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  font-style: italic;
  text-align: right;
}

.coming-soon {
  justify-self: end;
  color: var(--muted);
  text-align: right;
}

.coming-soon span,
.coming-soon strong {
  display: block;
}

.coming-soon span {
  font-size: 8px;
  letter-spacing: 0.18em;
}

.coming-soon strong {
  margin: 4px 0 7px;
  color: var(--pink);
  font-family: "Cormorant Garamond", serif;
  font-size: 45px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.03em;
}

footer {
  display: flex;
  justify-content: space-between;
  padding: 30px 0 38px;
  border-top: 1px solid rgba(200, 186, 246, 0.18);
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

footer p {
  margin: 0;
}

footer > span {
  color: var(--lavender);
}

.cursor-star {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  color: var(--acid);
  font-size: 10px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 180ms ease;
  transform: translate(-50%, -50%);
}

@keyframes twinkle {
  0%, 100% { opacity: 0.4; transform: scale(0.8) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.2) rotate(90deg); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}

@keyframes orbit {
  to { transform: rotate(360deg); }
}

@media (max-width: 760px) {
  .site-header,
  main,
  footer {
    width: min(100% - 36px, 1280px);
  }

  .site-header {
    padding: 23px 0;
  }

  .status span:last-child {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 78px 0 90px;
  }

  h1 {
    font-size: clamp(43px, 13vw, 69px);
    line-height: 1.13;
  }

  .line-two {
    margin-top: 8px;
    margin-left: 0;
  }

  .hero-bottom {
    align-items: center;
    margin: 47px 0 0;
  }

  .intro br {
    display: none;
  }

  .intro {
    max-width: 65%;
  }

  .orbit {
    width: 92px;
    height: 92px;
  }

  .threshold {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 75px 16px;
  }

  .side-note {
    justify-self: center;
  }

  .note-card {
    width: min(100%, 330px);
    justify-self: center;
  }

  .coming-soon {
    z-index: 1;
    justify-self: center;
    padding: 8px 18px;
    background: var(--night);
    text-align: center;
  }

  footer {
    gap: 24px;
    line-height: 1.8;
  }

  footer p {
    max-width: 48%;
  }
}

@media (pointer: coarse), (prefers-reduced-motion: reduce) {
  .cursor-star {
    display: none;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
