/* pages/about.css */
/* ==========================================================================
   pages/about.css — styles for about.php only (loaded through $extra_css)
   Every value is written out (no CSS variables). Section blocks are separate,
   so changing one never touches another.
   Palette: plum #4a154b · mauve #805b81 · lilac #f9f0fa · blush #f7d4e6 · line #e0c8e8 · rose #ee7fae
   ========================================================================== */

/* ── Scroll-reveal (only active when JavaScript runs; content is always visible without it) ── */
.ab-js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1);
}

.ab-js [data-reveal="left"] {
  transform: translateX(-40px);
}

.ab-js [data-reveal="right"] {
  transform: translateX(40px);
}

.ab-js [data-reveal="scale"] {
  transform: scale(.85);
}

.ab-js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ── Small shared pieces ── */
.ab-h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.12;
  color: #4a154b;
  margin-bottom: 20px;
}

.ab-h2 em,
.section-title em {
  font-style: italic;
  color: #cc5c94;
}

.ab-link {
  display: inline-block;
  margin-top: 14px;
  font-weight: 600;
  color: #4a154b;
  border-bottom: 1px solid #4a154b;
  padding-bottom: 2px;
}

/* ══════════════════════ HERO ══════════════════════ */
.ab-hero {
  position: relative;
  overflow: hidden;
  padding: 40px 0 130px;
  background: linear-gradient(135deg, #f0e0f2 0%, #f9f0fa 55%, #f7d4e6 130%);
}

.ab-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .6;
  animation: abDrift 18s ease-in-out infinite alternate;
  pointer-events: none;
}

.ab-blob-1 {
  width: 420px;
  height: 420px;
  top: -140px;
  left: -120px;
  background: #f7d4e6;
}

.ab-blob-2 {
  width: 380px;
  height: 380px;
  bottom: -160px;
  right: -90px;
  background: #e3c3ec;
  animation-delay: -7s;
}

@keyframes abDrift {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(40px, 30px) scale(1.12);
  }
}

.ab-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: center;
}

.ab-crumb {
  justify-content: flex-start;
  margin: 0 0 28px;
}

.ab-pill {
  display: inline-block;
  padding: 8px 18px;
  margin-bottom: 20px;
  background: #ffffffb3;
  border: 1px solid #e0c8e8;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #4a154b;
}

.ab-hero h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.6rem, 4.9vw, 4rem);
  font-weight: 300;
  line-height: 1.04;
  color: #4a154b;
  margin-bottom: 22px;
}

.ab-hero h1 em {
  font-style: italic;
  color: #805b81;
  background: linear-gradient(100deg, #4a154b 0%, #b0508f 60%, #ee7fae 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ab-hero-lead {
  max-width: 560px;
  font-size: 1.1rem;
  line-height: 1.75;
  color: #4a154bd6;
  margin-bottom: 30px;
}

.ab-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.ab-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.ab-chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  color: #4a154b;
}

.ab-chips svg {
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  background: #4a154b;
  fill: none;
  stroke: #ffffff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* hero visual */
.ab-hero-visual {
  position: relative;
  height: 520px;
}

.ab-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 430px;
  height: 430px;
  margin: -215px 0 0 -215px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffffff 0%, #f7d4e6 45%, #e3c3ec 100%);
  box-shadow: 0 30px 80px #4a154b2e, inset 0 -20px 50px #4a154b14;
  animation: abBreathe 7s ease-in-out infinite;
}

.ab-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 510px;
  height: 510px;
  margin: -255px 0 0 -255px;
  border-radius: 50%;
  border: 1.5px dashed #4a154b40;
  animation: abSpin 60s linear infinite;
}

@keyframes abBreathe {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.035);
  }
}

@keyframes abSpin {
  to {
    transform: rotate(360deg);
  }
}

.ab-float {
  position: absolute;
  z-index: 3;
  mix-blend-mode: multiply;
  transition: translate .25s ease-out;
}

