/* 22-catori-compass · "Catori's Compass" · Forged page, beside "monthly search reviews with Catori".
   The markup ships finished: lines drawn, answered stars lit, the site's pages lit. piece.js rewinds it
   on arrival and then keeps it alive. Motion is transform / opacity / stroke-dashoffset only. */
.cat-root{--cat-ink:#0c0a2e;--cat-navy:#141142;--cat-ember:#e64925;--cat-gold:#f9dd9a;--cat-brass:#d9a441;--cat-paper:#f2e8d4;--cat-smoke:#d8d5ea;
  position:relative;overflow:hidden;color:#fff;padding:clamp(2rem,4.5vw,3.75rem) 1.25rem clamp(2.25rem,4.5vw,3.75rem);
  font-family:var(--fx-sans,'Poppins',system-ui,sans-serif);
  background:radial-gradient(120% 90% at 22% 78%,#25216a 0%,#141142 46%,#0c0a2e 100%)}
.cat-root *,.cat-root *::before,.cat-root *::after{box-sizing:border-box}
.cat-wrap{max-width:1120px;margin:0 auto}
.cat-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:44px;margin-bottom:.5rem}
.cat-kick{margin:0;color:var(--cat-gold);font-weight:600;letter-spacing:.14em;text-transform:uppercase;font-size:.75rem}
.cat-sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.cat-stage{position:relative;width:100%;aspect-ratio:2.2/1}
.cat-sky{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.cat-sky-m{display:none}
.cat-grid{fill:none;stroke:var(--cat-gold);stroke-width:.14;opacity:.13;stroke-dasharray:.5 1.6}
.cat-grid path{stroke-dasharray:none;opacity:.55}
.cat-ln{fill:none;stroke:var(--cat-gold);stroke-width:.24;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1 1;stroke-dashoffset:0;opacity:.8}
.cat-tip{fill:#fff4d6;opacity:0}

.cat-hill{position:absolute;left:50%;width:100vw;margin-left:-50vw;bottom:-1px;height:13%;background:linear-gradient(#0d0b30 30%,rgba(13,11,48,0));
  clip-path:polygon(0 52%,6% 38%,11% 44%,17% 22%,23% 30%,29% 18%,36% 34%,43% 40%,51% 30%,58% 44%,66% 36%,73% 46%,80% 28%,87% 34%,93% 24%,100% 36%,100% 100%,0 100%)}

.cat-star{position:absolute;left:var(--x);top:var(--y);width:0;height:0}
.cat-star i{position:absolute;left:-2px;top:-2px;width:4px;height:4px;border-radius:50%;background:#efeaff;box-shadow:0 0 6px 1px rgba(216,213,234,.55);opacity:.75}
.cat-dt i{left:-1px;top:-1px;width:2px;height:2px;opacity:.5;box-shadow:0 0 4px rgba(216,213,234,.4)}
.cat-star em{position:absolute;left:-18px;top:-18px;width:36px;height:36px;border-radius:50%;opacity:0;
  background:radial-gradient(circle,rgba(255,244,214,.95) 0,rgba(249,221,154,.55) 14%,rgba(230,73,37,.18) 42%,rgba(230,73,37,0) 70%)}
.cat-on em{opacity:1}
.cat-on i{background:#fff6dc}
.cat-star b{position:absolute;left:0;bottom:9px;transform:translateX(-50%);white-space:nowrap;font-weight:400;font-style:italic;
  font-family:var(--fx-serif,'Playfair Display',Georgia,serif);font-size:.84rem;letter-spacing:.01em;color:rgba(216,213,234,.78);
  text-shadow:0 0 6px #0c0a2e,0 0 2px #0c0a2e}
.cat-star b.cat-gl{color:var(--cat-gold);opacity:0}
.cat-on b.cat-gl{opacity:1}
.cat-x{opacity:0}
.cat-x b{color:rgba(216,213,234,.7)}

.cat-fig{position:absolute;left:3%;top:51.6%;width:16%;height:48.4%}
.cat-fig-s,.cat-site-s{display:block;width:100%;height:100%;overflow:visible}
.cat-ink{fill:#06051a}
.cat-rim{fill:none;stroke:var(--cat-gold);stroke-width:1.1;stroke-linecap:round;opacity:.5}
.cat-scroll{fill:var(--cat-paper);opacity:.9}
.cat-scroll-d{fill:#141142;stroke:#141142;stroke-width:.4}
.cat-cmp-o{fill:#1a1536;stroke:var(--cat-brass);stroke-width:2.4}
.cat-cmp-i{fill:none;stroke:var(--cat-gold);stroke-width:.5;opacity:.45}
.cat-cmp-t{stroke:var(--cat-gold);stroke-width:.8}
.cat-needle{transform-box:view-box;transform-origin:114px 88px;transform:rotate(38deg)}
.cat-nd-n{fill:var(--cat-ember)}
.cat-nd-s{fill:var(--cat-smoke);opacity:.8}
.cat-cmp-p{fill:var(--cat-gold)}

.cat-site{position:absolute;left:80%;top:38%;width:14%;height:50%;filter:drop-shadow(0 10px 16px rgba(0,0,0,.4))}
.cat-paper{fill:var(--cat-paper)}
.cat-bar{stroke:#c9bfa9;stroke-width:.6}
.cat-dot{fill:#c9bfa9}
.cat-txt{fill:#141142;opacity:.32}
.cat-t2{opacity:.18}
.cat-wf{fill:#141142;opacity:.12}
.cat-win{fill:var(--cat-ember)}

.cat-cap{display:flex;align-items:center;gap:1rem;margin-top:clamp(1rem,2.4vw,1.6rem)}
.cat-seal{flex:none;display:grid;place-items:center;width:2.6rem;height:2.6rem;border-radius:3px;background:#c93812;color:#fff4ea;
  font-family:var(--fx-serif,'Playfair Display',Georgia,serif);font-size:1.35rem;line-height:1;transform:rotate(-4deg);box-shadow:inset 0 0 0 2px rgba(255,244,234,.25)}
.cat-line{margin:0;font-family:var(--fx-serif,'Playfair Display',Georgia,serif);font-weight:700;font-size:clamp(1.25rem,2.4vw,1.7rem);line-height:1.25;color:#fff}
.cat-sub{margin:.3rem 0 0;color:var(--cat-smoke);font-size:.95rem}

@media (max-width:640px){
  .cat-stage{aspect-ratio:.78/1}
  .cat-sky-d{display:none}
  .cat-sky-m{display:block}
  .cat-ln{stroke-width:.32}
  .cat-star{left:var(--mx);top:var(--my)}
  .cat-star b{font-size:.76rem}
  .cat-nm b{display:none}
  .cat-fig{left:2%;top:67.8%;width:30%;height:32.2%}
  .cat-site{left:64%;top:58%;width:30%;height:38%}
  .cat-hill{height:9%}
  .cat-cap{align-items:flex-start}
}
/* star positions (generated by src/build.py) */
.cat-s1{--x:27%;--y:24%;--mx:27%;--my:9%}
.cat-s2{--x:45%;--y:38%;--mx:66%;--my:21%}
.cat-s3{--x:35%;--y:61%;--mx:30%;--my:44%}
.cat-s5{--x:60%;--y:52%;--mx:58%;--my:54%}
.cat-s8{--x:55%;--y:81%;--mx:36%;--my:64%}
.cat-s4{--x:58%;--y:14%;--mx:82%;--my:7%}
.cat-s6{--x:21%;--y:43%;--mx:28%;--my:29%}
.cat-s7{--x:73%;--y:27%;--mx:86%;--my:33%}
.cat-s9{--x:88%;--y:12%;--mx:90%;--my:47%}
.cat-d0{--x:9%;--y:12%;--mx:4%;--my:15%}
.cat-d1{--x:15%;--y:31%;--mx:12%;--my:52%}
.cat-d2{--x:39%;--y:7%;--mx:48%;--my:3%}
.cat-d3{--x:50%;--y:25%;--mx:46%;--my:14%}
.cat-d4{--x:67%;--y:69%;--mx:8%;--my:21%}
.cat-d5{--x:70%;--y:9%;--mx:60%;--my:36%}
.cat-d6{--x:77%;--y:19%;--mx:94%;--my:24%}
.cat-d7{--x:96%;--y:27%;--mx:74%;--my:60%}
.cat-d8{--x:46%;--y:64%;--mx:52%;--my:41%}
.cat-d9{--x:6%;--y:48%;--mx:18%;--my:37%}
.cat-d10{--x:33%;--y:42%;--mx:40%;--my:30%}
.cat-d11{--x:92%;--y:36%;--mx:96%;--my:12%}
.cat-d12{--x:64%;--y:34%;--mx:70%;--my:44%}
.cat-d13{--x:84%;--y:6%;--mx:20%;--my:2%}
.cat-x0{--x:48%;--y:47%;--mx:50%;--my:36%}
.cat-x1{--x:69%;--y:41%;--mx:84%;--my:56%}
.cat-x2{--x:40%;--y:74%;--mx:47%;--my:78%}

/* lane FORGED 2026-11-10: now and then a shooting star crosses the top of the chart (two unrelated long cycles), in the gaps between labels */
.cat-meteor{position:absolute;z-index:1;left:40%;top:3%;width:112px;height:1.5px;border-radius:2px;pointer-events:none;opacity:0;transform-origin:100% 50%;
  background:linear-gradient(90deg,rgba(249,221,154,0),rgba(249,221,154,.8) 78%,#fffaf0);transform:rotate(155deg);animation:cat-meteor 23s 7s linear infinite}
.cat-meteor-2{left:73%;top:1.5%;width:84px;animation-duration:37s;animation-delay:19s}
@keyframes cat-meteor{0%,92%{opacity:0;transform:rotate(155deg) translateX(0)}93%{opacity:1}96%,100%{opacity:0;transform:rotate(155deg) translateX(var(--cat-mx,150px))}}
@media (max-width:640px){.cat-meteor{left:60%;top:1%;width:64px;--cat-mx:70px}.cat-meteor-2{display:none}}
@media (prefers-reduced-motion:reduce){.cat-meteor{display:none}}
