:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #10243b;
  min-height: 100%;
  background:
    linear-gradient(90deg, rgba(7, 24, 40, .72), rgba(7, 24, 40, .38)),
    url("assets/portugal-marina-sunset-original.png") center / cover no-repeat fixed;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  background: transparent;
}

.languages {
  position: fixed;
  z-index: 2;
  top: 1.25rem;
  right: 1.5rem;
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem .75rem;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  background: rgba(7, 24, 40, .36);
  color: rgba(255, 255, 255, .58);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.languages button {
  appearance: none;
  padding: .15rem .1rem;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .76);
  font: inherit;
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
}

.languages button:hover,
.languages button:focus-visible,
.languages button[aria-current="true"] {
  color: #fff;
}

.languages button[aria-current="true"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .3rem;
}

.languages button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: .2rem;
  border-radius: .15rem;
}

.shell {
  width: min(44rem, 100% - 3rem);
  margin: auto;
  padding: 4.75rem 2rem;
  text-align: center;
}

.eyebrow {
  margin: 0 0 1rem;
  color: #d7e8f5;
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .2em;
}

h1 {
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 7.2vw, 5.8rem);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: .98;
  white-space: nowrap;
}

.country {
  margin: .8rem 0 0;
  color: #d7e8f5;
  font-size: .75rem;
  font-weight: 750;
  letter-spacing: .16em;
  line-height: 1.4;
}

.country [role="img"] {
  margin-right: .22em;
  letter-spacing: 0;
}

.intro {
  max-width: 34rem;
  margin: 1.75rem auto 2.3rem;
  color: #eef5fa;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  line-height: 1.65;
}

.contact {
  display: inline-block;
  padding: .9rem 1.4rem;
  border-radius: 999px;
  background: #fff;
  color: #133f64;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 160ms, transform 160ms;
}

.contact:hover,
.contact:focus-visible {
  background: #e0edf5;
  transform: translateY(-1px);
}

footer {
  padding: 1.5rem;
  color: #e6eef4;
  font-size: .82rem;
  text-align: center;
}

@media (max-width: 620px) {
  .languages {
    top: .85rem;
    right: 50%;
    max-width: calc(100% - 1.5rem);
    transform: translateX(50%);
  }
}

@media (max-width: 420px) {
  .languages {
    gap: .32rem;
    padding-inline: .6rem;
  }

  .languages button {
    font-size: .72rem;
  }

  .shell {
    width: min(100% - 2rem, 44rem);
    padding-inline: 1rem;
  }
}
