/* Handwriting signature animation (replaces the uniform clip reveal). Shape is unchanged: the original filled paths are revealed through stroke masks along their centerlines. */
@keyframes hwsig-k0{0%{stroke-dashoffset:68.58}0.000%{stroke-dashoffset:68.58}0.000%{stroke-dashoffset:60.68}0.245%{stroke-dashoffset:58.85}0.489%{stroke-dashoffset:56.04}0.734%{stroke-dashoffset:51.68}0.978%{stroke-dashoffset:46.45}1.223%{stroke-dashoffset:41.21}1.467%{stroke-dashoffset:36.32}1.712%{stroke-dashoffset:31.75}1.956%{stroke-dashoffset:27.29}2.201%{stroke-dashoffset:22.84}2.445%{stroke-dashoffset:18.35}2.690%{stroke-dashoffset:14.52}2.934%{stroke-dashoffset:10.18}3.179%{stroke-dashoffset:6.04}3.423%{stroke-dashoffset:3.01}3.668%{stroke-dashoffset:0.00}100%{stroke-dashoffset:0}}
.hwsig-ink.hwsig-i0{animation-name:hwsig-k0}
@keyframes hwsig-k1{0%{stroke-dashoffset:72.83}5.323%{stroke-dashoffset:72.83}5.357%{stroke-dashoffset:64.52}5.576%{stroke-dashoffset:62.92}5.796%{stroke-dashoffset:60.76}6.015%{stroke-dashoffset:57.80}6.235%{stroke-dashoffset:53.35}6.454%{stroke-dashoffset:48.13}6.674%{stroke-dashoffset:42.94}6.893%{stroke-dashoffset:37.81}7.113%{stroke-dashoffset:32.59}7.332%{stroke-dashoffset:27.41}7.552%{stroke-dashoffset:22.26}7.771%{stroke-dashoffset:17.04}7.991%{stroke-dashoffset:11.97}8.210%{stroke-dashoffset:6.88}8.430%{stroke-dashoffset:2.89}8.649%{stroke-dashoffset:0.00}100%{stroke-dashoffset:0}}
.hwsig-ink.hwsig-i1{animation-name:hwsig-k1}
@keyframes hwsig-k2{0%{stroke-dashoffset:126.72}10.811%{stroke-dashoffset:126.72}10.845%{stroke-dashoffset:113.75}11.245%{stroke-dashoffset:111.01}11.644%{stroke-dashoffset:106.03}12.044%{stroke-dashoffset:98.67}12.444%{stroke-dashoffset:90.89}12.843%{stroke-dashoffset:83.35}13.243%{stroke-dashoffset:75.18}13.642%{stroke-dashoffset:66.59}14.042%{stroke-dashoffset:57.67}14.441%{stroke-dashoffset:48.50}14.841%{stroke-dashoffset:39.18}15.241%{stroke-dashoffset:29.91}15.640%{stroke-dashoffset:20.41}16.040%{stroke-dashoffset:13.38}16.439%{stroke-dashoffset:5.03}16.839%{stroke-dashoffset:0.00}100%{stroke-dashoffset:0}}
.hwsig-ink.hwsig-i2{animation-name:hwsig-k2}
@keyframes hwsig-k3{0%{stroke-dashoffset:32.11}19.001%{stroke-dashoffset:32.11}19.035%{stroke-dashoffset:24.09}19.238%{stroke-dashoffset:23.40}19.440%{stroke-dashoffset:22.61}19.643%{stroke-dashoffset:21.74}19.846%{stroke-dashoffset:20.74}20.048%{stroke-dashoffset:19.57}20.251%{stroke-dashoffset:18.17}20.454%{stroke-dashoffset:16.38}20.657%{stroke-dashoffset:14.26}20.859%{stroke-dashoffset:11.95}21.062%{stroke-dashoffset:9.66}21.265%{stroke-dashoffset:7.30}21.467%{stroke-dashoffset:5.08}21.670%{stroke-dashoffset:3.15}21.873%{stroke-dashoffset:1.46}22.075%{stroke-dashoffset:0.00}100%{stroke-dashoffset:0}}
.hwsig-ink.hwsig-i3{animation-name:hwsig-k3}
@keyframes hwsig-k4{0%{stroke-dashoffset:109.78}24.238%{stroke-dashoffset:109.78}24.271%{stroke-dashoffset:101.95}24.633%{stroke-dashoffset:99.24}24.994%{stroke-dashoffset:94.51}25.356%{stroke-dashoffset:87.06}25.717%{stroke-dashoffset:79.20}26.079%{stroke-dashoffset:71.52}26.440%{stroke-dashoffset:63.84}26.802%{stroke-dashoffset:56.85}27.163%{stroke-dashoffset:50.52}27.525%{stroke-dashoffset:43.77}27.886%{stroke-dashoffset:37.03}28.248%{stroke-dashoffset:29.91}28.609%{stroke-dashoffset:22.34}28.971%{stroke-dashoffset:14.27}29.332%{stroke-dashoffset:6.08}29.694%{stroke-dashoffset:0.00}100%{stroke-dashoffset:0}}
.hwsig-ink.hwsig-i4{animation-name:hwsig-k4}
@keyframes hwsig-k5{0%{stroke-dashoffset:32.81}31.349%{stroke-dashoffset:32.81}31.383%{stroke-dashoffset:24.77}31.586%{stroke-dashoffset:24.05}31.789%{stroke-dashoffset:23.20}31.991%{stroke-dashoffset:22.15}32.194%{stroke-dashoffset:20.88}32.397%{stroke-dashoffset:19.35}32.599%{stroke-dashoffset:17.67}32.802%{stroke-dashoffset:15.75}33.005%{stroke-dashoffset:13.42}33.208%{stroke-dashoffset:11.19}33.410%{stroke-dashoffset:9.02}33.613%{stroke-dashoffset:6.77}33.816%{stroke-dashoffset:4.91}34.018%{stroke-dashoffset:3.24}34.221%{stroke-dashoffset:1.52}34.424%{stroke-dashoffset:0.00}100%{stroke-dashoffset:0}}
.hwsig-ink.hwsig-i5{animation-name:hwsig-k5}
@keyframes hwsig-k6{0%{stroke-dashoffset:153.67}41.822%{stroke-dashoffset:153.67}41.856%{stroke-dashoffset:144.99}42.362%{stroke-dashoffset:140.92}42.868%{stroke-dashoffset:131.84}43.374%{stroke-dashoffset:120.55}43.880%{stroke-dashoffset:109.37}44.386%{stroke-dashoffset:98.23}44.892%{stroke-dashoffset:87.22}45.398%{stroke-dashoffset:76.40}45.904%{stroke-dashoffset:65.51}46.410%{stroke-dashoffset:55.13}46.916%{stroke-dashoffset:46.44}47.422%{stroke-dashoffset:37.46}47.928%{stroke-dashoffset:27.96}48.434%{stroke-dashoffset:18.44}48.940%{stroke-dashoffset:7.93}49.446%{stroke-dashoffset:0.00}100%{stroke-dashoffset:0}}
.hwsig-ink.hwsig-i6{animation-name:hwsig-k6}
@keyframes hwsig-k7{0%{stroke-dashoffset:68.58}51.608%{stroke-dashoffset:68.58}51.642%{stroke-dashoffset:60.68}51.886%{stroke-dashoffset:58.85}52.131%{stroke-dashoffset:56.04}52.375%{stroke-dashoffset:51.68}52.620%{stroke-dashoffset:46.45}52.864%{stroke-dashoffset:41.21}53.109%{stroke-dashoffset:36.32}53.353%{stroke-dashoffset:31.75}53.598%{stroke-dashoffset:27.29}53.842%{stroke-dashoffset:22.84}54.087%{stroke-dashoffset:18.35}54.331%{stroke-dashoffset:14.52}54.576%{stroke-dashoffset:10.18}54.820%{stroke-dashoffset:6.04}55.065%{stroke-dashoffset:3.01}55.309%{stroke-dashoffset:0.00}100%{stroke-dashoffset:0}}
.hwsig-ink.hwsig-i7{animation-name:hwsig-k7}
@keyframes hwsig-k8{0%{stroke-dashoffset:72.83}56.965%{stroke-dashoffset:72.83}56.998%{stroke-dashoffset:64.52}57.218%{stroke-dashoffset:62.92}57.437%{stroke-dashoffset:60.76}57.657%{stroke-dashoffset:57.80}57.876%{stroke-dashoffset:53.35}58.096%{stroke-dashoffset:48.13}58.315%{stroke-dashoffset:42.94}58.535%{stroke-dashoffset:37.81}58.754%{stroke-dashoffset:32.59}58.974%{stroke-dashoffset:27.41}59.193%{stroke-dashoffset:22.26}59.413%{stroke-dashoffset:17.04}59.632%{stroke-dashoffset:11.97}59.852%{stroke-dashoffset:6.88}60.071%{stroke-dashoffset:2.89}60.291%{stroke-dashoffset:0.00}100%{stroke-dashoffset:0}}
.hwsig-ink.hwsig-i8{animation-name:hwsig-k8}
@keyframes hwsig-k9{0%{stroke-dashoffset:32.11}62.453%{stroke-dashoffset:32.11}62.487%{stroke-dashoffset:24.09}62.690%{stroke-dashoffset:23.40}62.892%{stroke-dashoffset:22.61}63.095%{stroke-dashoffset:21.74}63.298%{stroke-dashoffset:20.74}63.500%{stroke-dashoffset:19.57}63.703%{stroke-dashoffset:18.17}63.906%{stroke-dashoffset:16.38}64.108%{stroke-dashoffset:14.26}64.311%{stroke-dashoffset:11.95}64.514%{stroke-dashoffset:9.66}64.717%{stroke-dashoffset:7.30}64.919%{stroke-dashoffset:5.08}65.122%{stroke-dashoffset:3.15}65.325%{stroke-dashoffset:1.46}65.527%{stroke-dashoffset:0.00}100%{stroke-dashoffset:0}}
.hwsig-ink.hwsig-i9{animation-name:hwsig-k9}
@keyframes hwsig-k10{0%{stroke-dashoffset:92.82}67.690%{stroke-dashoffset:92.82}67.723%{stroke-dashoffset:84.56}68.040%{stroke-dashoffset:82.53}68.356%{stroke-dashoffset:79.30}68.672%{stroke-dashoffset:74.24}68.988%{stroke-dashoffset:67.96}69.304%{stroke-dashoffset:61.67}69.620%{stroke-dashoffset:56.16}69.937%{stroke-dashoffset:50.77}70.253%{stroke-dashoffset:44.54}70.569%{stroke-dashoffset:38.08}70.885%{stroke-dashoffset:31.46}71.201%{stroke-dashoffset:24.55}71.518%{stroke-dashoffset:17.84}71.834%{stroke-dashoffset:11.07}72.150%{stroke-dashoffset:5.03}72.466%{stroke-dashoffset:0.00}100%{stroke-dashoffset:0}}
.hwsig-ink.hwsig-i10{animation-name:hwsig-k10}
@keyframes hwsig-k11{0%{stroke-dashoffset:32.11}74.628%{stroke-dashoffset:32.11}74.662%{stroke-dashoffset:24.09}74.865%{stroke-dashoffset:23.40}75.068%{stroke-dashoffset:22.61}75.270%{stroke-dashoffset:21.74}75.473%{stroke-dashoffset:20.74}75.676%{stroke-dashoffset:19.57}75.878%{stroke-dashoffset:18.17}76.081%{stroke-dashoffset:16.38}76.284%{stroke-dashoffset:14.26}76.486%{stroke-dashoffset:11.95}76.689%{stroke-dashoffset:9.66}76.892%{stroke-dashoffset:7.30}77.095%{stroke-dashoffset:5.08}77.297%{stroke-dashoffset:3.15}77.500%{stroke-dashoffset:1.46}77.703%{stroke-dashoffset:0.00}100%{stroke-dashoffset:0}}
.hwsig-ink.hwsig-i11{animation-name:hwsig-k11}
@keyframes hwsig-kc{0%{stroke-dashoffset:380.85}81.757%{stroke-dashoffset:380.85}81.757%{stroke-dashoffset:378.85}82.939%{stroke-dashoffset:360.54}84.122%{stroke-dashoffset:335.00}85.304%{stroke-dashoffset:303.67}86.486%{stroke-dashoffset:268.00}87.669%{stroke-dashoffset:229.44}88.851%{stroke-dashoffset:189.42}90.034%{stroke-dashoffset:149.41}91.216%{stroke-dashoffset:110.85}92.399%{stroke-dashoffset:75.18}93.581%{stroke-dashoffset:43.85}94.764%{stroke-dashoffset:18.31}95.946%{stroke-dashoffset:0.00}100%{stroke-dashoffset:0}}
.hwsig-connector{animation-name:hwsig-kc}
@keyframes hwsig-done{0%,95.946%{opacity:0}100%{opacity:1}}
.hwsig-done{animation-name:hwsig-done}
@keyframes hwsig-unmask{to{mask:none}}
/* Default (no JS / not armed): final signature, fully visible. */
.principal-signature.signature-armed .hwsig :is(.hwsig-ink,.hwsig-done,.hwsig-connector){animation-duration:2.96s;animation-timing-function:linear;animation-fill-mode:both;animation-iteration-count:1;animation-delay:0s;animation-play-state:paused}
.principal-signature.signature-armed .hwsig .signature-letter{animation:hwsig-unmask .01s linear 2.96s both paused}
.principal-signature.signature-armed.signature-visible .hwsig :is(.hwsig-ink,.hwsig-done,.hwsig-connector,.signature-letter){animation-play-state:running}
.principal-signature:not(.signature-armed) .hwsig .signature-letter{mask:none}
.principal-signature.signature-armed .hwsig .hwsig-connector{animation:hwsig-kc 2.96s linear 0s 1 both paused}
.principal-signature.signature-armed.signature-visible .hwsig .hwsig-connector{animation:hwsig-kc 2.96s linear 0s 1 both running}
/* override the old connector rule (stroke-dasharray:500) from the previous reveal */
.principal-signature .hwsig .hwsig-connector{stroke-dasharray:378.85 382.85}

