:root {
  --ink: #152036;
  --muted: #4c5870;
  --leaf: #315f33;
  --paper: rgba(255, 250, 240, 0.9);
  --white: #ffffff;
  --pan-x: 0px;
  --pan-y: 0px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: Montserrat, Arial, sans-serif;
  background: #cfefff;
  overflow: hidden;
  user-select: none;
}

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

a {
  color: inherit;
}

.coming-soon {
  position: fixed;
  inset: 0;
  min-height: 100vh;
  animation: page-fade-in 900ms ease-out both;
  overflow: hidden;
  isolation: isolate;
  touch-action: none;
}

.environment {
  position: absolute;
  inset: -8vh -8vw;
  z-index: -2;
  background: url("DMsiteV2/webbackground%20copy.PNG?v=2") center / cover no-repeat;
  animation: environment-drift 80s ease-in-out infinite alternate;
  transition: transform 180ms ease-out;
  will-change: transform;
}

.environment::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 250, 240, 0.8) 0 28%, rgba(255, 250, 240, 0.36) 54%, rgba(255, 250, 240, 0.04) 100%);
  content: "";
}

.daisy-field {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  animation: daisy-field-drift 62s ease-in-out infinite alternate;
  will-change: transform;
}

.foreground-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  animation: foreground-field-drift 48s ease-in-out infinite alternate;
  will-change: transform;
}

.floating-daisy {
  position: absolute;
  display: block;
  width: var(--size);
  height: auto;
  opacity: var(--alpha);
  filter: drop-shadow(0 16px 18px rgba(21, 32, 54, 0.08));
  transform-origin: center;
  animation: daisy-drift var(--duration) ease-in-out infinite alternate;
  animation-delay: var(--delay);
}

.foreground-daisy {
  position: absolute;
  display: block;
  width: var(--size);
  height: auto;
  opacity: var(--alpha);
  filter: blur(0.6px) drop-shadow(0 20px 24px rgba(21, 32, 54, 0.1));
  transform-origin: center;
  animation: foreground-drift var(--duration) ease-in-out infinite alternate;
  animation-delay: var(--delay);
}

.daisy-one {
  --alpha: 0.62;
  --delay: -1.5s;
  --duration: 14s;
  --size: clamp(56px, 8vw, 118px);
  left: 10%;
  top: 18%;
}

.daisy-two {
  --alpha: 0.46;
  --delay: -7s;
  --duration: 18s;
  --size: clamp(42px, 6vw, 88px);
  right: 14%;
  top: 16%;
}

.daisy-three {
  --alpha: 0.38;
  --delay: -4s;
  --duration: 20s;
  --size: clamp(62px, 10vw, 145px);
  right: 9%;
  bottom: 14%;
}

.daisy-four {
  --alpha: 0.34;
  --delay: -10s;
  --duration: 22s;
  --size: clamp(38px, 5vw, 76px);
  left: 19%;
  bottom: 15%;
}

.daisy-five {
  --alpha: 0.28;
  --delay: -13s;
  --duration: 24s;
  --size: clamp(46px, 7vw, 96px);
  left: 72%;
  top: 55%;
}

.foreground-one {
  --alpha: 0.24;
  --delay: -3s;
  --duration: 16s;
  --size: clamp(82px, 12vw, 172px);
  left: 28%;
  top: 4%;
}

.foreground-two {
  --alpha: 0.18;
  --delay: -9s;
  --duration: 19s;
  --size: clamp(96px, 14vw, 196px);
  left: 54%;
  bottom: 8%;
}

.foreground-three {
  --alpha: 0.16;
  --delay: -12s;
  --duration: 22s;
  --size: clamp(68px, 9vw, 136px);
  left: 10%;
  bottom: 6%;
}

.hero {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  overflow: hidden;
  padding: clamp(28px, 5vw, 76px);
}

