:root {
  color-scheme: dark;
  --charcoal: #202020;
  --charcoal-deep: #121212;
  --charcoal-soft: #2b2b2b;
  --white: #fbfaf7;
  --glare: #ffffff;
  --silver: #d5d0c6;
  --cursor-x: 50vw;
  --cursor-y: 50vh;
  --logo-x: 0px;
  --logo-y: 0px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% 46%, rgba(255, 255, 255, 0.035), transparent 24rem),
    linear-gradient(135deg, #252525, #101010);
}

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

body::before {
  z-index: 2;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
}

body::after {
  z-index: 3;
  opacity: 0.16;
  background-image:
    repeating-radial-gradient(circle at 17% 29%, rgba(255, 255, 255, 0.22) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(108deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 10px);
  mix-blend-mode: overlay;
}

.page-shell {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  padding: clamp(28px, 6vw, 72px);
  place-items: center;
}

.page-shell::before,
.page-shell::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
}

.page-shell::before {
  z-index: 1;
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 255, 255, 0.05), transparent 22rem),
    linear-gradient(rgba(31, 31, 31, 0.56), rgba(12, 12, 12, 0.76));
  -webkit-mask-image:
    radial-gradient(
      circle at var(--cursor-x) var(--cursor-y),
      transparent 0 82px,
      rgba(0, 0, 0, 0.14) 150px,
      rgba(0, 0, 0, 0.58) 248px,
      black 370px
    );
  mask-image:
    radial-gradient(
      circle at var(--cursor-x) var(--cursor-y),
      transparent 0 82px,
      rgba(0, 0, 0, 0.14) 150px,
      rgba(0, 0, 0, 0.58) 248px,
      black 370px
    );
}

.page-shell::after {
  z-index: 2;
  background:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    repeating-radial-gradient(circle at 17% 29%, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 5px),
    rgba(32, 32, 32, 0.24);
  background-size: 36px 36px, 36px 36px, auto, auto;
  backdrop-filter: saturate(0.82) contrast(0.96);
  mix-blend-mode: overlay;
  -webkit-mask-image:
    radial-gradient(
      circle at var(--cursor-x) var(--cursor-y),
      transparent 0 76px,
      rgba(0, 0, 0, 0.2) 152px,
      black 300px
    );
  mask-image:
    radial-gradient(
      circle at var(--cursor-x) var(--cursor-y),
      transparent 0 76px,
      rgba(0, 0, 0, 0.2) 152px,
      black 300px
    );
}

.background-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
  filter: grayscale(0.24) contrast(1.02) brightness(0.62);
}

.cursor-spotlight {
  position: fixed;
  z-index: 3;
  left: var(--cursor-x);
  top: var(--cursor-y);
  width: min(54vw, 620px);
  min-width: 320px;
  aspect-ratio: 1;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0.28;
  background:
    radial-gradient(circle, transparent 0 36%, rgba(255, 255, 255, 0.1) 48%, rgba(213, 208, 198, 0.04) 60%, transparent 74%);
  filter: blur(14px);
  mix-blend-mode: screen;
  transform: translate(-50%, -50%) scale(1);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

html.logo-hovered .cursor-spotlight {
  opacity: 0.42;
  transform: translate(-50%, -50%) scale(1.04);
}

.ambient {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(24px);
}

.ambient-one {
  width: 38vw;
  min-width: 300px;
  aspect-ratio: 1;
  top: 9%;
  right: 11%;
  opacity: 0.12;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 68%);
  animation: breathe 8s ease-in-out infinite;
}

.ambient-two {
  width: 32vw;
  min-width: 240px;
  aspect-ratio: 1;
  bottom: 7%;
  left: 10%;
  opacity: 0.11;
  background: radial-gradient(circle, rgba(213, 208, 198, 0.22), transparent 70%);
  animation: breathe 9s ease-in-out 1.2s infinite reverse;
}

