@font-face {
  font-family: Cormorant;
  src: url("/portada-titulo.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: Montserrat;
  src: url("/portada-texto.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: #0a1424;
  color: #fcf6ed;
  font-family: Montserrat, sans-serif;
}
.shell {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  padding-inline: clamp(1.5rem, 7vw, 8rem);
}
.port-photo, .shell::before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.port-photo {
  z-index: -2;
  object-fit: cover;
  object-position: 72% center;
}
.shell::before {
  content: "";
  z-index: -1;
  background: linear-gradient(90deg, #081322f5 0%, #081322d1 32%, #08132228 75%),
              linear-gradient(180deg, #0813228c, transparent 24%, transparent 74%, #08132283);
}
header {
  min-height: clamp(5rem, 10vh, 7rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-bottom: 1px solid #f6e8d137;
}
.brand img { display: block; width: clamp(10rem, 23vw, 17rem); height: auto; }
.language {
  color: inherit;
  font-weight: 600;
  font-size: .9rem;
  padding: .65rem 1rem;
  border: 1px solid #f6e8d160;
  border-radius: 2rem;
  text-decoration: none;
}
.language:hover { background: #081322b0; }
main {
  display: grid;
  flex: 1;
  align-items: center;
  padding-block: clamp(4rem, 10vh, 8rem);
}
.intro { max-width: 43rem; }
.intro::before {
  content: "";
  display: block;
  width: 3.25rem;
  height: 2px;
  background: #efb972;
  margin-bottom: 1.25rem;
}
h1 {
  margin: 0 0 1.15rem;
  font-family: Cormorant, Georgia, serif;
  font-size: clamp(3.65rem, 7vw, 7.9rem);
  font-weight: 600;
  line-height: .87;
  text-wrap: balance;
}
.summary { max-width: 32rem; color: #e3e5e9; line-height: 1.75; }
.contact {
  display: inline-block;
  margin-top: 1rem;
  padding: .95rem 1.4rem;
  border-radius: .2rem;
  background: #efbf83;
  color: #101822;
  font-weight: 700;
  text-decoration: none;
}
.contact:hover { background: #ffdaa9; }
.social {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1.6rem;
  margin-top: 1.5rem;
}
.social a { color: #f9e9d4; font-weight: 600; text-underline-offset: .32em; }
.social a:hover { color: #fff; }
a:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

@media (max-width: 48rem) {
  .port-photo { object-position: 72% top; height: 75%; }
  .shell::before {
    background: linear-gradient(180deg, #081322bd, #0813220d 24%, #081322d9 48%, #0a1424 74%);
  }
  main { align-items: end; padding-block: clamp(13rem, 33svh, 21rem) 3rem; }
  h1 { font-size: clamp(3.35rem, 11vw, 5.8rem); }
}
