/* PILOT 04 · THE LIVING ACCENT / THE LIVING INSCRIPTION (V0.3)
   Stage 2 candidate of the founder-approved direction; developer review required before deployment.
   The letter is fixed. Á → Ä → Å: each sign is inscribed and released, the dots become the ring,
   and the first star answers its closure. Geometry and the single gold token are unchanged. */
.mark{white-space:nowrap;overflow:visible}
.astr-vowel-anchor{position:relative!important;display:inline-block!important;line-height:1!important;overflow:visible!important;padding-top:.36em!important;margin-top:-.36em!important;isolation:isolate;transform:none!important;transition:none!important}
.astr-vowel-body{display:inline-block;line-height:1;white-space:nowrap}
.astr-vowel-diacritic{position:absolute;left:9%;width:82%;height:.35em;top:.03em;overflow:visible;pointer-events:none;fill:none;stroke:var(--gold,#C8A96E);stroke-width:5.4;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 1.5px rgba(200,169,110,.11))}
/* Transitions are phase-scoped: each phase declares how it arrives, so nothing replays in reverse. */
.astr-vowel-diacritic [data-vowel]{opacity:0}
/* Á · inscribed, held, released (opacity only: the stroke is never undrawn) */
.astr-vowel-diacritic .astr-acute path{stroke-dasharray:32;stroke-dashoffset:32}
.astr-vowel-anchor[data-phase="acute"] .astr-acute{opacity:1;transition:opacity 120ms linear}
.astr-vowel-anchor[data-phase="acute"] .astr-acute path{stroke-dashoffset:0;transition:stroke-dashoffset 420ms cubic-bezier(.45,0,.15,1)}
.astr-vowel-anchor[data-phase="release-acute"] .astr-acute{opacity:0;transition:opacity 300ms cubic-bezier(.4,0,1,1)}
.astr-vowel-anchor[data-phase="release-acute"] .astr-acute path{stroke-dashoffset:0}
/* Ä · two touches, gathered; then they become the ring (left: its origin, right: its closure) */
.astr-vowel-diacritic .astr-dots{opacity:1}
.astr-vowel-diacritic .astr-dots circle{fill:var(--gold,#C8A96E);stroke:none;transform-box:fill-box;transform-origin:center;opacity:0;transform:scale(.5)}
.astr-vowel-anchor[data-phase="dots"] .astr-dots circle{opacity:1;transform:none;transition:opacity 160ms linear,transform 300ms cubic-bezier(.2,.75,.3,1)}
.astr-vowel-anchor[data-phase="dots"] .astr-dots circle:last-child{transition-delay:90ms}
.astr-vowel-anchor:is([data-phase="gather"],[data-phase="trace"],[data-phase="ring"]) .astr-dots circle{opacity:1;transition:transform 520ms cubic-bezier(.45,0,.2,1)}
.astr-vowel-anchor:is([data-phase="gather"],[data-phase="trace"],[data-phase="ring"]) .astr-dots circle:first-child{transform:translate(3px,1px) scale(.76)}
.astr-vowel-anchor:is([data-phase="gather"],[data-phase="trace"],[data-phase="ring"]) .astr-dots circle:last-child{transform:translate(-3px,1px) scale(.76)}
.astr-vowel-anchor:is([data-phase="trace"],[data-phase="ring"]) .astr-dots circle:first-child{opacity:0;transition:opacity 160ms linear,transform 520ms cubic-bezier(.45,0,.2,1)}
.astr-vowel-anchor[data-phase="ring"] .astr-dots circle:last-child{opacity:0;transition:opacity 120ms linear,transform 520ms cubic-bezier(.45,0,.2,1)}
/* Å · formed from the left dot, closed on the right (the side facing the star), held, released */
.astr-vowel-diacritic .astr-ring path{stroke-dasharray:38;stroke-dashoffset:38}
.astr-vowel-anchor:is([data-phase="trace"],[data-phase="ring"]) .astr-ring{opacity:1;transition:opacity 120ms linear}
.astr-vowel-anchor:is([data-phase="trace"],[data-phase="ring"],[data-phase="release"]) .astr-ring path{stroke-dashoffset:0}
.astr-vowel-anchor:is([data-phase="trace"],[data-phase="ring"]) .astr-ring path{transition:stroke-dashoffset 760ms cubic-bezier(.4,0,.2,1)}
.astr-vowel-anchor[data-phase="release"] .astr-ring{opacity:0;transition:opacity 700ms cubic-bezier(.45,0,.55,1)}
/* Hidden mid-ceremony: rest at once, without motion */
.astr-vowel-anchor[data-settled] .astr-vowel-diacritic,.astr-vowel-anchor[data-settled] .astr-vowel-diacritic *{transition:none!important}
/* Only the nearest *existing* structural star acknowledges the closed orbit: 40ms after closure,
   a 140ms rise and a long settle, at the same colour and the same 3px glow as before. */
.astr-star-closure{animation:astr-star-closure 1000ms linear 40ms both}
@keyframes astr-star-closure{0%{color:var(--deep-gold,#8C7A52);text-shadow:none;animation-timing-function:cubic-bezier(.3,0,.5,1)}14%{color:var(--gold,#C8A96E);text-shadow:0 0 3px rgba(200,169,110,.30);animation-timing-function:cubic-bezier(.2,0,.3,1)}100%{color:var(--deep-gold,#8C7A52);text-shadow:none}}
/* The star is an SVG (text-shadow cannot reach it): the same 3px glow on the same curve. */
.astr-star-closure svg{animation:astr-star-glow 1000ms linear 40ms}
@keyframes astr-star-glow{0%{filter:none;animation-timing-function:cubic-bezier(.3,0,.5,1)}14%{filter:drop-shadow(0 0 3px rgba(200,169,110,.30));animation-timing-function:cubic-bezier(.2,0,.3,1)}100%{filter:none}}
@media(max-width:380px){.mark{font-size:clamp(2rem,9.0cqw,3.4rem)!important;white-space:nowrap!important}}
@media(prefers-reduced-motion:reduce){.astr-vowel-diacritic [data-vowel],.astr-vowel-diacritic *{transition:none!important}.astr-star-closure,.astr-star-closure svg{animation:none!important}}
