/* Asteria prototype, round 2 v5: "three breaths", a pinned section. Text on one side, an arch
   on the other: each step opens a new photo inside the arch while a gold ring draws around it. */
.breath-sec { position: relative; background: var(--forest); color: var(--cream); overflow: hidden; }
.bs-pin { position: relative; min-height: 100svh; display: grid; align-items: center; padding-block: 110px 120px; }
.bs-grid { position: relative; z-index: 1; width: 100%; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 6vw, 96px); align-items: center; }

.bs-eyebrow { color: var(--sage); }
.bs-title { margin: 10px 0 0; font: 500 clamp(18px, 1.6vw, 22px)/1.3 var(--body); color: var(--mist); }
.bs-count { display: flex; gap: 8px; align-items: baseline; margin: 26px 0 22px; direction: ltr; justify-content: flex-end; font: 600 15px var(--body); letter-spacing: 0.18em; color: var(--mist); }
.bs-count b { font: 700 34px/1 var(--display); color: var(--gold); letter-spacing: 0; }

.bs-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 34px; }
.bs-step h3 { margin: 0 0 14px; overflow: hidden; padding-bottom: 0.08em; font: 600 clamp(40px, 5.4vw, 84px)/1.02 var(--display); letter-spacing: -0.03em; text-wrap: balance; }
.bs-step p { margin: 0; max-width: 34ch; font-size: clamp(17px, 1.4vw, 20px); color: var(--mist); }
.bw { display: inline-block; }

/* With motion, the three steps share one place and take turns. */
.bs-on .bs-steps { display: block; position: relative; min-height: clamp(220px, 30vh, 300px); }
.bs-on .bs-step { position: absolute; inset: 0 0 auto 0; }

.bs-breath { display: inline-flex; align-items: center; gap: 14px; margin-top: 34px; font-size: 13px; letter-spacing: 0.22em; color: var(--mist); }
.bs-breath i { width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--sage); background: rgba(181, 196, 164, 0.15); animation: bs-breathe 8s ease-in-out infinite; }
.bs-lbl { display: grid; }
.bs-lbl span { grid-area: 1 / 1; }
.bs-in { animation: bs-in 8s ease-in-out infinite; }
.bs-out { animation: bs-out 8s ease-in-out infinite; }

/* The arch, its ring and a few points of light. */
.bs-visual { position: relative; justify-self: center; width: min(100%, 70svh, 620px); aspect-ratio: 1; display: grid; place-items: center; }
.bs-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.bs-ring circle { fill: none; }
.bs-track { stroke: rgba(239, 231, 216, 0.12); stroke-width: 0.6; }
.bs-prog { stroke: var(--gold); stroke-width: 1.2; stroke-linecap: round; }
.bs-arch { position: relative; width: 56%; aspect-ratio: 3 / 4.3; border-radius: 999px 999px 30px 30px; overflow: hidden; box-shadow: 0 50px 90px rgba(0, 0, 0, 0.35); background: var(--forest-2); }
.bs-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bs-dot { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 18px var(--gold); animation: bs-twinkle 3.6s ease-in-out infinite; }
.d1 { top: 6%; inset-inline-start: 46%; } .d2 { bottom: 14%; inset-inline-end: 6%; animation-delay: 1.2s; width: 6px; height: 6px; } .d3 { top: 38%; inset-inline-start: 2%; animation-delay: 2.1s; width: 5px; height: 5px; }

.bs-glow { position: absolute; inset-block-start: 50%; inset-inline-end: -12vmax; width: 70vmax; height: 70vmax; margin-top: -35vmax; border-radius: 50%; background: radial-gradient(circle, rgba(181, 196, 164, 0.16), rgba(181, 196, 164, 0) 62%); animation: bs-glow 8s ease-in-out infinite; pointer-events: none; }
.bs-stars { position: absolute; inset: 0; pointer-events: none; opacity: 0.7; background-image: radial-gradient(1.4px 1.4px at 14% 22%, var(--gold), transparent), radial-gradient(1px 1px at 72% 12%, var(--cream), transparent), radial-gradient(1.2px 1.2px at 86% 64%, var(--gold), transparent), radial-gradient(1px 1px at 33% 78%, var(--cream), transparent), radial-gradient(1px 1px at 55% 40%, var(--cream), transparent), radial-gradient(1.4px 1.4px at 8% 60%, var(--cream), transparent); animation: bs-twinkle 6s ease-in-out infinite; }

@keyframes bs-breathe { 0%, 100% { transform: scale(0.7); } 50% { transform: scale(1.6); } }
@keyframes bs-in { 0%, 42% { opacity: 1; } 50%, 92% { opacity: 0; } 100% { opacity: 1; } }
@keyframes bs-out { 0%, 42% { opacity: 0; } 50%, 92% { opacity: 1; } 100% { opacity: 0; } }
@keyframes bs-glow { 0%, 100% { transform: scale(0.9); opacity: 0.7; } 50% { transform: scale(1.08); opacity: 1; } }
@keyframes bs-twinkle { 50% { opacity: 0.3; transform: scale(0.7); } }

@media (max-width: 760px) {
  .bs-pin { padding-block: 84px 104px; }
  .bs-grid { grid-template-columns: 1fr; gap: 18px; }
  .bs-visual { order: -1; width: min(80vw, 40svh); }
  .bs-count { margin: 14px 0 12px; }
  .bs-step h3 { font-size: clamp(32px, 9vw, 40px); }
  .bs-on .bs-steps { min-height: 170px; }
  .bs-breath { margin-top: 12px; }
  .bs-glow { inset-inline-end: -30vmax; }
}
@media (prefers-reduced-motion: reduce) {
  .bs-breath i, .bs-in, .bs-out, .bs-glow, .bs-stars, .bs-dot { animation: none; }
  .bs-out { opacity: 0; }
}
