:root {
  --mh-sf-ink: #332e29;
  --mh-sf-brown: #6c5e49;
  --mh-sf-brown-dark: #564936;
  --mh-sf-cream: #f7f3ea;
  --mh-sf-sand: #eadcc5;
  --mh-sf-line: #7f725f;
  --mh-sf-error: #a12828;
  --mh-sf-serif: "EB Garamond", Garamond, Georgia, serif;
  --mh-sf-script: "JoulesetJaquesHand", "Joules et Jaques Hand", "nicky-laatz", cursive;
}

.mh-flow,
.mh-flow * {
  box-sizing: border-box;
}

.mh-flow {
  position: relative;
  left: 50%;
  width: 100vw;
  max-width: 100vw;
  margin: 0 0 0 -50vw;
  padding: 0;
  color: var(--mh-sf-ink);
  font-family: var(--mh-sf-serif);
  font-size: 16px;
  line-height: 1.35;
  scroll-margin-top: 28px;
}

.mh-flow [hidden] {
  display: none !important;
}

.mh-flow button,
.mh-flow input,
.mh-flow select,
.mh-flow textarea {
  font: inherit;
}

.mh-flow button {
  appearance: none;
}

.mh-flow .screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.mh-flow__step--active {
  animation: mh-sf-reveal 260ms ease both;
}

@keyframes mh-sf-reveal {
  from { opacity: 0; }
  to { opacity: 1; }
}

.mh-flow__hero {
  position: relative;
  width: calc(100% - clamp(32px, 5.7vw, 110px));
  min-height: clamp(650px, 55vw, 835px);
  margin: 0 auto clamp(100px, 10vw, 175px);
  background-color: #777067;
  background-image: var(--mh-sf-hero-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: visible;
}

.mh-flow__hero-shade {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(20, 17, 14, .12), rgba(20, 17, 14, .27));
  pointer-events: none;
}

.mh-flow__hero-copy {
  position: absolute;
  z-index: 2;
  top: 31%;
  left: 50%;
  width: min(970px, 88%);
  transform: translateX(-50%);
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 15px rgba(0, 0, 0, .14);
}

.mh-flow__hero-copy h2 {
  margin: 0;
  color: inherit;
  font-family: var(--mh-sf-serif);
  font-size: clamp(46px, 5vw, 76px);
  font-weight: 400;
  letter-spacing: .006em;
  line-height: .96;
  text-transform: uppercase;
}

.mh-flow__hero-copy p {
  position: relative;
  z-index: 2;
  margin: -6px 0 0;
  color: inherit;
  font-family: var(--mh-sf-script);
  font-size: clamp(42px, 5vw, 78px);
  font-weight: 400;
  line-height: .9;
}

.mh-flow__bar {
  position: absolute;
  z-index: 10;
  right: 50%;
  bottom: clamp(165px, 13.2vw, 205px);
  display: grid;
  width: min(1290px, calc(100% - 60px));
  min-height: 118px;
  grid-template-columns: minmax(245px, 1.16fr) minmax(220px, .95fr) minmax(260px, 1fr) minmax(270px, .94fr);
  align-items: stretch;
  transform: translateX(50%);
  background: var(--mh-sf-cream);
  border: 1px solid rgba(105, 91, 71, .24);
  box-shadow: 0 14px 34px rgba(38, 31, 24, .11);
}

.mh-flow__field {
  position: relative;
  min-width: 0;
  padding: 31px 34px 24px;
  border-right: 1px solid var(--mh-sf-line);
}

.mh-flow__field label,
.mh-flow__field-label {
  display: block;
  margin: 0 0 5px;
  color: var(--mh-sf-ink);
  font-family: var(--mh-sf-serif);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: .015em;
  line-height: 1;
  text-transform: uppercase;
}

.mh-flow__field select {
  width: 100%;
  min-height: 32px;
  margin: 0;
  padding: 0 28px 0 0;
  color: var(--mh-sf-ink);
  background-color: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-size: 17px;
  line-height: 1.2;
  cursor: pointer;
}

.mh-flow__number {
  display: flex;
  min-height: 32px;
  align-items: center;
  gap: 8px;
}

.mh-flow__number button {
  display: grid;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  place-items: center;
  padding: 0;
  color: var(--mh-sf-brown-dark);
  background: transparent;
  border: 1px solid rgba(105, 91, 71, .38);
  border-radius: 0;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
}

.mh-flow__number input {
  width: 2.25ch;
  min-width: 2.25ch;
  height: 28px;
  min-height: 0;
  margin: 0;
  padding: 0;
  color: var(--mh-sf-ink);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-size: 17px;
  line-height: 1;
  text-align: right;
}

.mh-flow__number > span {
  font-size: 17px;
  white-space: nowrap;
}

