@font-face {
  font-family: Manrope;
  src: url("assets/manrope.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --papel: #f4f1ea;
  --verde: #173f43;
  --salvia: #a6b8ad;
  --margen: clamp(1.5rem, 5vw, 6rem);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--papel);
  color: var(--verde);
  font-family: Manrope, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.portada {
  display: grid;
  grid-template-columns: 57fr 43fr;
  min-height: 100vh;
  min-height: 100svh;
}
.contenido {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  min-width: 0;
  padding: 10rem var(--margen) 6rem;
}
.marca {
  position: absolute;
  top: var(--margen);
  left: var(--margen);
  width: clamp(7rem, 10vw, 10rem);
  height: auto;
}
.mensaje h1 {
  margin: 0 0 1.65rem;
  font-size: clamp(2.5rem, 5.75vw, 7.5rem);
  line-height: 1.12;
  letter-spacing: -.065em;
  font-weight: 550;
}
.mensaje a {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  min-height: 44px;
  padding-block: .35rem;
  color: var(--verde);
  font-size: 1rem;
  font-weight: 650;
  text-decoration-line: underline;
  text-decoration-color: var(--salvia);
  text-decoration-thickness: 1px;
  text-underline-offset: .32em;
}
.mensaje a:hover { text-decoration-color: currentColor; }
.mensaje a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}
.arquitectura {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: 61% center;
}

@media (max-width: 47rem) {
  .portada { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
  .contenido {
    justify-content: space-between;
    min-height: 53vh;
    min-height: 53svh;
    gap: 3.5rem;
    padding: clamp(1.75rem, 6vw, 3rem) var(--margen) 2.5rem;
  }
  .marca { position: static; width: 7rem; }
  .mensaje h1 { font-size: clamp(2.3rem, 9.2vw, 4.9rem); margin-bottom: .65rem; }
  .arquitectura { min-height: 12rem; aspect-ratio: 16 / 9; }
}
