/* V5.15: short, distinct faults on the modular Home composition. */
.az-underground .ug-image-plate{isolation:isolate}
.az-underground .ug-image-plate::before{
  content:'';position:absolute;inset:0;z-index:3;pointer-events:none;opacity:0;
  background:url('assets/wordpress/715.webp') center/contain no-repeat;
}
.az-underground .ug-image-plate.az515-photo-slice::before{animation:az515-photo-slice .84s steps(1,end) both;filter:sepia(.65) saturate(1.8) hue-rotate(-22deg)}
.az-underground .ug-image-plate.az515-photo-burn::before{animation:az515-photo-burn 1.04s steps(1,end) both;mix-blend-mode:screen;filter:contrast(2.1) saturate(.25)}
.az-underground .ug-image-plate.az515-photo-echo::before{animation:az515-photo-echo .98s steps(1,end) both;mix-blend-mode:lighten;filter:hue-rotate(28deg) saturate(1.8)}
@keyframes az515-photo-slice{
  0%,100%{opacity:0;clip-path:inset(0 0 100% 0);transform:none}
  12%{opacity:.85;clip-path:inset(13% 0 79% 0);transform:translateX(13px)}
  24%{opacity:0}
  36%{opacity:.7;clip-path:inset(57% 0 35% 0);transform:translateX(-14px)}
  46%{opacity:.15}
  64%{opacity:.85;clip-path:inset(79% 0 16% 0);transform:translateX(9px)}
  76%{opacity:.15}
}
@keyframes az515-photo-burn{
  0%,100%{opacity:0;clip-path:inset(0)}
  11%{opacity:.6;clip-path:inset(0 0 92% 0)}
  23%{opacity:.13;clip-path:inset(22% 0 48% 0)}
  35%{opacity:.65;clip-path:inset(44% 0 34% 0)}
  49%{opacity:.05;clip-path:inset(64% 0 20% 0)}
  67%{opacity:.58;clip-path:inset(84% 0 4% 0)}
  82%{opacity:.1}
}
@keyframes az515-photo-echo{
  0%,100%{opacity:0;clip-path:inset(0);transform:none}
  14%{opacity:.35;clip-path:inset(0 0 43% 0);transform:translate(10px,-2px)}
  31%{opacity:.05}
  47%{opacity:.4;clip-path:inset(38% 0 22% 0);transform:translate(-9px,1px)}
  68%{opacity:.12}
  77%{opacity:.35;clip-path:inset(75% 0 0 0);transform:translate(6px,0)}
}
.az-underground .ug-title.az515-title-cut{animation:az515-title-cut .78s steps(1,end) both}
.az-underground .ug-title.az515-title-shadow{animation:az515-title-shadow .94s steps(1,end) both}
.az-underground .ug-title.az515-title-skip{animation:az515-title-skip .88s steps(1,end) both}
@keyframes az515-title-cut{
  0%,100%{filter:none;transform:none}
  12%{filter:drop-shadow(8px 0 #a76445) drop-shadow(-4px 0 #c5d2ce);transform:translateX(2px)}
  19%{filter:none;transform:none}
  38%{filter:drop-shadow(-7px 0 #d0a36f);transform:translateX(-3px)}
  45%{filter:none;transform:none}
  66%{filter:drop-shadow(4px 0 #a76445) drop-shadow(-2px 0 #d4dccc);transform:translateX(1px)}
}
@keyframes az515-title-shadow{
  0%,100%{filter:none}
  14%{filter:drop-shadow(0 5px #a76445)}
  25%{filter:none}
  42%{filter:drop-shadow(0 -4px #dcc19b)}
  54%{filter:none}
  71%{filter:drop-shadow(2px 3px #a76445)}
}
@keyframes az515-title-skip{
  0%,100%{filter:none;transform:none}
  11%{filter:drop-shadow(-5px 0 #9f5b4e);transform:translateX(-2px)}
  17%{filter:none;transform:none}
  28%{filter:drop-shadow(5px 0 #dec28f);transform:translateX(3px)}
  35%{filter:none;transform:none}
  61%{filter:drop-shadow(-3px 0 #92adb1);transform:translateX(-1px)}
}
.az-underground .ug-sounds-good.az515-signature-one{animation:az515-signature-one .8s steps(1,end) both}
.az-underground .ug-sounds-good.az515-signature-two{animation:az515-signature-two .92s steps(1,end) both}
@keyframes az515-signature-one{
  0%,100%{text-shadow:none;filter:none}
  13%{text-shadow:5px 0 #a76445,-3px 0 #c6d9d4}
  21%{text-shadow:none}
  44%{text-shadow:-4px 0 #d8b88e,2px 0 #a76445}
  51%{text-shadow:none}
  73%{text-shadow:2px 0 #a76445}
}
@keyframes az515-signature-two{
  0%,100%{text-shadow:none;filter:none}
  17%{filter:drop-shadow(0 3px #8e4c43)}
  26%{filter:none}
  42%{text-shadow:0 -3px #d9b480}
  53%{text-shadow:none}
  68%{filter:drop-shadow(3px 0 #b56b53)}
}
.az-underground .ug-index-title-block h2.az515-index-shift{animation:az515-index-shift .94s steps(1,end) both}
@keyframes az515-index-shift{
  0%,100%{filter:none;transform:none}
  12%{filter:drop-shadow(5px 0 #a76445);transform:translateX(2px)}
  21%{filter:none;transform:none}
  40%{filter:drop-shadow(-4px 0 #d9a96b)}
  52%{filter:none}
  70%{filter:drop-shadow(2px 0 #607e7b)}
}
/* Scroll-driven underline is progressive: the static border remains in older browsers. */
.az-underground .ug-index-header{position:relative}
.az-underground .ug-index-header::after{
  content:'';position:absolute;left:0;right:0;bottom:-2px;height:3px;
  background:linear-gradient(90deg,#a76445 0 24%,#ddbd86 24% 27%,transparent 27% 31%,#a76445 31% 66%,#0c3138 66%);
  opacity:.72;pointer-events:none
}
@supports (animation-timeline:view()){
  .az-underground .ug-index-header::after{animation:az515-rule-reveal 1ms linear both;animation-timeline:view();animation-range:entry 0% cover 42%}
  @keyframes az515-rule-reveal{from{transform:scaleX(.06);opacity:.2}to{transform:scaleX(1);opacity:.72}}
}
@media(max-width:700px){
  .az-underground .ug-title.az515-title-cut,.az-underground .ug-title.az515-title-shadow,.az-underground .ug-title.az515-title-skip{animation-duration:.65s}
}
@media(max-width:390px){.az-underground .ug-module-label{display:none}}
@media(prefers-reduced-motion:reduce){
  .az-underground .ug-image-plate::before{display:none!important}
  .az-underground .ug-title[class*="az515-title"],.az-underground .ug-sounds-good[class*="az515-signature"],.az-underground .ug-index-title-block h2.az515-index-shift,.az-underground .ug-index-header::after{animation:none!important;filter:none!important;text-shadow:none!important;transform:none!important}
}
html.motion-off .az-underground .ug-image-plate::before,html.az514-save-data .az-underground .ug-image-plate::before{display:none!important}
html.motion-off .az-underground .ug-title[class*="az515-title"],html.motion-off .az-underground .ug-sounds-good[class*="az515-signature"],html.motion-off .az-underground .ug-index-title-block h2.az515-index-shift,html.motion-off .az-underground .ug-index-header::after,
html.az514-save-data .az-underground .ug-title[class*="az515-title"],html.az514-save-data .az-underground .ug-sounds-good[class*="az515-signature"],html.az514-save-data .az-underground .ug-index-title-block h2.az515-index-shift,html.az514-save-data .az-underground .ug-index-header::after{animation:none!important;filter:none!important;text-shadow:none!important;transform:none!important}
