/* Newsletter signup additions. Loaded after site.css. */

body.home .newsletter-form{
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}


/* Visually hide accessible-only labels on the homepage.
   site.css currently scopes .sr-only to body.drumr only. */
body.home .newsletter-form > .sr-only{
  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;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body.home .newsletter-form input[type="email"]{
  min-width: 0;
}

body.home .newsletter-form .newsletter-turnstile,
body.home .newsletter-form .newsletter-note,
body.home .newsletter-form .newsletter-status,
body.home .newsletter-form noscript{
  grid-column: 1 / -1;
}

body.home .newsletter-turnstile{
  min-height: 0;
}

body.home .newsletter-note,
body.home .newsletter-status{
  margin: 0;
  min-height: 0;
  font-size: 11px;
  line-height: 1.55;
  letter-spacing: 0.02em;
}

body.home .newsletter-note{
  color: var(--dim);
}

body.home .newsletter-note a{
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.25);
  text-underline-offset: 3px;
}

body.home .newsletter-status{
  color: var(--muted);
}

body.home .newsletter-status.is-success{
  color: var(--accent-hi);
}

body.home .newsletter-status.is-error{
  color: #d99a93;
}

body.home .newsletter-form.is-busy .button{
  cursor: wait;
  opacity: 0.72;
}

body.home .newsletter-honeypot{
  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;
}

/* Confirmation result page. */
body.newsletter-status-page{
  min-height: 100vh;
  margin: 0;
  font-family: Montserrat, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 50% 12%, rgba(66,163,148,0.10), transparent 26rem),
    #050606;
  color: #f4f1e8;
}

.newsletter-status-page .status-shell{
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0;
}

.newsletter-status-page .status-logo{
  display: block;
  width: min(280px, 70vw);
  height: auto;
  margin-bottom: 56px;
}

.newsletter-status-page .status-panel{
  padding: clamp(30px, 5vw, 54px);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 4px;
  background: rgba(11,12,12,0.88);
  box-shadow: 0 26px 70px rgba(0,0,0,0.38);
}

.newsletter-status-page .status-eyebrow{
  margin: 0 0 18px;
  color: #42a394;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.newsletter-status-page h1{
  margin: 0 0 18px;
  font-size: clamp(30px, 6vw, 52px);
  line-height: 1.05;
}

.newsletter-status-page .status-copy{
  margin: 0 0 30px;
  color: #b7b3aa;
  font-size: 16px;
  line-height: 1.7;
}

.newsletter-status-page .status-link{
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(66,163,148,0.78);
  border-radius: 4px;
  color: #f4f1e8;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  text-decoration: none;
}

@media (max-width: 620px){
  body.home .newsletter-form{
    grid-template-columns: 1fr;
  }

  body.home .newsletter-form .button{
    width: 100%;
  }

  .newsletter-status-page .status-shell{
    padding: 42px 0;
  }

  .newsletter-status-page .status-logo{
    margin-bottom: 36px;
  }
}
