/* OBSIANT — página «muy pronto». Crema + negro + oro del logo. */
:root {
  --paper: #FAF7F0;
  --ink: #111111;
  --ink-soft: #5b564b;
  --gold: #CAA443;       /* oro medio del logo */
  --gold-deep: #8B6622;  /* oro oscuro: texto con contraste sobre crema */
  --gold-light: #E2C463;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* halo dorado muy tenue detrás del logo */
.glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60vmin 60vmin at 50% 38%, rgba(202, 164, 67, .13), transparent 70%),
    radial-gradient(90vmin 50vmin at 50% 110%, rgba(202, 164, 67, .10), transparent 70%);
}

.stage {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: max(32px, env(safe-area-inset-top)) 16px 24px;
}

.logo { margin: 0; line-height: 0; }
.logo img {
  display: block;
  width: min(440px, 72vw);
  height: auto;
  opacity: 0;
  transform: translateY(10px) scale(.985);
  animation: rise 1.1s cubic-bezier(.2, .7, .2, 1) .1s forwards;
}

/* filete dorado con rombo central */
.rule {
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(340px, 62vw);
  margin: clamp(28px, 5vh, 44px) 0 clamp(20px, 3.5vh, 30px);
}
.rule span {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
  transform: scaleX(0);
  animation: draw .9s ease-out .9s forwards;
}
.rule span:last-child {
  background: linear-gradient(270deg, transparent, var(--gold));
}
.rule i {
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: rotate(45deg) scale(0);
  animation: pop .5s ease-out 1.2s forwards;
}

.soon {
  margin: 0;
  font-size: clamp(13px, 1.5vw + 8px, 17px);
  font-weight: 600;
  letter-spacing: .46em;
  text-transform: uppercase;
  color: var(--gold-deep);
  padding-left: .46em; /* compensa el último espaciado para centrar óptico */
  opacity: 0;
  animation: fade .9s ease-out 1.3s forwards;
}
.lead {
  margin: 14px 0 0;
  font-size: clamp(15px, 1vw + 12px, 18px);
  color: var(--ink-soft);
  opacity: 0;
  animation: fade .9s ease-out 1.5s forwards;
}

.foot {
  position: relative;
  padding: 18px 16px max(22px, env(safe-area-inset-bottom));
  text-align: center;
  color: var(--ink-soft);
  font-size: 12px;
  letter-spacing: .08em;
}

@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes draw { to { transform: scaleX(1); } }
@keyframes pop  { to { transform: rotate(45deg) scale(1); } }
@keyframes fade { to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .logo img, .rule span, .soon, .lead { animation: none; opacity: 1; transform: none; }
  .rule i { animation: none; transform: rotate(45deg); }
}
