* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --cream: #f0ebe1;
  --paper: #f7f4ed;
  --ink: #20251e;
  --olive: #4f6048;
  --brown: #a26f4a;
  --muted: #74766e;
  --line: rgba(32,37,30,.15);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
}

img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}


/* NAV */

.topbar {
  height: 88px;

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;

  padding: 0 5vw;

  border-bottom: 1px solid var(--line);

  background: var(--paper);

  position: relative;
  z-index: 100;
}

.brand {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
}

.brand span {
  display: block;
  color: var(--brown);
}

.topbar nav {
  display: flex;
  gap: 32px;

  font-size: 12px;
}

.topbar nav a {
  position: relative;
}

.topbar nav a::after {
  content: "";

  position: absolute;

  left: 0;
  right: 100%;
  bottom: -6px;

  height: 1px;

  background: var(--ink);

  transition: .25s;
}

.topbar nav a:hover::after {
  right: 0;
}

.menu-button {
  display: none;
}


/* COMMON */

.overline {
  color: var(--brown);

  font-size: 10px;
  font-weight: 600;

  letter-spacing: 2.4px;
}

h1,
h2 {
  font-family: "Libre Caslon Display", serif;
  font-weight: 400;
}

h2 {
  font-size: clamp(43px, 5vw, 72px);
  line-height: 1;
}


/* HERO */

.hero {
  min-height: 760px;

  display: grid;
  grid-template-columns: .8fr 1.2fr;

  padding: 70px 5vw 110px;

  gap: 7vw;

  align-items: center;
}

.hero-copy {
  padding-left: 3vw;
}

.hero h1 {
  margin-top: 25px;

  font-size: clamp(72px, 8vw, 135px);

  line-height: .75;
  letter-spacing: -5px;
}

.hero h1 em {
  display: block;

  margin-top: 22px;

  color: var(--brown);

  font-weight: 400;
}

.hero-description {
  max-width: 390px;

  margin-top: 45px;

  color: var(--muted);

  font-size: 16px;
  line-height: 1.8;
}

.text-link {
  display: inline-flex;

  gap: 20px;

  margin-top: 32px;

  padding-bottom: 6px;

  border-bottom: 1px solid var(--ink);

  font-size: 13px;
  font-weight: 600;
}

.hero-collage {
  min-height: 590px;

  position: relative;
}

.hero-photo {
  overflow: hidden;
}

.hero-photo-main {
  position: absolute;

  width: 78%;
  height: 82%;

  right: 0;
  top: 0;
}

.hero-photo-small {
  position: absolute;

  width: 38%;
  height: 42%;

  left: 0;
  bottom: 0;

  border: 12px solid var(--paper);
  overflow: hidden;
}

.hero-photo-small img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.hero-caption {
  position: absolute;

  right: 0;
  bottom: 38px;

  writing-mode: vertical-rl;

  display: flex;
  gap: 20px;

  font-size: 8px;
  letter-spacing: 2px;

  color: var(--muted);
}


/* BOOKING STRIP */

.booking-strip {
  width: min(1180px, 90%);

  min-height: 115px;

  margin: -55px auto 100px;

  position: relative;
  z-index: 20;

  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.3fr;

  background: var(--olive);
  color: white;
}

.booking-strip > div {
  padding: 27px 30px;

  border-right: 1px solid rgba(255,255,255,.15);
}

.booking-strip span {
  display: block;

  margin-bottom: 7px;

  font-size: 8px;
  letter-spacing: 1.7px;

  color: #c7cec1;
}

.booking-strip strong {
  font-size: 13px;
  font-weight: 500;
}

.booking-strip > a {
  display: flex;
  align-items: center;
  justify-content: center;

  background: #364331;

  font-size: 12px;
  font-weight: 600;
}


/* STORY */

.story {
  padding: 120px 7vw 150px;

  display: grid;
  grid-template-columns: .25fr .8fr 1fr;

  gap: 6vw;

  border-top: 1px solid var(--line);
}

.story-number {
  font-family: "Libre Caslon Display", serif;

  font-size: 55px;

  color: #b8b1a4;
}

.story-title h2 {
  margin-top: 15px;
}

.story-text {
  padding-top: 50px;
}

.story-text p {
  max-width: 520px;

  color: var(--muted);

  line-height: 1.8;
}