.hero-copy {
  position: relative;
  width: min(100%, 520px);
  padding-block: 0;
  text-align: center;
  user-select: none;
  -webkit-user-select: none;
}

.brand-float {
  position: relative;
  animation: logo-drift 10s ease-in-out infinite alternate;
  transform-origin: center;
}

.brand-float::before {
  position: absolute;
  inset: 18% 7% 22%;
  z-index: -1;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.18) 42%, rgba(114, 170, 218, 0) 72%),
    radial-gradient(circle at 50% 62%, rgba(21, 32, 54, 0.1), rgba(21, 32, 54, 0) 68%);
  content: "";
  filter: blur(20px);
  transform: scale(1.12);
}

.brand-mark {
  display: block;
  width: min(440px, 76vw);
  height: auto;
  margin: 0 auto;
  animation: logo-shadow 10s ease-in-out infinite alternate;
  filter: drop-shadow(-14px 18px 26px rgba(21, 32, 54, 0.11));
  pointer-events: none;
  -webkit-user-drag: none;
}

.launch-stamp {
  margin: clamp(12px, 2vw, 18px) 0 0;
  color: rgba(30, 69, 73, 0.58);
  font-family: Montserrat, Arial, sans-serif;
  font-size: clamp(0.68rem, 1.2vw, 0.82rem);
  font-weight: 900;
  letter-spacing: 0.26em;
  line-height: 1.2;
  text-transform: uppercase;
  user-select: none;
  -webkit-user-select: none;
}

.preview-unlock {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  width: min(100%, 300px);
  margin: clamp(18px, 3vw, 26px) auto 0;
  pointer-events: auto;
}

.preview-unlock input {
  width: min(188px, 58vw);
  min-height: 36px;
  border: 1px solid rgba(30, 69, 73, 0.18);
  border-radius: 999px;
  padding: 0 15px;
  color: rgba(21, 32, 54, 0.82);
  background: rgba(255, 255, 255, 0.42);
  box-shadow: 0 10px 24px rgba(21, 32, 54, 0.06);
  font: 700 0.78rem Montserrat, Arial, sans-serif;
  outline: none;
  text-align: center;
  user-select: text;
  -webkit-user-select: text;
  backdrop-filter: blur(10px);
}

