* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.85s, transform 0.85s;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.form {
  display: grid;
  gap: 19px;
}
.form input,
.form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  padding: 16px 0;
  outline: none;
}
.form textarea {
  min-height: 100px;
  resize: vertical;
}
.form button {
  border: 0;
  justify-self: start;
  padding: 15px 22px;
}
.msg {
  font-size: 12px;
  opacity: 0.7;
}
img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
body {
  background: #f4f0e7;
  color: #23291f;
  font-family: Manrope, sans-serif;
}
.hero {
  min-height: 100svh;
  position: relative;
  background: #405047;
  color: #fff;
  overflow: hidden;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s;
}
.slide.active {
  opacity: 1;
}
.slide img {
  filter: brightness(0.62);
}
nav {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 5vw;
  border-bottom: 1px solid #fff6;
}
.logo {
  font: 45px Italiana, serif;
  letter-spacing: 0.08em;
}
.navlinks {
  display: flex;
  gap: 30px;
  align-items: center;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
.navlinks .outline {
  border: 1px solid #fff8;
  padding: 13px 17px;
}
.hero-copy {
  position: relative;
  z-index: 2;
  min-height: 75vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 15px;
}
.small {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
h1,
h2,
h3 {
  font-family: Italiana, serif;
  font-weight: 400;
}
h1 {
  font-size: clamp(80px, 12vw, 190px);
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 27px 0;
}
.hero-copy p {
  font-size: 13px;
  max-width: 370px;
  line-height: 1.8;
}
.controls {
  position: absolute;
  z-index: 4;
  bottom: 5%;
  left: 5%;
  right: 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dots {
  display: flex;
  gap: 7px;
}
.dots button {
  width: 35px;
  height: 2px;
  background: #ffffff77;
  border: 0;
}
.dots button.active {
  background: #fff;
}
.scroll {
  font-size: 11px;
  letter-spacing: 0.15em;
}
section {
  padding: 120px 8vw;
}
.intro {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 7vw;
}
.intro h2 {
  font-size: clamp(60px, 7vw, 115px);
  line-height: 1.03;
  letter-spacing: -0.03em;
  margin: 0;
}
.intro p {
  line-height: 2;
  max-width: 500px;
  font-size: 14px;
}
.stays {
  background: #e7e4d9;
}
.heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 45px;
}
.heading h2 {
  font-size: clamp(60px, 8vw, 120px);
  margin: 10px 0 0;
}
.staygrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.stay {
  position: relative;
  overflow: hidden;
  height: 610px;
  color: white;
}
.stay:nth-child(2) {
  margin-top: 90px;
}
.stay img {
  transition: transform 1s;
  filter: brightness(0.75);
}
.stay:hover img {
  transform: scale(1.06);
}
.stay .caption {
  position: absolute;
  bottom: 28px;
  left: 30px;
  right: 30px;
  display: flex;
  justify-content: space-between;
  align-items: end;
}
.stay h3 {
  font-size: 55px;
  margin: 0;
}
.stay span {
  font-size: 11px;
  letter-spacing: 0.15em;
}
.quote {
  min-height: 500px;
  background: #30443a;
  color: #fff;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 80px;
}
.quote h2 {
  font-size: clamp(60px, 7vw, 110px);
  max-width: 900px;
  line-height: 1.05;
  margin: 25px auto;
}
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10vw;
}
.contact h2 {
  font-size: 100px;
  margin: 20px 0;
}
.form button {
  background: #30443a;
  color: white;
}
footer {
  padding: 27px 8vw;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  border-top: 1px solid #c4c6be;
}
@media (max-width: 800px) {
  nav {
    padding: 20px 6vw;
  }
  .navlinks a:not(.outline) {
    display: none;
  }
  .logo {
    font-size: 35px;
  }
  .hero-copy {
    min-height: 73vh;
  }
  h1 {
    font-size: 85px;
  }
  section {
    padding: 80px 6vw;
  }
  .intro,
  .contact,
  .staygrid {
    grid-template-columns: 1fr;
  }
  .stay,
  .stay:nth-child(2) {
    height: 440px;
    margin: 0;
  }
  .stay h3 {
    font-size: 45px;
  }
  .quote {
    min-height: 430px;
    padding: 60px 7vw;
  }
  .contact h2 {
    font-size: 80px;
  }
  footer {
    gap: 15px;
    flex-wrap: wrap;
  }
}
