@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500&family=Playfair+Display:ital,wght@0,400;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;500&display=swap');

html, body { margin: 0; background: #fff; }
.e52-wp-newsletter {
  --52e-white: #fff;
  --52e-off-white: #fafaf8;
  --52e-paper: #f5f3ef;
  --52e-rule: #e8e5e0;
  --52e-coral: #e8694a;
  --52e-coral-dk: #d55a3b;
  --52e-ink: #1a1714;
  --52e-ink-mid: #8d8882;
  --52e-ink-xlt: #d7d2cc;
  --52e-serif: 'Playfair Display', Georgia, serif;
  --52e-sans: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(48px, 9vw, 120px) 24px;
  box-sizing: border-box;
  background: #fff;
  color: var(--52e-ink);
  text-align: center;
}

.e52-wp-newsletter__inner {
  width: min(860px, 100%);
  transform: translateY(-1.5vh);
}

.e52-wp-newsletter__eyebrow {
  margin: 0 0 18px;
  font-family: var(--52e-sans);
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #cfc9c3;
}

.e52-wp-newsletter h1 {
  margin: 0;
  font-family: var(--52e-serif);
  font-size: clamp(42px, 4.6vw, 66px);
  font-weight: 400;
  line-height: 1.02;
  color: var(--52e-ink);
  letter-spacing: -0.018em;
  white-space: nowrap;
}

.e52-wp-newsletter h1 em {
  font-style: italic;
  color: var(--52e-coral);
}

.e52-wp-newsletter__body {
  max-width: 520px;
  margin: 26px auto 0;
  font-family: var(--52e-sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: #847d75;
}

.e52-wp-newsletter__trigger,
.e52-newsletter-modal__primary,
.e52-newsletter-modal__secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 18px;
  font-family: var(--52e-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, opacity .18s ease, transform .18s ease;
}

.e52-wp-newsletter__trigger {
  min-width: min(300px, 76vw);
  min-height: 62px;
  margin-top: 68px;
  padding: 0 34px;
  background: var(--52e-coral);
  color: var(--52e-white);
}

.e52-wp-newsletter__trigger:hover,
.e52-newsletter-modal__primary:hover {
  background: var(--52e-coral-dk);
  transform: translateY(-1px);
}

.e52-newsletter-modal-open { overflow: hidden; }
.e52-newsletter-modal[hidden] { display: none; }
.e52-newsletter-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: grid;
  place-items: center;
  padding: 20px;
  box-sizing: border-box;
  font-family: 'DM Sans', system-ui, sans-serif;
}

.e52-newsletter-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(238,238,238,.94);
  backdrop-filter: blur(6px);
}

.e52-newsletter-modal__dialog {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  width: min(600px, 100%);
  height: min(772px, calc(100dvh - 40px));
  max-height: calc(100dvh - 40px);
  overflow: auto;
  box-sizing: border-box;
  padding: 60px clamp(24px, 9vw, 104px) 48px;
  border-radius: clamp(30px, 7vw, 64px);
  box-shadow: 0 0 25px rgb(0 0 0 / 7%);
  background: var(--52e-white);
  color: var(--52e-ink);
}

.e52-newsletter-modal__close {
  position: absolute;
  top: 18px;
  right: 22px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  min-width: 34px;
  min-height: 34px;
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--52e-ink);
  font-size: 22px;
  line-height: 1;
  text-align: center;
  cursor: pointer;
}

.e52-newsletter-modal__close:hover { background: var(--52e-paper); }
.e52-newsletter-modal__step { display: none; }
.e52-newsletter-modal__step.is-active { display: block; }
.e52-newsletter-modal__step { min-width: 0; }

.e52-home-timeline {
  display: grid;
  gap: 8px;
  width: min(100%, 700px);
  margin: clamp(30px, 4vw, 44px) auto 0;
  text-align: left;
}