.ab-float::after {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  bottom: -6px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, #4a154b4d 0%, #4a154b00 70%);
  z-index: -1;
}

.ab-float img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  animation: abFloat 6s ease-in-out infinite;
}

.ab-float-1 {
  width: 250px;
  height: 330px;
  top: 90px;
  left: 50%;
  margin-left: -125px;
  z-index: 4;
}

.ab-float-2 {
  width: 170px;
  height: 230px;
  top: 190px;
  left: 6%;
  z-index: 3;
}

.ab-float-2 img {
  animation-duration: 7.5s;
  animation-delay: -2s;
}

.ab-float-3 {
  width: 170px;
  height: 230px;
  top: 60px;
  right: 4%;
  z-index: 3;
}

.ab-float-3 img {
  animation-duration: 8s;
  animation-delay: -4s;
}

@keyframes abFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-14px) rotate(1.5deg);
  }
}

.ab-glass {
  position: absolute;
  z-index: 6;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 18px;
  background: #ffffffd9;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid #ffffff;
  border-radius: 18px;
  box-shadow: 0 14px 36px #4a154b26;
  color: #4a154b;
  transition: translate .25s ease-out;
}

.ab-glass strong {
  font-size: 1rem;
  font-weight: 600;
}

.ab-glass small {
  font-size: 0.8rem;
  color: #805b81;
}

.ab-glass-stars {
  color: #f59e0b;
  letter-spacing: 2px;
  font-size: 0.95rem;
}

.ab-glass-1 {
  top: 36px;
  left: 0;
}

.ab-glass-2 {
  flex-direction: row;
  align-items: center;
  gap: 12px;
  right: 0;
  bottom: 54px;
}

.ab-glass-2 div {
  display: flex;
  flex-direction: column;
}

.ab-glass-2 svg {
  width: 34px;
  height: 34px;
  padding: 7px;
  border-radius: 50%;
  background: #4a154b;
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ══════════════════════ NUMBERS ══════════════════════ */
.ab-stats {
  position: relative;
  z-index: 5;
  margin-top: -70px;
}

.ab-stats-card {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 34px 20px;
  background: #ffffff;
  border: 1px solid #e0c8e8;
  border-radius: 28px;
  box-shadow: 0 24px 60px #4a154b26;
}

.ab-stat {
  text-align: center;
  padding: 6px 16px;
}

.ab-stat + .ab-stat {
  border-left: 1px solid #e0c8e8;
}

.ab-num {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  font-weight: 400;
  font-variant-numeric: lining-nums;
  line-height: 1.1;
  color: #4a154b;
}

.ab-stat-label {
  margin-top: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #805b81;
}

/* ══════════════════════ STORY ══════════════════════ */
.ab-story {
  padding: 110px 0 96px;
  background: #ffffff;
}

.ab-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.ab-story-media {
  position: relative;
}

.ab-story-media::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 2px solid #4a154b;
  border-radius: 32px;
  opacity: .25;
}

.ab-story-photo {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(135deg, #f0e0f2, #f7d4e6);
  box-shadow: 0 30px 70px #4a154b2e;
}

.ab-story-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}

.ab-story-media:hover .ab-story-photo img {
  transform: scale(1.05);
}

.ab-story-badge {
  position: absolute;
  left: -26px;
  bottom: 36px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px 14px 14px;
  background: #ffffff;
  border: 1px solid #e0c8e8;
  border-radius: 20px;
  box-shadow: 0 16px 40px #4a154b2e;
}

.ab-story-badge div {
  display: flex;
  flex-direction: column;
}

.ab-story-badge strong {
  font-size: 0.98rem;
  color: #4a154b;
}

.ab-story-badge small {
  font-size: 0.8rem;
  color: #805b81;
}