.story-lead {
  margin-bottom: 35px;

  color: var(--ink) !important;

  font-family: "Libre Caslon Display", serif;

  font-size: 30px;
  line-height: 1.3 !important;
}


/* FACTS */

.facts {
  min-height: 420px;

  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;

  background: var(--olive);
  color: white;
}

.fact,
.fact-large {
  padding: 55px;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  border-right: 1px solid rgba(255,255,255,.14);
}

.fact-large {
  justify-content: center;
}

.fact-number {
  font-family: "Libre Caslon Display", serif;

  font-size: 130px;
  line-height: .8;
}

.fact-unit {
  font-family: "Libre Caslon Display", serif;

  font-size: 45px;
}

.fact-large p {
  margin-top: 25px;

  color: #c4cbbf;

  font-size: 13px;
}

.fact strong {
  font-family: "Libre Caslon Display", serif;

  font-size: 48px;
  font-weight: 400;
}

.fact span {
  margin-top: 8px;

  color: #c4cbbf;

  font-size: 11px;
}


/* EXPERIENCE */

.experience {
  display: grid;
  grid-template-columns: 1fr 1fr;

  min-height: 800px;

  background: var(--cream);
}

.experience-photo {
  min-height: 800px;
}

.experience-copy {
  padding: 100px 8vw;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.experience-copy h2 {
  margin: 18px 0 55px;
}

.feature-line {
  padding: 23px 0;

  display: grid;
  grid-template-columns: 55px 1fr;

  border-top: 1px solid var(--line);
}

.feature-line span {
  color: var(--brown);
  font-size: 10px;
}

.feature-line strong {
  font-size: 15px;
  font-weight: 500;
}


/* GALLERY */

.gallery {
  padding: 140px 7vw;

  background: #242a22;
  color: white;
}

.gallery-heading {
  display: grid;
  grid-template-columns: .4fr 1fr;

  align-items: end;
}

.gallery-heading h2 {
  max-width: 680px;
}

.gallery-layout {
  margin-top: 80px;

  display: grid;

  grid-template-columns: 1.2fr .8fr;
  grid-template-rows: 330px 300px;

  gap: 20px;

position: relative;

}

.gallery-a {
  grid-row: 1 / 3;
}

.gallery-b {
  width: 75%;

  justify-self: end;
}

.gallery-c {
  width: 72%;
}

.gallery-quote {
  position: absolute;

  right: 4%;
  bottom: 45px;

  width: 300px;

  z-index: 4;

  background: #b17b55;
  color: white;

  padding: 38px;
}

.gallery-quote span {
  font-family: serif;

  font-size: 60px;
  line-height: .5;
}

.gallery-quote p {
  margin-top: 20px;

  font-family: "Libre Caslon Display", serif;

  font-size: 23px;
  line-height: 1.25;
}


/* AVAILABILITY */

.availability {
  padding: 150px 7vw;

  display: grid;
  grid-template-columns: .8fr 1.2fr;

  gap: 10vw;

  background: var(--paper);
}

.availability-copy p:not(.overline) {
  max-width: 440px;

  margin-top: 25px;

  color: var(--muted);

  line-height: 1.7;
}

.legend {
  display: flex;
  gap: 25px;

  margin-top: 35px;

  color: var(--muted);

  font-size: 11px;
}

.legend span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.legend i {
  width: 9px;
  height: 9px;

  border-radius: 50%;
}

.free {
  border: 1px solid var(--olive);
}

.busy-dot {
  background: #beb5a6;
}

.calendar {
  padding: 45px;

  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.calendar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-bottom: 35px;
}

.calendar-top button {
  border: none;
  background: none;

  font-size: 20px;

  cursor: pointer;
}

.calendar-top div {
  text-align: center;
}

.calendar-top span {
  display: block;

  color: var(--muted);

  font-size: 9px;

  letter-spacing: 1.6px;
}

.calendar-top strong {
  font-family: "Libre Caslon Display", serif;

  font-size: 27px;
  font-weight: 400;
}

.week,
.days {
  display: grid;
  grid-template-columns: repeat(7,1fr);
}

.week span {
  padding: 12px;

  text-align: center;

  color: var(--muted);

  font-size: 9px;
}

.days span {
  aspect-ratio: 1;

  display: flex;
  align-items: center;
  justify-content: center;

  border-top: 1px solid var(--line);

  font-size: 12px;
}

.days .busy {
  color: #aaa399;

  text-decoration: line-through;

  background: #ebe5db;
}


/* LOCATION */

.location {
  min-height: 600px;

  display: grid;
  grid-template-columns: 1.4fr .6fr;

  align-items: center;

  overflow: hidden;

  background: #d6d0c4;
}

.location-word {
  margin-left: -3vw;

  font-family: "Libre Caslon Display", serif;

  font-size: clamp(120px, 18vw, 300px);

  line-height: .8;

  color: #c4bdaf;

  white-space: nowrap;
}

.location-copy {
  padding-right: 7vw;
}

.location-copy h2 {
  margin-top: 16px;
}

.location-copy > p:not(.overline) {
  margin-top: 25px;

  color: var(--muted);
}


/* CONTACT */

.contact {
  padding: 140px 7vw;

  text-align: center;

  background: #b17b55;
  color: white;
}

.contact .overline {
  color: #f2dfcf;
}

.contact h2 {
  max-width: 850px;

  margin: 22px auto;

  font-size: clamp(50px, 7vw, 95px);
}

.contact-actions {
  margin-top: 55px;

  display: flex;
  justify-content: center;

  gap: 35px;
}

.contact-actions a {
  padding-bottom: 5px;

  border-bottom: 1px solid rgba(255,255,255,.7);

  font-size: 12px;
}

.contact-actions .main-contact {
  padding: 16px 25px;

  border: none;

  background: var(--ink);

  color: white;
}


/* FOOTER */

footer {
  min-height: 130px;

  padding: 35px 5vw;

  display: grid;
  grid-template-columns: 1fr 1fr 1fr;

  align-items: end;

  background: #20251e;
  color: #9da295;

  font-size: 10px;

  letter-spacing: 1px;
}

footer span:nth-child(2) {
  text-align: center;
}

footer span:last-child {
  text-align: right;
}


.calendar-day {
  cursor: pointer;
  transition: background .2s, color .2s;
}

.calendar-day:hover {
  background: #e6dfd3;
}

.calendar-day.selected {
  background: var(--olive);
  color: white;
}

.calendar-day.in-range {
  background: #d8d3c8;
}

.calendar-day.busy {
  color: #8a5b52;
  background: #ead8d3;
  text-decoration: line-through;
  cursor: not-allowed;
}

.calendar-day.past {
  color: #aaa399;
  opacity: .45;
  cursor: not-allowed;
}

.booking-modal {
  position: fixed;
  inset: 0;

  z-index: 1000;

  display: none;
  align-items: center;
  justify-content: center;

  padding: 20px;

  background: rgba(32, 37, 30, .55);
  backdrop-filter: blur(5px);
}

.booking-modal.open {
  display: flex;
}

.booking-modal-box {
  position: relative;

  width: min(520px, 100%);

  padding: 55px;

  background: var(--paper);
  color: var(--ink);
}

.booking-modal-box h2 {
  margin-top: 18px;

  font-size: 48px;
  line-height: 1;
}

.booking-modal-box > p:not(.overline) {
  margin-top: 26px;

  padding: 18px 0;

  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);

  color: var(--ink);

  font-size: 15px;
  line-height: 1.7;
}

