/* ANKH Fragrances — Pharaonic motion kit (no libraries)

   Usage:

   <link rel="stylesheet" href="ankh-motion.css">

   Engraving draw: add class="ankh-draw" to an inline SVG; paths need pathLength="1".

   Scroll reveal: add class="ankh-reveal" (CSS scroll timeline where supported;

   otherwise add .is-visible with your existing IntersectionObserver).

   Dust: <div class="ankh-dust" aria-hidden="true"><i></i>... (8-14 <i>)</div>

   Sun: <div class="ankh-sun" aria-hidden="true"></div>

   Eye glow: wrap eye SVG in .ankh-eye-glow. Cartouche: .ankh-cartouche > svg.ankh-cartouche-line

*/

:root{--ankh-black:#1c1410;--ankh-papyrus:#f5edd6;--ankh-gold:#c8a96e;--ankh-gold-dark:#8a6d2f;--ankh-earth:#8b4513;--ankh-nile:#2c5f6e}

.ankh-draw path,.ankh-draw circle,.ankh-draw ellipse,.ankh-draw line,.ankh-draw polyline{stroke-dasharray:1;stroke-dashoffset:1}

.ankh-reveal .ankh-draw path,.ankh-reveal .ankh-draw circle,.ankh-reveal .ankh-draw ellipse,.ankh-reveal .ankh-draw line,.ankh-reveal .ankh-draw polyline{transition:stroke-dashoffset 1.8s ease}

.ankh-reveal.is-visible .ankh-draw path,.ankh-reveal.is-visible .ankh-draw circle,.ankh-reveal.is-visible .ankh-draw ellipse,.ankh-reveal.is-visible .ankh-draw line,.ankh-reveal.is-visible .ankh-draw polyline{stroke-dashoffset:0}

@supports (animation-timeline:view()){

 .ankh-reveal .ankh-draw path,.ankh-reveal .ankh-draw circle,.ankh-reveal .ankh-draw ellipse,.ankh-reveal .ankh-draw line,.ankh-reveal .ankh-draw polyline{animation:ankh-draw linear both;animation-timeline:view();animation-range:entry 15% cover 45%}

 @keyframes ankh-draw{to{stroke-dashoffset:0}}

}

.ankh-dust{position:absolute;inset:0;overflow:hidden;pointer-events:none}

.ankh-dust i{position:absolute;bottom:-4%;width:3px;height:3px;border-radius:50%;background:var(--ankh-gold);opacity:0;box-shadow:0 0 8px 2px rgba(200,169,110,.55);animation:ankh-dust 9s linear infinite}

.ankh-dust i:nth-child(1){left:8%;animation-delay:0s}.ankh-dust i:nth-child(2){left:17%;animation-delay:2.1s;width:2px;height:2px}.ankh-dust i:nth-child(3){left:29%;animation-delay:4.4s}.ankh-dust i:nth-child(4){left:41%;animation-delay:1.2s;width:2px;height:2px}.ankh-dust i:nth-child(5){left:52%;animation-delay:5.8s}.ankh-dust i:nth-child(6){left:63%;animation-delay:3s;width:4px;height:4px}.ankh-dust i:nth-child(7){left:74%;animation-delay:6.7s;width:2px;height:2px}.ankh-dust i:nth-child(8){left:85%;animation-delay:.7s}.ankh-dust i:nth-child(9){left:93%;animation-delay:4.9s;width:2px;height:2px}.ankh-dust i:nth-child(10){left:36%;animation-delay:7.5s;background:#e8c98a;box-shadow:0 0 10px 3px rgba(139,69,19,.65)}

@keyframes ankh-dust{0%{transform:translate3d(0,0,0);opacity:0}12%{opacity:.85}55%{opacity:.45}100%{transform:translate3d(3vw,-108vh,0);opacity:0}}

.ankh-sun{position:absolute;inset:50% auto auto 50%;width:min(110vmin,900px);aspect-ratio:1;translate:-50% -50%;border-radius:50%;pointer-events:none;opacity:.16;background:repeating-conic-gradient(from 0deg,var(--ankh-gold) 0deg 1.2deg,transparent 1.2deg 10deg);-webkit-mask-image:radial-gradient(circle,transparent 0 18%,#000 34%,transparent 72%);mask-image:radial-gradient(circle,transparent 0 18%,#000 34%,transparent 72%);animation:ankh-sun 90s linear infinite}

@keyframes ankh-sun{to{rotate:360deg}}

.ankh-eye-glow{position:relative;display:inline-grid;place-items:center;color:var(--ankh-gold)}

.ankh-eye-glow::after{content:"";position:absolute;inset:-35%;border-radius:50%;background:radial-gradient(circle,rgba(200,169,110,.34),transparent 68%);animation:ankh-eye 4.8s ease-in-out infinite;pointer-events:none}

.ankh-eye-glow svg{position:relative;z-index:1;filter:drop-shadow(0 0 6px rgba(200,169,110,.45))}

@keyframes ankh-eye{0%,100%{opacity:.35;transform:scale(.92)}50%{opacity:1;transform:scale(1.08)}}

.ankh-cartouche{position:relative}

.ankh-cartouche-line{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible}

.ankh-cartouche-line rect{fill:none;stroke:var(--ankh-gold);stroke-width:1.5;stroke-dasharray:1;stroke-dashoffset:1}

.ankh-cartouche.is-visible .ankh-cartouche-line rect{animation:ankh-cartouche 2.4s ease forwards}

@keyframes ankh-cartouche{to{stroke-dashoffset:0}}

.ankh-divider{height:18px;background-repeat:repeat-x;background-size:auto 18px;opacity:.75}

@media (max-width:640px){.ankh-sun{opacity:.11}.ankh-dust i:nth-child(n+8){display:none}}

@media (prefers-reduced-motion:reduce){

 .ankh-dust,.ankh-sun{display:none}

 .ankh-eye-glow::after,.ankh-cartouche-line rect{animation:none!important}

 .ankh-draw path,.ankh-draw circle,.ankh-draw ellipse,.ankh-draw line,.ankh-draw polyline,.ankh-cartouche-line rect{stroke-dashoffset:0!important;transition:none!important;animation:none!important}

}
