/* Newsletter: the site's paper and botanical language, with a softer burgundy. */
.newsletter-band {
  --newsletter-wine: #925361;
  position: relative;
  overflow: hidden;
  padding: 76px 24px 72px;
  background: var(--newsletter-wine);
  color: var(--paper-white);
  scroll-margin-top: 90px;
}
.newsletter-inner { position: relative; z-index: 1; max-width: 790px; margin: auto; text-align: center; }
.newsletter-label { font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 18px; }
.newsletter-title { color: inherit; font-size: clamp(2.7rem, 4.6vw, 4.25rem); font-weight: 500; line-height: 1.08; text-wrap: balance; }
.newsletter-title em { font-weight: 400; }
.newsletter-description { max-width: 570px; margin: 22px auto 0; font-size: 1.12rem; line-height: 1.6; text-wrap: pretty; }
.newsletter-form { max-width: 660px; margin: 30px auto 0; text-align: left; }
.newsletter-form label { display: block; font-size: .94rem; margin-bottom: 8px; }
.newsletter-controls { display: flex; gap: 12px; }
.newsletter-controls input {
  min-width: 0; width: 100%; flex: 1; height: 56px; min-height: 56px; border: 1px solid transparent;
  border-radius: 8px; background: var(--paper-white); color: var(--brown); padding: 0 18px;
  caret-color: var(--burgundy); font-size: 16px;
}
.newsletter-controls input::placeholder { color: #70625c; opacity: 1; }
.newsletter-controls button {
  min-height: 56px; min-width: 158px; padding: 12px 28px; border: 0; border-radius: 999px;
  background: var(--butter); color: #63363e; font: 500 1.25rem 'Crimson Pro', serif;
}
.newsletter-controls button { position: relative; cursor: pointer; transition: background .2s, box-shadow .2s; }
.newsletter-controls button:hover { box-shadow: 0 3px 12px rgb(49 34 32 / .16); }
.newsletter-controls input:focus { border-color: var(--burgundy); }
.newsletter-controls button:disabled { cursor: wait; }
.newsletter-loading { display: none; }
.formkit-submit[data-active] > span:first-child { visibility: hidden; }
.formkit-submit[data-active] .newsletter-loading { display: grid; position: absolute; inset: 0; place-items: center; }
.newsletter-form .formkit-alert { margin: 0 0 16px; padding: 14px 18px; border: 1px solid currentColor; border-radius: 8px; font-size: .95rem; line-height: 1.5; list-style: none; }
.newsletter-form .formkit-alert:empty { display: none; }
.newsletter-form .formkit-alert-error { background: var(--paper-white); color: #873c46; }
.newsletter-form .formkit-alert-success { background: var(--paper-white); color: var(--burgundy); }
.newsletter-popup .formkit-alert-success { background: #efded6; }
.newsletter-controls input:disabled, .newsletter-controls button:disabled { opacity: 1; cursor: not-allowed; -webkit-text-fill-color: currentColor; }
.newsletter-pending { margin-top: 10px; font-size: .86rem; line-height: 1.5; }
.newsletter-reassurance { margin-top: 22px; font-size: .95rem; line-height: 1.5; }
.newsletter-branch { position: absolute; width: 130px; height: 240px; object-fit: contain; opacity: .45; filter: brightness(0) invert(1); pointer-events: none; }
.newsletter-branch-left { left: max(24px, calc((100vw - 1200px) / 2)); top: 90px; transform: rotate(-12deg); }
.newsletter-branch-right { right: max(24px, calc((100vw - 1200px) / 2)); bottom: 70px; transform: rotate(10deg); }
.newsletter-popup {
  width: min(880px, calc(100vw - 48px)); max-width: none; max-height: calc(100dvh - 48px);
  margin: auto; padding: 0; border: 0; border-radius: 14px; color: var(--brown);
  background: var(--paper-white); box-shadow: 0 24px 70px rgb(45 29 28 / .18);
  overflow: auto; overscroll-behavior: contain; scrollbar-width: thin;
  scrollbar-color: var(--terracotta) var(--cream);
}
.newsletter-popup::backdrop { background: rgb(49 34 32 / .45); }
body.newsletter-open { overflow: hidden; }
.newsletter-popup-layout { display: grid; grid-template-columns: 30% 70%; min-height: 530px; }
.newsletter-popup-botanical { position: relative; background: #efded6; overflow: hidden; }
.newsletter-popup-botanical img { position: absolute; object-fit: contain; pointer-events: none; }
.newsletter-popup-flower { width: 90%; height: 78%; left: 0; top: 3%; transform: rotate(-8deg); }
.newsletter-popup-sprig { width: 80%; height: 55%; bottom: -3%; right: -5%; transform: rotate(14deg); }
.newsletter-popup-copy { padding: 48px 46px 36px; }
.newsletter-popup .newsletter-label { color: var(--burgundy); margin-bottom: 20px; }
.newsletter-popup-title { color: var(--burgundy); font-size: clamp(2.6rem, 4vw, 3.5rem); font-weight: 500; line-height: 1.06; text-wrap: balance; max-width: 440px; }
.newsletter-popup .newsletter-description { margin: 20px 0 0; font-size: 1rem; }
.newsletter-popup .newsletter-form { margin-top: 26px; }
.newsletter-popup .newsletter-controls { flex-direction: column; gap: 10px; }
.newsletter-popup .newsletter-controls input { flex: auto; border-color: #c8b8ae; }
.newsletter-popup .newsletter-controls button { background: #925361; color: var(--paper-white); width: 100%; }
.newsletter-popup .newsletter-pending { color: #6b4f46; }
.newsletter-popup .newsletter-reassurance { margin-top: 18px; font-size: .88rem; }
.newsletter-close {
  position: absolute; top: 10px; right: 10px; z-index: 2; width: 44px; height: 44px;
  display: grid; place-items: center; border: 0; border-radius: 50%;
  color: var(--burgundy); background: var(--paper-white); cursor: pointer;
}
.newsletter-close svg { width: 24px; height: 24px; }
.newsletter-close:hover { background: #efded6; }
.newsletter-dismiss { display: block; margin: 24px 0 0 auto; min-height: 44px; padding: 6px 0; border: 0; background: transparent; color: var(--burgundy); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; font-size: .94rem; }
.newsletter-dismiss:hover { color: #63363e; }
.newsletter-popup :focus-visible, .newsletter-band :focus-visible { outline: 3px solid var(--terracotta); outline-offset: 4px; }
.newsletter-band::selection, .newsletter-band *::selection { background: var(--butter); color: var(--burgundy); }
@media (max-width: 1050px) {
  .newsletter-branch { width: 88px; opacity: .28; }
  .newsletter-branch-left { left: -15px; }
  .newsletter-branch-right { right: -15px; }
}
@media (max-width: 640px) {
  .newsletter-band { padding: 30px 24px 28px; }
  .newsletter-band .newsletter-label { font-size: .7rem; margin-bottom: 12px; }
  .newsletter-band .newsletter-title { font-size: 2.25rem; }
  .newsletter-band .newsletter-description { font-size: .88rem; line-height: 1.5; margin-top: 14px; }
  .newsletter-controls { flex-direction: column; }
  .newsletter-controls input { flex: none; }
  .newsletter-controls button { width: 100%; }
  .newsletter-band .newsletter-form { margin-top: 18px; }
  .newsletter-band .newsletter-form label { font-size: .8rem; margin-bottom: 6px; }
  .newsletter-band .newsletter-controls { flex-direction: row; gap: 8px; }
  .newsletter-band .newsletter-controls input { flex: 1; height: 48px; min-height: 48px; padding: 0 12px; font-size: 16px; }
  .newsletter-band .newsletter-controls button { width: auto; min-width: 104px; min-height: 48px; padding: 10px 16px; font-size: 1.1rem; }
  .newsletter-band .newsletter-pending { font-size: .75rem; margin-top: 8px; }
  .newsletter-band .newsletter-reassurance { margin-top: 16px; font-size: .8rem; }
  .newsletter-branch { width: 65px; height: 120px; opacity: .18; }
  .newsletter-branch-left { top: 10px; }
  .newsletter-branch-right { bottom: 15px; }
  .newsletter-popup { width: calc(100vw - 32px); max-height: calc(100dvh - 32px); }
  .newsletter-popup-layout { grid-template-columns: 1fr; min-height: 0; }
  .newsletter-popup-botanical { height: 82px; }
  .newsletter-popup-flower { width: 130px; height: 160px; left: 8%; top: -45px; transform: rotate(-65deg); }
  .newsletter-popup-sprig { width: 140px; height: 170px; right: 6%; bottom: -55px; transform: rotate(65deg); }
  .newsletter-popup-copy { padding: 28px 24px 20px; }
  .newsletter-popup-title { font-size: 2.45rem; }
  .newsletter-popup .newsletter-label { margin-bottom: 14px; font-size: .74rem; }
  .newsletter-popup .newsletter-description { margin-top: 16px; }
  .newsletter-popup .newsletter-form { margin-top: 20px; }
  .newsletter-popup .newsletter-reassurance { margin-top: 14px; }
  .newsletter-dismiss { margin-top: 12px; }
}