/* Keep the existing outline's original per-letter clipping and defeat the older forced-static underline. */
.principal-signature.signature-armed .hwsig .hwsig-connector{stroke-dasharray:378.85 382.85!important;stroke-dashoffset:380.85;animation:hwsig-kc 2.96s linear 0s 1 both paused!important}
.principal-signature.signature-armed.signature-visible .hwsig .hwsig-connector{animation-play-state:running!important}

/* v2, reduced-motion: the older ux-v3 rule pins .signature-connector to stroke-dashoffset:0!important, which beats any CSS animation.
   So under reduced-motion the underline offset is driven through an animated custom property inside an !important declaration. */
@property --hwsig-c{syntax:'<number>';inherits:false;initial-value:0}
@keyframes hwsig-kc-var{0%{--hwsig-c:380.85}81.757%{--hwsig-c:380.85}81.757%{--hwsig-c:378.85}82.939%{--hwsig-c:360.54}84.122%{--hwsig-c:335.00}85.304%{--hwsig-c:303.67}86.486%{--hwsig-c:268.00}87.669%{--hwsig-c:229.44}88.851%{--hwsig-c:189.42}90.034%{--hwsig-c:149.41}91.216%{--hwsig-c:110.85}92.399%{--hwsig-c:75.18}93.581%{--hwsig-c:43.85}94.764%{--hwsig-c:18.31}95.946%{--hwsig-c:0.00}100%{--hwsig-c:0}}
@media (prefers-reduced-motion:reduce){.principal-signature.signature-armed .hwsig .hwsig-connector{stroke-dashoffset:var(--hwsig-c)!important;animation:hwsig-kc-var 2.96s linear 0s 1 both paused!important}.principal-signature.signature-armed.signature-visible .hwsig .hwsig-connector{animation-play-state:running!important}}

/* Let the original glyph outlines determine the letter edges. Narrow legacy per-letter rectangles clipped curved terminals. Stroke masks and write-on timing are unchanged. */
.principal-signature .hwsig>.signature-letter{clip-path:none!important}
