/* ---------------------------------------------------------------------
   RYVN — coming soon
   A light, warm-neutral palette (stone, soft charcoal, clay) built around
   the real signage photo's own tones — daylight on a plaster wall, not a
   dark-luxury "menswear" look. No brass/gold, no near-black void: the
   previous dark + brass treatment read as masculine-coded; this is meant
   to feel premium and welcoming regardless of who's looking at it.

   Type: Space Grotesk (wordmark, bold/geometric) / IBM Plex Sans (body) /
   IBM Plex Mono (eyebrow + stamp labels) — the same three families
   already loaded by the two Angular apps.
--------------------------------------------------------------------- */

:root {
  --bg: #f2ece1;
  --bg-raised: #fffbf4;
  --ink: #2e2a24;
  --ink-dim: #84796c;
  --line: rgba(46, 42, 36, 0.14);
  --accent: #b97a56;
  --accent-bright: #a56742;

  --font-wordmark: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, monospace;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  background-image: radial-gradient(ellipse 120% 70% at 50% 0%, #faf5eb 0%, var(--bg) 60%);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

.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;
}

.stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 96px 24px 32px;
  overflow: hidden;
}

/* ---- decorative lens motif ---- */

.motif {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(1100px, 150vw);
  height: min(560px, 76vw);
  transform: translate(-50%, -54%);
  pointer-events: none;
  z-index: 0;
}

.motif__circle {
  position: absolute;
  top: 0;
  width: min(520px, 68vw);
  height: min(520px, 68vw);
  border: 1px solid var(--accent);
  border-radius: 50%;
  opacity: 0.12;
  animation: converge 1.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.motif__circle--left {
  left: 0;
  animation-delay: 0.05s;
}

.motif__circle--right {
  right: 0;
  animation-delay: 0.05s;
}

@keyframes converge {
  from {
    opacity: 0;
    transform: translateX(var(--from, 0));
  }
  to {
    opacity: 0.12;
    transform: translateX(0);
  }
}

.motif__circle--left {
  --from: 40px;
}

.motif__circle--right {
  --from: -40px;
}

/* ---- panel ---- */

.panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 560px;
}

.eyebrow {
  margin: 0 0 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-bright);
}

/* ---- signage photo: the real wordmark shot. Light page now, so the
   photo's own warm stone tone carries the page instead of fighting a
   dark background - a soft ambient shadow, no heavy darkening filter. ---- */

.signage {
  margin: 0 0 8px;
  width: min(640px, 92vw);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 24px 48px -24px rgba(46, 42, 36, 0.22), 0 0 0 1px var(--line);
}

.signage::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 40px 8px var(--bg);
  opacity: 0.4;
  pointer-events: none;
}

.signage__photo {
  display: block;
  width: 100%;
  height: auto;
}

/* ---- ruler divider: a small nod to the lens-width/bridge/temple
   measurement stamps used across the storefront ---- */

.ruler {
  width: 180px;
  height: 10px;
  margin: 36px 0 32px;
  background:
    repeating-linear-gradient(
      to right,
      var(--ink-dim) 0,
      var(--ink-dim) 1px,
      transparent 1px,
      transparent 12px
    )
    top / 100% 6px no-repeat,
    linear-gradient(var(--line), var(--line)) bottom / 100% 1px no-repeat;
  opacity: 0.7;
}

.headline {
  margin: 0 0 16px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.copy {
  margin: 0 0 36px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-dim);
}

/* ---- notify form ---- */

.notify {
  display: flex;
  width: 100%;
  max-width: 400px;
  gap: 10px;
}

.notify__input {
  flex: 1;
  min-width: 0;
  padding: 13px 16px;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
}

.notify__input::placeholder {
  color: var(--ink-dim);
}

.notify__input:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 2px;
}

.notify__button {
  flex-shrink: 0;
  padding: 13px 20px;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 3px;
  color: #fffbf4;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.notify__button:hover {
  background: var(--accent-bright);
  border-color: var(--accent-bright);
}

.notify__button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.notify__done {
  max-width: 400px;
  padding: 13px 16px;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 3px;
  font-size: 14px;
  color: var(--ink);
}

/* ---- footer ---- */

.stage__footer {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 18px;
  margin-top: 56px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
}

.stage__spec {
  color: var(--ink-dim);
  opacity: 0.6;
}

/* ---- small screens ---- */

@media (max-width: 420px) {
  .notify {
    flex-direction: column;
  }

  .stage {
    padding-top: 72px;
  }
}

/* ---- motion & contrast preferences ---- */

@media (prefers-reduced-motion: reduce) {
  .motif__circle {
    animation: none;
    opacity: 0.12;
    transform: none;
  }
}