.mh-flow__date-trigger {
  display: flex;
  width: 100%;
  min-height: 32px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0;
  padding: 0;
  color: var(--mh-sf-ink);
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
}

.mh-flow__date-trigger > span:first-child {
  font-size: 17px;
}

.mh-flow__bar-action {
  display: flex;
  align-items: center;
  padding: 18px 20px;
}

.mh-flow__button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border: 1px solid var(--mh-sf-brown);
  border-radius: 0;
  font-family: var(--mh-sf-serif);
  font-size: 16px;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}

.mh-flow__bar-action .mh-flow__button {
  width: 100%;
  min-height: 78px;
}

.mh-flow__button--primary {
  color: #fff !important;
  background: var(--mh-sf-brown);
}

.mh-flow__button--primary:hover,
.mh-flow__button--primary:focus-visible {
  color: #fff !important;
  background: var(--mh-sf-brown-dark);
}

.mh-flow__button--secondary {
  color: var(--mh-sf-brown-dark) !important;
  background: transparent;
}

.mh-flow__button--secondary:hover,
.mh-flow__button--secondary:focus-visible {
  color: #fff !important;
  background: var(--mh-sf-brown);
}

.mh-flow__button:disabled {
  opacity: .55;
  cursor: wait;
}

.mh-flow__usps {
  position: absolute;
  z-index: 2;
  right: 50%;
  bottom: clamp(120px, 9.6vw, 150px);
  display: flex;
  width: min(780px, calc(100% - 50px));
  justify-content: center;
  transform: translateX(50%);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.mh-flow__usps span + span::before {
  margin: 0 14px;
  content: "•";
}

.mh-flow__calendar {
  position: absolute;
  z-index: 100;
  top: calc(100% + 1px);
  left: -1px;
  width: min(620px, calc(100vw - 48px));
  min-height: 430px;
  padding: 26px 32px 34px;
  color: #fff;
  background: var(--mh-sf-brown);
  box-shadow: 0 18px 40px rgba(35, 29, 23, .2);
}

.mh-flow__calendar-header {
  display: grid;
  grid-template-columns: 38px 1fr 38px;
  align-items: center;
  margin-bottom: 28px;
}

.mh-flow__calendar-header strong {
  font-size: 15px;
  font-weight: 400;
  text-align: center;
}

.mh-flow__calendar-header button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  padding: 0;
  color: var(--mh-sf-brown);
  background: var(--mh-sf-cream);
  border: 0;
  border-radius: 0;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.mh-flow__calendar-header button:last-child {
  justify-self: end;
}

.mh-flow__calendar-header button:disabled {
  opacity: .3;
  cursor: default;
}

.mh-flow__calendar-weekdays,
.mh-flow__calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: center;
  text-align: center;
}

.mh-flow__calendar-weekdays {
  margin-bottom: 12px;
  font-size: 14px;
}

.mh-flow__calendar-grid {
  row-gap: 5px;
}

.mh-flow__calendar-day {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  justify-self: center;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
}

.mh-flow__calendar-day:hover:not(:disabled),
.mh-flow__calendar-day:focus-visible:not(:disabled) {
  outline: 1px solid rgba(255, 255, 255, .8);
  outline-offset: -2px;
}

.mh-flow__calendar-day.is-selected {
  color: var(--mh-sf-brown-dark);
  background: var(--mh-sf-cream);
}

.mh-flow__calendar-day.is-other-month,
.mh-flow__calendar-day.is-past {
  opacity: .28;
}

.mh-flow__details-surface,
.mh-flow__confirmation-surface {
  width: 100%;
  min-height: 920px;
  padding: 36px clamp(24px, 5vw, 92px) 100px;
  background: var(--mh-sf-cream);
}

.mh-flow__details-inner {
  width: min(1680px, 100%);
  margin: 0 auto;
}

.mh-flow__back {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 10px;
  margin: 0 0 26px;
  padding: 7px 15px;
  color: var(--mh-sf-brown-dark);
  background: transparent;
  border: 1px solid rgba(105, 91, 71, .55);
  border-radius: 0;
  font-size: 14px;
  cursor: pointer;
}

.mh-flow__progress {
  display: grid;
  width: min(820px, 100%);
  min-height: 112px;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 auto 82px;
  padding: 27px 22px;
  background: #f3ede3;
}

.mh-flow__progress-item {
  min-width: 0;
  padding: 3px 24px;
  border-right: 1px solid var(--mh-sf-line);
}

.mh-flow__progress-item:last-child {
  border-right: 0;
}

