/* My Body Affirmation. Builds on the brand system in /make-space/make-space.css. */
.ms-hero .ms-rule { margin: 0 0 1.5rem; }

/* Listen band */
.af-listen { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--green) 0%, var(--green-deep) 100%); color: #fff; padding: clamp(2.75rem, 7vw, 4.5rem) 0; }
.af-listen-in { position: relative; display: flex; align-items: center; gap: clamp(1.25rem, 4vw, 2.5rem); }
.af-play { position: relative; flex: none; width: clamp(68px, 12vw, 92px); height: clamp(68px, 12vw, 92px); border-radius: 50%; border: 0; background: var(--gold); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .3s ease, transform .3s ease; }
.af-play:hover { background: #b8966a; transform: scale(1.04); }
.af-play:focus-visible { outline: 3px solid var(--gold-soft); outline-offset: 4px; }
.af-icon { width: 42%; height: 42%; position: relative; }
.af-icon-pause, .af-play.is-playing .af-icon-play { display: none; }
.af-play.is-playing .af-icon-pause { display: block; }
.af-pulse { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--gold-soft); opacity: 0; }
.af-play.is-playing .af-pulse { animation: af-ripple 3.2s ease-out infinite; }
@keyframes af-ripple { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.7); opacity: 0; } }
.af-listen-text { flex: 1; min-width: 0; }
.af-eyebrow { font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-soft); margin: 0 0 0.35rem; }
.af-title { font-family: var(--display); font-size: clamp(1.5rem, 4vw, 2.2rem); line-height: 1.15; margin: 0 0 0.3rem; }
.af-meta { font-size: 0.9rem; color: #c8d6d0; margin: 0 0 1rem; }
.af-listen audio { width: 100%; max-width: 30rem; display: block; }

/* Affirmation text */
.af-text { padding: clamp(3rem, 8vw, 5rem) 0 clamp(2rem, 5vw, 3rem); }
.af-text-end { padding-top: clamp(3rem, 8vw, 4.5rem); padding-bottom: clamp(3rem, 8vw, 5rem); }
.af-col { max-width: 44rem; margin: 0 auto; }
.af-text p { font-family: var(--display); font-size: clamp(1.2rem, 2.6vw, 1.42rem); line-height: 1.65; margin: 0 0 1.35rem; }
.af-lead { font-style: italic; color: var(--green); font-size: clamp(1.55rem, 4vw, 2.1rem) !important; line-height: 1.3 !important; margin-bottom: 2rem !important; }
.af-pause { position: relative; background: var(--mist); border-left: 3px solid var(--gold); border-radius: 3px; padding: 1.4rem 1.5rem 1.4rem 4rem; margin: 2.25rem 0; }
.af-pause p { font-style: italic; color: var(--green); margin: 0 !important; }
.af-breath { position: absolute; left: 1.4rem; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: var(--gold); opacity: .7; animation: af-breathe 6s ease-in-out infinite; }
@keyframes af-breathe { 0%, 100% { transform: scale(.7); opacity: .45; } 50% { transform: scale(1.35); opacity: .9; } }
.af-allow { text-align: center; color: var(--green); font-style: italic; font-size: clamp(1.35rem, 3.2vw, 1.7rem) !important; margin-top: 2.25rem !important; }

/* I am */
.af-iam { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--green) 0%, var(--green-deep) 100%); color: #fff; padding: clamp(3.5rem, 9vw, 6rem) 0; }
.af-iam-list { position: relative; list-style: none; margin: 0 auto; padding: 0; max-width: 44rem; }
.af-iam-list li { font-family: var(--display); font-style: italic; font-size: clamp(1.9rem, 6vw, 3.1rem); line-height: 1.25; }
.af-iam-list li:last-child { color: var(--gold-soft); }
.af-iam-list li:nth-child(2) { transition-delay: .08s; } .af-iam-list li:nth-child(3) { transition-delay: .16s; }
.af-iam-list li:nth-child(4) { transition-delay: .24s; } .af-iam-list li:nth-child(5) { transition-delay: .32s; }
.af-iam-list li:nth-child(6) { transition-delay: .40s; }

.af-sun { color: var(--green); }
.af-text p.af-credit { font-family: var(--body); font-size: 0.88rem; line-height: 1.5; color: var(--gray); border-top: 1px solid var(--gray-soft); padding-top: 1rem; margin-top: 2.5rem; }.af-amen { color: var(--gold); }

@media (max-width: 30rem) {
  .af-listen-in { flex-direction: column; align-items: flex-start; }
  .af-pause { padding-left: 3.25rem; }
  .af-breath { left: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .af-breath, .af-play.is-playing .af-pulse { animation: none; }
  .af-iam-list li { transition-delay: 0s !important; }
}
