/* =========================================================
   WOMB & HEART
   NEWSLETTER
========================================================= */


/* =========================================================
   SECTION
========================================================= */

.newsletter {
  position: relative;

  width: 100%;

  padding:
    0
    0
    clamp(95px, 8vw, 135px);

  background: #ffffff;

  color: #512c3e;
}


/* =========================================================
   SHELL
========================================================= */

.newsletter-shell {
  position: relative;
}

.newsletter .newsletter-shell {
  width: calc(100% - 20px);
}


/* =========================================================
   PANEL
========================================================= */

.newsletter-panel {
  position: relative;

  width: 100%;

  min-height: 390px;

  padding:
    clamp(58px, 6vw, 88px)
    clamp(48px, 6vw, 86px)
    clamp(44px, 5vw, 68px);

  overflow: hidden;

  border-radius: 34px;

  background: #ffff;
}


/* =========================================================
   MAIN LAYOUT
========================================================= */

.newsletter-layout {
  position: relative;

  z-index: 3;

  width: 100%;

  display: grid;

  grid-template-columns:
    minmax(360px, 0.95fr)
    minmax(450px, 1.05fr);

  gap:
    clamp(
      70px,
      8vw,
      125px
    );

  align-items: center;
}


/* =========================================================
   LEFT CONTENT
========================================================= */

.newsletter-content {
  position: relative;

  z-index: 2;

  width: 100%;

  padding-left:
    clamp(
      45px,
      4vw,
      65px
    );
}


/* =========================================================
   KICKER
========================================================= */

.newsletter-kicker {
  width: 100%;

  display: flex;

  align-items: center;

  gap: 12px;

  color: #512c3e;

  font-size: 8px;

  font-weight: 700;

  line-height: 1;

  letter-spacing: 0.16em;

  white-space: nowrap;
}


.newsletter-kicker > span:first-child {
  font-size: 9px;
}


.newsletter-kicker > span:last-child {
  color: #6b4c5b;
}


.newsletter-kicker-line {
  display: block;

  width:
    clamp(
      55px,
      5vw,
      85px
    );

  height: 1px;

  flex: 0 0 auto;

  background: #ee263e;
}


/* =========================================================
   TITLE
========================================================= */

.newsletter-content h2 {
  margin:
    25px
    0
    0;

  color: #512c3e;

  font-size:
    clamp(
      24px,
      2vw,
      30px
    );

  font-weight: 700;

  line-height: 1.05;

  letter-spacing: -0.015em;

  text-transform: uppercase;
}


/* =========================================================
   TITLE LINE
========================================================= */

.newsletter-title-line {
  display: block;

  width: 72px;

  height: 1px;

  margin-top: 10px;

  background: #ee263e;
}


/* =========================================================
   INTRO
========================================================= */

.newsletter-intro {
  margin:
    30px
    0
    0;

  color: #512c3e;

  font-size: 18px;

  font-weight: 400;

  line-height: 1.48;

  letter-spacing: -0.01em;
}


/* =========================================================
   FORM AREA
========================================================= */

.newsletter-form-wrap {
  position: relative;

  z-index: 3;

  width: 100%;

  justify-self: end;
}


/* =========================================================
   SMALL FORM LABEL
========================================================= */

.newsletter-form-label {
  margin:
    0
    0
    13px;

  color: #512c3e;

  font-size: 9px;

  font-weight: 700;

  line-height: 1;

  letter-spacing: 0.17em;
}


/* =========================================================
   FORM
========================================================= */

.newsletter-form {
  width: 100%;

  min-height: 64px;

  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    auto;

  align-items: center;

  padding:
    5px
    5px
    5px
    24px;

  border:
    1px
    solid
    rgba(
      81, 44, 62,
      0.22
    );

  border-radius: 999px;

  background: #ffffff;
}


/* =========================================================
   FIELD
========================================================= */

.newsletter-field {
  width: 100%;

  min-width: 0;
}


.newsletter-field input {
  width: 100%;

  min-width: 0;

  padding: 0;

  border: 0;

  outline: none;

  background: transparent;

  color: #512c3e;

  font-family: var(--font);

  font-size: 16px;

  font-weight: 400;

  line-height: 1.2;
}


.newsletter-field input::placeholder {
  color:
    rgba(
      81, 44, 62,
      0.48
    );
}


/* =========================================================
   BUTTON
========================================================= */

.newsletter-submit {
  min-width: 150px;

  min-height: 54px;

  padding:
    0
    22px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 20px;

  border: 0;

  border-radius: 999px;

  background: #560002;

  color: #ffffff;

  font-family: var(--font);

  font-size: 9px;

  font-weight: 700;

  line-height: 1;

  letter-spacing: 0.16em;
}


.newsletter-submit svg {
  width: 18px;

  height: 18px;

  flex:
    0
    0
    18px;

  fill: none;

  stroke: currentColor;

  stroke-width: 1.7;

  stroke-linecap: round;

  stroke-linejoin: round;
}


/* =========================================================
   PRIVACY
========================================================= */

.newsletter-privacy {
  max-width: 500px;

  margin:
    13px
    0
    0;

  color: #6b4c5b;

  font-size: 11px;

  font-weight: 400;

  line-height: 1.45;
}


/* =========================================================
   SIDE META
========================================================= */

.newsletter-side-meta {
  position: absolute;

  z-index: 5;

  top:
    clamp(
      58px,
      6vw,
      88px
    );

  left:
    clamp(
      18px,
      2vw,
      30px
    );

  display: flex;

  flex-direction: column;

  align-items: center;

  gap: 11px;

  color: #512c3e;

  pointer-events: none;
}


