/* Página "próximamente" de sunset. Sin JavaScript.
   Escritorio: composición medida sobre la imagen de la diseñadora (1194 px de ancho) en la unidad --u,
   que escala con la ventana. Móvil (< 900 px): una sola columna. */

@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/instrument-serif-italic-latin.woff2) format('woff2'); }
@font-face { font-family: 'Roboto Mono'; font-style: normal; font-weight: 300 500; font-display: swap; src: url(../fonts/roboto-mono-latin-var.woff2) format('woff2'); }

:root {
  --bg-hero: #701F00;      /* granate */
  --bg-dark: #292019;      /* noche */
  --text-light: #FDE6CB;   /* crema */
  --ocaso: #E18048;        /* naranja del pie */
  --ph: rgba(253, 230, 203, .14);  /* hueco de foto mientras no hay foto */

  --font-display: 'Instrument Serif', 'Times New Roman', serif;
  --font-body: 'Roboto Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --g: 20px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--bg-hero);
  color: var(--text-light);
  font: 300 14px/1.4 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
p, h1, figure { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .2em; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 2px; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Móvil (por defecto) ---------- */

.soon {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 28px var(--g) 48px;
}
.brand img { width: 150px; }
.lead { margin-top: 44px; max-width: 26ch; }

.ph-box, .ph img { width: 100%; aspect-ratio: 202 / 252; background: var(--ph); object-fit: cover; }
.ph figcaption { margin-top: 8px; font-size: 9px; letter-spacing: .02em; opacity: .85; }

/* En móvil, "próximamente…" baja al final de la pantalla, como en escritorio */
.hero { margin-top: auto; padding-top: 64px; text-align: right; }
.hero h1 {
  font: italic 400 clamp(2.6rem, 15vw, 6.5rem)/1 var(--font-display);
  letter-spacing: -.01em;
  white-space: nowrap;
}
.date { margin-top: 10px; }

.about { text-align: right; }

/* Móvil: solo logo, texto, "próximamente…" y pie (sin fotos ni el texto de sunset) */
@media (max-width: 899.98px) {
  .ph, .about { display: none; }
}

.foot {
  background: var(--bg-dark);
  color: var(--ocaso);
  padding: 32px var(--g) 28px;
}
.contact { font-style: normal; display: grid; gap: 22px; }
.lbl { font-weight: 500; margin-bottom: 6px; }
.legal { display: inline-block; margin-top: 28px; font-size: 12px; opacity: .8; }

/* ---------- Escritorio ---------- */

@media (min-width: 900px) {
  :root { --u: min(calc(100vw / 1194), 1.6px); }  /* 1 px de la imagen de 1194 px */

  body { font-size: max(11px, calc(12.5 * var(--u))); line-height: 1.36; }

  .soon {
    display: grid;
    min-height: calc(560 * var(--u));
    padding: calc(30 * var(--u)) calc(66 * var(--u)) calc(50 * var(--u)) calc(29 * var(--u));
    grid-template-columns: calc(202 * var(--u)) 1fr calc(217 * var(--u)) calc(202 * var(--u));
    grid-template-rows: auto auto 1fr auto;
    grid-template-areas:
      "brand .    about sunset"
      "lead  .    about sunset"
      "copa  .    .     sunset"
      "copa  hero hero  hero";
  }

  .brand { grid-area: brand; padding-left: calc(14 * var(--u)); }
  .brand img { width: calc(124 * var(--u)); }

  .lead { grid-area: lead; margin-top: calc(55 * var(--u)); max-width: none; }

  .ph figcaption { margin-top: calc(12 * var(--u)); font-size: max(8px, calc(6.5 * var(--u))); }
  .ph-copa { grid-area: copa; align-self: start; width: 100%; margin-top: calc(18 * var(--u)); }

  .about {
    grid-area: about;
    align-self: start;
    max-width: none;
    margin: calc(15 * var(--u)) 0 0;
    padding-right: calc(17 * var(--u));
  }
  .ph-sunset { grid-area: sunset; align-self: start; width: 100%; margin: calc(15 * var(--u)) 0 0; }

  .hero { grid-area: hero; align-self: end; margin-top: calc(40 * var(--u)); padding-top: 0; }
  .hero h1 { font-size: calc(118 * var(--u)); line-height: .95; }
  .date { margin-top: calc(18 * var(--u)); }

  .foot {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding: calc(30 * var(--u)) calc(66 * var(--u)) calc(24 * var(--u)) calc(29 * var(--u));
  }
  .contact { grid-template-columns: calc(194 * var(--u)) calc(250 * var(--u)) auto; gap: 0; }  /* 2.ª columna más ancha: el correo es más largo que en el diseño */
  .lbl { margin-bottom: calc(6 * var(--u)); }
  .legal { margin-top: 0; font-size: max(10px, calc(10.5 * var(--u))); }
}

/* ---------- Aviso legal ---------- */

.doc { max-width: 68ch; margin: 0 auto; padding: 40px var(--g) 64px; font-size: 14px; line-height: 1.6; }
.doc h1 { font: italic 400 clamp(2.6rem, 9vw, 4.4rem)/1 var(--font-display); margin: 24px 0 32px; }
.doc h2 { font-size: 14px; font-weight: 500; color: var(--ocaso); margin: 32px 0 8px; text-transform: lowercase; }
.doc p, .doc ul { margin: 0 0 12px; }
.doc ul { padding-left: 1.2em; }
.doc a { text-decoration: underline; text-underline-offset: .2em; }
.doc mark { background: var(--text-light); color: var(--bg-hero); padding: 0 .25em; }
