/* Página de expectativa · paleta y tipografía PROVISIONALES (expectativa-diseno.md, sección 3) */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/archivo-latin-wght.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin-wght.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --tinta: #141414;
  --hueso: #F5F0E8;
  --coral: #E8603C;
  --arena: #C9B8A3;
  --fuente-titular: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --fuente-texto: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

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

html, body { margin: 0; padding: 0; }

body {
  background: var(--tinta);
  color: var(--hueso);
  font-family: var(--fuente-texto);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: max(20px, env(safe-area-inset-top)) 20px max(20px, env(safe-area-inset-bottom));
}

/* Hueco de la imagen: fondo de la paleta mientras no haya foto. */
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(120% 70% at 75% 20%, #3a3430 0%, rgba(58, 52, 48, 0) 70%),
    linear-gradient(180deg, #2a2623 0%, var(--tinta) 75%);
}

/* Cuando llegue la imagen (D-032): zoom de 1 a 1.06 en 5 s, una sola vez. */
.hero-media .hero-img,
.hero-media picture,
.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media .hero-img {
  transform-origin: 70% 40%; /* ajustar hacia la cara de Marley */
  animation: zoom-lento 5s ease-out 1 both;
}
@keyframes zoom-lento {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-media .hero-img { animation: none; transform: none; }
}

/* Velo de legibilidad (sección 2.1): no depende de la foto. */
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,
    rgba(20, 20, 20, 0.35) 0%,
    rgba(20, 20, 20, 0) 18%,
    rgba(20, 20, 20, 0) 45%,
    rgba(20, 20, 20, 0.65) 62%,
    rgba(20, 20, 20, 0.85) 80%,
    rgba(20, 20, 20, 0.85) 100%);
  pointer-events: none;
}

.brand, .copy { position: relative; z-index: 2; }

.logo {
  font-family: var(--fuente-titular);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hueso);
}

.copy { max-width: 480px; }

h1 {
  font-family: var(--fuente-titular);
  font-weight: 800;
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  text-wrap: balance;
}

.bajada {
  font-size: 16px;
  line-height: 1.5;
  margin: 0 0 20px;
}

.aviso {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--arena);
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}
.aviso::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
}

/* Tableta: layout de celular con columna centrada (sección 2.3). */
@media (min-width: 768px) {
  .copy { align-self: center; width: 100%; }
  .brand { align-self: center; width: 100%; max-width: 480px; }
}

/* Escritorio (sección 2.3): columna de 480 px a 96 px del borde, centrada en vertical. */
@media (min-width: 1025px) {
  .hero { padding: 32px 96px; justify-content: flex-start; }
  .brand { align-self: flex-start; max-width: none; }
  .copy { align-self: flex-start; margin: auto 0; }
  .hero-veil {
    background: linear-gradient(90deg,
      rgba(20, 20, 20, 0.85) 0%,
      rgba(20, 20, 20, 0.85) 38%,
      rgba(20, 20, 20, 0) 55%);
  }
  h1 { font-size: 64px; line-height: 1.0; margin-bottom: 20px; }
  .bajada { font-size: 18px; margin-bottom: 28px; }
}
