:root {
  --bg: #fbfbfa;
  --fg: #141414;
  --muted: #6b6b6b;
  --line: #e6e6e4;

  /* Altura de referencia de cada fotografía (o pareja) en el scroll.
     Sube o baja este valor para que las fotos se vean más grandes o más pequeñas. */
  --photo-height: 80vh;
  --photo-height-mobile: 46vh;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

header {
  padding: 5vh 6vw 4vh;
}

header .name {
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1.6vh;
}

header .contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3em 1.4em;
  font-size: 12.5px;
  color: var(--muted);
}

header .contact a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

header .contact a:hover {
  border-bottom-color: var(--muted);
}

main {
  display: flex;
  flex-direction: column;
  gap: 5vh;
  padding-bottom: 8vh;
}

/* Cada bloque (foto sola o pareja) ocupa la misma altura de referencia.
   object-fit: contain asegura que ninguna foto se recorta, se ve entera. */
.block {
  height: var(--photo-height);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5vh;
}

.block img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.block.pair img {
  max-width: 48%;
}

@media (max-width: 700px) {
  .block {
    height: auto;
    flex-direction: column;
    gap: 2vh;
  }
  .block img,
  .block.pair img {
    max-width: 100%;
    max-height: var(--photo-height-mobile);
  }
}