.booking-modal-close {
  position: absolute;

  top: 18px;
  right: 18px;

  width: 42px;
  height: 42px;

  border: 1px solid var(--line);

  background: transparent;

  cursor: pointer;
}

.booking-modal-button {
  margin-top: 35px;

  padding: 16px 28px;

  border: none;

  background: var(--ink);
  color: white;

  font-weight: 600;

  cursor: pointer;
}

.booking-modal-airbnb {
  margin-top: 12px;
  padding: 16px 28px;
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--olive);
  color: white;
  font-weight: 600;
  text-decoration: none;
}

.booking-modal-airbnb.show {
  display: flex;
}

.booking-modal-airbnb:hover {
  opacity: .9;
}

@media(max-width: 600px) {

  .booking-modal-box {
    padding: 45px 25px 30px;
  }

  .booking-modal-box h2 {
    font-size: 38px;
  }

  .booking-modal-airbnb {
  width: 100%;
}

  .booking-modal-button {
    width: 100%;
  }

  .hero-caption {
  display: none;
}

.hero-photo-small {
  width: 42%;
  border-width: 8px;
}
}

.guest-control {
  margin-top: 6px;

  display: flex;
  align-items: center;
  gap: 14px;
}

.guest-control button {
  width: 28px;
  height: 28px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(255,255,255,.3);

  background: transparent;
  color: white;

  cursor: pointer;

  font-size: 17px;
}

