/* ============================================================
   przez.ai / durch.ai — temporary teaser
   The Lens mark, a quiet gallery opening. Static, no dependencies.
   ============================================================ */

:root {
  --bg: #0f0e0c;
  --ink: #f3efe6;
  --muted: #9b968a;
  --line: #2a2823;
  --accent: #ffb23e;
  --accent-ink: #1c1406;
  --font-display: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", "Segoe UI Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  min-height: 100svh;
  background:
    radial-gradient(60% 50% at 50% 36%, rgba(255, 178, 62, 0.07), transparent 70%),
    var(--bg);
  color: var(--ink);
  font-family: var(--font-display);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.stage {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(28px, 6vw, 72px) clamp(20px, 6vw, 44px);
}

/* Wordmark */
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 clamp(26px, 5vw, 48px);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.wm-mark { width: 20px; height: 20px; flex: 0 0 auto; color: var(--ink); }

/* The Lens */
.lens {
  position: relative;
  width: clamp(150px, 32vw, 224px);
  height: clamp(150px, 32vw, 224px);
  margin: 0 auto;
  color: var(--ink);
}
.lens svg { width: 100%; height: 100%; display: block; }
.ring { fill: none; stroke: currentColor; stroke-width: 1.6; opacity: 0.92; }
.line { stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; }
.dot { fill: var(--accent); transform-box: fill-box; transform-origin: center; animation: sweep 4.4s ease-in-out infinite; }
@keyframes sweep {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(230%); }
}

/* Phrase passing through */
.phrase {
  min-height: 1.5em;
  margin: clamp(22px, 4vw, 34px) 0 0;
  font-family: var(--font-mono);
  font-size: clamp(12px, 2.6vw, 14px);
  letter-spacing: 0.05em;
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.phrase-prefix { color: var(--muted); }
.phrase-suffix { color: var(--accent); font-weight: 700; }
.phrase.is-fading { opacity: 0; transform: translateY(6px); }

/* Headline and copy */
.headline {
  margin: clamp(28px, 5vw, 44px) 0 0;
  max-width: 17ch;
  font-size: clamp(34px, 7.5vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 800;
  text-wrap: balance;
}
.sub {
  max-width: 48ch;
  margin: clamp(20px, 3.5vw, 28px) auto 0;
  color: var(--muted);
  font-size: clamp(15px, 2.4vw, 18px);
  line-height: 1.6;
}
.closing {
  margin-top: clamp(18px, 3vw, 24px);
  color: #cfc9bd;
  font-size: clamp(15px, 2.2vw, 17px);
}
.soon {
  margin: clamp(26px, 5vw, 40px) 0 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
}
.soon-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.72); }
}

@media (prefers-reduced-motion: reduce) {
  .dot { animation: none; }
  .soon-dot { animation: none; }
  .phrase { transition: none; }
}
