/* Alfarn 2: fuente comercial. Colocar los archivos en /fonts con estos nombres. */
@font-face {
  font-family: "Alfarn 2";
  src: local("Alfarn 2"), local("Alfarn2"),
       url("fonts/Alfarn2.woff2") format("woff2"),
       url("fonts/Alfarn2.woff") format("woff"),
       url("fonts/Alfarn2.otf") format("opentype");
  font-display: swap;
}

:root {
  --bg: #1c2a4b;
  --cream: #f6eedb;
  --navy: #16375e;
  --font: "Alfarn 2", "Arial Black", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html, body { height: 100%; margin: 0; }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

.anchors {
  position: fixed;
  inset: -40px;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
}

.anchor {
  position: absolute;
  left: -13px;
  top: -13px;
  width: 26px;
  height: 26px;
  will-change: transform;
}

.anchor--bright { color: #2e4470; }
.anchor--dim { color: #26385f; }

.stage {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(0.5rem, 2.5vh, 1.75rem);
  padding: 4vmin;
}

.logo {
  width: min(86vw, 62vh, 640px);
  aspect-ratio: 1838 / 1265;
}

.logo__img {
  display: block;
  width: 100%;
  height: 100%;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.35));
}

.crest {
  position: fixed;
  z-index: 1;
  top: clamp(1rem, 3vmin, 2.5rem);
  left: 50%;
  transform: translateX(-50%);
  height: clamp(56px, 11vmin, 104px);
  width: auto;
  user-select: none;
  -webkit-user-drag: none;
}

.soon {
  position: relative;
  margin: 0;
  font-size: clamp(1rem, 2.4vw, 1.6rem);
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #e4dac0; /* crema algo más apagado para que el brillo destaque */
  text-shadow: 0.06em 0.06em 0 var(--navy);
}

/* Brillo diagonal que cruza el texto de izquierda a derecha */
.soon::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  color: transparent;
  text-shadow: none;
  background: linear-gradient(
    105deg,
    transparent 38%,
    #fff 48%,
    #fff 52%,
    transparent 62%
  ) 100% 0 / 250% 100% no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  pointer-events: none;
  animation: shine 3.6s ease-in-out infinite;
}

@keyframes shine {
  0%        { background-position: 100% 0; }
  60%, 100% { background-position: 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  .soon::after { animation: none; }
}