.e52-home-topic {
  border: 0;
  border-top: 1px solid var(--52e-rule);
  display: grid;
  grid-template-columns: 126px 1fr;
  align-items: baseline;
  gap: 22px;
  width: 100%;
  padding: 16px 0;
  text-align: left;
}

.e52-home-topic:last-child { border-bottom: 1px solid var(--52e-rule); }


.e52-home-topic__date {
  color: #c7beb8;
  font-family: var(--52e-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
  white-space: nowrap;
}

.e52-home-topic__copy {
  color: #6f6861;
  font-family: var(--52e-sans);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
}

.e52-home-topic__copy strong {
  color: var(--52e-ink);
  font-weight: 400;
}

.e52-home-topic-error {
  margin: 14px auto 0;
  color: var(--52e-coral);
  font-family: var(--52e-sans);
  font-size: 13px;
  font-weight: 300;
}
.e52-newsletter-modal__header { text-align: center; }
.e52-newsletter-modal__header h2 {
  margin: 0;
  font-family: Didot, var(--52e-serif);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.08;
  color: var(--52e-ink);
}

.e52-newsletter-modal__header p {
  max-width: 380px;
  margin: 16px auto 0;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.65;
  color: #494642;
}

.e52-newsletter-topics {
  display: grid;
  gap: 10px;
  margin: 30px 0 32px;
  padding: 0;
  border: 0;
}

.e52-newsletter-topic {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18px;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 4px 0;
  text-align: left;
  cursor: pointer;
}

.e52-newsletter-topic input {
  appearance: none;
  width: 18px;
  height: 18px;
  margin: 0;
  border: 1px solid #817d78;
  border-radius: 50%;
  cursor: pointer;
}
.e52-newsletter-topic input:checked {
  background: var(--52e-coral);
  border-color: var(--52e-coral);
  box-shadow: inset 0 0 0 4px white;
}

.e52-newsletter-topic span {
  min-width: 0;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.3;
  color: var(--52e-ink);
}
.e52-newsletter-topic strong {
  display: block;
  margin-bottom: 4px;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
}

.e52-newsletter-field {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  text-align: left;
}

[data-newsletter-step="details"] .e52-newsletter-modal__header { margin-bottom: 58px; }

.e52-newsletter-field input {
  width: 100%;
  height: 52px;
  box-sizing: border-box;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #f8f8f8;
  color: var(--52e-ink);
  font: inherit;
  font-size: 16px;
  font-weight: 300;
  text-align: center;
}
.e52-newsletter-field input::placeholder {
  color: #191919;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
}

.e52-newsletter-field input:focus { border-color: var(--52e-coral); }
.e52-newsletter-modal__actions { display: grid; justify-items: center; gap: 14px; margin-top: 60px; }
.e52-newsletter-modal__primary,
.e52-newsletter-modal__secondary {
  min-height: 52px;
  min-width: 128px;
  max-width: 100%;
  padding: 0 24px;
  border-radius: 999px;
  box-shadow: 0 3px 18px rgb(0 0 0 / 6%);
  font-family: inherit;
  font-size: 11px;
  letter-spacing: 0;
}
.e52-newsletter-modal__primary { background: #e78160; color: #241711; }
.e52-newsletter-modal__primary[data-newsletter-submit] { color: #fff; }
.e52-newsletter-modal__secondary { background: #fff; color: #191919; }
.e52-newsletter-modal__secondary:hover { border-color: var(--52e-ink-xlt); color: var(--52e-ink); transform: translateY(-1px); }
.e52-newsletter-modal__primary:disabled { cursor: not-allowed; opacity: .62; transform: none; }
.e52-newsletter-modal__message {
  margin: 16px 0 0;
  min-height: 18px;
  text-align: center;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--52e-ink-mid);
}
.e52-newsletter-modal__message--error { color: #a73f29; }
.e52-newsletter-modal__check { display: block; margin: 0 auto 30px; object-fit: contain; }
[data-newsletter-step="confirm"] a {
  box-sizing: border-box;
  margin-top: 88px;
  text-decoration: none;
}

@media (max-width: 580px), (max-height: 760px) {
  .e52-newsletter-modal { padding: 12px; }
  .e52-newsletter-modal__dialog {
    height: auto;
    max-height: calc(100dvh - 24px);
    padding: 48px 24px 28px;
  }
  .e52-newsletter-modal__header h2 { font-size: 26px; }
  .e52-newsletter-topics { margin: 22px 0; }
  [data-newsletter-step="details"] .e52-newsletter-modal__header { margin-bottom: 28px; }
  .e52-newsletter-modal__actions,
  [data-newsletter-step="confirm"] a { margin-top: 30px; }
}
.e52-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 700px) {
  .e52-wp-newsletter { align-items: start; padding-top: 28vh; }
  .e52-wp-newsletter h1 { white-space: normal; }
  .e52-wp-newsletter__inner { transform: none; }
  .e52-wp-newsletter h1 { font-size: clamp(38px, 13vw, 54px); }
  .e52-wp-newsletter__body { font-size: 15px; }
  .e52-wp-newsletter__trigger { margin-top: 42px; min-height: 56px; }
  .e52-home-topic { grid-template-columns: 1fr; gap: 6px; }
  .e52-home-topic__date { white-space: normal; }
  .e52-home-topic__copy { font-size: 13px; }
}

@media (pointer: fine) { html, body { overscroll-behavior: none; } }
.e52-wp-newsletter { display: block; padding: 92px 24px 100px; }
.e52-wp-newsletter__inner { width: min(650px, 100%); margin: 0 auto; transform: none; }
.e52-wp-newsletter__eyebrow { margin: 0 0 28px; color: #77716b; }
.e52-wp-newsletter h1 { font-size: 42px; line-height: 1.16; letter-spacing: 0; white-space: normal; }
.e52-wp-newsletter__body {
  max-width: none; margin: 28px auto 0; color: #68635f;
  font: 400 12px/1.5 Arial, sans-serif; letter-spacing: .07em; text-transform: uppercase;
}
.e52-home-timeline { width: 100%; gap: 0; margin: 23px auto 0; }
.e52-home-topic { grid-template-columns: 116px minmax(0, 1fr); gap: 22px; padding: 35px 0 29px; align-items: start; }
.e52-home-topic__date { margin: 0; color: #716c67; font: 400 11px/1.55 Arial, sans-serif; letter-spacing: 0; }
.e52-home-topic__copy { color: #625d59; font: 400 12px/1.48 Arial, sans-serif; }
.e52-home-topic__copy p { margin: 0; }
.e52-home-topic__copy p + p { margin-top: 16px; }
.e52-home-topic__copy strong { margin-right: .75em; color: inherit; font-weight: 700; text-transform: uppercase; }
.e52-wp-newsletter__trigger {
  width: min(250px, 100%); min-width: 0; min-height: 52px; margin-top: 41px; padding: 0 16px;
  border-radius: 14px; font: 700 14px/1.2 Arial, sans-serif; letter-spacing: 0;
}
.e52-wp-newsletter .e52-wp-newsletter__trigger:focus { background: var(--52e-coral); color: #fff; }
.e52-wp-newsletter .e52-wp-newsletter__trigger:focus-visible { outline: 2px solid var(--52e-ink); outline-offset: 4px; }
@media (max-width: 580px) {
  .e52-wp-newsletter { padding: 56px 20px 64px; }
  .e52-wp-newsletter h1 { font-size: 34px; }
  .e52-roadmap-break { display: none; }
  .e52-home-topic { grid-template-columns: 1fr; gap: 10px; padding: 24px 0; }
  .e52-home-topic__copy { font-size: 14px; }
  .e52-wp-newsletter__trigger { margin-top: 30px; }
}