.mh-flow__progress-item span,
.mh-flow__progress-item strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mh-flow__progress-item span {
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.mh-flow__progress-item strong {
  font-size: 13px;
  font-weight: 400;
}

.mh-flow__progress-item--done {
  opacity: .3;
}

.mh-flow__progress-item--active {
  opacity: 1;
}

.mh-flow__heading {
  margin: 0 0 64px;
  text-align: center;
}

.mh-flow__heading h2,
.mh-flow__confirmation h2 {
  margin: 0;
  color: var(--mh-sf-ink);
  font-family: var(--mh-sf-serif);
  font-size: 40px;
  font-weight: 400;
  letter-spacing: .01em;
  line-height: 1;
  text-transform: uppercase;
}

.mh-flow__heading p {
  position: relative;
  z-index: 1;
  margin: -7px 0 0;
  color: var(--mh-sf-brown-dark);
  font-family: var(--mh-sf-script);
  font-size: 40px;
  font-weight: 400;
  line-height: .9;
}

.mh-flow__details-layout {
  display: grid;
  width: min(1540px, 100%);
  grid-template-columns: minmax(0, 2.08fr) minmax(330px, .92fr);
  align-items: start;
  gap: clamp(40px, 5vw, 76px);
  margin: 0 auto;
}

.mh-flow__form {
  padding: clamp(44px, 5vw, 78px) clamp(38px, 5.6vw, 88px) 54px;
  background: var(--mh-sf-sand);
}

.mh-flow__form h3,
.mh-flow__summary h3 {
  margin: 0 0 24px;
  color: var(--mh-sf-ink);
  font-family: var(--mh-sf-serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.mh-flow__form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 13px;
}

.mh-flow__form label {
  display: block;
}

.mh-flow__form input:not([type="checkbox"]),
.mh-flow__form textarea {
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 12px 16px;
  color: var(--mh-sf-ink);
  background: rgba(255, 253, 248, .64);
  border: 1px solid var(--mh-sf-line);
  border-radius: 0;
  box-shadow: none;
  font-family: var(--mh-sf-serif);
  font-size: 15px;
}

.mh-flow__form input::placeholder,
.mh-flow__form textarea::placeholder {
  color: #665e55;
  opacity: 1;
}

.mh-flow__form textarea {
  min-height: 65px;
  resize: vertical;
}

.mh-flow__phone {
  display: grid;
  grid-template-columns: 58px 1fr;
}

.mh-flow__phone input:first-child {
  border-right: 0 !important;
  text-align: center;
}

.mh-flow__comment-title {
  margin-top: 34px !important;
}

.mh-flow__consent {
  display: grid !important;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  margin: 19px 0 0;
  font-size: 12px;
  line-height: 1.45;
}

.mh-flow__consent input {
  width: 17px;
  height: 17px;
  min-height: 17px;
  margin: 0;
  accent-color: var(--mh-sf-brown);
}

.mh-flow__consent a,
.mh-flow__rooms-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.mh-flow__form > .mh-flow__button {
  min-width: 175px;
  margin-top: 24px;
}

.mh-flow__summary {
  position: sticky;
  top: 28px;
  overflow: hidden;
  background: var(--mh-sf-cream);
  border: 1px solid rgba(105, 91, 71, .55);
}

.mh-flow__summary-image {
  display: block;
  width: 100%;
  aspect-ratio: 1.72 / 1;
  object-fit: cover;
}

.mh-flow__summary-content {
  padding: 36px 34px 30px;
}

.mh-flow__summary dl,
.mh-flow__confirmation-summary dl {
  margin: 0 0 26px;
}

.mh-flow__summary dl div,
.mh-flow__confirmation-summary dl div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 8px 0;
  font-size: 13px;
}

.mh-flow__summary dt,
.mh-flow__confirmation-summary dt {
  font-weight: 400;
}

.mh-flow__summary dd,
.mh-flow__confirmation-summary dd {
  margin: 0;
  font-weight: 600;
  text-align: left;
}

.mh-flow__summary-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.mh-flow__summary-actions .mh-flow__button {
  min-height: 50px;
  padding: 10px 13px;
  font-size: 13px;
}

.mh-flow__rooms-link {
  display: inline-block;
  margin-top: 18px;
  font-size: 12px;
}

.mh-flow__error {
  display: block;
  margin-top: 3px;
  color: var(--mh-sf-error);
  font-family: var(--mh-sf-serif);
  font-size: 12px;
  line-height: 1.2;
}

.mh-flow__form .mh-flow__error:empty {
  display: none;
}

.mh-flow__field > .mh-flow__error {
  position: absolute;
  right: 18px;
  bottom: 5px;
  left: 34px;
}

.mh-flow [aria-invalid="true"] {
  outline: 1px solid var(--mh-sf-error) !important;
  outline-offset: -1px;
}

.mh-flow__notices--error {
  position: relative;
  z-index: 150;
  width: min(1540px, calc(100% - 48px));
  margin: 0 auto;
  padding: 14px 18px;
  color: #711b1b;
  background: #fbeaea;
  border-left: 4px solid var(--mh-sf-error);
}

.mh-flow__honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.mh-flow__confirmation-surface {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: clamp(70px, 9vw, 140px);
}

.mh-flow__confirmation {
  width: min(820px, 100%);
  padding: clamp(38px, 6vw, 72px);
  background: var(--mh-sf-sand);
  text-align: center;
}

.mh-flow__confirmation-mark {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin: 0 auto 24px;
  color: #fff;
  background: var(--mh-sf-brown);
  border-radius: 50%;
  font-size: 27px;
}

.mh-flow__confirmation-summary {
  max-width: 490px;
  margin: 28px auto;
  padding: 20px 24px;
  background: rgba(255, 255, 255, .42);
  text-align: left;
}

.mh-flow__confirmation-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.mh-flow__empty {
  width: min(1100px, calc(100% - 40px));
  margin: 30px auto;
  padding: 18px;
  background: #fff8d9;
  border-left: 4px solid #d7a500;
}

@media (max-width: 1180px) {
  .mh-flow__bar {
    grid-template-columns: 1.05fr .8fr .95fr .9fr;
  }

  .mh-flow__field {
    padding-right: 22px;
    padding-left: 22px;
  }

  .mh-flow__field > .mh-flow__error {
    left: 22px;
  }

  .mh-flow__calendar {
    right: -1px;
    left: auto;
  }

  .mh-flow__details-layout {
    grid-template-columns: minmax(0, 1.65fr) minmax(300px, .85fr);
    gap: 30px;
  }
}

@media (max-width: 900px) {
  .mh-flow__hero {
    width: calc(100% - 30px);
    min-height: 890px;
    margin-bottom: 70px;
  }

  .mh-flow__hero-copy {
    top: 14%;
  }

  .mh-flow__bar {
    bottom: 115px;
    width: calc(100% - 34px);
    grid-template-columns: 1fr 1fr;
  }

  .mh-flow__field {
    border-bottom: 1px solid var(--mh-sf-line);
  }

  .mh-flow__field--guests {
    border-right: 0;
  }

  .mh-flow__bar-action {
    border-top: 0;
  }

  .mh-flow__calendar {
    left: auto;
    right: -1px;
  }

  .mh-flow__usps {
    bottom: 72px;
    flex-wrap: wrap;
    gap: 9px 0;
    white-space: normal;
  }

  .mh-flow__details-layout {
    grid-template-columns: 1fr;
  }

  .mh-flow__summary {
    position: static;
    width: min(500px, 100%);
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .mh-flow__hero {
    min-height: 980px;
  }

  .mh-flow__hero-copy {
    top: 10%;
  }

  .mh-flow__hero-copy h2 {
    font-size: 40px;
  }

  .mh-flow__hero-copy p {
    margin-top: 4px;
    font-size: 39px;
  }

  .mh-flow__bar {
    bottom: 130px;
    width: calc(100% - 26px);
    grid-template-columns: 1fr;
  }

  .mh-flow__field,
  .mh-flow__field--guests,
  .mh-flow__field--date {
    min-height: 88px;
    padding: 22px 24px 18px;
    border-right: 0;
    border-bottom: 1px solid var(--mh-sf-line);
  }

  .mh-flow__bar-action {
    padding: 12px;
  }

  .mh-flow__bar-action .mh-flow__button {
    min-height: 62px;
  }

  .mh-flow__usps {
    bottom: 62px;
    font-size: 10px;
  }

  .mh-flow__usps span + span::before {
    margin: 0 7px;
  }

  .mh-flow__calendar {
    position: fixed;
    top: 50%;
    right: 14px;
    left: 14px;
    width: auto;
    min-height: 0;
    max-height: calc(100vh - 28px);
    padding: 22px 16px 24px;
    transform: translateY(-50%);
    overflow-y: auto;
  }

  .mh-flow__calendar-day {
    width: 34px;
    height: 34px;
  }

  .mh-flow__details-surface,
  .mh-flow__confirmation-surface {
    padding: 22px 16px 70px;
  }

  .mh-flow__progress {
    grid-template-columns: 1fr 1fr;
    gap: 14px 0;
    margin-bottom: 60px;
    padding: 18px 12px;
  }

  .mh-flow__progress-item:nth-child(2) {
    border-right: 0;
  }

  .mh-flow__progress-item {
    padding: 3px 14px;
  }

  .mh-flow__heading {
    margin-bottom: 44px;
  }

  .mh-flow__heading h2,
  .mh-flow__confirmation h2 {
    font-size: 32px;
  }

  .mh-flow__heading p {
    font-size: 34px;
  }

  .mh-flow__form {
    padding: 36px 22px;
  }

  .mh-flow__summary-content {
    padding: 28px 22px;
  }

  .mh-flow__summary-actions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mh-flow__step--active {
    animation: none;
  }

  .mh-flow {
    scroll-behavior: auto;
  }
}
