/* Orquix «a plena luz»: papel blanco, tinta casi negra sin tinte, verde manglar solo en detalles. */
:root { --papel: #fff; --tinta: #1b1b1b; --gris: #555; --verde: #1d5b45; --margen: clamp(1.25rem, 5vw, 5rem); }
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  min-height: 100svh; display: flex; flex-direction: column;
  background: var(--papel); color: var(--tinta);
  font: 400 1.0625rem/1.5 "Albert Sans", "Segoe UI", system-ui, sans-serif; -webkit-font-smoothing: antialiased;
}
a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-underline-offset: 0.25em; text-decoration-thickness: 1px; }
a:hover { color: var(--verde); }
:focus-visible { outline: 3px solid var(--verde); outline-offset: 3px; border-radius: 4px; }

header, footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-inline: var(--margen); }
header { padding-top: 0.75rem; }
.marca, h1 { font-family: Fraunces, Georgia, serif; font-variation-settings: "opsz" 144, "SOFT" 50, "WONK" 0; }
.marca { font-size: 1.625rem; font-weight: 620; letter-spacing: -0.03em; color: var(--verde); }

main { padding: clamp(1.25rem, 5svh, 2.5rem) var(--margen) 1rem; }
h1 { max-width: 9em; font-size: clamp(2.5rem, 4.6vw + 1.2rem, 6rem); font-weight: 560; line-height: 1.03; letter-spacing: -0.018em; text-wrap: balance; }
.que { max-width: 34ch; margin-top: 1rem; color: var(--gris); text-wrap: pretty; }
.correo { margin-top: 0.5rem; }
.correo a { font-weight: 600; color: var(--verde); }

/* Teléfono: la foto cierra la página y su cielo se funde con el papel. */
picture { flex: 1; display: flex; align-items: flex-end; min-height: 0; }
img {
  display: block; width: 100%; height: auto;
  -webkit-mask-image: linear-gradient(#0000, #000 22%); mask-image: linear-gradient(#0000, #000 22%);
}
footer { min-height: 56px; font-size: 0.9375rem; color: var(--gris); background: var(--papel); }
footer nav { display: flex; gap: 1.25rem; }

/* Pantalla ancha: la foto es el fondo entero, con el dueño a la derecha y el texto sobre el cielo. */
@media (min-width: 800px) and (min-aspect-ratio: 5/4) {
  body { position: relative; }
  main { flex: 1; padding-top: clamp(1.5rem, 9svh, 6rem); }
  .que { max-width: 40ch; font-size: 1.1875rem; color: #3d3d3d; }
  picture { position: absolute; inset: 0 0 56px; z-index: -1; display: block; }
  img { height: 100%; object-fit: cover; object-position: right bottom; -webkit-mask-image: none; mask-image: none; }
}

/* Teléfono acostado: la foto se queda a la derecha para que el texto no caiga sobre las palmas. */
@media (min-width: 800px) and (min-aspect-ratio: 5/4) and (max-height: 600px) {
  main { padding-top: 0.5rem; }
  h1 { font-size: 2.5rem; }
  .que { max-width: 34ch; font-size: 1.0625rem; }
  picture { left: 52%; }
  img { -webkit-mask-image: linear-gradient(90deg, #0000, #000 12%); mask-image: linear-gradient(90deg, #0000, #000 12%); }
}
