.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  clip-path: inset(50%);
}

.newsletter-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  min-height: 31rem;
  background: #fffdf6;
}

.newsletter-media {
  position: relative;
  min-height: 31rem;
  overflow: hidden;
  background: #273f35;
}

.newsletter-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.newsletter-media-overlay {
  position: absolute;
  z-index: 1;
  inset: clamp(1.25rem, 3.5vw, 3rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: clamp(1rem, 3vw, 2rem);
  border: 4px solid #f1df20;
  border-radius: 0.8rem;
  color: #fff;
  text-align: center;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.newsletter-media-overlay.is-hidden {
  opacity: 0;
}

.newsletter-media-overlay > * {
  pointer-events: auto;
}

.newsletter-brand-mark {
  position: absolute;
  top: 0.65rem;
  left: 0.85rem;
  width: clamp(2.4rem, 5vw, 3.6rem);
  height: auto;
  object-fit: contain;
}

.newsletter-brand-name {
  max-width: 100%;
  margin: 0.2rem 0 0;
  color: #f1df20;
  font-size: clamp(1.3rem, 3.7vw, 3.1rem);
  font-weight: 850;
  letter-spacing: 0.025em;
  line-height: 1.05;
  overflow-wrap: anywhere;
  text-shadow: 0 2px 6px rgb(0 0 0 / 35%);
  -webkit-text-stroke: 1px #f1df20;
}

.newsletter-brand-script {
  align-self: flex-end;
  margin: 0.2rem 0 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.3rem, 2.7vw, 2.2rem);
  font-style: italic;
  line-height: 1.1;
  text-shadow: 0 2px 6px rgb(0 0 0 / 55%);
}

.newsletter-play {
  position: absolute;
  top: 54%;
  left: 50%;
  display: grid;
  width: 3.5rem;
  height: 3.5rem;
  place-items: center;
  padding: 0;
  transform: translate(-50%, -50%);
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #173747;
  cursor: pointer;
  box-shadow: 0 0.35rem 1rem rgb(0 0 0 / 20%);
  transition: transform 160ms ease, background-color 160ms ease;
}

.newsletter-play:hover {
  transform: translate(-50%, -50%) scale(1.07);
  background: #f4f1df;
}

.newsletter-play svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: currentColor;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.newsletter-tagline {
  margin: auto 0 0;
  color: #fff;
  font-size: clamp(0.82rem, 1.6vw, 1.2rem);
  font-weight: 650;
  text-shadow: 0 2px 6px rgb(0 0 0 / 65%);
}

.newsletter-artwork-label {
  position: absolute;
  right: 0.75rem;
  bottom: 0.6rem;
  padding: 0.18rem 0.45rem;
  border-radius: 99px;
  background: rgb(255 255 255 / 90%);
  color: #40564c;
  font-size: 0.5rem;
  font-weight: 700;
}

.newsletter-content {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 6vw, 5.5rem);
}

.newsletter-content-inner {
  width: min(100%, 34rem);
}

.newsletter-eyebrow {
  margin: 0 0 0.55rem;
  color: #438d68;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.newsletter-content h2 {
  margin: 0;
  color: #173747;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.32;
}

.newsletter-heading-underline {
  width: min(12rem, 60%);
  height: 0.65rem;
  margin-top: 0.15rem;
  border-top: 4px solid #389c70;
  border-radius: 50%;
  transform: rotate(-5deg);
}

.newsletter-description {
  max-width: 31rem;
  margin: 0.7rem 0 1.65rem;
  color: #3d4541;
  font-size: 0.97rem;
  line-height: 1.7;
}

.newsletter-form {
  display: flex;
  width: min(100%, 34rem);
  min-height: 3.5rem;
  overflow: hidden;
  border-radius: 0.4rem;
  background: #fff;
  box-shadow: 0 0.35rem 1rem rgb(28 54 41 / 10%);
}

.newsletter-form input {
  width: 0;
  min-width: 0;
  flex: 1;
  padding: 0.85rem 1rem;
  border: 1px solid transparent;
  outline: 0;
  background: transparent;
  color: #253b33;
  font: inherit;
  font-size: 0.85rem;
}

.newsletter-form input::placeholder {
  color: #7e8882;
  opacity: 1;
}

.newsletter-form:focus-within {
  outline: 3px solid rgb(49 150 108 / 35%);
  outline-offset: 2px;
}

.newsletter-form button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-width: 9.5rem;
  padding: 0.8rem 1.1rem;
  border: 0;
  border-radius: 0.35rem;
  background: #359d70;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 650;
  transition: background-color 160ms ease;
}

.newsletter-form button:hover {
  background: #247b57;
}

.newsletter-form button svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.newsletter-note,
.newsletter-status {
  margin: 0.75rem 0 0;
  color: #78817b;
  font-size: 0.7rem;
  line-height: 1.5;
}

.newsletter-status {
  color: #247b57;
}

.newsletter-play:focus-visible,
.newsletter-form button:focus-visible {
  outline: 3px solid rgb(49 150 108 / 50%);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .newsletter-section {
    grid-template-columns: 1fr;
  }

  .newsletter-media {
    min-height: clamp(17rem, 65vw, 25rem);
  }

  .newsletter-media-overlay {
    inset: 1rem;
  }

  .newsletter-brand-name {
    font-size: clamp(1.5rem, 7vw, 2.8rem);
  }

  .newsletter-content {
    padding: 2.5rem max(1rem, calc((100% - 34rem) / 2));
  }
}

@media (max-width: 420px) {
  .newsletter-content h2 {
    font-size: 1.8rem;
  }

  .newsletter-description {
    font-size: 0.9rem;
  }

  .newsletter-form {
    flex-direction: column;
    gap: 0.5rem;
    overflow: visible;
    background: transparent;
    box-shadow: none;
  }

  .newsletter-form input {
    width: 100%;
    min-height: 3.2rem;
    border-color: #e4e9e4;
    border-radius: 0.35rem;
    background: #fff;
    box-shadow: 0 0.25rem 0.7rem rgb(28 54 41 / 7%);
  }

  .newsletter-form button {
    min-height: 3.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .newsletter-media-overlay,
  .newsletter-play,
  .newsletter-form button {
    transition: none;
  }
}