.guest-control button:hover {
  background: rgba(255,255,255,.1);
}

.guest-control strong {
  min-width: 55px;
  text-align: center;
}


/* MOBILE */

@media(max-width: 850px) {

  .topbar {
    grid-template-columns: 1fr auto;
  }

  .topbar nav {
    position: fixed;

    top: 88px;
    right: 0;

    width: 80vw;
    height: calc(100vh - 88px);

    padding: 40px;

    flex-direction: column;

    background: var(--paper);

    transform: translateX(110%);

    transition: .3s;
  }

  .topbar nav.open {
    transform: translateX(0);
  }

  .menu-button {
    display: block;

    width: 42px;
    height: 42px;

    border: 1px solid var(--line);

    background: transparent;

    font-size: 20px;
  }

  .hero {
    grid-template-columns: 1fr;

    padding-top: 50px;

    gap: 60px;
  }

  .hero-copy {
    padding: 0;
  }

  .hero-collage {
    min-height: 580px;
  }

  .booking-strip {
    grid-template-columns: 1fr 1fr;

    margin-top: 0;
  }

  .booking-strip > a {
    min-height: 80px;
  }

  .story {
    grid-template-columns: 1fr;

    gap: 30px;
  }

  .story-text {
    padding: 0;
  }

  .facts {
    grid-template-columns: 1fr 1fr;
  }

  .experience {
    grid-template-columns: 1fr;
  }

  .experience-photo {
    min-height: 600px;
  }

  .availability {
    grid-template-columns: 1fr;
  }

  .gallery-quote {
    position: static;

    margin: 20px 0 0;

    width: 100%;
  }

}


@media(max-width: 600px) {

  .hero {
    padding-left: 20px;
    padding-right: 20px;

    min-height: auto;
  }

  .hero h1 {
    font-size: 71px;
  }

  .hero-collage {
    min-height: 430px;
  }

  .hero-photo-main {
    width: 88%;
  }

  .hero-photo-small {
    width: 48%;
  }

 .booking-strip {
  width: 100%;

  grid-template-columns: 1fr;

  margin-bottom: 70px;
}

.booking-strip > div {
  min-height: 72px;

  padding: 18px 20px;

  border-right: none;
  border-bottom: 1px solid rgba(255,255,255,.15);
}

.booking-strip > a {
  grid-column: auto;

  min-height: 72px;
}

  .story {
    padding: 80px 22px;
  }

 .facts {
  grid-template-columns: 1fr 1fr;
}

.fact,
.fact-large {
  min-height: 190px;

  padding: 20px;

  border-right: 1px solid rgba(255,255,255,.14);
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.fact-large {
  grid-column: auto;

  justify-content: center;
}

.fact-number {
  font-size: 72px;
}

.fact-unit {
  font-size: 28px;
}

.fact strong {
  font-size: 38px;
}

.fact-large p {
  margin-top: 18px;

  font-size: 11px;
}

  .experience-photo {
    min-height: 500px;
  }

  .experience-copy {
    padding: 75px 25px;
  }

  .gallery {
    padding: 90px 20px;
  }

  .gallery-heading {
    display: block;
  }

  .gallery-heading h2 {
    margin-top: 20px;
  }

  .gallery-layout {
    display: block;
  }

  .gallery-layout figure {
    width: 100%;

    height: 350px;

    margin-bottom: 15px;
  }

  .availability {
    padding: 90px 20px;
  }

  .calendar {
  padding: 25px 10px;
}

.calendar-top button {
  width: 44px;
  height: 44px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.week span {
  font-size: 9px;
}

.days span {
  min-height: 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 11px;
}

  .days span {
    font-size: 11px;
  }

  .location {
    grid-template-columns: 1fr;

    min-height: auto;

    padding-bottom: 80px;
  }

  .location-word {
  padding: 55px 0;

  font-size: 82px;

  opacity: .45;
}

  .location-copy {
    padding: 0 25px;
  }

  .contact {
    padding: 90px 20px;
  }

  .contact-actions {
    flex-direction: column;

    align-items: center;
  }

  footer {
    grid-template-columns: 1fr;

    gap: 15px;
  }

  footer span:nth-child(2),
  footer span:last-child {
    text-align: left;
  }

}