/* =========================================================
   SIDE LINE
========================================================= */

.newsletter-side-line {
  display: block;

  width: 1px;

  height:
    clamp(
      65px,
      6vw,
      90px
    );

  background: #ee263e;
}


/* =========================================================
   SIDE WORD
========================================================= */

.newsletter-side-word {
  font-size: 8px;

  font-weight: 700;

  line-height: 1;

  letter-spacing: 0.18em;

  writing-mode: vertical-rl;

  text-orientation: mixed;
}


/* =========================================================
   BOTTOM META
========================================================= */

.newsletter-bottom {
  position: relative;

  z-index: 3;

  width: 100%;

  margin-top:
    clamp(
      45px,
      5vw,
      65px
    );

  display: flex;

  align-items: center;

  justify-content: flex-end;

  gap: 12px;

  color: #512c3e;

  font-size: 8px;

  font-weight: 700;

  line-height: 1;

  letter-spacing: 0.16em;
}


.newsletter-bottom-line {
  width:
    clamp(
      75px,
      10vw,
      145px
    );

  height: 1px;

  background: #ee263e;
}


/* =========================================================
   LARGE BACKGROUND WORD
========================================================= */

.newsletter-background-word {
  position: absolute;

  z-index: 0;

  top: 50%;

  right:
    clamp(
      10px,
      3vw,
      42px
    );

  transform:
    translateY(-50%);

  color:
    rgba(
      81, 44, 62,
      0.028
    );

  font-size:
    clamp(
      100px,
      13vw,
      190px
    );

  font-weight: 700;

  line-height: 0.8;

  letter-spacing: -0.065em;

  pointer-events: none;

  user-select: none;
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

.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;
}


/* =========================================================
   LAPTOP
========================================================= */

@media (max-width: 1050px) {

  .newsletter-panel {
    padding:
      54px
      42px
      46px;

    border-radius: 28px;
  }


  .newsletter-layout {
    grid-template-columns:
      minmax(320px, 0.9fr)
      minmax(400px, 1.1fr);

    gap: 60px;
  }


  .newsletter-content {
    padding-left: 48px;
  }


  .newsletter-side-meta {
    top: 54px;

    left: 18px;
  }


  .newsletter-submit {
    min-width: 135px;
  }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 800px) {

  .newsletter {
    padding-bottom: 90px;
  }


  .newsletter-panel {
    min-height: 0;

    padding:
      44px
      32px
      40px;

    border-radius: 26px;
  }


  .newsletter-layout {
    grid-template-columns: 1fr;

    gap: 45px;
  }


  .newsletter-content {
    max-width: 600px;

    padding-left: 42px;
  }


  .newsletter-form-wrap {
    max-width: 620px;

    justify-self: start;
  }


  .newsletter-side-meta {
    top: 44px;

    left: 14px;
  }


  .newsletter-background-word {
    top: auto;

    right: 10px;

    bottom: 35px;

    transform: none;

    font-size: 135px;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 620px) {

  .newsletter {
    padding-bottom: 75px;
  }


  .newsletter-panel {
    padding:
      30px
      16px
      31px;

    border-radius: 22px;
  }


  /* =====================================================
     HIDE SIDE META
  ====================================================== */

  .newsletter-side-meta {
    display: none;
  }


  /* =====================================================
     CONTENT
  ====================================================== */

  .newsletter-content {
    width: 100%;

    max-width: none;

    padding: 0;
  }


  /* =====================================================
     KICKER
  ====================================================== */

  .newsletter-kicker {
    gap: 7px;

    font-size: 7px;

    letter-spacing: 0.1em;

    white-space: normal;
  }


  .newsletter-kicker > span:first-child {
    font-size: 7px;
  }


  .newsletter-kicker-line {
    width: 30px;
  }


  /* =====================================================
     TITLE
  ====================================================== */

  .newsletter-content h2 {
    margin-top: 20px;

    font-size:
      clamp(
        21px,
        6vw,
        26px
      );
  }


  .newsletter-title-line {
    width: 55px;

    margin-top: 8px;
  }


  /* =====================================================
     INTRO
  ====================================================== */

  .newsletter-intro {
    margin-top: 25px;

    font-size: 17px;

    line-height: 1.5;
  }


  /* =====================================================
     FORM AREA
  ====================================================== */

  .newsletter-form-wrap {
    width: 100%;
  }


  .newsletter-form-label {
    font-size: 8px;
  }


  /* =====================================================
     FORM

     STACK ON MOBILE
  ====================================================== */

  .newsletter-form {
    min-height: 0;

    padding: 5px;

    grid-template-columns: 1fr;

    gap: 5px;

    border-radius: 22px;
  }


  .newsletter-field {
    min-height: 52px;

    display: flex;

    align-items: center;

    padding:
      0
      16px;
  }


  .newsletter-field input {
    font-size: 16px;
  }


  .newsletter-submit {
    width: 100%;

    min-height: 52px;

    padding:
      0
      20px;

    border-radius: 17px;
  }


  .newsletter-privacy {
    margin-top: 12px;

    font-size: 10px;

    line-height: 1.45;
  }


  /* =====================================================
     BOTTOM META
  ====================================================== */

  .newsletter-bottom {
    margin-top: 34px;

    justify-content: flex-start;

    gap: 9px;

    font-size: 7px;
  }


  .newsletter-bottom-line {
    width: 50px;
  }


  /* =====================================================
     BACKGROUND WORD
  ====================================================== */

  .newsletter-background-word {
    display: none;
  }

}