/* Sol Yoga v2 Immersive: a soft blush sun breathes behind Rocio on the
   landing page itself (no intro screen). Words rise slowly. A breathing
   ring sits beside the pause line. Everything moves slowly. */
.hero .sun { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }

html.await .rise { opacity: 0; }
html.arrived .rise { animation: riseIn 2.2s var(--ease) both; }
html.arrived .r1 { animation-delay: .5s; }
html.arrived .r2 { animation-delay: .85s; }
html.arrived .r3 { animation-delay: 1.5s; }
html.arrived .r4 { animation-delay: 1.9s; }
html.arrived .hero-portrait.rise { animation: unveil 2.8s var(--ease) .3s both; }
@keyframes riseIn { from { opacity: 0; transform: translateY(26px); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes unveil { from { opacity: 0; clip-path: inset(100% 0 0 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }
html.arrived .hero-portrait img { animation: settle 6s var(--ease) .3s both; }
@keyframes settle { from { transform: scale(1.12); } to { transform: none; } }

/* Breathing ring: 4s in, 4s out */
.breath { position: relative; width: 120px; height: 120px; margin: 0 auto 50px; display: grid; place-items: center; }
.breath .ring { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, rgba(234, 213, 220, .9) 0%, rgba(234, 213, 220, .25) 62%, rgba(234, 213, 220, 0) 72%); animation: breathRing 8s ease-in-out infinite; }
.breath .ring::after { content: ""; position: absolute; inset: 14%; border-radius: 50%; border: 1px solid rgba(185, 141, 156, .5); }
.breath-word { position: relative; font: 400 11px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--green); }
@keyframes breathRing { 0%, 100% { transform: scale(.62); opacity: .7; } 50% { transform: scale(1.12); opacity: 1; } }

html.imm .reveal { filter: blur(6px); transition: opacity 1.8s var(--ease), transform 1.8s var(--ease), filter 1.8s var(--ease); }
html.imm .reveal.in { filter: none; }
html.imm .trio figure:nth-child(2) { transition-delay: .25s; }
html.imm .trio figure:nth-child(3) { transition-delay: .5s; }
.parallax { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  html.await .rise { opacity: 1; }
  .breath .ring { animation: none; }
  html.imm .reveal { filter: none; }
}

/* ---------- Arrival (like Saksham v6): the sun breathes in with a welcome,
   then blooms and an iris opens onto her site. Tap to skip. ---------- */
@property --iris { syntax: "<length-percentage>"; inherits: false; initial-value: 0%; }
.arrival { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; align-content: center; gap: 0; background: radial-gradient(circle at 50% 46%, #fbf3f5 0%, var(--shell) 55%, #efdfe5 100%); cursor: pointer;
  -webkit-mask: radial-gradient(circle at 50% 46%, transparent var(--iris), #000 calc(var(--iris) + 1px)); mask: radial-gradient(circle at 50% 46%, transparent var(--iris), #000 calc(var(--iris) + 1px)); }
.arr-orb { position: relative; width: 220px; height: 220px; margin-bottom: 34px; }
.arr-orb::before, .arr-orb::after, .arr-orb span { content: ""; position: absolute; inset: 0; border-radius: 50%; }
.arr-orb::before { background: radial-gradient(circle, rgba(205, 150, 168, .55) 0%, rgba(234, 205, 215, .75) 42%, rgba(234, 205, 215, 0) 70%); animation: arrBreath 2.3s var(--ease) both; }
.arr-orb::after { border: 1px solid rgba(185, 141, 156, .55); inset: 16%; animation: arrRing 2.3s var(--ease) both; }
.arr-orb span { border: 1px solid rgba(185, 141, 156, .25); inset: -6%; animation: arrRing 2.3s var(--ease) .2s both; }
.arr-word { margin: 0; font: 400 11.5px/1 var(--sans); letter-spacing: .4em; text-transform: uppercase; color: var(--muted); animation: arrText 1.6s var(--ease) .3s both; }
.arr-line { margin: 14px 0 0; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(30px, 4vw, 44px); color: var(--green); animation: arrText 1.8s var(--ease) .6s both; }
@keyframes arrBreath { from { transform: scale(.35); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes arrRing { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes arrText { from { opacity: 0; transform: translateY(12px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.arrival.open { animation: irisOpen 1.5s cubic-bezier(.65, 0, .25, 1) forwards; pointer-events: none; }
.arrival.open .arr-orb { animation: orbBloom 1.3s var(--ease) forwards; }
.arrival.open .arr-word, .arrival.open .arr-line { transition: opacity .5s; opacity: 0; }
@keyframes irisOpen { from { --iris: 0%; } to { --iris: 150%; } }
@keyframes orbBloom { to { transform: scale(5); opacity: 0; } }
html.arriving body { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .arrival { display: none !important; } }