.landing-grid {
  position: relative;
  z-index: 4;
  display: grid;
  width: min(100%, 1120px);
  grid-template-columns: minmax(280px, 0.95fr) minmax(340px, 0.78fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
}

.brand-column {
  display: grid;
  gap: clamp(14px, 2vw, 22px);
  justify-items: center;
}

.logo-stage {
  position: relative;
  width: min(44vw, 460px);
  aspect-ratio: 2000 / 2073;
  animation: logo-arrive 1100ms cubic-bezier(0.16, 1, 0.3, 1) both;
  filter:
    drop-shadow(0 24px 48px rgba(0, 0, 0, 0.52))
    drop-shadow(0 0 30px rgba(255, 255, 255, 0.08));
  transition:
    filter 260ms ease,
    transform 260ms ease;
  transform: translate3d(var(--logo-x), var(--logo-y), 0);
}

.logo-mark,
.logo-glare {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.logo-mark {
  object-fit: contain;
  opacity: 0.96;
}

.logo-glare {
  -webkit-mask: url("./assets/paseo-logo-white.png") center / contain no-repeat;
  mask: url("./assets/paseo-logo-white.png") center / contain no-repeat;
  background:
    linear-gradient(
      112deg,
      transparent 0%,
      transparent 40%,
      rgba(255, 255, 255, 0.08) 45%,
      var(--silver) 49%,
      var(--glare) 51%,
      var(--silver) 54%,
      rgba(255, 255, 255, 0.06) 59%,
      transparent 65%,
      transparent 100%
    );
  background-size: 270% 100%;
  background-position: -155% center;
  filter: blur(0.4px);
  mix-blend-mode: screen;
  opacity: 0.68;
  animation: sweep 6.2s cubic-bezier(0.72, 0, 0.18, 1) 1s infinite;
}

.logo-stage::after {
  position: absolute;
  inset: 13% 18%;
  z-index: -1;
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 70%);
  animation: quiet-pulse 5.4s ease-in-out infinite;
}

.logo-stage:hover {
  filter:
    drop-shadow(0 28px 54px rgba(0, 0, 0, 0.56))
    drop-shadow(0 0 38px rgba(255, 255, 255, 0.14));
  transform: translate3d(var(--logo-x), calc(var(--logo-y) - 3px), 0);
}

.logo-stage:hover .logo-glare {
  animation-duration: 3.4s;
  opacity: 0.86;
}

.launch-note {
  margin: 0;
  color: rgba(251, 250, 247, 0.72);
  font-family:
    Avenir Next,
    Helvetica Neue,
    Arial,
    sans-serif;
  font-size: clamp(0.72rem, 1vw, 0.86rem);
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
  animation: note-arrive 1100ms cubic-bezier(0.16, 1, 0.3, 1) 160ms both;
}

.leasing-panel {
  width: min(100%, 430px);
  padding: clamp(24px, 3.5vw, 34px);
  border: 1px solid rgba(251, 250, 247, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(251, 250, 247, 0.1), rgba(251, 250, 247, 0.035)),
    rgba(16, 16, 16, 0.46);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(22px) saturate(0.96);
  animation: form-arrive 1100ms cubic-bezier(0.16, 1, 0.3, 1) 120ms both;
}

.form-copy {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.eyebrow {
  margin: 0;
  color: rgba(213, 208, 198, 0.78);
  font-family:
    Avenir Next,
    Helvetica Neue,
    Arial,
    sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
}

.form-copy h1 {
  margin: 0;
  color: var(--white);
  font-family:
    Avenir Next,
    Helvetica Neue,
    Arial,
    sans-serif;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.05;
}

.form-copy p:not(.eyebrow) {
  margin: 0;
  color: rgba(251, 250, 247, 0.68);
  font-family:
    Avenir Next,
    Helvetica Neue,
    Arial,
    sans-serif;
  font-size: 0.92rem;
  line-height: 1.55;
}

.leasing-form {
  display: grid;
  gap: 14px;
}

.field-group {
  display: grid;
  gap: 7px;
}

.field-group label {
  color: rgba(251, 250, 247, 0.76);
  font-family:
    Avenir Next,
    Helvetica Neue,
    Arial,
    sans-serif;
  font-size: 0.74rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.field-group input,
.field-group textarea {
  width: 100%;
  border: 1px solid rgba(251, 250, 247, 0.16);
  border-radius: 6px;
  background: rgba(8, 8, 8, 0.34);
  color: var(--white);
  font:
    500 0.96rem/1.3 Avenir Next,
    Helvetica Neue,
    Arial,
    sans-serif;
  outline: none;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.field-group input {
  min-height: 46px;
  padding: 0 13px;
}

.field-group textarea {
  min-height: 108px;
  padding: 12px 13px;
  resize: vertical;
}

.field-group input:focus,
.field-group textarea:focus {
  border-color: rgba(251, 250, 247, 0.46);
  background: rgba(8, 8, 8, 0.46);
  box-shadow: 0 0 0 3px rgba(251, 250, 247, 0.08);
}

.submit-button {
  display: inline-grid;
  min-height: 48px;
  margin-top: 4px;
  place-items: center;
  border: 1px solid rgba(251, 250, 247, 0.82);
  border-radius: 6px;
  background: rgba(251, 250, 247, 0.92);
  color: #181818;
  cursor: pointer;
  font:
    700 0.78rem/1 Avenir Next,
    Helvetica Neue,
    Arial,
    sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.submit-button:hover {
  background: var(--white);
  border-color: var(--white);
  transform: translateY(-1px);
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.form-status {
  min-height: 19px;
  margin: 0;
  color: rgba(251, 250, 247, 0.66);
  font:
    500 0.84rem/1.45 Avenir Next,
    Helvetica Neue,
    Arial,
    sans-serif;
}

.leasing-form.is-success .form-status {
  color: rgba(216, 237, 202, 0.9);
}

.leasing-form.is-error .form-status {
  color: rgba(255, 203, 195, 0.92);
}

.hidden-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@keyframes sweep {
  0%,
  43% {
    background-position: -155% center;
  }

  72%,
  100% {
    background-position: 155% center;
  }
}

@keyframes logo-arrive {
  from {
    opacity: 0.2;
  }

  to {
    opacity: 1;
  }
}

@keyframes note-arrive {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

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

@keyframes form-arrive {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

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

@keyframes quiet-pulse {
  0%,
  100% {
    opacity: 0.58;
    transform: scale(0.96);
  }

  50% {
    opacity: 0.92;
    transform: scale(1.06);
  }
}

@keyframes breathe {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(2%, -2%, 0) scale(1.08);
  }
}

@media (max-width: 560px) {
  .page-shell {
    min-height: auto;
    padding: 24px;
  }

  .page-shell::before,
  .page-shell::after {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .landing-grid {
    min-height: 100svh;
    grid-template-columns: 1fr;
    gap: 30px;
    align-content: center;
  }

  .logo-stage {
    width: min(58vw, 270px);
  }

  .launch-note {
    font-size: 0.68rem;
    letter-spacing: 0.16em;
  }

  .leasing-panel {
    width: 100%;
    padding: 22px;
  }

  .form-copy h1 {
    font-size: 1.44rem;
  }
}

@media (min-width: 561px) and (max-width: 880px) {
  .landing-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    justify-items: center;
  }

  .logo-stage {
    width: min(48vw, 330px);
  }
}

@media (hover: none), (pointer: coarse) {
  .cursor-spotlight {
    display: none;
  }

  .page-shell::before,
  .page-shell::after {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .logo-stage,
  .logo-stage:hover {
    transform: none;
  }
}

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

  .logo-glare {
    background-position: 54% center;
  }
}