.ab-story-badge svg {
  width: 42px;
  height: 42px;
  padding: 10px;
  border-radius: 50%;
  background: #4a154b;
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ab-story-text p {
  font-size: 1.02rem;
  line-height: 1.8;
  color: #4a154bd6;
  margin-bottom: 18px;
}

.ab-story-text .ab-lead {
  font-size: 1.18rem;
  color: #4a154b;
}

.ab-quote {
  margin: 26px 0 0;
  padding: 22px 26px;
  border-left: 4px solid #4a154b;
  border-radius: 0 18px 18px 0;
  background: #f9f0fa;
  font-size: 1rem;
  line-height: 1.75;
  color: #4a154b;
}

/* ══════════════════════ PROCESS ══════════════════════ */
.ab-process {
  padding: 96px 0;
  background: #f9f0fa;
}

.ab-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}

.ab-step {
  position: relative;
  padding: 52px 32px 36px;
  background: #ffffff;
  border: 1px solid #e0c8e8;
  border-radius: 28px;
  text-align: center;
  transition: box-shadow .35s ease, opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1);
}

.ab-step:hover {
  box-shadow: 0 22px 50px #4a154b26;
}

.ab-step-no {
  position: absolute;
  top: -28px;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-left: -28px;
  border-radius: 50%;
  background: #4a154b;
  box-shadow: 0 0 0 8px #f9f0fa;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 500;
  font-variant-numeric: lining-nums;
  color: #ffffff;
}

.ab-step h3 {
  margin: 0 0 12px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.7rem;
  font-weight: 500;
  color: #4a154b;
}

.ab-step p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #4a154bd6;
}

/* ══════════════════════ VALUES ══════════════════════ */
.ab-values {
  padding: 96px 0;
  background: #ffffff;
}

.ab-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ab-value {
  position: relative;
  padding: 36px 30px;
  background: #ffffff;
  border: 1px solid #e0c8e8;
  border-radius: 24px;
  text-align: center;
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease, opacity .8s cubic-bezier(.2, .7, .2, 1);
}

.ab-value::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, #4a154b, #ee7fae);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s ease;
}

.ab-js .ab-value.is-in:hover,
.ab-value:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 50px #4a154b26;
  border-color: #4a154b;
}

.ab-value:hover::after {
  transform: scaleX(1);
}

.ab-value-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #f0e0f2;
  transition: background-color .35s ease, transform .35s ease;
}

.ab-value:hover .ab-value-icon {
  background: #4a154b;
  transform: rotate(-8deg) scale(1.06);
}

.ab-value-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: #4a154b;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke .35s ease;
}

.ab-value:hover .ab-value-icon svg {
  stroke: #ffffff;
}

.ab-value h3 {
  margin-bottom: 10px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 500;
  color: #4a154b;
}

.ab-value p {
  font-size: 0.96rem;
  line-height: 1.7;
  color: #4a154bd6;
}

/* ══════════════════════ CERTIFICATIONS ══════════════════════ */
.ab-certs {
  padding: 80px 0;
  background: #f9f0fa;
}

.ab-stamps {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 14px;
}

.ab-stamp {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  padding: 12px;
  background: #ffffff;
  border: 1px solid #e0c8e8;
  border-radius: 20px;
  transition: transform .3s ease, box-shadow .3s ease, opacity .8s cubic-bezier(.2, .7, .2, 1);
}

.ab-js .ab-stamp.is-in:hover,
.ab-stamp:hover {
  transform: translateY(-6px) rotate(-3deg);
  box-shadow: 0 16px 34px #4a154b26;
}

.ab-stamp img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* ══════════════════════ BESTSELLERS ══════════════════════ */
.ab-best {
  padding: 96px 0;
  background: #ffffff;
}

/* ══════════════════════ REVIEWS ══════════════════════ */
.ab-voices {
  padding: 96px 0;
  background: #f9f0fa;
}

