/* The portfolio lives on the sphere; readable HTML remains available everywhere. */
.sphere-explorer{position:relative;isolation:isolate;align-self:start;padding-top:24px}
.sphere-stage{position:relative;height:440px;margin:8px 0 0;touch-action:pan-y;cursor:grab;isolation:isolate}
.sphere-stage.is-dragging{cursor:grabbing}
#project-sphere{display:block;position:absolute;inset:0;width:100%;height:100%;opacity:0;transition:opacity .5s;pointer-events:none}
.sphere-ready #project-sphere{opacity:1}
.sphere-backdrop{position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at center,#38678820,transparent 68%)}
.sphere-backdrop>span{position:absolute;left:50%;top:50%;width:370px;height:370px;transform:translate(-50%,-50%);border:1px solid #93bbce14;border-radius:50%}
.sphere-backdrop>span+span{width:415px;height:415px;border-style:dashed;border-color:#93bbce0b}
.sphere-axis{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);text-align:center;pointer-events:none;color:#91b3c9;font-size:7px;line-height:2.3;letter-spacing:.22em;text-shadow:0 0 14px #0c1b2e,0 0 24px #0c1b2e}
.sphere-axis em{display:block;font-size:19px;letter-spacing:-.01em;color:#c3d7e2;white-space:nowrap}
.sphere-polar{position:absolute;left:50%;transform:translateX(-50%);font:12px monospace;color:#a0bccc70;pointer-events:none}
.sphere-polar-top{top:2px}.sphere-polar-bottom{bottom:2px}
.sphere-hotspots{position:absolute;inset:0;pointer-events:none}
.sphere-hit{position:absolute;left:0;top:0;width:28px;height:28px;border:1px solid transparent;border-radius:50%;background:transparent;padding:0;transform:translate(-50%,-50%);pointer-events:auto;touch-action:pan-y;color:var(--gold);cursor:pointer}
.sphere-hit:hover,.sphere-hit[aria-expanded=true]{border-color:#ead7ab99;background:#d5b77813;box-shadow:0 0 18px #d5b7781a}
.sphere-hit:focus-visible{outline:2px solid #f5e4bb;outline-offset:3px;background:#d5b77820}
.sphere-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 9px}
.sphere-controls>p{font-size:10px;line-height:1.6;color:#a3b7c9}
.sphere-touch-hint{display:none}
.sphere-motion{display:flex;align-items:center;justify-content:center;gap:7px;min-width:62px;min-height:44px;padding:8px 0;border:0;background:transparent;color:#b8c9d5;font-size:10px}
.sphere-motion:hover{color:var(--gold)}
.sphere-filters{margin-top:0}
.sphere-filters button:not([data-filter=all])::before{content:'';display:inline-block;width:4px;height:4px;border-radius:50%;margin:0 6px 1px 0;background:#d5b778}
.sphere-filters [data-filter=automation]::before{background:#9ad5e7!important}
.sphere-filters [data-filter=learning]::before{background:#e9aa8a!important}
.sphere-card{position:absolute;z-index:12;width:295px;padding:22px;background:#152b40;border:1px solid #8fb4c357;border-radius:7px;box-shadow:0 16px 65px #030a145c;color:var(--ink);max-height:calc(100svh - 60px);overflow:auto;overscroll-behavior:contain;cursor:auto}
.sphere-card-close{position:absolute;top:5px;right:5px;width:38px;height:38px;display:grid;place-items:center;border:0;background:transparent;color:#c2d3df;font-size:24px;line-height:1}
.sphere-card-close:hover{color:var(--gold)}
.sphere-card>.pl-eyebrow{font-size:8px;letter-spacing:.09em;margin:0 20px 8px 0;line-height:1.5}
.sphere-card h3{font-size:23px;line-height:1.15;letter-spacing:-.04em;margin:0 15px 17px 0;font-weight:500}
.sphere-card-visual{margin:0 0 16px}
.sphere-card-visual img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:3px;object-position:center;opacity:0;transition:opacity .24s ease}
.sphere-card-visual figcaption{font-size:8px;line-height:1.6;color:#a5bdcc;margin-top:6px}
.sphere-card h4{font-size:14px;font-weight:500;line-height:1.45;letter-spacing:-.015em;margin:0 0 7px}
#sphere-card-description{font-size:11px;line-height:1.8;color:#bfd0dd;margin:0 0 13px}
.sphere-card-visit,.sphere-card-contact{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:43px;font-size:11px;line-height:1.4}
.sphere-card-visit{border:1px solid #d1e0ea45;border-radius:3px;padding:10px 13px}
.sphere-card-visit:hover{background:#ffffff09;border-color:#d5b77880}
.sphere-card-contact{color:var(--gold);padding-top:6px}
.sphere-directory{border-top:1px solid #ffffff16;margin-top:6px;font-size:11px}
.sphere-directory summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:10px;min-height:44px;padding:8px 3px;color:#c3d2df}
.sphere-directory summary::-webkit-details-marker{display:none}
.sphere-directory summary>span:first-child{font:9px monospace;color:#d5b778;background:#d5b77812;padding:3px 5px;border-radius:3px}
.sphere-directory summary>span:last-child{margin-left:auto;color:var(--gold);font-size:20px;transition:transform .2s}
.sphere-directory[open] summary>span:last-child{transform:rotate(45deg)}
.sphere-directory-search{padding:4px 0 12px}
.sphere-directory-search input{display:block;width:100%;border:1px solid #ffffff30;border-radius:3px;background:#ffffff04;color:var(--ink);padding:12px;font-size:13px}
.sphere-directory-search input::placeholder{color:#9eb3c7}
.sphere-directory ul{list-style:none;margin:0;padding:0;max-height:250px;overflow-y:auto;overscroll-behavior:contain;scrollbar-color:#526b7f #12263a}
.sphere-directory li{border-bottom:1px solid #ffffff12}
.sphere-directory li>a{display:block;position:relative;min-height:55px;padding:10px 30px 10px 9px;line-height:1.5}
.sphere-directory li>a:hover,.sphere-directory li>a:focus-visible{background:#ffffff07;color:var(--gold)}
.sphere-directory li>a:focus-visible{outline-offset:-3px}
.sphere-directory li>a>small{display:block;font-size:9px;color:#98b0c3;margin-top:3px}
.sphere-list-arrow{position:absolute;right:10px;top:12px;color:#b4c9d6}
.sphere-empty,.sphere-fallback-note{font-size:11px;line-height:1.7;color:#aec2d3;padding:10px 0}
.sphere-fallback .sphere-stage{display:none}
.sphere-fallback .sphere-motion{display:none}
.sphere-fallback .sphere-controls>p{display:none}
.sphere-fallback .sphere-card{position:relative!important;inset:auto!important;width:100%;margin:15px 0;max-height:none}
.sphere-explorer>.pl-all-projects{margin-top:1px}
@media(max-width:1100px){.sphere-explorer{padding-top:20px}.sphere-stage{height:400px}.sphere-backdrop>span{width:300px;height:300px}.sphere-backdrop>span+span{width:360px;height:360px}.sphere-filters button{font-size:9px;padding:8px 6px}.sphere-controls{padding:0}.sphere-controls>p{font-size:9px}.sphere-card{width:275px;padding:20px}.sphere-card h3{font-size:22px}}
@media(max-width:850px) and (min-width:701px){.sphere-stage{height:360px}.sphere-backdrop>span{width:250px;height:250px}.sphere-backdrop>span+span{width:295px;height:295px}.sphere-controls>p{max-width:190px;font-size:9px}.sphere-filters button{font-size:8px;padding:8px 5px}.sphere-filters button::before{display:none!important}.sphere-card{width:265px}}
@media(max-width:700px){.sphere-explorer{padding-top:25px}.sphere-stage{height:320px;margin-top:8px}.sphere-backdrop>span{width:245px;height:245px}.sphere-backdrop>span+span{width:295px;height:295px}.sphere-axis{font-size:7px}.sphere-axis em{font-size:17px}.sphere-controls>p{font-size:10px}.sphere-controls{gap:8px}.sphere-desktop-hint{display:none}.sphere-touch-hint{display:inline}.sphere-filters button{font-size:9px;min-height:44px;padding:9px 7px}.sphere-filters button::before{margin-right:4px!important}.sphere-card{position:relative!important;inset:auto!important;width:100%;max-height:none;margin:6px 0 15px;padding:23px}.sphere-card h3{font-size:27px;margin-bottom:17px}.sphere-card>.pl-eyebrow{font-size:9px}.sphere-card-visual img{height:auto}.sphere-card h4{font-size:17px}.sphere-card-visual figcaption{font-size:9px}#sphere-card-description{font-size:13px;line-height:1.8}.sphere-card-visit,.sphere-card-contact{font-size:12px;min-height:46px}.sphere-card-close{width:44px;height:44px;top:4px;right:4px}.sphere-directory{font-size:12px}.sphere-directory-search input{font-size:16px}.sphere-directory li>a>small{font-size:10px}.sphere-directory li>a{min-height:60px}.sphere-directory summary{min-height:48px}.sphere-hit{width:32px;height:32px}.sphere-polar-top{top:3px}.sphere-polar-bottom{bottom:3px}}
@media(max-width:360px){.sphere-stage{height:290px}.sphere-backdrop>span{width:215px;height:215px}.sphere-backdrop>span+span{width:260px;height:260px}.sphere-filters{gap:2px}.sphere-filters button{padding:8px 5px;font-size:8px}.sphere-controls>p{font-size:9px}.sphere-card{padding:22px 19px}.sphere-card h3{font-size:25px}}
@media(prefers-reduced-motion:reduce){#project-sphere,.sphere-directory summary>span:last-child{transition:none}}

/* A mouse preview belongs to its point; touch and keyboard keep a usable detail card. */
.sphere-card{transform-origin:center top}
.sphere-card[data-mode=preview]{pointer-events:none}
.sphere-card[data-mode=preview] .sphere-card-close,.sphere-card[data-mode=preview] .sphere-card-visit,.sphere-card[data-mode=preview] .sphere-card-contact{display:none}
.sphere-card-hint{font-size:10px;line-height:1.6;margin-top:14px;color:var(--gold)}
.sphere-card[data-mode=detail] .sphere-card-hint{display:none}
.sphere-card-visual{background:#152b40}
.sphere-card-visual img.is-loaded{opacity:1}
@media(prefers-reduced-motion:reduce){.sphere-card-visual img{transition:none}}