.preview-unlock input::placeholder {
  color: rgba(30, 69, 73, 0.42);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.preview-unlock input:focus {
  border-color: rgba(49, 95, 51, 0.42);
  background: rgba(255, 255, 255, 0.58);
}

.preview-unlock button {
  min-height: 36px;
  border: 0;
  border-radius: 999px;
  padding: 0 16px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(30, 69, 73, 0.56);
  box-shadow: 0 10px 24px rgba(21, 32, 54, 0.08);
  cursor: pointer;
  font: 800 0.72rem Montserrat, Arial, sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.preview-unlock button:hover,
.preview-unlock button:focus-visible {
  background: rgba(49, 95, 51, 0.64);
}

.preview-status {
  flex-basis: 100%;
  min-height: 1em;
  margin: 0;
  color: rgba(30, 69, 73, 0.58);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@keyframes logo-drift {
  0% {
    transform: translate3d(-8px, 4px, 0) rotate(-0.7deg);
  }

  45% {
    transform: translate3d(7px, -3px, 0) rotate(0.5deg);
  }

  100% {
    transform: translate3d(12px, 5px, 0) rotate(-0.25deg);
  }
}

@keyframes logo-shadow {
  0% {
    filter: drop-shadow(-14px 18px 26px rgba(21, 32, 54, 0.11));
  }

  45% {
    filter: drop-shadow(12px 16px 28px rgba(21, 32, 54, 0.1));
  }

  100% {
    filter: drop-shadow(16px 20px 30px rgba(21, 32, 54, 0.12));
  }
}

@keyframes daisy-drift {
  0% {
    transform: translate3d(-10px, 8px, 0) rotate(-5deg);
  }

  50% {
    transform: translate3d(12px, -7px, 0) rotate(4deg);
  }

  100% {
    transform: translate3d(18px, 10px, 0) rotate(-2deg);
  }
}

@keyframes foreground-drift {
  0% {
    transform: translate3d(16px, -10px, 0) rotate(4deg);
  }

  50% {
    transform: translate3d(-14px, 12px, 0) rotate(-3deg);
  }

  100% {
    transform: translate3d(-24px, -4px, 0) rotate(2deg);
  }
}

@keyframes environment-drift {
  0% {
    transform: translate3d(calc(var(--pan-x) - 10px), calc(var(--pan-y) + 5px), 0) scale(1.14);
  }

  100% {
    transform: translate3d(calc(var(--pan-x) + 12px), calc(var(--pan-y) - 7px), 0) scale(1.14);
  }
}

@keyframes daisy-field-drift {
  0% {
    transform: translate3d(calc(var(--pan-x) * -0.34 - 14px), calc(var(--pan-y) * -0.28 + 9px), 0);
  }

  100% {
    transform: translate3d(calc(var(--pan-x) * -0.34 + 11px), calc(var(--pan-y) * -0.28 - 12px), 0);
  }
}

@keyframes foreground-field-drift {
  0% {
    transform: translate3d(calc(var(--pan-x) * -0.78 + 16px), calc(var(--pan-y) * -0.62 - 8px), 0);
  }

  100% {
    transform: translate3d(calc(var(--pan-x) * -0.78 - 13px), calc(var(--pan-y) * -0.62 + 14px), 0);
  }
}

@keyframes page-fade-in {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes logo-drift-mobile {
  0% {
    transform: translate3d(0, 3px, 0) rotate(-0.35deg);
  }

  45% {
    transform: translate3d(0, -3px, 0) rotate(0.3deg);
  }

  100% {
    transform: translate3d(0, 4px, 0) rotate(-0.2deg);
  }
}

@media (max-width: 860px) {
  .environment {
    inset: -8vh -12vw;
    background-image: url("DMsiteV2/mobilbackgroubd%20copy.PNG?v=2");
    animation-name: environment-drift-mobile;
  }

  .environment::after {
    background: linear-gradient(180deg, rgba(255, 250, 240, 0.72) 0 32%, rgba(255, 250, 240, 0.18) 64%, rgba(255, 250, 240, 0.04) 100%);
  }

  .hero {
    align-items: center;
    justify-content: center;
    min-height: 100svh;
    padding: 22px 20px;
  }

  .hero-copy {
    padding-block: 0;
  }

  .brand-float {
    animation-name: logo-drift-mobile;
  }

  .brand-mark {
    width: min(310px, 78vw);
  }

  .launch-stamp {
    margin-top: 12px;
    font-size: 0.64rem;
    letter-spacing: 0.22em;
  }

  .daisy-one {
    left: 7%;
    top: 15%;
  }

  .daisy-two {
    right: 6%;
    top: 24%;
  }

  .daisy-three {
    right: 5%;
    bottom: 16%;
  }

  .daisy-four {
    left: 6%;
    bottom: 19%;
  }

  .daisy-five {
    left: 66%;
    top: 68%;
  }

  .foreground-one {
    left: 28%;
    top: 4%;
  }

  .foreground-two {
    left: 50%;
    bottom: 6%;
  }

  .foreground-three {
    left: 6%;
    bottom: 7%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .coming-soon,
  .environment,
  .daisy-field,
  .foreground-field,
  .brand-float,
  .brand-mark,
  .floating-daisy,
  .foreground-daisy {
    animation: none;
  }
}

@keyframes environment-drift-mobile {
  0% {
    transform: translate3d(calc(var(--pan-x) - 7px), calc(var(--pan-y) + 6px), 0) scale(1.16);
  }

  100% {
    transform: translate3d(calc(var(--pan-x) + 8px), calc(var(--pan-y) - 8px), 0) scale(1.16);
  }
}
