/* landing5 — full-screen sight: mosaic + dock controls */

.sight {
  position: relative;
  min-height: 100svh;
  background: var(--bg);
}

.sight__backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  contain: layout style paint;
  isolation: isolate;
}

.sight__mosaic {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  cursor: default;
}

.sight.is-generator .sight__mosaic {
  pointer-events: auto;
  cursor: grab;
}

.sight.is-generator .sight__mosaic:active {
  cursor: grabbing;
}

/* Dark edge fog — hides mosaic boundaries */
.sight__fog {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 72% 68% at 50% 48%, transparent 42%, rgba(15, 13, 21, 0.52) 100%);
  box-shadow:
    inset 0 0 90px 28px rgba(15, 13, 21, 0.72),
    inset 0 0 180px 60px rgba(15, 13, 21, 0.38);
  transition: opacity 0.7s var(--ease-out);
}

/* Extra scrim past the hero — mosaic recedes almost fully once scrolled */
.sight__dim {
  position: absolute;
  inset: 0;
  background: var(--bg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s var(--ease-out);
}

.sight.is-scrolled .sight__dim {
  opacity: 0.86;
}

/* Generator screen — mosaic brightens all the way back up, no fade/vignette */
.sight.is-generator .sight__dim {
  opacity: 0;
}
.sight.is-generator .sight__fog {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .sight__dim,
  .sight__fog {
    transition: none;
  }
}

/* Content layer above mosaic */
.sight__content {
  position: relative;
  z-index: 2;
  width: 100%;
  pointer-events: none;
}
.sight__content a,
.sight__content button,
.sight__content input,
.sight__content .nav { pointer-events: auto; }

/* Nav — hidden over hero, glass reveal once scrolled past it */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-14px);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    opacity 0.5s var(--ease-out),
    transform 0.5s var(--ease-out),
    background-color 0.4s var(--ease),
    border-color 0.4s var(--ease);
}
.sight.is-scrolled .nav {
  opacity: 1;
  transform: translateY(0);
  background: rgba(21, 19, 26, 0.55);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid rgba(241, 239, 245, 0.09);
}
.nav__inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 1rem clamp(1.25rem, 4vw, 3.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  pointer-events: none;
}
.nav__links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.1rem;
  margin-inline: auto;
  font: 500 0.78rem/1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(241, 239, 245, 0.62);
}
.nav__links a {
  transition: color 0.2s var(--ease);
}
.nav__links a:hover { color: var(--accent); }
.sight.is-scrolled .nav__inner {
  pointer-events: auto;
}

@media (max-width: 900px) {
  .nav__links { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .nav { transition: none; }
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 560;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}
.brand__logo { width: 30px; height: 30px; border-radius: 7px; }

/* Full-viewport screens */
.screen {
  width: 100%;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  scroll-snap-align: start;
  padding: 0;
}

.screen.hero {
  min-height: auto;
}

.screen--center {
  justify-content: center;
  align-items: center;
  padding-block: var(--section-y);
}