.ab-voices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ab-voice {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 62px 32px 30px;
  background: #ffffff;
  border: 1px solid #e0c8e8;
  border-radius: 28px;
}

.ab-voice::before {
  content: "“";
  position: absolute;
  top: 10px;
  left: 24px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 6rem;
  line-height: 1;
  color: #e0c8e8;
}

.ab-voice-stars {
  position: relative;
  margin-bottom: 12px;
  color: #f59e0b;
  letter-spacing: 3px;
  font-size: 1.05rem;
}

.ab-voice blockquote {
  position: relative;
  margin: 0 0 20px;
  font-size: 1.02rem;
  line-height: 1.75;
  color: #4a154bd6;
}

.ab-voice figcaption {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 16px;
  border-top: 1px solid #e0c8e8;
}

.ab-voice figcaption strong {
  font-size: 1rem;
  color: #4a154b;
}

.ab-voice figcaption span {
  font-size: 0.85rem;
  color: #805b81;
}

/* ══════════════════════ GIVING BACK + CTA ══════════════════════ */
.ab-cta {
  position: relative;
  overflow: hidden;
  padding: 110px 0;
  background: linear-gradient(135deg, #4a154b 0%, #6b2a6d 100%);
  text-align: center;
}

.ab-cta-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  animation: abDrift 16s ease-in-out infinite alternate;
}

.ab-cta-glow-1 {
  width: 380px;
  height: 380px;
  top: -140px;
  left: -80px;
  background: #ee7fae55;
}

.ab-cta-glow-2 {
  width: 340px;
  height: 340px;
  bottom: -140px;
  right: -60px;
  background: #e3c3ec44;
  animation-delay: -6s;
}

.ab-cta-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.ab-cta-tree {
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  fill: none;
  stroke: #f7d4e6;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: abFloat 6s ease-in-out infinite;
}

.ab-cta h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 300;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 18px;
}

.ab-cta h2 em {
  font-style: italic;
  color: #f7d4e6;
}

.ab-cta p {
  max-width: 560px;
  margin: 0 auto 30px;
  font-size: 1.08rem;
  line-height: 1.75;
  color: #ffffffd6;
}

