/* Reusable pendant control, styled with lightweight CSS geometry. */
.globe-toggle{position:relative;align-self:flex-start;flex:0 0 60px;width:60px;height:115px;padding:0;margin:0 0 -15px 12px;border:0;background:transparent;cursor:pointer;touch-action:none;color:#2152ff;}
.globe-cable{position:absolute;top:0;left:27px;width:2px;height:30px;background:#5c626c;}
.globe-cap{position:absolute;top:27px;left:16px;width:24px;height:10px;border-radius:50% 50% 0 0;background:linear-gradient(90deg,#6497ff,#2152ff);}
.globe-orb{position:absolute;top:33px;left:5px;width:47px;height:47px;border-radius:50%;background:radial-gradient(circle at 36% 30%,#fff 10%,#f5f6f8 54%,#dfe2e7 100%);box-shadow:inset -3px -4px 9px #b7bec523,0 5px 12px #2023220a;transition:box-shadow 450ms,background 450ms;}
.globe-chain{position:absolute;top:71px;left:46px;width:3px;height:35px;background:radial-gradient(circle,#9097a3 1.4px,transparent 1.6px) center top/3px 5px repeat-y;transform-origin:top;}
.globe-chain::after{content:'';position:absolute;bottom:-5px;left:-3px;width:9px;height:9px;border-radius:50%;background:#2152ff;}
.is-pulled .globe-chain{animation:chain-pull 320ms ease;}
@keyframes chain-pull{0%,100%{transform:translateY(0)}45%{transform:translateY(13px)}75%{transform:translateY(-2px)}}
html[data-theme] {--accent:#2152b9;--focus:#2152b9;}
html[data-theme=dark]{color-scheme:dark;--paper:#1c2024;--ink:#edf0f5;--muted:#b5bdc9;--accent:#8bb9ff;--line:#383f49;--image:#252c36;--bg:#1c2024;--surface:#252b33;--surface-strong:#303844;--text:#edf0f5;--text-muted:#b5bdc9;--focus:#8bb9ff;}
html[data-theme=light]{color-scheme:light;}
body{transition:background-color 450ms ease,color 450ms ease;}
html[data-theme=dark] body{background-color:var(--bg);background-image:linear-gradient(to right,#a8bdd00a 1px,transparent 1px),linear-gradient(to bottom,#a8bdd00a 1px,transparent 1px);}
html[data-theme=dark] .globe-orb{background:radial-gradient(circle at 36% 30%,#fff,#f1f6ff 70%,#d1e2ff);box-shadow:0 0 16px #c0d6ff65,0 0 40px #5891ff32;}
html[data-theme=dark] .globe-chain{background-image:radial-gradient(circle,#b8c5d8 1.4px,transparent 1.6px);}
html[data-theme=dark] .globe-chain::after{background:#dceaff;}
html[data-theme=dark] .scroll-nav.is-floating{background:rgba(28,32,36,.78);border-color:#ffffff15;}
html[data-theme=dark] .approach-art{background:rgba(109,145,195,.08);border-color:#9ab5dc28;}
html[data-theme=dark] .approach-art svg{opacity:.8;}
html[data-theme=dark] .photo-swap{background:#292f37;color:#c4d7f2;border-color:#444c58;}
html[data-theme=dark] .photo-caption{color:#c4d7f2;}
html[data-theme=dark] .lab{background:#101317;color:#e4ebf5;}
html[data-theme=dark] .style-options button[aria-pressed=true]{background:#343d4a;color:#fff;}
html[data-theme=dark] .alpine-footer svg{opacity:.75;}
.shell>header nav,.lab-site-header nav{align-items:center;}
@media(max-width:640px){.globe-toggle{position:absolute;right:0;top:0;margin:0;transform:scale(.72);transform-origin:top right;} .shell>header,.lab-site-header{position:relative;} .shell>header nav,.lab-site-header nav{padding-right:40px;} .scroll-nav.is-floating .globe-toggle{right:14px;}}
@media(prefers-reduced-motion:reduce){body,.globe-orb{transition:none}.is-pulled .globe-chain{animation:none}}
@media(prefers-reduced-transparency:reduce){html[data-theme=dark] .scroll-nav.is-floating{background:#1c2024;backdrop-filter:none}}

/* Night palette for the Munich and Alps landscape. */
html[data-theme="dark"] .alpine-footer svg { opacity:1; }
html[data-theme="dark"] .alpine-footer [fill="#edf2fa"] { fill:#293544; }
html[data-theme="dark"] .alpine-footer [fill="#dce6f5"] { fill:#35465b; }
html[data-theme="dark"] .alpine-footer [fill="white"],
html[data-theme="dark"] .alpine-footer [fill="#fff"] { fill:#252e3a; }
html[data-theme="dark"] .alpine-footer [fill="#aec5ec"] { fill:#6e91bf; }
html[data-theme="dark"] .alpine-footer [stroke="#a7b9d6"] { stroke:#71859f; }
html[data-theme="dark"] .alpine-footer [stroke="#2152b9"] { stroke:#94bbf3; }
html[data-theme="dark"] .alpine-footer #alpine-trail { stroke:#91b4e4; }
html[data-theme="dark"] .alpine-footer .trail-dot { fill:#c5ddff;filter:drop-shadow(0 0 4px #8bb9ff65); }
html[data-theme="dark"] .alpine-footer + footer { border-top-color:#71859f; }
.alpine-footer svg [fill],.alpine-footer svg [stroke] { transition:fill 450ms ease,stroke 450ms ease; }
@media(prefers-reduced-motion:reduce){.alpine-footer svg [fill],.alpine-footer svg [stroke]{transition:none}}

/* Keep the pendant dimensions independent of each page's global span styles. */
header .globe-toggle {
  box-sizing:border-box;
  display:block;
  flex:0 0 60px;
  width:60px;
  min-width:60px;
  max-width:60px;
  height:115px;
  min-height:115px;
  max-height:115px;
  line-height:normal;
  overflow:visible;
}
header .globe-toggle > span {
  display:block;
  box-sizing:border-box;
  padding:0;
  margin:0;
  border:0;
  min-width:0;
  min-height:0;
}
header .globe-toggle .globe-cable { width:2px;height:30px; }
header .globe-toggle .globe-cap { width:24px;height:10px; }
header .globe-toggle .globe-orb { width:47px;height:47px;aspect-ratio:1; }
header .globe-toggle .globe-chain { width:3px;height:35px; }

/* Override the legacy case-study rule that forces every shape square. */
header .globe-toggle .globe-orb { border-radius:50% !important; }
header .globe-toggle .globe-cap { border-radius:50% 50% 0 0 !important; }
header .globe-toggle .globe-chain::after { border-radius:50% !important; }
