/* Macarena + José · estilos
   Medidas tomadas de documentacion/Landing · logo animado.pdf (diseño a 1440×900). */

:root {
  color-scheme: light;
  --color-bg: #f7f7f7;
  --color-ink: #111111;
  --font-sans: "Jost", "Futura", "Century Gothic", "Avenir Next", system-ui, sans-serif;
  --tracking-wide: 0.35em;
  --logo-width: 10rem;      /* 160px */
  --stack-gap: 3.1875rem;   /* 51px entre fecha, logo y leyenda */
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- Landing ---------- */

.landing {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--stack-gap);
  padding: 2rem 1rem;
  text-align: center;
}

.landing__date,
.landing__tagline {
  margin: 0;
  font-weight: 400;
  line-height: 1;
  letter-spacing: var(--tracking-wide);
  /* letter-spacing deja un espacio después de la última letra: esto lo compensa
     para que el texto quede centrado ópticamente con el logo. */
  padding-left: var(--tracking-wide);
  text-transform: uppercase;
  white-space: nowrap;
}

.landing__date {
  font-size: 1rem;          /* 16px */
}

.landing__tagline {
  font-size: 0.8125rem;     /* 13px */
}

.landing__logo {
  margin: 0;
  font-size: inherit;
  line-height: 0;
}

.landing__logo svg {
  display: block;
  width: var(--logo-width);
  height: auto;
  aspect-ratio: 400 / 380;
}

/* ---------- Página de error ---------- */

.error__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}

.error__home {
  color: inherit;
  font-size: 0.75rem;
  line-height: 1;
  letter-spacing: var(--tracking-wide);
  padding: 0 0 0.375rem var(--tracking-wide);
  text-decoration: none;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  transition: opacity 0.2s ease;
}

.error__home:hover,
.error__home:focus-visible {
  opacity: 0.55;
}

.error__home:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 0.5rem;
}

.error__ref {
  position: absolute;
  bottom: 1.5rem;
  left: 0;
  right: 0;
  margin: 0;
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  opacity: 0.4;
}