/* ══════════════════════ TABLET ══════════════════════ */
@media (max-width: 992px) {
  .ab-hero {
    padding: 28px 0 110px;
  }

  .ab-hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .ab-crumb,
  .ab-hero-actions,
  .ab-chips {
    justify-content: center;
  }

  .ab-hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .ab-hero-visual {
    height: 440px;
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
  }

  .ab-orb {
    width: 360px;
    height: 360px;
    margin: -180px 0 0 -180px;
  }

  .ab-ring {
    width: 430px;
    height: 430px;
    margin: -215px 0 0 -215px;
  }

  .ab-float-1 {
    width: 210px;
    height: 280px;
    top: 70px;
    margin-left: -105px;
  }

  .ab-float-2,
  .ab-float-3 {
    width: 140px;
    height: 190px;
  }

  .ab-float-2 {
    top: 170px;
  }

  .ab-stats-card {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 22px;
  }

  .ab-stat:nth-child(3) {
    border-left: 0;
  }

  .ab-story {
    padding: 80px 0;
  }

  .ab-story-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .ab-story-media {
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
  }

  .ab-steps {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .ab-values-grid,
  .ab-voices-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ab-stamps {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* ══════════════════════ PHONE ══════════════════════ */
@media (max-width: 576px) {
  .ab-hero h1 {
    font-size: clamp(2.3rem, 10vw, 3rem);
  }

  .ab-hero-actions .btn {
    flex: 1 1 100%;
  }

  .ab-hero-visual {
    height: 380px;
  }

  .ab-orb {
    width: 290px;
    height: 290px;
    margin: -145px 0 0 -145px;
  }

  .ab-ring {
    width: 350px;
    height: 350px;
    margin: -175px 0 0 -175px;
  }

  .ab-float-1 {
    width: 170px;
    height: 230px;
    top: 66px;
    margin-left: -85px;
  }

  .ab-float-2,
  .ab-float-3 {
    width: 105px;
    height: 150px;
  }

  .ab-float-2 {
    top: 170px;
    left: 2%;
  }

  .ab-float-3 {
    top: 60px;
    right: 2%;
  }

  .ab-glass {
    padding: 10px 14px;
  }

  .ab-glass-1 {
    top: 8px;
  }

  .ab-glass-2 {
    bottom: 12px;
  }

  .ab-stats {
    margin-top: -56px;
  }

  .ab-stats-card {
    padding: 26px 8px;
    border-radius: 22px;
  }

  .ab-stat {
    padding: 6px 8px;
  }

  .ab-story-badge {
    left: 10px;
    bottom: 14px;
  }

  .ab-story-media::before {
    inset: 14px -10px -14px 14px;
  }

  .ab-process,
  .ab-values,
  .ab-best,
  .ab-voices {
    padding: 64px 0;
  }

  .ab-values-grid,
  .ab-voices-grid {
    grid-template-columns: 1fr;
  }

  .ab-stamps {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .ab-cta {
    padding: 80px 0;
  }
}

/* ══════════════════════ REDUCED MOTION ══════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .ab-js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .ab-blob,
  .ab-orb,
  .ab-ring,
  .ab-float img,
  .ab-cta-glow,
  .ab-cta-tree {
    animation: none;
  }
}
/* components/footer-newsletter.css */
/* ==========================================================================
   footer-newsletter.css — Footer newsletter interactive states
   Moved out of partials/footer.php. Loaded last (after page styles) exactly as before.
   Every value is written out (no CSS variables) and every selector has its
   own rule, so changing one block never touches another.
   ========================================================================== */

.nl-wrap {
  position: relative;
}

.footer-newsletter {
  position: relative;
  transition: opacity .5s,transform .5s;
}

.footer-newsletter[hidden] {
  display: none;
}

.footer-newsletter.is-gone {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
}

.nl-field {
  position: relative;
}

.nl-field input {
  width: 100%;
}

.nl-spark {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%) scale(0);
  opacity: 0;
  transition: transform .35s cubic-bezier(.34,1.8,.5,1),opacity .3s;
  pointer-events: none;
}

.footer-newsletter.is-ready .nl-spark {
  opacity: 1;
  transform: translateY(-50%) scale(1);
  animation: nlTwirl 2s ease-in-out infinite;
}

@keyframes nlTwirl {
  50% {
    transform: translateY(-50%) scale(1.25) rotate(18deg);
  }
}

.footer-newsletter.is-ready .nl-field input {
  border-color: #f7d4e6;
  box-shadow: 0 0 0 3px #f7d4e640;
}

.nl-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: 48px;
  transition: background .3s,color .3s,transform .25s,box-shadow .3s;
}

.footer-newsletter.is-ready .nl-btn {
  animation: nlPulse 1.8s ease-out infinite;
}

@keyframes nlPulse {
  0% {
    box-shadow: 0 0 0 0 #f7d4e6a6;
  }
  100% {
    box-shadow: 0 0 0 16px #f7d4e600;
  }
}

.nl-label {
  transition: opacity .25s,transform .25s;
}

.nl-dots {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}

.nl-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4a154b;
  animation: nlDot .8s ease-in-out infinite;
}

.nl-dots i:nth-child(2) {
  animation-delay: .12s;
}

.nl-dots i:nth-child(3) {
  animation-delay: .24s;
}

@keyframes nlDot {
  0%,100% {
    transform: translateY(0);
    opacity: .4;
  }
  50% {
    transform: translateY(-7px);
    opacity: 1;
  }
}

.footer-newsletter.is-loading .nl-label {
  opacity: 0;
  transform: scale(.9);
}

.footer-newsletter.is-loading .nl-dots {
  opacity: 1;
}

.footer-newsletter.is-loading .nl-btn {
  animation: none;
  pointer-events: none;
}

.nl-check {
  width: 0;
  height: 22px;
  fill: none;
  stroke: #4a154b;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: width .3s,margin .3s;
  overflow: visible;
}

.nl-check path {
  stroke-dasharray: 26;
  stroke-dashoffset: 26;
}

.footer-newsletter.is-done .nl-btn {
  background: #f7d4e6;
  border-color: #f7d4e6;
  color: #4a154b;
  animation: none;
}

.footer-newsletter.is-done .nl-check {
  width: 22px;
  margin-right: 8px;
}

.footer-newsletter.is-done .nl-check path {
  animation: nlDraw .55s ease-out .1s forwards;
}

@keyframes nlDraw {
  to {
    stroke-dashoffset: 0;
  }
}

.nl-msg {
  min-height: 1.2em;
  margin: 0;
  font-size: .82rem;
  line-height: 1.4;
  color: #f7d4e6;
  text-align: center;
}

.footer-newsletter.is-error .nl-field input {
  border-color: #f7d4e6;
  background: #f7d4e62e;
}

.footer-newsletter.is-error .nl-msg {
  color: #fff;
  font-weight: 600;
}

.footer-newsletter.is-error .nl-msg::before {
  content: "⚠ ";
}

.footer-newsletter.is-shake .nl-field {
  animation: nlShake .5s;
}

.footer-newsletter.is-shake .nl-btn {
  animation: nlShake .5s;
}

@keyframes nlShake {
  0%,100% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-8px);
  }
  40% {
    transform: translateX(7px);
  }
  60% {
    transform: translateX(-5px);
  }
  80% {
    transform: translateX(3px);
  }
}

