/* =========================================================================
   yadallest — landing.css
   Styles specific to index.html: the generative paint canvas and the
   quiet overlays that sit on top of it. Everything shared (nav,
   footer, tokens) lives in base.css.
   ========================================================================= */

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0) 45%,
    rgba(0, 0, 0, 0.35) 100%
  );
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 180px 180px;
}

.signature {
  position: fixed;
  bottom: 22px;
  right: 30px;
  font-family: var(--font-script);
  font-size: 1.6rem;
  color: var(--pigment-cream);
  opacity: 0.5;
  letter-spacing: 0.02em;
  pointer-events: none;
  user-select: none;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
  z-index: 5;
}

/* Landing nav rides directly on the painting, so it stays fully
   transparent until hovered/focused rather than showing its usual
   gradient scrim — the artwork should read uninterrupted. */
.site-nav--on-canvas {
  background: none;
}

.site-nav--on-canvas .site-nav__mark,
.site-nav--on-canvas .site-nav__links a {
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
}

/* A single quiet invitation to explore the rest of the site, placed
   opposite the signature so the composition stays balanced. */
.landing-prompt {
  position: fixed;
  bottom: 22px;
  left: 30px;
  z-index: 5;
  display: flex;
  gap: 0.9rem;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.landing-prompt a {
  color: var(--ink-secondary);
  border-bottom: 1px solid var(--hairline-strong);
  padding-bottom: 2px;
  transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast);
}

.landing-prompt a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.landing-prompt span[aria-hidden="true"] {
  opacity: 0.4;
}

@media (max-width: 600px) {
  .signature {
    bottom: 16px;
    right: 18px;
    font-size: 1.3rem;
  }

  .landing-prompt {
    bottom: 16px;
    left: 18px;
    font-size: 0.62rem;
    gap: 0.6rem;
  }
}
