.newsletter-modal{
  position:fixed;
  inset:0;
  z-index:999999;
  padding:24px;

  display:flex;
  align-items:center;
  justify-content:center;

  background:rgba(18,14,14,.70);

  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}

.newsletter-modal[hidden]{
  display:none !important;
}

.newsletter-modal__dialog{
  position:relative;

  width:min(1080px, 100%);
  max-height:calc(100vh - 48px);

  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);

  overflow:auto;

  background:#efe4d2;
  color:#3b3535;

  border-radius:18px;

  box-shadow:
    0 40px 120px rgba(0,0,0,.45),
    0 0 0 1px rgba(255,255,255,.12);
}

.newsletter-modal__close{
  position:absolute;
  top:20px;
  right:20px;
  z-index:10;

  width:48px;
  height:48px;

  border:1px solid rgba(59,53,53,.24);
  border-radius:999px;

  display:grid;
  place-items:center;

  background:rgba(239,228,210,.94);
  color:#3b3535;

  font-size:23px;

  cursor:pointer;

  transition:
    transform .2s ease,
    background .2s ease;
}

.newsletter-modal__close:hover{
  transform:rotate(4deg) scale(1.04);
  background:#fff8ed;
}

.newsletter-modal__art{
  position:relative;
  min-height:690px;
  overflow:hidden;
}

.newsletter-modal__art img{
  position:absolute;
  inset:0;

  width:100%;
  height:100%;

  display:block;
  object-fit:cover;
}

.newsletter-modal__art-overlay{
  position:absolute;
  inset:0;

  background:
    linear-gradient(
      to top,
      rgba(30,21,18,.38),
      rgba(30,21,18,0) 50%
    );
}

.newsletter-modal__content{
  min-width:0;

  padding:80px 64px 58px;

  display:flex;
  align-items:center;
}

.newsletter-modal__eyebrow{
  margin:0 0 14px;

  font-size:12px;
  font-weight:900;

  letter-spacing:2px;
  text-transform:uppercase;

  color:#a56530;
}

.newsletter-modal__content h2{
  margin:0 0 20px;

  font-size:34px
  line-height:.98;

  font-weight:600;
}

.newsletter-modal__intro{
  margin:0 0 24px;

  font-size:17px;
  line-height:1.65;

  color:rgba(59,53,53,.80);
}

.newsletter-benefits{
  margin:0 0 28px;
  padding:0;

  display:grid;
  gap:10px;

  list-style:none;
}

.newsletter-benefits li{
  display:flex;
  align-items:center;
  gap:10px;

  font-size:14px;
  font-weight:750;

  color:#3b3535;
}

.newsletter-benefits i{
  width:22px;
  height:22px;

  display:grid;
  place-items:center;

  flex-shrink:0;

  border-radius:999px;

  background:#3b3535;
  color:#fff8ed;

  font-size:10px;
}

.newsletter-form{
  display:grid;
  gap:15px;
}

.newsletter-form__field{
  display:grid;
  gap:7px;
}

.newsletter-form__field label{
  font-size:12px;
  font-weight:900;

  color:#3b3535;
}

.newsletter-form__field input{
  width:100%;
  height:52px;

  padding:0 16px;

  border:1px solid rgba(59,53,53,.26);
  border-radius:8px;

  background:#fffaf1;
  color:#3b3535;

  font:inherit;
  font-size:15px;

  outline:none;
}

.newsletter-form__field input:focus{
  border-color:#3b3535;

  box-shadow:
    0 0 0 3px rgba(59,53,53,.10);
}

.newsletter-honeypot{
  position:absolute !important;
  left:-10000px !important;

  width:1px !important;
  height:1px !important;

  overflow:hidden !important;
}

.newsletter-consent{
  display:grid;
  grid-template-columns:18px 1fr;
  gap:10px;

  align-items:flex-start;

  cursor:pointer;
}

.newsletter-consent input{
  width:17px;
  height:17px;
  margin:2px 0 0;

  accent-color:#3b3535;
}

.newsletter-consent span{
  font-size:11px;
  line-height:1.45;

  color:rgba(59,53,53,.70);
}

.newsletter-submit{
  width:100%;
  min-height:54px;

  margin-top:4px;
  padding:0 20px;

  border:0;
  border-radius:8px;

  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;

  background:#3b3535;
  color:#fff8ed;

  font:inherit;
  font-size:13px;
  font-weight:900;

  letter-spacing:.8px;
  text-transform:uppercase;

  cursor:pointer;

  transition:
    transform .2s ease,
    background .2s ease;
}

.newsletter-submit:hover{
  transform:translateY(-1px);
  background:#251f1f;
}

.newsletter-submit:disabled{
  cursor:not-allowed;
  opacity:.65;
  transform:none;
}

.newsletter-message{
  min-height:18px;

  font-size:12px;
  font-weight:800;
  line-height:1.4;
}

.newsletter-message.is-error{
  color:#a12920;
}

.newsletter-message.is-success{
  color:#16743a;
}

.newsletter-privacy{
  margin:19px 0 0;

  font-size:11px;
  line-height:1.55;

  color:rgba(59,53,53,.62);
}

.newsletter-privacy a{
  color:inherit;
  text-decoration:underline;
}

.newsletter-success{
  width:100%;
  text-align:center;
}

.newsletter-success[hidden]{
  display:none !important;
}

.newsletter-success__icon{
  width:78px;
  height:78px;

  margin:0 auto 24px;

  display:grid;
  place-items:center;

  border-radius:999px;

  background:#3b3535;
  color:#fff8ed;

  font-size:28px;
}

.newsletter-success h2{
  margin-bottom:18px;
}

.newsletter-success > p:not(.newsletter-modal__eyebrow){
  max-width:430px;
  margin:0 auto 28px;

  font-size:16px;
  line-height:1.65;

  color:rgba(59,53,53,.78);
}

.newsletter-success__close{
  min-height:50px;
  padding:0 24px;

  border:0;
  border-radius:8px;

  background:#3b3535;
  color:#fff;

  font:inherit;
  font-size:13px;
  font-weight:900;

  cursor:pointer;
}

body.newsletter-open{
  overflow:hidden !important;
}

@media(max-width:900px){
  .newsletter-modal__dialog{
    grid-template-columns:1fr;
    width:min(620px, 100%);
  }

  .newsletter-modal__art{
    min-height:280px;
    max-height:340px;
  }

  .newsletter-modal__content{
    padding:48px 34px 38px;
  }

  .newsletter-modal__content h2{
    font-size:24px;
  }
}

@media(max-width:600px){
  .newsletter-modal{
    padding:12px;
    align-items:flex-end;
  }

  .newsletter-modal__dialog{
    max-height:calc(100vh - 24px);
    border-radius:18px 18px 10px 10px;
  }

  .newsletter-modal__close{
    top:12px;
    right:12px;

    width:42px;
    height:42px;
  }

  .newsletter-modal__art{
    min-height:210px;
    max-height:230px;
  }

  .newsletter-modal__content{
    padding:34px 22px 28px;
  }

  .newsletter-modal__content h2{
    font-size:38px;
    letter-spacing:-1.5px;
  }

  .newsletter-modal__intro{
    font-size:15px;
  }

  .newsletter-benefits{
    display:none;
  }

  .newsletter-form__field input{
    height:50px;
  }
}