.nl-fx {
  position: absolute;
  left: 50%;
  bottom: 34px;
  width: 0;
  height: 0;
  pointer-events: none;
  z-index: 3;
}

.nl-fx i {
  position: absolute;
  left: 0;
  top: 0;
  width: 12px;
  height: 15px;
  border-radius: 70% 0 70% 0;
  background: linear-gradient(135deg,#fbd0e3,#ee7fae);
  animation: nlBurst 1.5s cubic-bezier(.15,.7,.3,1) forwards;
}

.nl-fx i.s {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px 3px #ffffffb2;
}

.nl-fx i.p {
  background: linear-gradient(135deg,#fff,#d8b4e2);
}

@keyframes nlBurst {
  0% {
    opacity: 1;
    transform: translate(0,0) rotate(0) scale(.4);
  }
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(var(--dx),var(--dy)) rotate(var(--r)) scale(1);
  }
}

.nl-welcome {
  text-align: center;
  padding: 6px 4px 0;
}

.nl-welcome[hidden] {
  display: none;
}

.nl-env {
  width: 92px;
  height: 82px;
  display: block;
  margin: 0 auto 10px;
  overflow: visible;
}

.nl-welcome .nl-letter {
  transform: translateY(10px);
  opacity: 0;
}

.nl-welcome .nl-letter-heart {
  transform: translateY(10px);
  opacity: 0;
}

.nl-flap {
  transform-box: fill-box;
  transform-origin: 50% 100%;
}

.nl-welcome.play .nl-flap {
  animation: nlFlap .6s .25s cubic-bezier(.5,0,.3,1) forwards;
}

@keyframes nlFlap {
  to {
    transform: scaleY(-1);
    fill: #f7d4e6;
  }
}

.nl-welcome.play .nl-letter {
  animation: nlLetter .8s .7s cubic-bezier(.3,1.4,.5,1) forwards;
}

.nl-welcome.play .nl-letter-heart {
  animation: nlLetter .8s .7s cubic-bezier(.3,1.4,.5,1) forwards;
}

@keyframes nlLetter {
  to {
    transform: translateY(-22px);
    opacity: 1;
  }
}

.nl-welcome.play .nl-env {
  animation: nlEnv .9s cubic-bezier(.34,1.6,.5,1) both;
}

@keyframes nlEnv {
  from {
    transform: scale(.3) rotate(-14deg);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

.nl-wtitle {
  font-family: var(--font-display,"Cormorant Garamond",serif);
  font-size: 1.45rem;
  font-weight: 500;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 6px;
  opacity: 0;
  transform: translateY(8px);
}

.nl-wtext {
  font-size: .86rem;
  line-height: 1.6;
  color: #ffffffd9;
  margin: 0;
  opacity: 0;
  transform: translateY(8px);
}

.nl-welcome.play .nl-wtitle {
  animation: nlUp .6s 1.1s ease-out forwards;
}

.nl-welcome.play .nl-wtext {
  animation: nlUp .6s 1.4s ease-out forwards;
}

@keyframes nlUp {
  to {
    opacity: 1;
    transform: none;
  }
}

.nl-community {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed #f7d4e673;
  opacity: 0;
  transform: translateY(14px);
}

.nl-welcome.play .nl-community {
  animation: nlUp .8s 2.1s ease-out forwards;
}

.nl-ctitle {
  font-family: var(--font-display,"Cormorant Garamond",serif);
  font-size: 1.25rem;
  color: #f7d4e6;
  margin: 0 0 4px;
}

.nl-cdesc {
  font-size: .82rem;
  line-height: 1.55;
  color: #ffffffe0;
  margin: 0 0 12px;
}

.nl-cdesc strong {
  color: #fff;
}

.nl-qr {
  position: relative;
  display: block;
  width: 132px;
  height: 132px;
  margin: 0 auto 12px;
  padding: 6px;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 0 0 3px #f7d4e659,0 10px 30px #00000059;
  transform: scale(.6);
  opacity: 0;
}

.nl-welcome.play .nl-qr {
  animation: nlQr .7s 2.3s cubic-bezier(.34,1.6,.5,1) forwards;
}

@keyframes nlQr {
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.nl-qr img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 8px;
}

.nl-qr:hover {
  box-shadow: 0 0 0 3px #f7d4e6,0 10px 30px #00000066;
  text-decoration: none;
}

.nl-scan {
  position: absolute;
  left: 6px;
  right: 6px;
  top: 6px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg,#00000000,#ee7fae,#00000000);
  box-shadow: 0 0 12px 3px #ee7faeb2;
  animation: nlScan 2.2s ease-in-out 3s infinite alternate;
  pointer-events: none;
}

@keyframes nlScan {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(116px);
  }
}

.nl-cbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 50px;
  background: #fff;
  color: #4a154b;
  border: 2px solid #fff;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: normal;
  line-height: 1.2;
}

.nl-cbtn svg {
  fill: #25d366;
  flex-shrink: 0;
  transition: fill .25s;
}

.nl-welcome.play .nl-cbtn {
  animation: nlCta 2.4s 3.2s ease-in-out infinite;
}

@keyframes nlCta {
  0%,100% {
    box-shadow: 0 0 0 0 #f7d4e699;
  }
  60% {
    box-shadow: 0 0 0 14px #f7d4e600;
  }
}

.nl-cbtn:hover {
  background: #f7d4e6;
  border-color: #f7d4e6;
  color: #4a154b;
  transform: translateY(-2px);
  text-decoration: none;
}

.nl-cbtn:hover svg {
  fill: #4a154b;
}

.nl-cnote {
  margin: 8px 0 0;
  font-size: 0.8rem;
  color: #ffffffb2;
}

@media (prefers-reduced-motion:reduce) {
  .nl-fx {
    display: none;
  }

  .nl-scan {
    display: none;
  }

  .footer-newsletter * {
    animation-duration: .01ms !important;
  }

  .nl-welcome * {
    animation-duration: .01ms !important;
  }

}

