/* Ancient Compass: brand compass + tradition character (assets/compass-traditions.js; 2026-10-26, the owner t126u).
   New file: does not touch DesignOps' scene library (scene.js / scenes-compass.*). */
.ctm{display:inline-block;line-height:0;color:var(--c-brass);--ctm-c:var(--c-brass);vertical-align:middle}
.ctm svg{display:block;width:100%;height:auto;overflow:visible}
.ctm-ring{fill:none;stroke:currentColor}
.ctm-needle{fill:var(--ctm-c);transition:fill 1.6s cubic-bezier(.4,0,.2,1)}
.ctm-needle-s{fill-opacity:.4}
.ctm-card{transition:opacity 1.4s cubic-bezier(.4,0,.2,1)}
.ctm-mini.is-fx .ctm-card{opacity:.28}
.ctm-mini.is-fx .ctm-needle{opacity:0;transition:opacity 1s ease,fill 1.6s ease}
.ctm-arc{fill:none;stroke:var(--ctm-c);stroke-width:4;opacity:0;transition:opacity 1.6s ease,stroke 1.6s ease}
.ctm.is-done .ctm-arc{opacity:.55}
/* header brand mark: 38px desktop, 32px at narrow widths (legible 28-40px) */
.wmk .ctm.bmark{width:38px;height:38px;flex-shrink:0}
@media (max-width:30rem){.wmk .ctm.bmark{width:32px;height:32px}}
/* tradition page hero: the full character above the rose */
.page-h.has-ctm{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:var(--s-5);align-items:end}
.page-h.has-ctm>.ctm-hero{grid-column:2;grid-row:1/span 6;align-self:center}
.ctm-hero{width:clamp(108px,15vw,168px)}
@media (max-width:40rem){.page-h.has-ctm{grid-template-columns:minmax(0,1fr) 92px;gap:var(--s-3)}.ctm-hero{width:92px}}
/* tradition cards (home "Browse by tradition", traditions index): a small full-mode mark that plays when seen / hovered */
.ctm-card-art{display:block;width:62px;margin:0 0 var(--s-3)}
.trad .ctm-card-art{float:right;margin:0 0 var(--s-2) var(--s-3)}
/* stage rings (sign-in art, t162u): outer ring + a dashed orbit that drifts once every 4 minutes; scenes draw on them */
.ctm-st-o{opacity:.55}
/* t227u: the dashed orbit is a separate svg behind the art, turned on the compositor (no repaint of the art per frame) */
.ctm-staged{position:relative}
.ctm-staged>svg:first-child{position:relative;z-index:1}
.ctm-staged>.ctm-st-dash{position:absolute;left:0;top:0;width:100%;height:100%;z-index:0;opacity:.45;transform-origin:50% 50%;will-change:transform;animation:ctm-orbit 240s linear infinite;pointer-events:none}
/* t227u: between scenes the rose comes back only part way (.62, not full), so the hand-off does not pump bright-dim-bright */
.ctm-staged.is-turning:not(.is-fx) .ctm-card{opacity:.62}
@keyframes ctm-orbit{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.ctm-needle,.ctm-card,.ctm-arc{transition:none!important}.ctm-st-dash{animation:none!important}}
/* t223u (2026-10-30, site owner): sign-in art markers on the outer ring, as on the home compass: each tradition's shape;
   the one at the top takes its colour (the others quiet). They turn with the rose (assets/compass-traditions.js). */
.ctm-st-gl{fill:currentColor;fill-opacity:.55;transition:fill 1.2s ease,fill-opacity 1.2s ease}
.ctm-st-pt circle{transition:stroke 1.2s ease}
.ctm-st-pt.is-on .ctm-st-gl{fill:var(--tc);fill-opacity:1}
.ctm-st-pt.is-on circle{stroke:var(--tc)}
@media (prefers-reduced-motion:reduce){.ctm-st-gl,.ctm-st-pt circle{transition:none!important}}
